
/* WARNING: Unknown calling convention */

int execSqlF(sqlite3 *db,char **pzErrMsg,char *zSql,...)

{
  char *zSql_00;
  int iVar1;
  
  zSql_00 = sqlite3VMPrintf(db,zSql,&stack0x00000010);
  if (zSql_00 != (char *)0x0) {
    iVar1 = execSql(db,pzErrMsg,zSql_00);
    sqlite3DbFreeNN(db,zSql_00);
    return iVar1;
  }
  return 7;
}



undefined4 FUN_000ea0b0(void)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_00073fd0();
  if (iVar1 != 0) {
    uVar2 = FUN_000e9f60();
    FUN_000428d0();
    return uVar2;
  }
  return 7;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,EBX
LEA ECX,[ESP + 0x1c]
CALL 0x00073fd0
TEST EAX,EAX
JZ 0x000ea0f0
MOV EDX,dword ptr [ESP + 0x14]
MOV ESI,EAX
MOV ECX,EAX
MOV EAX,EBX
CALL 0x000e9f60
MOV EDX,ESI
MOV EDI,EAX
MOV EAX,EBX
CALL 0x000428d0
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
RET
MOV EDI,0x7
POP EBX
POP ESI
MOV EAX,EDI
POP EDI
RET
(translation_unit "undefined4 FUN_000ea0b0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00073fd0();\n  if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }\n  return 7;\n}\n\n" (function_definition "undefined4 FUN_000ea0b0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00073fd0();\n  if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }\n  return 7;\n}" type_identifier (function_declarator "FUN_000ea0b0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00073fd0();\n  if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }\n  return 7;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_00073fd0();" (assignment_expression "iVar1 = FUN_00073fd0()" identifier = (call_expression "FUN_00073fd0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }" { (expression_statement "uVar2 = FUN_000e9f60();" (assignment_expression "uVar2 = FUN_000e9f60()" identifier = (call_expression "FUN_000e9f60()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_000428d0();" (call_expression "FUN_000428d0()" identifier (argument_list "()" ( ))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 7;" return number_literal ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint execSqlF(sqlite3 *db,char **pzErrMsg,char *zSql,...)\n\n{\n  char *zSql_00;\n  int iVar1;\n  \n  zSql_00 = sqlite3VMPrintf(db,zSql,&stack0x00000010);\n  if (zSql_00 != (char *)0x0) {\n    iVar1 = execSql(db,pzErrMsg,zSql_00);\n    sqlite3DbFreeNN(db,zSql_00);\n    return iVar1;\n  }\n  return 7;\n}\n\n" comment (function_definition "int execSqlF(sqlite3 *db,char **pzErrMsg,char *zSql,...)\n\n{\n  char *zSql_00;\n  int iVar1;\n  \n  zSql_00 = sqlite3VMPrintf(db,zSql,&stack0x00000010);\n  if (zSql_00 != (char *)0x0) {\n    iVar1 = execSql(db,pzErrMsg,zSql_00);\n    sqlite3DbFreeNN(db,zSql_00);\n    return iVar1;\n  }\n  return 7;\n}" primitive_type (function_declarator "execSqlF(sqlite3 *db,char **pzErrMsg,char *zSql,...)" identifier (parameter_list "(sqlite3 *db,char **pzErrMsg,char *zSql,...)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "char **pzErrMsg" primitive_type (pointer_declarator "**pzErrMsg" * (pointer_declarator "*pzErrMsg" * identifier))) , (parameter_declaration "char *zSql" primitive_type (pointer_declarator "*zSql" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  char *zSql_00;\n  int iVar1;\n  \n  zSql_00 = sqlite3VMPrintf(db,zSql,&stack0x00000010);\n  if (zSql_00 != (char *)0x0) {\n    iVar1 = execSql(db,pzErrMsg,zSql_00);\n    sqlite3DbFreeNN(db,zSql_00);\n    return iVar1;\n  }\n  return 7;\n}" { (declaration "char *zSql_00;" primitive_type (pointer_declarator "*zSql_00" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "zSql_00 = sqlite3VMPrintf(db,zSql,&stack0x00000010);" (assignment_expression "zSql_00 = sqlite3VMPrintf(db,zSql,&stack0x00000010)" identifier = (call_expression "sqlite3VMPrintf(db,zSql,&stack0x00000010)" identifier (argument_list "(db,zSql,&stack0x00000010)" ( identifier , identifier , (pointer_expression "&stack0x00000010" & identifier) )))) ;) (if_statement "if (zSql_00 != (char *)0x0) {\n    iVar1 = execSql(db,pzErrMsg,zSql_00);\n    sqlite3DbFreeNN(db,zSql_00);\n    return iVar1;\n  }" if (parenthesized_expression "(zSql_00 != (char *)0x0)" ( (binary_expression "zSql_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = execSql(db,pzErrMsg,zSql_00);\n    sqlite3DbFreeNN(db,zSql_00);\n    return iVar1;\n  }" { (expression_statement "iVar1 = execSql(db,pzErrMsg,zSql_00);" (assignment_expression "iVar1 = execSql(db,pzErrMsg,zSql_00)" identifier = (call_expression "execSql(db,pzErrMsg,zSql_00)" identifier (argument_list "(db,pzErrMsg,zSql_00)" ( identifier , identifier , identifier )))) ;) (expression_statement "sqlite3DbFreeNN(db,zSql_00);" (call_expression "sqlite3DbFreeNN(db,zSql_00)" identifier (argument_list "(db,zSql_00)" ( identifier , identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 7;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000ea0b0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00073fd0();\n  if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }\n  return 7;\n}\n\n" (function_definition "undefined4 FUN_000ea0b0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00073fd0();\n  if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }\n  return 7;\n}" type_identifier (function_declarator "FUN_000ea0b0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00073fd0();\n  if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }\n  return 7;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_00073fd0();" (assignment_expression "iVar1 = FUN_00073fd0()" identifier = (call_expression "FUN_00073fd0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }" { (expression_statement "uVar2 = FUN_000e9f60();" (assignment_expression "uVar2 = FUN_000e9f60()" identifier = (call_expression "FUN_000e9f60()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_000428d0();" (call_expression "FUN_000428d0()" identifier (argument_list "()" ( ))) ;) (return_statement "return uVar2;" return identifier ;) })) (return_statement "return 7;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000ea0b0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00073fd0();\n  if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }\n  return 7;\n}" (type_identifier "undefined4") (function_declarator "FUN_000ea0b0(void)" (identifier "FUN_000ea0b0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = FUN_00073fd0();\n  if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }\n  return 7;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = FUN_00073fd0();" (assignment_expression "iVar1 = FUN_00073fd0()" (identifier "iVar1") (= "=") (call_expression "FUN_00073fd0()" (identifier "FUN_00073fd0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = FUN_000e9f60();\n    FUN_000428d0();\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = FUN_000e9f60();" (assignment_expression "uVar2 = FUN_000e9f60()" (identifier "uVar2") (= "=") (call_expression "FUN_000e9f60()" (identifier "FUN_000e9f60") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_000428d0();" (call_expression "FUN_000428d0()" (identifier "FUN_000428d0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (return_statement "return 7;" (return "return") (number_literal "7") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 *db,char **pzErrMsg,char *zSql,...)

{
  char *var_2;
  int iVar1;
  
  var_2 = var_1(db,zSql,&stack0x00000010);
  if (var_2 != (char *)0x0) {
    iVar1 = var_3(db,pzErrMsg,var_2);
    var_4(db,var_2);
    return iVar1;
  }
  return 7;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (identifier)))) (return_statement (number_literal)))))

undefined4 MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = FUN_00073fd0();
  if (iVar1 != 0) {
    uVar2 = FUN_000e9f60();
    FUN_000428d0();
    return uVar2;
  }
  return 7;
}

