
int sqlite3_str_errcode(sqlite3_str *p)

{
  if (p != (sqlite3_str *)0x0) {
    return (uint)p->accError;
  }
  return 7;
}



undefined1 sqlite3_str_errcode(int param_1)

{
  if (param_1 != 0) {
    return *(undefined1 *)(param_1 + 0x14);
  }
  return 7;
}


MOV EAX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JZ 0x0001dc40
MOVZX EAX,byte ptr [EAX + 0x14]
RET
MOV EAX,0x7
RET
(translation_unit "undefined1 sqlite3_str_errcode(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }\n  return 7;\n}\n\n" (function_definition "undefined1 sqlite3_str_errcode(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }\n  return 7;\n}" type_identifier (function_declarator "sqlite3_str_errcode(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }\n  return 7;\n}" { (if_statement "if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined1 *)(param_1 + 0x14);\n  }" { (return_statement "return *(undefined1 *)(param_1 + 0x14);" return (pointer_expression "*(undefined1 *)(param_1 + 0x14)" * (cast_expression "(undefined1 *)(param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ;) })) (return_statement "return 7;" return number_literal ;) })))
(translation_unit "int sqlite3_str_errcode(sqlite3_str *p)\n\n{\n  if (p != (sqlite3_str *)0x0) {\n    return (uint)p->accError;\n  }\n  return 7;\n}\n\n" (function_definition "int sqlite3_str_errcode(sqlite3_str *p)\n\n{\n  if (p != (sqlite3_str *)0x0) {\n    return (uint)p->accError;\n  }\n  return 7;\n}" primitive_type (function_declarator "sqlite3_str_errcode(sqlite3_str *p)" identifier (parameter_list "(sqlite3_str *p)" ( (parameter_declaration "sqlite3_str *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  if (p != (sqlite3_str *)0x0) {\n    return (uint)p->accError;\n  }\n  return 7;\n}" { (if_statement "if (p != (sqlite3_str *)0x0) {\n    return (uint)p->accError;\n  }" if (parenthesized_expression "(p != (sqlite3_str *)0x0)" ( (binary_expression "p != (sqlite3_str *)0x0" identifier != (cast_expression "(sqlite3_str *)0x0" ( (type_descriptor "sqlite3_str *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (uint)p->accError;\n  }" { (return_statement "return (uint)p->accError;" return (cast_expression "(uint)p->accError" ( (type_descriptor "uint" type_identifier) ) (field_expression "p->accError" identifier -> field_identifier)) ;) })) (return_statement "return 7;" return number_literal ;) })))
(translation_unit "undefined1 sqlite3_str_errcode(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }\n  return 7;\n}\n\n" (function_definition "undefined1 sqlite3_str_errcode(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }\n  return 7;\n}" type_identifier (function_declarator "sqlite3_str_errcode(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }\n  return 7;\n}" { (if_statement "if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(undefined1 *)(param_1 + 0x14);\n  }" { (return_statement "return *(undefined1 *)(param_1 + 0x14);" return (pointer_expression "*(undefined1 *)(param_1 + 0x14)" * (cast_expression "(undefined1 *)(param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) ;) })) (return_statement "return 7;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined1 sqlite3_str_errcode(int param_1)\n\n{\n  if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }\n  return 7;\n}" (type_identifier "undefined1") (function_declarator "sqlite3_str_errcode(int param_1)" (identifier "sqlite3_str_errcode") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }\n  return 7;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    return *(undefined1 *)(param_1 + 0x14);\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined1 *)(param_1 + 0x14);\n  }" ({ "{") (return_statement "return *(undefined1 *)(param_1 + 0x14);" (return "return") (pointer_expression "*(undefined1 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (} "}"))) (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}")))

int function_1(type_1 *var_1)

{
  if (var_1 != (type_1 *)0x0) {
    return (type_2)var_1->accError;
  }
  return 7;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement (number_literal)))))

undefined1 MASKED(int param_1)

{
  if (param_1 != 0) {
    return *(undefined1 *)(param_1 + 0x14);
  }
  return 7;
}

