
int sqlite3_overload_function(sqlite3 *db,char *zName,int nArg)

{
  int iVar1;
  int iVar2;
  char *pcVar3;
  
  if (db->mutex != (sqlite3_mutex *)0x0) {
    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();
  }
  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(db,zName,nArg,1,0);
  if (db->mutex != (sqlite3_mutex *)0x0) {
    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();
  }
  iVar2 = 0;
  if (iVar1 == 0) {
    pcVar3 = sqlite3_mprintf(zName);
    if (pcVar3 != (char *)0x0) {
      iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))
                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,
                         PTR_sqlite3_free_0019096c);
      return iVar1;
    }
    iVar2 = 7;
  }
  return iVar2;
}



undefined4 sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 uVar2;
  
  if (*(int *)(param_1 + 0xc) != 0) {
    (**(code **)(PTR_DAT_00190948 + -0xb1c))();
  }
  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);
  if (*(int *)(param_1 + 0xc) != 0) {
    (**(code **)(PTR_DAT_00190948 + -0xb14))();
  }
  uVar2 = 0;
  if (iVar1 == 0) {
    iVar1 = sqlite3_mprintf(param_2);
    if (iVar1 != 0) {
      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))
                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,
                         PTR_sqlite3_free_0019096c);
      return uVar2;
    }
    uVar2 = 7;
  }
  return uVar2;
}


