
void __regparm3 freeP4Mem(sqlite3 *db,Mem *p)

{
  if ((p->szMalloc != 0) && (p->zMalloc != (char *)0x0)) {
    sqlite3DbFreeNN(db,p->zMalloc);
  }
  sqlite3DbFreeNN(db,p);
  return;
}



void __regparm3 FUN_00025000(undefined4 param_1,int param_2)

{
  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {
    FUN_00024720();
  }
  FUN_00024720();
  return;
}


PUSH ESI
PUSH EBX
MOV ESI,EAX
MOV EBX,EDX
SUB ESP,0x4
MOV EAX,dword ptr [EDX + 0x18]
TEST EAX,EAX
JZ 0x0002501e
MOV EDX,dword ptr [EDX + 0x14]
TEST EDX,EDX
JZ 0x0002501e
MOV EAX,ESI
CALL 0x00024720
ADD ESP,0x4
MOV EDX,EBX
MOV EAX,ESI
POP EBX
POP ESI
JMP 0x00024720
(translation_unit "void __regparm3 FUN_00025000(undefined4 param_1,int param_2)\n\n{\n  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }\n  FUN_00024720();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00025000(undefined4 param_1,int param_2)\n\n{\n  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }\n  FUN_00024720();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00025000(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }\n  FUN_00024720();\n  return;\n}" { (if_statement "if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }" if (parenthesized_expression "((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0))" ( (binary_expression "(*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x18) != 0)" ( (binary_expression "*(int *)(param_2 + 0x18) != 0" (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" ( (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    FUN_00024720();\n  }" { (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 freeP4Mem(sqlite3 *db,Mem *p)\n\n{\n  if ((p->szMalloc != 0) && (p->zMalloc != (char *)0x0)) {\n    sqlite3DbFreeNN(db,p->zMalloc);\n  }\n  sqlite3DbFreeNN(db,p);\n  return;\n}\n\n" (function_definition "void __regparm3 freeP4Mem(sqlite3 *db,Mem *p)\n\n{\n  if ((p->szMalloc != 0) && (p->zMalloc != (char *)0x0)) {\n    sqlite3DbFreeNN(db,p->zMalloc);\n  }\n  sqlite3DbFreeNN(db,p);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "freeP4Mem(sqlite3 *db,Mem *p)" identifier (parameter_list "(sqlite3 *db,Mem *p)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Mem *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  if ((p->szMalloc != 0) && (p->zMalloc != (char *)0x0)) {\n    sqlite3DbFreeNN(db,p->zMalloc);\n  }\n  sqlite3DbFreeNN(db,p);\n  return;\n}" { (if_statement "if ((p->szMalloc != 0) && (p->zMalloc != (char *)0x0)) {\n    sqlite3DbFreeNN(db,p->zMalloc);\n  }" if (parenthesized_expression "((p->szMalloc != 0) && (p->zMalloc != (char *)0x0))" ( (binary_expression "(p->szMalloc != 0) && (p->zMalloc != (char *)0x0)" (parenthesized_expression "(p->szMalloc != 0)" ( (binary_expression "p->szMalloc != 0" (field_expression "p->szMalloc" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(p->zMalloc != (char *)0x0)" ( (binary_expression "p->zMalloc != (char *)0x0" (field_expression "p->zMalloc" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    sqlite3DbFreeNN(db,p->zMalloc);\n  }" { (expression_statement "sqlite3DbFreeNN(db,p->zMalloc);" (call_expression "sqlite3DbFreeNN(db,p->zMalloc)" identifier (argument_list "(db,p->zMalloc)" ( identifier , (field_expression "p->zMalloc" identifier -> field_identifier) ))) ;) })) (expression_statement "sqlite3DbFreeNN(db,p);" (call_expression "sqlite3DbFreeNN(db,p)" identifier (argument_list "(db,p)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00025000(undefined4 param_1,int param_2)\n\n{\n  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }\n  FUN_00024720();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00025000(undefined4 param_1,int param_2)\n\n{\n  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }\n  FUN_00024720();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00025000(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }\n  FUN_00024720();\n  return;\n}" { (if_statement "if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }" if (parenthesized_expression "((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0))" ( (binary_expression "(*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x18) != 0)" ( (binary_expression "*(int *)(param_2 + 0x18) != 0" (pointer_expression "*(int *)(param_2 + 0x18)" * (cast_expression "(int *)(param_2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" ( (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    FUN_00024720();\n  }" { (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00025000(undefined4 param_1,int param_2)\n\n{\n  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }\n  FUN_00024720();\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00025000(undefined4 param_1,int param_2)" (identifier "FUN_00025000") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }\n  FUN_00024720();\n  return;\n}" ({ "{") (if_statement "if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {\n    FUN_00024720();\n  }" (if "if") (parenthesized_expression "((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0))" (( "(") (binary_expression "(*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)" (parenthesized_expression "(*(int *)(param_2 + 0x18) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x18) != 0" (pointer_expression "*(int *)(param_2 + 0x18)" (* "*") (cast_expression "(int *)(param_2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2 + 0x14) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x14) != 0" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_00024720();\n  }" ({ "{") (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" (identifier "FUN_00024720") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" (identifier "FUN_00024720") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *db,type_2 *p)

{
  if ((p->szMalloc != 0) && (p->zMalloc != (char *)0x0)) {
    var_1(db,p->zMalloc);
  }
  var_1(db,p);
  return;
}


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

void __regparm3 MASKED(undefined4 param_1,int param_2)

{
  if ((*(int *)(param_2 + 0x18) != 0) && (*(int *)(param_2 + 0x14) != 0)) {
    FUN_00024720();
  }
  FUN_00024720();
  return;
}

