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

void sqlite3_log(int iErrCode,char *zFormat,...)

{
  int iVar1;
  _func_void_void_ptr_int_char_ptr *p_Var2;
  char *pcVar3;
  int in_GS_OFFSET;
  StrAccum acc;
  char zMsg [210];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (sqlite3Config.xLog != (_func_void_void_ptr_int_char_ptr *)0x0) {
    acc.zText = zMsg;
    acc.db = (sqlite3 *)0x0;
    acc.accError = '\0';
    acc.printfFlags = '\0';
    acc.nAlloc = 0xd2;
    acc.mxAlloc = 0;
    acc.nChar = 0;
    sqlite3_str_vappendf(&acc,zFormat,&stack0x0000000c);
    p_Var2 = sqlite3Config.xLog;
    pcVar3 = sqlite3StrAccumFinish(&acc);
    (*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3);
  }
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

void FUN_00052380(undefined4 param_1,undefined4 param_2)

{
  code *pcVar1;
  undefined4 uVar2;
  int in_GS_OFFSET;
  undefined4 local_fc;
  undefined1 *local_f8;
  undefined4 local_f4;
  undefined4 local_f0;
  undefined4 local_ec;
  undefined2 local_e8;
  undefined1 local_e2 [210];
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (DAT_0014b278 != (code *)0x0) {
    local_f8 = local_e2;
    local_fc = 0;
    local_e8 = 0;
    local_f4 = 0xd2;
    local_f0 = 0;
    local_ec = 0;
    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);
    pcVar1 = DAT_0014b278;
    uVar2 = FUN_000287f0();
    (*pcVar1)(DAT_0014b27c,param_1,uVar2);
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f6410();
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d20
ADD EBX,0xf8b4c
SUB ESP,0xf0
MOV EDX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0xec],EDX
XOR EDX,EDX
MOV EAX,dword ptr [ESP + 0x104]
MOV ESI,dword ptr [EBX + 0x3a4]
TEST ESI,ESI
JZ 0x0005241c
LEA ECX,[ESP + 0x1a]
MOV dword ptr [ESP],0x0
LEA EDX,[ESP + 0x108]
SUB ESP,0x4
MOV dword ptr [ESP + 0x8],ECX
XOR ECX,ECX
MOV word ptr [ESP + 0x18],CX
MOV dword ptr [ESP + 0xc],0xd2
MOV dword ptr [ESP + 0x10],0x0
MOV dword ptr [ESP + 0x14],0x0
PUSH EDX
PUSH EAX
LEA ESI,[ESP + 0xc]
PUSH ESI
CALL 0x0004c670
MOV EAX,ESI
MOV EDI,dword ptr [EBX + 0x3a4]
CALL 0x000287f0
ADD ESP,0xc
PUSH EAX
PUSH dword ptr [ESP + 0x108]
PUSH dword ptr [EBX + 0x3a8]
CALL EDI
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xec]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00052436
ADD ESP,0xf0
POP EBX
POP ESI
POP EDI
RET
CALL 0x000f6410
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00052380(undefined4 param_1,undefined4 param_2)\n\n{\n  code *pcVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_fc;\n  undefined1 *local_f8;\n  undefined4 local_f4;\n  undefined4 local_f0;\n  undefined4 local_ec;\n  undefined2 local_e8;\n  undefined1 local_e2 [210];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f6410();\n}\n\n" comment (function_definition "void FUN_00052380(undefined4 param_1,undefined4 param_2)\n\n{\n  code *pcVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_fc;\n  undefined1 *local_f8;\n  undefined4 local_f4;\n  undefined4 local_f0;\n  undefined4 local_ec;\n  undefined2 local_e8;\n  undefined1 local_e2 [210];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f6410();\n}" primitive_type (function_declarator "FUN_00052380(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  code *pcVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_fc;\n  undefined1 *local_f8;\n  undefined4 local_f4;\n  undefined4 local_f0;\n  undefined4 local_ec;\n  undefined2 local_e8;\n  undefined1 local_e2 [210];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f6410();\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_fc;" type_identifier identifier ;) (declaration "undefined1 *local_f8;" type_identifier (pointer_declarator "*local_f8" * identifier) ;) (declaration "undefined4 local_f4;" type_identifier identifier ;) (declaration "undefined4 local_f0;" type_identifier identifier ;) (declaration "undefined4 local_ec;" type_identifier identifier ;) (declaration "undefined2 local_e8;" type_identifier identifier ;) (declaration "undefined1 local_e2 [210];" type_identifier (array_declarator "local_e2 [210]" 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) ))))) ;) (if_statement "if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }" if (parenthesized_expression "(DAT_0014b278 != (code *)0x0)" ( (binary_expression "DAT_0014b278 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }" { (expression_statement "local_f8 = local_e2;" (assignment_expression "local_f8 = local_e2" identifier = identifier) ;) (expression_statement "local_fc = 0;" (assignment_expression "local_fc = 0" identifier = number_literal) ;) (expression_statement "local_e8 = 0;" (assignment_expression "local_e8 = 0" identifier = number_literal) ;) (expression_statement "local_f4 = 0xd2;" (assignment_expression "local_f4 = 0xd2" identifier = number_literal) ;) (expression_statement "local_f0 = 0;" (assignment_expression "local_f0 = 0" identifier = number_literal) ;) (expression_statement "local_ec = 0;" (assignment_expression "local_ec = 0" identifier = number_literal) ;) (expression_statement "FUN_0004c670(&local_fc,param_2,&stack0x0000000c);" (call_expression "FUN_0004c670(&local_fc,param_2,&stack0x0000000c)" identifier (argument_list "(&local_fc,param_2,&stack0x0000000c)" ( (pointer_expression "&local_fc" & identifier) , identifier , (pointer_expression "&stack0x0000000c" & identifier) ))) ;) (expression_statement "pcVar1 = DAT_0014b278;" (assignment_expression "pcVar1 = DAT_0014b278" identifier = identifier) ;) (expression_statement "uVar2 = FUN_000287f0();" (assignment_expression "uVar2 = FUN_000287f0()" identifier = (call_expression "FUN_000287f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "(*pcVar1)(DAT_0014b27c,param_1,uVar2);" (call_expression "(*pcVar1)(DAT_0014b27c,param_1,uVar2)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(DAT_0014b27c,param_1,uVar2)" ( identifier , identifier , identifier ))) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\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;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid sqlite3_log(int iErrCode,char *zFormat,...)\n\n{\n  int iVar1;\n  _func_void_void_ptr_int_char_ptr *p_Var2;\n  char *pcVar3;\n  int in_GS_OFFSET;\n  StrAccum acc;\n  char zMsg [210];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (sqlite3Config.xLog != (_func_void_void_ptr_int_char_ptr *)0x0) {\n    acc.zText = zMsg;\n    acc.db = (sqlite3 *)0x0;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    acc.nAlloc = 0xd2;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    sqlite3_str_vappendf(&acc,zFormat,&stack0x0000000c);\n    p_Var2 = sqlite3Config.xLog;\n    pcVar3 = sqlite3StrAccumFinish(&acc);\n    (*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "void sqlite3_log(int iErrCode,char *zFormat,...)\n\n{\n  int iVar1;\n  _func_void_void_ptr_int_char_ptr *p_Var2;\n  char *pcVar3;\n  int in_GS_OFFSET;\n  StrAccum acc;\n  char zMsg [210];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (sqlite3Config.xLog != (_func_void_void_ptr_int_char_ptr *)0x0) {\n    acc.zText = zMsg;\n    acc.db = (sqlite3 *)0x0;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    acc.nAlloc = 0xd2;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    sqlite3_str_vappendf(&acc,zFormat,&stack0x0000000c);\n    p_Var2 = sqlite3Config.xLog;\n    pcVar3 = sqlite3StrAccumFinish(&acc);\n    (*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "sqlite3_log(int iErrCode,char *zFormat,...)" identifier (parameter_list "(int iErrCode,char *zFormat,...)" ( (parameter_declaration "int iErrCode" primitive_type identifier) , (parameter_declaration "char *zFormat" primitive_type (pointer_declarator "*zFormat" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  int iVar1;\n  _func_void_void_ptr_int_char_ptr *p_Var2;\n  char *pcVar3;\n  int in_GS_OFFSET;\n  StrAccum acc;\n  char zMsg [210];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (sqlite3Config.xLog != (_func_void_void_ptr_int_char_ptr *)0x0) {\n    acc.zText = zMsg;\n    acc.db = (sqlite3 *)0x0;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    acc.nAlloc = 0xd2;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    sqlite3_str_vappendf(&acc,zFormat,&stack0x0000000c);\n    p_Var2 = sqlite3Config.xLog;\n    pcVar3 = sqlite3StrAccumFinish(&acc);\n    (*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "_func_void_void_ptr_int_char_ptr *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "StrAccum acc;" type_identifier identifier ;) (declaration "char zMsg [210];" primitive_type (array_declarator "zMsg [210]" 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) ))))) ;) (if_statement "if (sqlite3Config.xLog != (_func_void_void_ptr_int_char_ptr *)0x0) {\n    acc.zText = zMsg;\n    acc.db = (sqlite3 *)0x0;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    acc.nAlloc = 0xd2;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    sqlite3_str_vappendf(&acc,zFormat,&stack0x0000000c);\n    p_Var2 = sqlite3Config.xLog;\n    pcVar3 = sqlite3StrAccumFinish(&acc);\n    (*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3);\n  }" if (parenthesized_expression "(sqlite3Config.xLog != (_func_void_void_ptr_int_char_ptr *)0x0)" ( (binary_expression "sqlite3Config.xLog != (_func_void_void_ptr_int_char_ptr *)0x0" (field_expression "sqlite3Config.xLog" identifier . field_identifier) != (cast_expression "(_func_void_void_ptr_int_char_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr_int_char_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    acc.zText = zMsg;\n    acc.db = (sqlite3 *)0x0;\n    acc.accError = '\0';\n    acc.printfFlags = '\0';\n    acc.nAlloc = 0xd2;\n    acc.mxAlloc = 0;\n    acc.nChar = 0;\n    sqlite3_str_vappendf(&acc,zFormat,&stack0x0000000c);\n    p_Var2 = sqlite3Config.xLog;\n    pcVar3 = sqlite3StrAccumFinish(&acc);\n    (*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3);\n  }" { (expression_statement "acc.zText = zMsg;" (assignment_expression "acc.zText = zMsg" (field_expression "acc.zText" identifier . field_identifier) = identifier) ;) (expression_statement "acc.db = (sqlite3 *)0x0;" (assignment_expression "acc.db = (sqlite3 *)0x0" (field_expression "acc.db" identifier . field_identifier) = (cast_expression "(sqlite3 *)0x0" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (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 = '\0';" (assignment_expression "acc.printfFlags = '\0'" (field_expression "acc.printfFlags" identifier . field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "acc.nAlloc = 0xd2;" (assignment_expression "acc.nAlloc = 0xd2" (field_expression "acc.nAlloc" identifier . field_identifier) = number_literal) ;) (expression_statement "acc.mxAlloc = 0;" (assignment_expression "acc.mxAlloc = 0" (field_expression "acc.mxAlloc" 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 "sqlite3_str_vappendf(&acc,zFormat,&stack0x0000000c);" (call_expression "sqlite3_str_vappendf(&acc,zFormat,&stack0x0000000c)" identifier (argument_list "(&acc,zFormat,&stack0x0000000c)" ( (pointer_expression "&acc" & identifier) , identifier , (pointer_expression "&stack0x0000000c" & identifier) ))) ;) (expression_statement "p_Var2 = sqlite3Config.xLog;" (assignment_expression "p_Var2 = sqlite3Config.xLog" identifier = (field_expression "sqlite3Config.xLog" identifier . field_identifier)) ;) (expression_statement "pcVar3 = sqlite3StrAccumFinish(&acc);" (assignment_expression "pcVar3 = sqlite3StrAccumFinish(&acc)" identifier = (call_expression "sqlite3StrAccumFinish(&acc)" identifier (argument_list "(&acc)" ( (pointer_expression "&acc" & identifier) )))) ;) (expression_statement "(*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3);" (call_expression "(*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3)" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "(sqlite3Config.pLogArg,iErrCode,pcVar3)" ( (field_expression "sqlite3Config.pLogArg" identifier . field_identifier) , identifier , identifier ))) ;) })) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\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;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00052380(undefined4 param_1,undefined4 param_2)\n\n{\n  code *pcVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_fc;\n  undefined1 *local_f8;\n  undefined4 local_f4;\n  undefined4 local_f0;\n  undefined4 local_ec;\n  undefined2 local_e8;\n  undefined1 local_e2 [210];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f6410();\n}\n\n" (function_definition "void FUN_00052380(undefined4 param_1,undefined4 param_2)\n\n{\n  code *pcVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_fc;\n  undefined1 *local_f8;\n  undefined4 local_f4;\n  undefined4 local_f0;\n  undefined4 local_ec;\n  undefined2 local_e8;\n  undefined1 local_e2 [210];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f6410();\n}" primitive_type (function_declarator "FUN_00052380(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  code *pcVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_fc;\n  undefined1 *local_f8;\n  undefined4 local_f4;\n  undefined4 local_f0;\n  undefined4 local_ec;\n  undefined2 local_e8;\n  undefined1 local_e2 [210];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f6410();\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_fc;" type_identifier identifier ;) (declaration "undefined1 *local_f8;" type_identifier (pointer_declarator "*local_f8" * identifier) ;) (declaration "undefined4 local_f4;" type_identifier identifier ;) (declaration "undefined4 local_f0;" type_identifier identifier ;) (declaration "undefined4 local_ec;" type_identifier identifier ;) (declaration "undefined2 local_e8;" type_identifier identifier ;) (declaration "undefined1 local_e2 [210];" type_identifier (array_declarator "local_e2 [210]" 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) ))))) ;) (if_statement "if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }" if (parenthesized_expression "(DAT_0014b278 != (code *)0x0)" ( (binary_expression "DAT_0014b278 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }" { (expression_statement "local_f8 = local_e2;" (assignment_expression "local_f8 = local_e2" identifier = identifier) ;) (expression_statement "local_fc = 0;" (assignment_expression "local_fc = 0" identifier = number_literal) ;) (expression_statement "local_e8 = 0;" (assignment_expression "local_e8 = 0" identifier = number_literal) ;) (expression_statement "local_f4 = 0xd2;" (assignment_expression "local_f4 = 0xd2" identifier = number_literal) ;) (expression_statement "local_f0 = 0;" (assignment_expression "local_f0 = 0" identifier = number_literal) ;) (expression_statement "local_ec = 0;" (assignment_expression "local_ec = 0" identifier = number_literal) ;) (expression_statement "FUN_0004c670(&local_fc,param_2,&stack0x0000000c);" (call_expression "FUN_0004c670(&local_fc,param_2,&stack0x0000000c)" identifier (argument_list "(&local_fc,param_2,&stack0x0000000c)" ( (pointer_expression "&local_fc" & identifier) , identifier , (pointer_expression "&stack0x0000000c" & identifier) ))) ;) (expression_statement "pcVar1 = DAT_0014b278;" (assignment_expression "pcVar1 = DAT_0014b278" identifier = identifier) ;) (expression_statement "uVar2 = FUN_000287f0();" (assignment_expression "uVar2 = FUN_000287f0()" identifier = (call_expression "FUN_000287f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "(*pcVar1)(DAT_0014b27c,param_1,uVar2);" (call_expression "(*pcVar1)(DAT_0014b27c,param_1,uVar2)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(DAT_0014b27c,param_1,uVar2)" ( identifier , identifier , identifier ))) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\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;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , 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 ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00052380(undefined4 param_1,undefined4 param_2)\n\n{\n  code *pcVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_fc;\n  undefined1 *local_f8;\n  undefined4 local_f4;\n  undefined4 local_f0;\n  undefined4 local_ec;\n  undefined2 local_e8;\n  undefined1 local_e2 [210];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f6410();\n}" (primitive_type "void") (function_declarator "FUN_00052380(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00052380") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  code *pcVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  undefined4 local_fc;\n  undefined1 *local_f8;\n  undefined4 local_f4;\n  undefined4 local_f0;\n  undefined4 local_ec;\n  undefined2 local_e8;\n  undefined1 local_e2 [210];\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f6410();\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_fc;" (type_identifier "undefined4") (identifier "local_fc") (; ";")) (declaration "undefined1 *local_f8;" (type_identifier "undefined1") (pointer_declarator "*local_f8" (* "*") (identifier "local_f8")) (; ";")) (declaration "undefined4 local_f4;" (type_identifier "undefined4") (identifier "local_f4") (; ";")) (declaration "undefined4 local_f0;" (type_identifier "undefined4") (identifier "local_f0") (; ";")) (declaration "undefined4 local_ec;" (type_identifier "undefined4") (identifier "local_ec") (; ";")) (declaration "undefined2 local_e8;" (type_identifier "undefined2") (identifier "local_e8") (; ";")) (declaration "undefined1 local_e2 [210];" (type_identifier "undefined1") (array_declarator "local_e2 [210]" (identifier "local_e2") ([ "[") (number_literal "210") (] "]")) (; ";")) (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")) () ")"))))) (; ";")) (if_statement "if (DAT_0014b278 != (code *)0x0) {\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }" (if "if") (parenthesized_expression "(DAT_0014b278 != (code *)0x0)" (( "(") (binary_expression "DAT_0014b278 != (code *)0x0" (identifier "DAT_0014b278") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_f8 = local_e2;\n    local_fc = 0;\n    local_e8 = 0;\n    local_f4 = 0xd2;\n    local_f0 = 0;\n    local_ec = 0;\n    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);\n    pcVar1 = DAT_0014b278;\n    uVar2 = FUN_000287f0();\n    (*pcVar1)(DAT_0014b27c,param_1,uVar2);\n  }" ({ "{") (expression_statement "local_f8 = local_e2;" (assignment_expression "local_f8 = local_e2" (identifier "local_f8") (= "=") (identifier "local_e2")) (; ";")) (expression_statement "local_fc = 0;" (assignment_expression "local_fc = 0" (identifier "local_fc") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_e8 = 0;" (assignment_expression "local_e8 = 0" (identifier "local_e8") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_f4 = 0xd2;" (assignment_expression "local_f4 = 0xd2" (identifier "local_f4") (= "=") (number_literal "0xd2")) (; ";")) (expression_statement "local_f0 = 0;" (assignment_expression "local_f0 = 0" (identifier "local_f0") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_ec = 0;" (assignment_expression "local_ec = 0" (identifier "local_ec") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0004c670(&local_fc,param_2,&stack0x0000000c);" (call_expression "FUN_0004c670(&local_fc,param_2,&stack0x0000000c)" (identifier "FUN_0004c670") (argument_list "(&local_fc,param_2,&stack0x0000000c)" (( "(") (pointer_expression "&local_fc" (& "&") (identifier "local_fc")) (, ",") (identifier "param_2") (, ",") (pointer_expression "&stack0x0000000c" (& "&") (identifier "stack0x0000000c")) () ")"))) (; ";")) (expression_statement "pcVar1 = DAT_0014b278;" (assignment_expression "pcVar1 = DAT_0014b278" (identifier "pcVar1") (= "=") (identifier "DAT_0014b278")) (; ";")) (expression_statement "uVar2 = FUN_000287f0();" (assignment_expression "uVar2 = FUN_000287f0()" (identifier "uVar2") (= "=") (call_expression "FUN_000287f0()" (identifier "FUN_000287f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "(*pcVar1)(DAT_0014b27c,param_1,uVar2);" (call_expression "(*pcVar1)(DAT_0014b27c,param_1,uVar2)" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "(DAT_0014b27c,param_1,uVar2)" (( "(") (identifier "DAT_0014b27c") (, ",") (identifier "param_1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\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;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" (identifier "FUN_000f6410") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

void function_1(int iErrCode,char *zFormat,...)

{
  int var_4;
  type_1 *p_Var2;
  char *pcVar3;
  int var_1;
  type_2 acc;
  char zMsg [210];
  
  var_4 = *(int *)(var_1 + 0x14);
  if (sqlite3Config.xLog != (type_1 *)0x0) {
    acc.zText = zMsg;
    acc.db = (type_3 *)0x0;
    acc.accError = '\0';
    acc.printfFlags = '\0';
    acc.nAlloc = 0xd2;
    acc.mxAlloc = 0;
    acc.nChar = 0;
    var_2(&acc,zFormat,&stack0x0000000c);
    p_Var2 = sqlite3Config.xLog;
    pcVar3 = var_3(&acc);
    (*p_Var2)(sqlite3Config.pLogArg,iErrCode,pcVar3);
  }
  if (var_4 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_5();
}


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

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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  code *pcVar1;
  undefined4 uVar2;
  int in_GS_OFFSET;
  undefined4 local_fc;
  undefined1 *local_f8;
  undefined4 local_f4;
  undefined4 local_f0;
  undefined4 local_ec;
  undefined2 local_e8;
  undefined1 local_e2 [210];
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (DAT_0014b278 != (code *)0x0) {
    local_f8 = local_e2;
    local_fc = 0;
    local_e8 = 0;
    local_f4 = 0xd2;
    local_f0 = 0;
    local_ec = 0;
    FUN_0004c670(&local_fc,param_2,&stack0x0000000c);
    pcVar1 = DAT_0014b278;
    uVar2 = FUN_000287f0();
    (*pcVar1)(DAT_0014b27c,param_1,uVar2);
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f6410();
}