lui gp,0xe
addiu gp,gp,-0x2c54
addu gp,gp,t9
addiu sp,sp,-0x50
sw s2,0x44(sp)
or s2,a2,zero
sw s1,0x40(sp)
sw s0,0x3c(sp)
or s0,a0,zero
sw gp,0x30(sp)
sw ra,0x4c(sp)
sw s3,0x48(sp)
lw a0,0xc(a0)
beq a0,zero,0x000bb5c4
_or s1,a1,zero
lw v0,-0x7fd8(gp)
lw t9,-0xb1c(v0)
jalr t9
_nop
lw gp,0x30(sp)
lw t9,-0x7d78(gp)
li a3,0x1
or a0,s0,zero
sw zero,0x10(sp)
or a2,s2,zero
addiu t9,t9,0x3be4
jalr t9
_or a1,s1,zero
lw a0,0xc(s0)
or s3,v0,zero
beq a0,zero,0x000bb608
_lw gp,0x30(sp)
lw v0,-0x7fd8(gp)
lw t9,-0xb14(v0)
jalr t9
_nop
lw gp,0x30(sp)
beq s3,zero,0x000bb62c
_or v0,zero,zero
lw ra,0x4c(sp)
lw s3,0x48(sp)
lw s2,0x44(sp)
lw s1,0x40(sp)
lw s0,0x3c(sp)
jr ra
_addiu sp,sp,0x50
lw t9,-0x7fbc(gp)
bal 0x000b9064
_or a0,s1,zero
beq v0,zero,0x000bb6a0
_lw gp,0x30(sp)
lw v1,-0x7fb4(gp)
li a3,0x1
lw t9,-0x7d44(gp)
or a2,s2,zero
or a1,s1,zero
sw zero,0x24(sp)
sw v1,0x28(sp)
or a0,s0,zero
lw v1,-0x7d54(gp)
addiu t9,t9,0x4324
sw zero,0x20(sp)
sw zero,0x1c(sp)
addiu v1,v1,-0x47e0
sw zero,0x18(sp)
sw v0,0x10(sp)
jalr t9
_sw v1,0x14(sp)
lw ra,0x4c(sp)
lw s3,0x48(sp)
lw s2,0x44(sp)
lw s1,0x40(sp)
lw s0,0x3c(sp)
jr ra
_addiu sp,sp,0x50
b 0x000bb610
_li v0,0x7
(translation_unit "undefined4 sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  uVar2 = 0;\n  if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  uVar2 = 0;\n  if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  uVar2 = 0;\n  if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" { (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb1c))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))" ( (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb1c)" * (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb1c)" * (cast_expression "(code **)(PTR_DAT_00190948 + -0xb1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb1c)" ( (binary_expression "PTR_DAT_00190948 + -0xb1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x3be4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x3be4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x3be4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x3be4)" ( (binary_expression "PTR_LAB_00190ba8 + 0x3be4" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,param_3,1,0)" ( identifier , identifier , identifier , number_literal , number_literal )))) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" { (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb14))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))" ( (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb14)" * (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb14)" * (cast_expression "(code **)(PTR_DAT_00190948 + -0xb14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb14)" ( (binary_expression "PTR_DAT_00190948 + -0xb14" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }" { (expression_statement "iVar1 = sqlite3_mprintf(param_2);" (assignment_expression "iVar1 = sqlite3_mprintf(param_2)" identifier = (call_expression "sqlite3_mprintf(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }" { (expression_statement "uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);" (assignment_expression "uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x4324))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x4324)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x4324)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x4324)" ( (binary_expression "PTR_LAB_00190bdc + 0x4324" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" ( identifier , identifier , identifier , number_literal , identifier , (binary_expression "PTR_LAB_00190bcc + -0x47e0" identifier + number_literal) , number_literal , number_literal , number_literal , number_literal , identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = 7;" (assignment_expression "uVar2 = 7" identifier = number_literal) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "int sqlite3_overload_function(sqlite3 *db,char *zName,int nArg)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (db->mutex != (sqlite3_mutex *)0x0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(db,zName,nArg,1,0);\n  if (db->mutex != (sqlite3_mutex *)0x0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }\n  iVar2 = 0;\n  if (iVar1 == 0) {\n    pcVar3 = sqlite3_mprintf(zName);\n    if (pcVar3 != (char *)0x0) {\n      iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return iVar1;\n    }\n    iVar2 = 7;\n  }\n  return iVar2;\n}\n\n" (function_definition "int sqlite3_overload_function(sqlite3 *db,char *zName,int nArg)\n\n{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (db->mutex != (sqlite3_mutex *)0x0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(db,zName,nArg,1,0);\n  if (db->mutex != (sqlite3_mutex *)0x0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }\n  iVar2 = 0;\n  if (iVar1 == 0) {\n    pcVar3 = sqlite3_mprintf(zName);\n    if (pcVar3 != (char *)0x0) {\n      iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return iVar1;\n    }\n    iVar2 = 7;\n  }\n  return iVar2;\n}" primitive_type (function_declarator "sqlite3_overload_function(sqlite3 *db,char *zName,int nArg)" identifier (parameter_list "(sqlite3 *db,char *zName,int nArg)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "char *zName" primitive_type (pointer_declarator "*zName" * identifier)) , (parameter_declaration "int nArg" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (db->mutex != (sqlite3_mutex *)0x0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(db,zName,nArg,1,0);\n  if (db->mutex != (sqlite3_mutex *)0x0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }\n  iVar2 = 0;\n  if (iVar1 == 0) {\n    pcVar3 = sqlite3_mprintf(zName);\n    if (pcVar3 != (char *)0x0) {\n      iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return iVar1;\n    }\n    iVar2 = 7;\n  }\n  return iVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (if_statement "if (db->mutex != (sqlite3_mutex *)0x0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }" if (parenthesized_expression "(db->mutex != (sqlite3_mutex *)0x0)" ( (binary_expression "db->mutex != (sqlite3_mutex *)0x0" (field_expression "db->mutex" identifier -> field_identifier) != (cast_expression "(sqlite3_mutex *)0x0" ( (type_descriptor "sqlite3_mutex *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }" { (expression_statement "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();" (call_expression "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))()" (parenthesized_expression "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))" ( (pointer_expression "**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c)" * (pointer_expression "*(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c)" * (cast_expression "(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(db,zName,nArg,1,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(db,zName,nArg,1,0)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x3be4))(db,zName,nArg,1,0)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x3be4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x3be4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x3be4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x3be4)" ( (binary_expression "PTR_LAB_00190ba8 + 0x3be4" identifier + number_literal) )))) )) (argument_list "(db,zName,nArg,1,0)" ( identifier , identifier , identifier , number_literal , number_literal )))) ;) (if_statement "if (db->mutex != (sqlite3_mutex *)0x0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }" if (parenthesized_expression "(db->mutex != (sqlite3_mutex *)0x0)" ( (binary_expression "db->mutex != (sqlite3_mutex *)0x0" (field_expression "db->mutex" identifier -> field_identifier) != (cast_expression "(sqlite3_mutex *)0x0" ( (type_descriptor "sqlite3_mutex *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }" { (expression_statement "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();" (call_expression "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))()" (parenthesized_expression "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))" ( (pointer_expression "**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14)" * (pointer_expression "*(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14)" * (cast_expression "(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\n    pcVar3 = sqlite3_mprintf(zName);\n    if (pcVar3 != (char *)0x0) {\n      iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return iVar1;\n    }\n    iVar2 = 7;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = sqlite3_mprintf(zName);\n    if (pcVar3 != (char *)0x0) {\n      iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return iVar1;\n    }\n    iVar2 = 7;\n  }" { (expression_statement "pcVar3 = sqlite3_mprintf(zName);" (assignment_expression "pcVar3 = sqlite3_mprintf(zName)" identifier = (call_expression "sqlite3_mprintf(zName)" identifier (argument_list "(zName)" ( identifier )))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n      iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return iVar1;\n    }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return iVar1;\n    }" { (expression_statement "iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x4324))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x4324)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x4324)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x4324)" ( (binary_expression "PTR_LAB_00190bdc + 0x4324" identifier + number_literal) )))) )) (argument_list "(db,zName,nArg,1,pcVar3,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" ( identifier , identifier , identifier , number_literal , identifier , (binary_expression "PTR_LAB_00190bcc + -0x47e0" identifier + number_literal) , number_literal , number_literal , number_literal , number_literal , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar2 = 7;" (assignment_expression "iVar2 = 7" identifier = number_literal) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "undefined4 sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  uVar2 = 0;\n  if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  uVar2 = 0;\n  if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }\n  return uVar2;\n}" type_identifier (function_declarator "sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  uVar2 = 0;\n  if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" { (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb1c))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))" ( (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb1c)" * (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb1c)" * (cast_expression "(code **)(PTR_DAT_00190948 + -0xb1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb1c)" ( (binary_expression "PTR_DAT_00190948 + -0xb1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0)" identifier = (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x3be4))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x3be4)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x3be4)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x3be4)" ( (binary_expression "PTR_LAB_00190ba8 + 0x3be4" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,param_3,1,0)" ( identifier , identifier , identifier , number_literal , number_literal )))) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" { (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb14))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))" ( (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb14)" * (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb14)" * (cast_expression "(code **)(PTR_DAT_00190948 + -0xb14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb14)" ( (binary_expression "PTR_DAT_00190948 + -0xb14" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }" { (expression_statement "iVar1 = sqlite3_mprintf(param_2);" (assignment_expression "iVar1 = sqlite3_mprintf(param_2)" identifier = (call_expression "sqlite3_mprintf(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }" { (expression_statement "uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);" (assignment_expression "uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x4324))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x4324)" * (cast_expression "(code *)(PTR_LAB_00190bdc + 0x4324)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + 0x4324)" ( (binary_expression "PTR_LAB_00190bdc + 0x4324" identifier + number_literal) )))) )) (argument_list "(param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" ( identifier , identifier , identifier , number_literal , identifier , (binary_expression "PTR_LAB_00190bcc + -0x47e0" identifier + number_literal) , number_literal , number_literal , number_literal , number_literal , identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = 7;" (assignment_expression "uVar2 = 7" identifier = number_literal) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (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 (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , IDENT , LIT , LIT )))) ;) (if_statement if (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 (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT , IDENT , LIT , IDENT , (binary_expression IDENT + LIT) , LIT , LIT , LIT , LIT , IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  uVar2 = 0;\n  if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "sqlite3_overload_function(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "sqlite3_overload_function") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);\n  if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  uVar2 = 0;\n  if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" ({ "{") (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb1c))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))" (( "(") (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb1c)" (* "*") (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb1c)" (* "*") (cast_expression "(code **)(PTR_DAT_00190948 + -0xb1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -0xb1c)" (( "(") (binary_expression "PTR_DAT_00190948 + -0xb1c" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-0xb1c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);" (assignment_expression "iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x3be4))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x3be4)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x3be4)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + 0x3be4)" (( "(") (binary_expression "PTR_LAB_00190ba8 + 0x3be4" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "0x3be4")) () ")")))) () ")")) (argument_list "(param_1,param_2,param_3,1,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" ({ "{") (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb14))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))" (( "(") (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb14)" (* "*") (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb14)" (* "*") (cast_expression "(code **)(PTR_DAT_00190948 + -0xb14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -0xb14)" (( "(") (binary_expression "PTR_DAT_00190948 + -0xb14" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-0xb14")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar1 == 0) {\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = sqlite3_mprintf(param_2);\n    if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }\n    uVar2 = 7;\n  }" ({ "{") (expression_statement "iVar1 = sqlite3_mprintf(param_2);" (assignment_expression "iVar1 = sqlite3_mprintf(param_2)" (identifier "iVar1") (= "=") (call_expression "sqlite3_mprintf(param_2)" (identifier "sqlite3_mprintf") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);\n      return uVar2;\n    }" ({ "{") (expression_statement "uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c);" (assignment_expression "uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" (identifier "uVar2") (= "=") (call_expression "(*(code *)(PTR_LAB_00190bdc + 0x4324))\n                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + 0x4324))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bdc + 0x4324)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bdc + 0x4324)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bdc + 0x4324)" (( "(") (binary_expression "PTR_LAB_00190bdc + 0x4324" (identifier "PTR_LAB_00190bdc") (+ "+") (number_literal "0x4324")) () ")")))) () ")")) (argument_list "(param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,\n                         PTR_sqlite3_free_0019096c)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "1") (, ",") (identifier "iVar1") (, ",") (binary_expression "PTR_LAB_00190bcc + -0x47e0" (identifier "PTR_LAB_00190bcc") (+ "+") (number_literal "-0x47e0")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "PTR_sqlite3_free_0019096c") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = 7;" (assignment_expression "uVar2 = 7" (identifier "uVar2") (= "=") (number_literal "7")) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

int function_1(type_1 *db,char *zName,int nArg)

{
  int var_3;
  int iVar2;
  char *var_5;
  
  if (db->mutex != (type_2 *)0x0) {
    (**(type_3 **)(var_1 + -0xb1c))();
  }
  var_3 = (*(type_3 *)(var_2 + 0x3be4))(db,zName,nArg,1,0);
  if (db->mutex != (type_2 *)0x0) {
    (**(type_3 **)(var_1 + -0xb14))();
  }
  iVar2 = 0;
  if (var_3 == 0) {
    var_5 = var_4(zName);
    if (var_5 != (char *)0x0) {
      var_3 = (*(type_3 *)(var_6 + 0x4324))
                        (db,zName,nArg,1,var_5,var_7 + -0x47e0,0,0,0,0,
                         PTR_sqlite3_free_0019096c);
      return var_3;
    }
    iVar2 = 7;
  }
  return iVar2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (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: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (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)))))) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal) (number_literal))))) (if_statement condition: (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: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (identifier))))) (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: (parenthesized_expression (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)))))) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal) (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (number_literal) (number_literal) (identifier))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))))

undefined4 MASKED(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  undefined4 uVar2;
  
  if (*(int *)(param_1 + 0xc) != 0) {
    (**(code **)(PTR_DAT_00190948 + -0xb1c))();
  }
  iVar1 = (*(code *)(PTR_LAB_00190ba8 + 0x3be4))(param_1,param_2,param_3,1,0);
  if (*(int *)(param_1 + 0xc) != 0) {
    (**(code **)(PTR_DAT_00190948 + -0xb14))();
  }
  uVar2 = 0;
  if (iVar1 == 0) {
    iVar1 = sqlite3_mprintf(param_2);
    if (iVar1 != 0) {
      uVar2 = (*(code *)(PTR_LAB_00190bdc + 0x4324))
                        (param_1,param_2,param_3,1,iVar1,PTR_LAB_00190bcc + -0x47e0,0,0,0,0,
                         PTR_sqlite3_free_0019096c);
      return uVar2;
    }
    uVar2 = 7;
  }
  return uVar2;
}

