
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * __regparm3 sqlite3VMPrintf(sqlite3 *db,char *zFormat,va_list ap)

{
  int iVar1;
  uint uVar2;
  char *pcVar3;
  char *extraout_ECX;
  int in_GS_OFFSET;
  StrAccum acc;
  char zBase [70];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  acc.mxAlloc = db->aLimit[0];
  acc.zText = zBase;
  acc.accError = '\0';
  acc.printfFlags = '\x01';
  acc.nAlloc = 0x46;
  acc.nChar = 0;
  acc.db = db;
  sqlite3_str_vappendf(&acc,zFormat,ap);
  pcVar3 = sqlite3StrAccumFinish(&acc);
  if ((acc.accError == '\a') &&
     (uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,
     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0)) {
    sqlite3OomFault(db);
    pcVar3 = extraout_ECX;
  }
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pcVar3;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3 FUN_00056a50(int param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  undefined4 extraout_ECX;
  int in_GS_OFFSET;
  int local_70;
  undefined1 *local_6c;
  undefined4 local_68;
  undefined4 local_64;
  undefined4 local_60;
  undefined2 local_5c;
  undefined1 local_56 [70];
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  local_64 = *(undefined4 *)(param_1 + 0x68);
  local_6c = local_56;
  local_5c = 0x100;
  local_68 = 0x46;
  local_60 = 0;
  local_70 = param_1;
  FUN_0004ae60(&local_70,param_2,param_3);
  uVar1 = FUN_00026fe0();
  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {
    FUN_00026b70();
    uVar1 = extraout_ECX;
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f4bf0();
}


PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00014cf0
ADD EBX,0xf247a
SUB ESP,0x70
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x6c],EAX
XOR EAX,EAX
MOV EAX,dword ptr [ESI + 0x68]
LEA EDI,[ESP + 0x26]
MOV dword ptr [ESP + 0xc],ESI
MOV dword ptr [ESP + 0x10],EDI
SUB ESP,0x4
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,0x100
MOV word ptr [ESP + 0x24],AX
MOV dword ptr [ESP + 0x18],0x46
MOV dword ptr [ESP + 0x20],0x0
PUSH ECX
PUSH EDX
LEA EDI,[ESP + 0x18]
PUSH EDI
CALL 0x0004ae60
MOV EAX,EDI
CALL 0x00026fe0
ADD ESP,0x10
CMP byte ptr [ESP + 0x20],0x7
MOV ECX,EAX
JZ 0x00056ad8
MOV EDX,dword ptr [ESP + 0x6c]
XOR EDX,dword ptr GS:[0x14]
MOV EAX,ECX
JNZ 0x00056aea
ADD ESP,0x70
POP EBX
POP ESI
POP EDI
RET
TEST dword ptr [ESI + 0x4c],0xffff00
JNZ 0x00056abe
MOV EAX,ESI
CALL 0x00026b70
JMP 0x00056abe
CALL 0x000f4bf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00056a50(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 extraout_ECX;\n  int in_GS_OFFSET;\n  int local_70;\n  undefined1 *local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined2 local_5c;\n  undefined1 local_56 [70];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_64 = *(undefined4 *)(param_1 + 0x68);\n  local_6c = local_56;\n  local_5c = 0x100;\n  local_68 = 0x46;\n  local_60 = 0;\n  local_70 = param_1;\n  FUN_0004ae60(&local_70,param_2,param_3);\n  uVar1 = FUN_00026fe0();\n  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00056a50(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 extraout_ECX;\n  int in_GS_OFFSET;\n  int local_70;\n  undefined1 *local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined2 local_5c;\n  undefined1 local_56 [70];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_64 = *(undefined4 *)(param_1 + 0x68);\n  local_6c = local_56;\n  local_5c = 0x100;\n  local_68 = 0x46;\n  local_60 = 0;\n  local_70 = param_1;\n  FUN_0004ae60(&local_70,param_2,param_3);\n  uVar1 = FUN_00026fe0();\n  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00056a50(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  undefined4 uVar1;\n  undefined4 extraout_ECX;\n  int in_GS_OFFSET;\n  int local_70;\n  undefined1 *local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined2 local_5c;\n  undefined1 local_56 [70];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_64 = *(undefined4 *)(param_1 + 0x68);\n  local_6c = local_56;\n  local_5c = 0x100;\n  local_68 = 0x46;\n  local_60 = 0;\n  local_70 = param_1;\n  FUN_0004ae60(&local_70,param_2,param_3);\n  uVar1 = FUN_00026fe0();\n  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_70;" primitive_type identifier ;) (declaration "undefined1 *local_6c;" type_identifier (pointer_declarator "*local_6c" * identifier) ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "undefined2 local_5c;" type_identifier identifier ;) (declaration "undefined1 local_56 [70];" type_identifier (array_declarator "local_56 [70]" identifier [ number_literal ]) ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_64 = *(undefined4 *)(param_1 + 0x68);" (assignment_expression "local_64 = *(undefined4 *)(param_1 + 0x68)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) ;) (expression_statement "local_6c = local_56;" (assignment_expression "local_6c = local_56" identifier = identifier) ;) (expression_statement "local_5c = 0x100;" (assignment_expression "local_5c = 0x100" identifier = number_literal) ;) (expression_statement "local_68 = 0x46;" (assignment_expression "local_68 = 0x46" identifier = number_literal) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_70 = param_1;" (assignment_expression "local_70 = param_1" identifier = identifier) ;) (expression_statement "FUN_0004ae60(&local_70,param_2,param_3);" (call_expression "FUN_0004ae60(&local_70,param_2,param_3)" identifier (argument_list "(&local_70,param_2,param_3)" ( (pointer_expression "&local_70" & identifier) , identifier , identifier ))) ;) (expression_statement "uVar1 = FUN_00026fe0();" (assignment_expression "uVar1 = FUN_00026fe0()" identifier = (call_expression "FUN_00026fe0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }" if (parenthesized_expression "(((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0))" ( (binary_expression "((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" (parenthesized_expression "((char)local_5c == '\a')" ( (binary_expression "(char)local_5c == '\a'" (cast_expression "(char)local_5c" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\a'" ' escape_sequence ')) )) && (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" ( (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" * (cast_expression "(uint *)(param_1 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }" { (expression_statement "FUN_00026b70();" (call_expression "FUN_00026b70()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = extraout_ECX;" (assignment_expression "uVar1 = extraout_ECX" identifier = identifier) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) })) comment (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 sqlite3VMPrintf(sqlite3 *db,char *zFormat,va_list ap)\n\n{\n  int iVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  int in_GS_OFFSET;\n  StrAccum acc;\n  char zBase [70];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  acc.mxAlloc = db->aLimit[0];\n  acc.zText = zBase;\n  acc.accError = '\0';\n  acc.printfFlags = '\x01';\n  acc.nAlloc = 0x46;\n  acc.nChar = 0;\n  acc.db = db;\n  sqlite3_str_vappendf(&acc,zFormat,ap);\n  pcVar3 = sqlite3StrAccumFinish(&acc);\n  if ((acc.accError == '\a') &&\n     (uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0)) {\n    sqlite3OomFault(db);\n    pcVar3 = extraout_ECX;\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "char * __regparm3 sqlite3VMPrintf(sqlite3 *db,char *zFormat,va_list ap)\n\n{\n  int iVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  int in_GS_OFFSET;\n  StrAccum acc;\n  char zBase [70];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  acc.mxAlloc = db->aLimit[0];\n  acc.zText = zBase;\n  acc.accError = '\0';\n  acc.printfFlags = '\x01';\n  acc.nAlloc = 0x46;\n  acc.nChar = 0;\n  acc.db = db;\n  sqlite3_str_vappendf(&acc,zFormat,ap);\n  pcVar3 = sqlite3StrAccumFinish(&acc);\n  if ((acc.accError == '\a') &&\n     (uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0)) {\n    sqlite3OomFault(db);\n    pcVar3 = extraout_ECX;\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (pointer_declarator "* __regparm3 sqlite3VMPrintf(sqlite3 *db,char *zFormat,va_list ap)" * (ERROR "__regparm3" identifier) (function_declarator "sqlite3VMPrintf(sqlite3 *db,char *zFormat,va_list ap)" identifier (parameter_list "(sqlite3 *db,char *zFormat,va_list ap)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "char *zFormat" primitive_type (pointer_declarator "*zFormat" * identifier)) , (parameter_declaration "va_list ap" type_identifier identifier) )))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  int in_GS_OFFSET;\n  StrAccum acc;\n  char zBase [70];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  acc.mxAlloc = db->aLimit[0];\n  acc.zText = zBase;\n  acc.accError = '\0';\n  acc.printfFlags = '\x01';\n  acc.nAlloc = 0x46;\n  acc.nChar = 0;\n  acc.db = db;\n  sqlite3_str_vappendf(&acc,zFormat,ap);\n  pcVar3 = sqlite3StrAccumFinish(&acc);\n  if ((acc.accError == '\a') &&\n     (uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0)) {\n    sqlite3OomFault(db);\n    pcVar3 = extraout_ECX;\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "StrAccum acc;" type_identifier identifier ;) (declaration "char zBase [70];" primitive_type (array_declarator "zBase [70]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "acc.mxAlloc = db->aLimit[0];" (assignment_expression "acc.mxAlloc = db->aLimit[0]" (field_expression "acc.mxAlloc" identifier . field_identifier) = (subscript_expression "db->aLimit[0]" (field_expression "db->aLimit" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "acc.zText = zBase;" (assignment_expression "acc.zText = zBase" (field_expression "acc.zText" identifier . field_identifier) = identifier) ;) (expression_statement "acc.accError = '\0';" (assignment_expression "acc.accError = '\0'" (field_expression "acc.accError" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "acc.printfFlags = '\x01';" (assignment_expression "acc.printfFlags = '\x01'" (field_expression "acc.printfFlags" identifier . field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "acc.nAlloc = 0x46;" (assignment_expression "acc.nAlloc = 0x46" (field_expression "acc.nAlloc" identifier . field_identifier) = number_literal) ;) (expression_statement "acc.nChar = 0;" (assignment_expression "acc.nChar = 0" (field_expression "acc.nChar" identifier . field_identifier) = number_literal) ;) (expression_statement "acc.db = db;" (assignment_expression "acc.db = db" (field_expression "acc.db" identifier . field_identifier) = identifier) ;) (expression_statement "sqlite3_str_vappendf(&acc,zFormat,ap);" (call_expression "sqlite3_str_vappendf(&acc,zFormat,ap)" identifier (argument_list "(&acc,zFormat,ap)" ( (pointer_expression "&acc" & identifier) , identifier , identifier ))) ;) (expression_statement "pcVar3 = sqlite3StrAccumFinish(&acc);" (assignment_expression "pcVar3 = sqlite3StrAccumFinish(&acc)" identifier = (call_expression "sqlite3StrAccumFinish(&acc)" identifier (argument_list "(&acc)" ( (pointer_expression "&acc" & identifier) )))) ;) (if_statement "if ((acc.accError == '\a') &&\n     (uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0)) {\n    sqlite3OomFault(db);\n    pcVar3 = extraout_ECX;\n  }" if (parenthesized_expression "((acc.accError == '\a') &&\n     (uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0))" ( (binary_expression "(acc.accError == '\a') &&\n     (uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0)" (parenthesized_expression "(acc.accError == '\a')" ( (binary_expression "acc.accError == '\a'" (field_expression "acc.accError" identifier . field_identifier) == (char_literal "'\a'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0)" ( (comma_expression "uVar2._0_1_ = db->temp_store, uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0" (assignment_expression "uVar2._0_1_ = db->temp_store" (field_expression "uVar2._0_1_" identifier . field_identifier) = (field_expression "db->temp_store" identifier -> field_identifier)) , (comma_expression "uVar2._1_1_ = db->mallocFailed, uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0" (assignment_expression "uVar2._1_1_ = db->mallocFailed" (field_expression "uVar2._1_1_" identifier . field_identifier) = (field_expression "db->mallocFailed" identifier -> field_identifier)) , (comma_expression "uVar2._2_1_ = db->bBenignMalloc,\n     uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0" (assignment_expression "uVar2._2_1_ = db->bBenignMalloc" (field_expression "uVar2._2_1_" identifier . field_identifier) = (field_expression "db->bBenignMalloc" identifier -> field_identifier)) , (comma_expression "uVar2._3_1_ = db->dfltLockMode, (uVar2 & 0xffff00) == 0" (assignment_expression "uVar2._3_1_ = db->dfltLockMode" (field_expression "uVar2._3_1_" identifier . field_identifier) = (field_expression "db->dfltLockMode" identifier -> field_identifier)) , (binary_expression "(uVar2 & 0xffff00) == 0" (parenthesized_expression "(uVar2 & 0xffff00)" ( (binary_expression "uVar2 & 0xffff00" identifier & number_literal) )) == number_literal))))) ))) )) (compound_statement "{\n    sqlite3OomFault(db);\n    pcVar3 = extraout_ECX;\n  }" { (expression_statement "sqlite3OomFault(db);" (call_expression "sqlite3OomFault(db)" identifier (argument_list "(db)" ( identifier ))) ;) (expression_statement "pcVar3 = extraout_ECX;" (assignment_expression "pcVar3 = extraout_ECX" identifier = identifier) ;) })) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return pcVar3;\n  }" { (return_statement "return pcVar3;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 __regparm3 FUN_00056a50(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 extraout_ECX;\n  int in_GS_OFFSET;\n  int local_70;\n  undefined1 *local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined2 local_5c;\n  undefined1 local_56 [70];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_64 = *(undefined4 *)(param_1 + 0x68);\n  local_6c = local_56;\n  local_5c = 0x100;\n  local_68 = 0x46;\n  local_60 = 0;\n  local_70 = param_1;\n  FUN_0004ae60(&local_70,param_2,param_3);\n  uVar1 = FUN_00026fe0();\n  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_000f4bf0();\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00056a50(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 extraout_ECX;\n  int in_GS_OFFSET;\n  int local_70;\n  undefined1 *local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined2 local_5c;\n  undefined1 local_56 [70];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_64 = *(undefined4 *)(param_1 + 0x68);\n  local_6c = local_56;\n  local_5c = 0x100;\n  local_68 = 0x46;\n  local_60 = 0;\n  local_70 = param_1;\n  FUN_0004ae60(&local_70,param_2,param_3);\n  uVar1 = FUN_00026fe0();\n  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_000f4bf0();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00056a50(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  undefined4 uVar1;\n  undefined4 extraout_ECX;\n  int in_GS_OFFSET;\n  int local_70;\n  undefined1 *local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined2 local_5c;\n  undefined1 local_56 [70];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_64 = *(undefined4 *)(param_1 + 0x68);\n  local_6c = local_56;\n  local_5c = 0x100;\n  local_68 = 0x46;\n  local_60 = 0;\n  local_70 = param_1;\n  FUN_0004ae60(&local_70,param_2,param_3);\n  uVar1 = FUN_00026fe0();\n  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_000f4bf0();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_70;" primitive_type identifier ;) (declaration "undefined1 *local_6c;" type_identifier (pointer_declarator "*local_6c" * identifier) ;) (declaration "undefined4 local_68;" type_identifier identifier ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "undefined2 local_5c;" type_identifier identifier ;) (declaration "undefined1 local_56 [70];" type_identifier (array_declarator "local_56 [70]" identifier [ number_literal ]) ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_64 = *(undefined4 *)(param_1 + 0x68);" (assignment_expression "local_64 = *(undefined4 *)(param_1 + 0x68)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) ;) (expression_statement "local_6c = local_56;" (assignment_expression "local_6c = local_56" identifier = identifier) ;) (expression_statement "local_5c = 0x100;" (assignment_expression "local_5c = 0x100" identifier = number_literal) ;) (expression_statement "local_68 = 0x46;" (assignment_expression "local_68 = 0x46" identifier = number_literal) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_70 = param_1;" (assignment_expression "local_70 = param_1" identifier = identifier) ;) (expression_statement "FUN_0004ae60(&local_70,param_2,param_3);" (call_expression "FUN_0004ae60(&local_70,param_2,param_3)" identifier (argument_list "(&local_70,param_2,param_3)" ( (pointer_expression "&local_70" & identifier) , identifier , identifier ))) ;) (expression_statement "uVar1 = FUN_00026fe0();" (assignment_expression "uVar1 = FUN_00026fe0()" identifier = (call_expression "FUN_00026fe0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }" if (parenthesized_expression "(((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0))" ( (binary_expression "((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" (parenthesized_expression "((char)local_5c == '\a')" ( (binary_expression "(char)local_5c == '\a'" (cast_expression "(char)local_5c" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\a'" ' escape_sequence ')) )) && (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" ( (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" * (cast_expression "(uint *)(param_1 + 0x4c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x4c)" ( (binary_expression "param_1 + 0x4c" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }" { (expression_statement "FUN_00026b70();" (call_expression "FUN_00026b70()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = extraout_ECX;" (assignment_expression "uVar1 = extraout_ECX" identifier = identifier) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) })) (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) && (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) )) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 __regparm3 FUN_00056a50(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  undefined4 extraout_ECX;\n  int in_GS_OFFSET;\n  int local_70;\n  undefined1 *local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined2 local_5c;\n  undefined1 local_56 [70];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_64 = *(undefined4 *)(param_1 + 0x68);\n  local_6c = local_56;\n  local_5c = 0x100;\n  local_68 = 0x46;\n  local_60 = 0;\n  local_70 = param_1;\n  FUN_0004ae60(&local_70,param_2,param_3);\n  uVar1 = FUN_00026fe0();\n  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_000f4bf0();\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00056a50(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00056a50") (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  undefined4 uVar1;\n  undefined4 extraout_ECX;\n  int in_GS_OFFSET;\n  int local_70;\n  undefined1 *local_6c;\n  undefined4 local_68;\n  undefined4 local_64;\n  undefined4 local_60;\n  undefined2 local_5c;\n  undefined1 local_56 [70];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  local_64 = *(undefined4 *)(param_1 + 0x68);\n  local_6c = local_56;\n  local_5c = 0x100;\n  local_68 = 0x46;\n  local_60 = 0;\n  local_70 = param_1;\n  FUN_0004ae60(&local_70,param_2,param_3);\n  uVar1 = FUN_00026fe0();\n  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_000f4bf0();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 extraout_ECX;" (type_identifier "undefined4") (identifier "extraout_ECX") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_70;" (primitive_type "int") (identifier "local_70") (; ";")) (declaration "undefined1 *local_6c;" (type_identifier "undefined1") (pointer_declarator "*local_6c" (* "*") (identifier "local_6c")) (; ";")) (declaration "undefined4 local_68;" (type_identifier "undefined4") (identifier "local_68") (; ";")) (declaration "undefined4 local_64;" (type_identifier "undefined4") (identifier "local_64") (; ";")) (declaration "undefined4 local_60;" (type_identifier "undefined4") (identifier "local_60") (; ";")) (declaration "undefined2 local_5c;" (type_identifier "undefined2") (identifier "local_5c") (; ";")) (declaration "undefined1 local_56 [70];" (type_identifier "undefined1") (array_declarator "local_56 [70]" (identifier "local_56") ([ "[") (number_literal "70") (] "]")) (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_64 = *(undefined4 *)(param_1 + 0x68);" (assignment_expression "local_64 = *(undefined4 *)(param_1 + 0x68)" (identifier "local_64") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")"))))) (; ";")) (expression_statement "local_6c = local_56;" (assignment_expression "local_6c = local_56" (identifier "local_6c") (= "=") (identifier "local_56")) (; ";")) (expression_statement "local_5c = 0x100;" (assignment_expression "local_5c = 0x100" (identifier "local_5c") (= "=") (number_literal "0x100")) (; ";")) (expression_statement "local_68 = 0x46;" (assignment_expression "local_68 = 0x46" (identifier "local_68") (= "=") (number_literal "0x46")) (; ";")) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" (identifier "local_60") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_70 = param_1;" (assignment_expression "local_70 = param_1" (identifier "local_70") (= "=") (identifier "param_1")) (; ";")) (expression_statement "FUN_0004ae60(&local_70,param_2,param_3);" (call_expression "FUN_0004ae60(&local_70,param_2,param_3)" (identifier "FUN_0004ae60") (argument_list "(&local_70,param_2,param_3)" (( "(") (pointer_expression "&local_70" (& "&") (identifier "local_70")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_00026fe0();" (assignment_expression "uVar1 = FUN_00026fe0()" (identifier "uVar1") (= "=") (call_expression "FUN_00026fe0()" (identifier "FUN_00026fe0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }" (if "if") (parenthesized_expression "(((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0))" (( "(") (binary_expression "((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" (parenthesized_expression "((char)local_5c == '\a')" (( "(") (binary_expression "(char)local_5c == '\a'" (cast_expression "(char)local_5c" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_5c")) (== "==") (char_literal "'\a'" (' "'") (escape_sequence "\a") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x4c) & 0xffff00)" (( "(") (binary_expression "*(uint *)(param_1 + 0x4c) & 0xffff00" (pointer_expression "*(uint *)(param_1 + 0x4c)" (* "*") (cast_expression "(uint *)(param_1 + 0x4c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x4c)" (( "(") (binary_expression "param_1 + 0x4c" (identifier "param_1") (+ "+") (number_literal "0x4c")) () ")")))) (& "&") (number_literal "0xffff00")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_00026b70();\n    uVar1 = extraout_ECX;\n  }" ({ "{") (expression_statement "FUN_00026b70();" (call_expression "FUN_00026b70()" (identifier "FUN_00026b70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar1 = extraout_ECX;" (assignment_expression "uVar1 = extraout_ECX" (identifier "uVar1") (= "=") (identifier "extraout_ECX")) (; ";")) (} "}"))) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return uVar1;\n  }" ({ "{") (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" (identifier "FUN_000f4bf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * __regparm3 function_1(type_1 *db,char *zFormat,type_2 ap)

{
  int var_6;
  type_3 var_4;
  char *pcVar3;
  char *extraout_ECX;
  int var_1;
  type_4 acc;
  char zBase [70];
  
  var_6 = *(int *)(var_1 + 0x14);
  acc.mxAlloc = db->aLimit[0];
  acc.zText = zBase;
  acc.accError = '\0';
  acc.printfFlags = '\x01';
  acc.nAlloc = 0x46;
  acc.nChar = 0;
  acc.db = db;
  var_2(&acc,zFormat,ap);
  pcVar3 = var_3(&acc);
  if ((acc.accError == '\a') &&
     (var_4._0_1_ = db->temp_store, var_4._1_1_ = db->mallocFailed, var_4._2_1_ = db->bBenignMalloc,
     var_4._3_1_ = db->dfltLockMode, (var_4 & 0xffff00) == 0)) {
    var_5(db);
    pcVar3 = extraout_ECX;
  }
  if (var_6 == *(int *)(var_1 + 0x14)) {
    return pcVar3;
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


(translation_unit (function_definition type: (type_identifier) (ERROR (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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  undefined4 uVar1;
  undefined4 extraout_ECX;
  int in_GS_OFFSET;
  int local_70;
  undefined1 *local_6c;
  undefined4 local_68;
  undefined4 local_64;
  undefined4 local_60;
  undefined2 local_5c;
  undefined1 local_56 [70];
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  local_64 = *(undefined4 *)(param_1 + 0x68);
  local_6c = local_56;
  local_5c = 0x100;
  local_68 = 0x46;
  local_60 = 0;
  local_70 = param_1;
  FUN_0004ae60(&local_70,param_2,param_3);
  uVar1 = FUN_00026fe0();
  if (((char)local_5c == '\a') && ((*(uint *)(param_1 + 0x4c) & 0xffff00) == 0)) {
    FUN_00026b70();
    uVar1 = extraout_ECX;
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f4bf0();
}

