
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 sqlite3DropTriggerPtr(Parse *pParse,Trigger *pTrigger)

{
  Hash *pH;
  sqlite3 *db;
  HashElem *pHVar1;
  undefined4 *puVar2;
  int iVar3;
  Vdbe *p;
  undefined **zArg3;
  char *pcVar4;
  char *in_stack_ffffffcc;
  char *zArg2;
  Parse *local_28;
  int local_20;
  
  zArg3 = &_GLOBAL_OFFSET_TABLE_;
  db = pParse->db;
  pH = &pTrigger->pTabSchema->tblHash;
  pcVar4 = pTrigger->table;
  if (pTrigger->pSchema == (Schema *)0x0) {
    zArg2 = (char *)0xe3eae;
    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);
    local_28 = (Parse *)0xfff0bdc0;
    puVar2 = (undefined4 *)pHVar1->data;
    local_20 = -16000000;
    pcVar4 = db->aDb[-1000000].zDbSName;
  }
  else {
    local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema);
    zArg2 = (char *)0xe3d8b;
    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);
    puVar2 = (undefined4 *)pHVar1->data;
    local_20 = (int)local_28 * 0x10;
    pcVar4 = db->aDb[(int)local_28].zDbSName;
  }
  iVar3 = sqlite3AuthCheck((Parse *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3);
  if ((iVar3 == 0) &&
     (iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),
     iVar3 == 0)) {
    p = pParse->pVdbe;
    if ((p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)) {
      return;
    }
    sqlite3NestedParse(pParse,(char *)(zArg3 + -0x131a0),
                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,
                       pTrigger->zName);
    sqlite3ChangeCookie((Parse *)pParse->db,(int)pParse->pVdbe,local_28);
    pcVar4 = pTrigger->zName;
    iVar3 = sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0);
    sqlite3VdbeChangeP4(p,iVar3,pcVar4,0);
    return;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 FUN_000e3d40(int *param_1,undefined4 *param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined **ppuVar5;
  undefined4 uVar6;
  undefined **ppuVar7;
  int local_20;
  
  ppuVar5 = &__DT_PLTGOT;
  iVar1 = *param_1;
  uVar6 = param_2[1];
  if (param_2[5] == 0) {
    iVar3 = FUN_00037c80(&__DT_PLTGOT);
    iVar2 = -1000000;
    puVar4 = *(undefined4 **)(iVar3 + 8);
    local_20 = -16000000;
    ppuVar7 = ppuVar5 + -0x190e3;
    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);
  }
  else {
    iVar2 = FUN_0004c580();
    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);
    puVar4 = *(undefined4 **)(iVar3 + 8);
    local_20 = iVar2 * 0x10;
    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);
    ppuVar7 = ppuVar5 + -0x190e3;
    if (iVar2 == 1) {
      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);
    }
  }
  iVar3 = FUN_00075540(*puVar4,uVar6);
  if (iVar3 == 0) {
    iVar3 = FUN_00075540(0,uVar6);
    if (iVar3 == 0) {
      if (param_1[2] == 0) {
        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);
        if (iVar2 == 0) {
          return;
        }
      }
      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),
                   ppuVar5 + -0x190e3,*param_2);
      FUN_00066610();
      FUN_00065e80(0,0);
      FUN_000533f0(0);
      return;
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x00115708
ADD ESI,0x980e0
PUSH EBX
MOV EBX,EDX
SUB ESP,0x1c
MOV EBP,dword ptr [EAX]
MOV ECX,dword ptr [EBX + 0x18]
MOV EDX,dword ptr [EDX + 0x14]
LEA EDI,[ECX + 0x8]
MOV dword ptr [ESP],ESI
MOV ESI,EAX
MOV EAX,dword ptr [EBX + 0x4]
MOV dword ptr [ESP + 0x8],EAX
TEST EDX,EDX
JZ 0x000e3ea1
MOV EAX,EBP
CALL 0x0004c580
MOV EDX,dword ptr [ESP + 0x8]
XOR ECX,ECX
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,EDI
CALL 0x00037c80
MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EBP + 0x10]
MOV EAX,dword ptr [EAX + 0x8]
MOV EDI,ECX
SHL EDI,0x4
MOV dword ptr [ESP + 0xc],EDI
MOV EDI,dword ptr [EDX + EDI*0x1]
MOV EDX,dword ptr [ESP]
LEA EDX,[EDX + 0xfff9bc74]
MOV dword ptr [ESP + 0x8],EDX
MOV EDX,0x10
CMP ECX,0x1
JNZ 0x000e3dca
MOV ECX,dword ptr [ESP]
MOV EDX,0xe
LEA ECX,[ECX + 0xfff9bf75]
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [EAX]
MOV ECX,dword ptr [EBX]
MOV EAX,ESI
CALL 0x00075540
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000e3df0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
MOV EDX,0x9
MOV EAX,ESI
PUSH EDI
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x18]
CALL 0x00075540
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000e3de0
MOV EDI,dword ptr [ESI + 0x8]
TEST EDI,EDI
JZ 0x000e3e88
SUB ESP,0xc
PUSH dword ptr [EBX]
MOV ECX,dword ptr [ESP + 0x10]
LEA EAX,[ECX + 0xfff9bc74]
PUSH EAX
MOV EDX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EBP + 0x10]
PUSH dword ptr [EAX + EDX*0x1]
LEA EAX,[ECX + 0xfffb3980]
PUSH EAX
PUSH ESI
CALL 0x000e3b60
ADD ESP,0x20
MOV EBP,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESI + 0x8]
MOV EAX,dword ptr [ESI]
MOV ECX,EBP
CALL 0x00066610
SUB ESP,0x8
MOV EBX,dword ptr [EBX]
MOV ECX,EBP
PUSH 0x0
MOV EDX,0x92
MOV EAX,EDI
PUSH 0x0
CALL 0x00065e80
MOV ECX,EBX
MOV dword ptr [ESP],0x0
MOV EDX,EAX
MOV EAX,EDI
CALL 0x000533f0
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,ESI
CALL 0x00065f90
MOV EDI,EAX
TEST EAX,EAX
JNZ 0x000e3e14
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESP + 0x8]
XOR ECX,ECX
MOV EAX,EDI
CALL 0x00037c80
MOV ECX,dword ptr [ESP]
MOV EDX,dword ptr [EBP + 0x10]
MOV dword ptr [ESP + 0x4],0xfff0bdc0
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0xc],0xff0bdc00
LEA ECX,[ECX + 0xfff9bc74]
MOV EDI,dword ptr [EDX + 0xff0bdc00]
MOV EDX,0x10
MOV dword ptr [ESP + 0x8],ECX
JMP 0x000e3dca
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3 FUN_000e3d40(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  undefined **ppuVar7;\n  int local_20;\n  \n  ppuVar5 = &__DT_PLTGOT;\n  iVar1 = *param_1;\n  uVar6 = param_2[1];\n  if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }\n  iVar3 = FUN_00075540(*puVar4,uVar6);\n  if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000e3d40(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  undefined **ppuVar7;\n  int local_20;\n  \n  ppuVar5 = &__DT_PLTGOT;\n  iVar1 = *param_1;\n  uVar6 = param_2[1];\n  if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }\n  iVar3 = FUN_00075540(*puVar4,uVar6);\n  if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000e3d40(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  undefined **ppuVar7;\n  int local_20;\n  \n  ppuVar5 = &__DT_PLTGOT;\n  iVar1 = *param_1;\n  uVar6 = param_2[1];\n  if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }\n  iVar3 = FUN_00075540(*puVar4,uVar6);\n  if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined **ppuVar7;" type_identifier (pointer_declarator "**ppuVar7" * (pointer_declarator "*ppuVar7" * identifier)) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "ppuVar5 = &__DT_PLTGOT;" (assignment_expression "ppuVar5 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar6 = param_2[1];" (assignment_expression "uVar6 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" if (parenthesized_expression "(param_2[5] == 0)" ( (binary_expression "param_2[5] == 0" (subscript_expression "param_2[5]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }" { (expression_statement "iVar3 = FUN_00037c80(&__DT_PLTGOT);" (assignment_expression "iVar3 = FUN_00037c80(&__DT_PLTGOT)" identifier = (call_expression "FUN_00037c80(&__DT_PLTGOT)" identifier (argument_list "(&__DT_PLTGOT)" ( (pointer_expression "&__DT_PLTGOT" & identifier) )))) ;) (expression_statement "iVar2 = -1000000;" (assignment_expression "iVar2 = -1000000" identifier = number_literal) ;) (expression_statement "puVar4 = *(undefined4 **)(iVar3 + 8);" (assignment_expression "puVar4 = *(undefined4 **)(iVar3 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar3 + 8)" * (cast_expression "(undefined4 **)(iVar3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_20 = -16000000;" (assignment_expression "local_20 = -16000000" identifier = number_literal) ;) (expression_statement "ppuVar7 = ppuVar5 + -0x190e3;" (assignment_expression "ppuVar7 = ppuVar5 + -0x190e3" identifier = (binary_expression "ppuVar5 + -0x190e3" identifier + number_literal)) ;) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + -16000000)" ( (binary_expression "*(int *)(iVar1 + 0x10) + -16000000" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ;) }) (else_clause "else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" else (compound_statement "{\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" { (expression_statement "iVar2 = FUN_0004c580();" (assignment_expression "iVar2 = FUN_0004c580()" identifier = (call_expression "FUN_0004c580()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);" (assignment_expression "iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6)" identifier = (call_expression "FUN_00037c80(ppuVar5,iVar2,uVar6)" identifier (argument_list "(ppuVar5,iVar2,uVar6)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar4 = *(undefined4 **)(iVar3 + 8);" (assignment_expression "puVar4 = *(undefined4 **)(iVar3 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar3 + 8)" * (cast_expression "(undefined4 **)(iVar3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_20 = iVar2 * 0x10;" (assignment_expression "local_20 = iVar2 * 0x10" identifier = (binary_expression "iVar2 * 0x10" identifier * number_literal)) ;) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + local_20)" ( (binary_expression "*(int *)(iVar1 + 0x10) + local_20" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + identifier) ))))) ;) (expression_statement "ppuVar7 = ppuVar5 + -0x190e3;" (assignment_expression "ppuVar7 = ppuVar5 + -0x190e3" identifier = (binary_expression "ppuVar5 + -0x190e3" identifier + number_literal)) ;) (if_statement "if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (compound_statement "{\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }" { (expression_statement "ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);" (assignment_expression "ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b)" identifier = (cast_expression "(undefined **)((int)ppuVar5 + -0x6408b)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar5 + -0x6408b)" ( (binary_expression "(int)ppuVar5 + -0x6408b" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) }))) (expression_statement "iVar3 = FUN_00075540(*puVar4,uVar6);" (assignment_expression "iVar3 = FUN_00075540(*puVar4,uVar6)" identifier = (call_expression "FUN_00075540(*puVar4,uVar6)" identifier (argument_list "(*puVar4,uVar6)" ( (pointer_expression "*puVar4" * identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }" { (expression_statement "iVar3 = FUN_00075540(0,uVar6);" (assignment_expression "iVar3 = FUN_00075540(0,uVar6)" identifier = (call_expression "FUN_00075540(0,uVar6)" identifier (argument_list "(0,uVar6)" ( number_literal , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }" { (if_statement "if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }" if (parenthesized_expression "(param_1[2] == 0)" ( (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }" { (expression_statement "iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);" (assignment_expression "iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7)" identifier = (call_expression "FUN_00065f90(ppuVar5,iVar2,ppuVar7)" identifier (argument_list "(ppuVar5,iVar2,ppuVar7)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          return;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);" (call_expression "FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2)" identifier (argument_list "(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2)" ( identifier , (binary_expression "ppuVar5 + -0x131a0" identifier + number_literal) , (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + local_20)" ( (binary_expression "*(int *)(iVar1 + 0x10) + local_20" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + identifier) )))) , (binary_expression "ppuVar5 + -0x190e3" identifier + number_literal) , (pointer_expression "*param_2" * identifier) ))) ;) (expression_statement "FUN_00066610();" (call_expression "FUN_00066610()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00065e80(0,0);" (call_expression "FUN_00065e80(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (expression_statement "FUN_000533f0(0);" (call_expression "FUN_000533f0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3 sqlite3DropTriggerPtr(Parse *pParse,Trigger *pTrigger)\n\n{\n  Hash *pH;\n  sqlite3 *db;\n  HashElem *pHVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  Vdbe *p;\n  undefined **zArg3;\n  char *pcVar4;\n  char *in_stack_ffffffcc;\n  char *zArg2;\n  Parse *local_28;\n  int local_20;\n  \n  zArg3 = &_GLOBAL_OFFSET_TABLE_;\n  db = pParse->db;\n  pH = &pTrigger->pTabSchema->tblHash;\n  pcVar4 = pTrigger->table;\n  if (pTrigger->pSchema == (Schema *)0x0) {\n    zArg2 = (char *)0xe3eae;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    local_28 = (Parse *)0xfff0bdc0;\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = -16000000;\n    pcVar4 = db->aDb[-1000000].zDbSName;\n  }\n  else {\n    local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema);\n    zArg2 = (char *)0xe3d8b;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = (int)local_28 * 0x10;\n    pcVar4 = db->aDb[(int)local_28].zDbSName;\n  }\n  iVar3 = sqlite3AuthCheck((Parse *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3);\n  if ((iVar3 == 0) &&\n     (iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),\n     iVar3 == 0)) {\n    p = pParse->pVdbe;\n    if ((p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)) {\n      return;\n    }\n    sqlite3NestedParse(pParse,(char *)(zArg3 + -0x131a0),\n                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,\n                       pTrigger->zName);\n    sqlite3ChangeCookie((Parse *)pParse->db,(int)pParse->pVdbe,local_28);\n    pcVar4 = pTrigger->zName;\n    iVar3 = sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0);\n    sqlite3VdbeChangeP4(p,iVar3,pcVar4,0);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 sqlite3DropTriggerPtr(Parse *pParse,Trigger *pTrigger)\n\n{\n  Hash *pH;\n  sqlite3 *db;\n  HashElem *pHVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  Vdbe *p;\n  undefined **zArg3;\n  char *pcVar4;\n  char *in_stack_ffffffcc;\n  char *zArg2;\n  Parse *local_28;\n  int local_20;\n  \n  zArg3 = &_GLOBAL_OFFSET_TABLE_;\n  db = pParse->db;\n  pH = &pTrigger->pTabSchema->tblHash;\n  pcVar4 = pTrigger->table;\n  if (pTrigger->pSchema == (Schema *)0x0) {\n    zArg2 = (char *)0xe3eae;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    local_28 = (Parse *)0xfff0bdc0;\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = -16000000;\n    pcVar4 = db->aDb[-1000000].zDbSName;\n  }\n  else {\n    local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema);\n    zArg2 = (char *)0xe3d8b;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = (int)local_28 * 0x10;\n    pcVar4 = db->aDb[(int)local_28].zDbSName;\n  }\n  iVar3 = sqlite3AuthCheck((Parse *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3);\n  if ((iVar3 == 0) &&\n     (iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),\n     iVar3 == 0)) {\n    p = pParse->pVdbe;\n    if ((p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)) {\n      return;\n    }\n    sqlite3NestedParse(pParse,(char *)(zArg3 + -0x131a0),\n                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,\n                       pTrigger->zName);\n    sqlite3ChangeCookie((Parse *)pParse->db,(int)pParse->pVdbe,local_28);\n    pcVar4 = pTrigger->zName;\n    iVar3 = sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0);\n    sqlite3VdbeChangeP4(p,iVar3,pcVar4,0);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3DropTriggerPtr(Parse *pParse,Trigger *pTrigger)" identifier (parameter_list "(Parse *pParse,Trigger *pTrigger)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Trigger *pTrigger" type_identifier (pointer_declarator "*pTrigger" * identifier)) ))) (compound_statement "{\n  Hash *pH;\n  sqlite3 *db;\n  HashElem *pHVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  Vdbe *p;\n  undefined **zArg3;\n  char *pcVar4;\n  char *in_stack_ffffffcc;\n  char *zArg2;\n  Parse *local_28;\n  int local_20;\n  \n  zArg3 = &_GLOBAL_OFFSET_TABLE_;\n  db = pParse->db;\n  pH = &pTrigger->pTabSchema->tblHash;\n  pcVar4 = pTrigger->table;\n  if (pTrigger->pSchema == (Schema *)0x0) {\n    zArg2 = (char *)0xe3eae;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    local_28 = (Parse *)0xfff0bdc0;\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = -16000000;\n    pcVar4 = db->aDb[-1000000].zDbSName;\n  }\n  else {\n    local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema);\n    zArg2 = (char *)0xe3d8b;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = (int)local_28 * 0x10;\n    pcVar4 = db->aDb[(int)local_28].zDbSName;\n  }\n  iVar3 = sqlite3AuthCheck((Parse *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3);\n  if ((iVar3 == 0) &&\n     (iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),\n     iVar3 == 0)) {\n    p = pParse->pVdbe;\n    if ((p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)) {\n      return;\n    }\n    sqlite3NestedParse(pParse,(char *)(zArg3 + -0x131a0),\n                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,\n                       pTrigger->zName);\n    sqlite3ChangeCookie((Parse *)pParse->db,(int)pParse->pVdbe,local_28);\n    pcVar4 = pTrigger->zName;\n    iVar3 = sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0);\n    sqlite3VdbeChangeP4(p,iVar3,pcVar4,0);\n    return;\n  }\n  return;\n}" { (declaration "Hash *pH;" type_identifier (pointer_declarator "*pH" * identifier) ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "HashElem *pHVar1;" type_identifier (pointer_declarator "*pHVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "undefined **zArg3;" type_identifier (pointer_declarator "**zArg3" * (pointer_declarator "*zArg3" * identifier)) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *in_stack_ffffffcc;" primitive_type (pointer_declarator "*in_stack_ffffffcc" * identifier) ;) (declaration "char *zArg2;" primitive_type (pointer_declarator "*zArg2" * identifier) ;) (declaration "Parse *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "zArg3 = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "zArg3 = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (expression_statement "pH = &pTrigger->pTabSchema->tblHash;" (assignment_expression "pH = &pTrigger->pTabSchema->tblHash" identifier = (pointer_expression "&pTrigger->pTabSchema->tblHash" & (field_expression "pTrigger->pTabSchema->tblHash" (field_expression "pTrigger->pTabSchema" identifier -> field_identifier) -> field_identifier))) ;) (expression_statement "pcVar4 = pTrigger->table;" (assignment_expression "pcVar4 = pTrigger->table" identifier = (field_expression "pTrigger->table" identifier -> field_identifier)) ;) (if_statement "if (pTrigger->pSchema == (Schema *)0x0) {\n    zArg2 = (char *)0xe3eae;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    local_28 = (Parse *)0xfff0bdc0;\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = -16000000;\n    pcVar4 = db->aDb[-1000000].zDbSName;\n  }\n  else {\n    local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema);\n    zArg2 = (char *)0xe3d8b;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = (int)local_28 * 0x10;\n    pcVar4 = db->aDb[(int)local_28].zDbSName;\n  }" if (parenthesized_expression "(pTrigger->pSchema == (Schema *)0x0)" ( (binary_expression "pTrigger->pSchema == (Schema *)0x0" (field_expression "pTrigger->pSchema" identifier -> field_identifier) == (cast_expression "(Schema *)0x0" ( (type_descriptor "Schema *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    zArg2 = (char *)0xe3eae;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    local_28 = (Parse *)0xfff0bdc0;\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = -16000000;\n    pcVar4 = db->aDb[-1000000].zDbSName;\n  }" { (expression_statement "zArg2 = (char *)0xe3eae;" (assignment_expression "zArg2 = (char *)0xe3eae" identifier = (cast_expression "(char *)0xe3eae" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);" (assignment_expression "pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0)" identifier = (call_expression "findElementWithHash(pH,pcVar4,(uint *)0x0)" identifier (argument_list "(pH,pcVar4,(uint *)0x0)" ( identifier , identifier , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "local_28 = (Parse *)0xfff0bdc0;" (assignment_expression "local_28 = (Parse *)0xfff0bdc0" identifier = (cast_expression "(Parse *)0xfff0bdc0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)pHVar1->data;" (assignment_expression "puVar2 = (undefined4 *)pHVar1->data" identifier = (cast_expression "(undefined4 *)pHVar1->data" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar1->data" identifier -> field_identifier))) ;) (expression_statement "local_20 = -16000000;" (assignment_expression "local_20 = -16000000" identifier = number_literal) ;) (expression_statement "pcVar4 = db->aDb[-1000000].zDbSName;" (assignment_expression "pcVar4 = db->aDb[-1000000].zDbSName" identifier = (field_expression "db->aDb[-1000000].zDbSName" (subscript_expression "db->aDb[-1000000]" (field_expression "db->aDb" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) }) (else_clause "else {\n    local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema);\n    zArg2 = (char *)0xe3d8b;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = (int)local_28 * 0x10;\n    pcVar4 = db->aDb[(int)local_28].zDbSName;\n  }" else (compound_statement "{\n    local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema);\n    zArg2 = (char *)0xe3d8b;\n    pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);\n    puVar2 = (undefined4 *)pHVar1->data;\n    local_20 = (int)local_28 * 0x10;\n    pcVar4 = db->aDb[(int)local_28].zDbSName;\n  }" { (expression_statement "local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema);" (assignment_expression "local_28 = (Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema)" identifier = (cast_expression "(Parse *)sqlite3SchemaToIndex(db,pTrigger->pSchema)" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3SchemaToIndex(db,pTrigger->pSchema)" identifier (argument_list "(db,pTrigger->pSchema)" ( identifier , (field_expression "pTrigger->pSchema" identifier -> field_identifier) ))))) ;) (expression_statement "zArg2 = (char *)0xe3d8b;" (assignment_expression "zArg2 = (char *)0xe3d8b" identifier = (cast_expression "(char *)0xe3d8b" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0);" (assignment_expression "pHVar1 = findElementWithHash(pH,pcVar4,(uint *)0x0)" identifier = (call_expression "findElementWithHash(pH,pcVar4,(uint *)0x0)" identifier (argument_list "(pH,pcVar4,(uint *)0x0)" ( identifier , identifier , (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "puVar2 = (undefined4 *)pHVar1->data;" (assignment_expression "puVar2 = (undefined4 *)pHVar1->data" identifier = (cast_expression "(undefined4 *)pHVar1->data" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pHVar1->data" identifier -> field_identifier))) ;) (expression_statement "local_20 = (int)local_28 * 0x10;" (assignment_expression "local_20 = (int)local_28 * 0x10" identifier = (binary_expression "(int)local_28 * 0x10" (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) (expression_statement "pcVar4 = db->aDb[(int)local_28].zDbSName;" (assignment_expression "pcVar4 = db->aDb[(int)local_28].zDbSName" identifier = (field_expression "db->aDb[(int)local_28].zDbSName" (subscript_expression "db->aDb[(int)local_28]" (field_expression "db->aDb" identifier -> field_identifier) [ (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier) ]) . field_identifier)) ;) }))) (expression_statement "iVar3 = sqlite3AuthCheck((Parse *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3);" (assignment_expression "iVar3 = sqlite3AuthCheck((Parse *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3)" identifier = (call_expression "sqlite3AuthCheck((Parse *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3)" identifier (argument_list "((Parse *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3)" ( (cast_expression "(Parse *)*puVar2" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) , (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , (cast_expression "(char *)zArg3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if ((iVar3 == 0) &&\n     (iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),\n     iVar3 == 0)) {\n    p = pParse->pVdbe;\n    if ((p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)) {\n      return;\n    }\n    sqlite3NestedParse(pParse,(char *)(zArg3 + -0x131a0),\n                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,\n                       pTrigger->zName);\n    sqlite3ChangeCookie((Parse *)pParse->db,(int)pParse->pVdbe,local_28);\n    pcVar4 = pTrigger->zName;\n    iVar3 = sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0);\n    sqlite3VdbeChangeP4(p,iVar3,pcVar4,0);\n    return;\n  }" if (parenthesized_expression "((iVar3 == 0) &&\n     (iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),\n     iVar3 == 0))" ( (binary_expression "(iVar3 == 0) &&\n     (iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),\n     iVar3 == 0)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),\n     iVar3 == 0)" ( (comma_expression "iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3),\n     iVar3 == 0" (assignment_expression "iVar3 = sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3)" identifier = (call_expression "sqlite3AuthCheck((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3)" identifier (argument_list "((Parse *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)zArg3)" ( (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , (cast_expression "(char *)zArg3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    p = pParse->pVdbe;\n    if ((p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)) {\n      return;\n    }\n    sqlite3NestedParse(pParse,(char *)(zArg3 + -0x131a0),\n                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,\n                       pTrigger->zName);\n    sqlite3ChangeCookie((Parse *)pParse->db,(int)pParse->pVdbe,local_28);\n    pcVar4 = pTrigger->zName;\n    iVar3 = sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0);\n    sqlite3VdbeChangeP4(p,iVar3,pcVar4,0);\n    return;\n  }" { (expression_statement "p = pParse->pVdbe;" (assignment_expression "p = pParse->pVdbe" identifier = (field_expression "pParse->pVdbe" identifier -> field_identifier)) ;) (if_statement "if ((p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)) {\n      return;\n    }" if (parenthesized_expression "((p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0))" ( (binary_expression "(p == (Vdbe *)0x0) && (p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)" (parenthesized_expression "(p == (Vdbe *)0x0)" ( (binary_expression "p == (Vdbe *)0x0" identifier == (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0)" ( (comma_expression "p = sqlite3GetVdbe(pParse), p == (Vdbe *)0x0" (assignment_expression "p = sqlite3GetVdbe(pParse)" identifier = (call_expression "sqlite3GetVdbe(pParse)" identifier (argument_list "(pParse)" ( identifier )))) , (binary_expression "p == (Vdbe *)0x0" identifier == (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "sqlite3NestedParse(pParse,(char *)(zArg3 + -0x131a0),\n                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,\n                       pTrigger->zName);" (call_expression "sqlite3NestedParse(pParse,(char *)(zArg3 + -0x131a0),\n                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,\n                       pTrigger->zName)" identifier (argument_list "(pParse,(char *)(zArg3 + -0x131a0),\n                       *(undefined4 *)((int)&db->aDb->zDbSName + local_20),zArg3 + -0x190e3,\n                       pTrigger->zName)" ( identifier , (cast_expression "(char *)(zArg3 + -0x131a0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(zArg3 + -0x131a0)" ( (binary_expression "zArg3 + -0x131a0" identifier + number_literal) ))) , (pointer_expression "*(undefined4 *)((int)&db->aDb->zDbSName + local_20)" * (cast_expression "(undefined4 *)((int)&db->aDb->zDbSName + local_20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&db->aDb->zDbSName + local_20)" ( (binary_expression "(int)&db->aDb->zDbSName + local_20" (cast_expression "(int)&db->aDb->zDbSName" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&db->aDb->zDbSName" & (field_expression "db->aDb->zDbSName" (field_expression "db->aDb" identifier -> field_identifier) -> field_identifier))) + identifier) )))) , (binary_expression "zArg3 + -0x190e3" identifier + number_literal) , (field_expression "pTrigger->zName" identifier -> field_identifier) ))) ;) (expression_statement "sqlite3ChangeCookie((Parse *)pParse->db,(int)pParse->pVdbe,local_28);" (call_expression "sqlite3ChangeCookie((Parse *)pParse->db,(int)pParse->pVdbe,local_28)" identifier (argument_list "((Parse *)pParse->db,(int)pParse->pVdbe,local_28)" ( (cast_expression "(Parse *)pParse->db" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pParse->db" identifier -> field_identifier)) , (cast_expression "(int)pParse->pVdbe" ( (type_descriptor "int" primitive_type) ) (field_expression "pParse->pVdbe" identifier -> field_identifier)) , identifier ))) ;) (expression_statement "pcVar4 = pTrigger->zName;" (assignment_expression "pcVar4 = pTrigger->zName" identifier = (field_expression "pTrigger->zName" identifier -> field_identifier)) ;) (expression_statement "iVar3 = sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0);" (assignment_expression "iVar3 = sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0x92,(int)local_28,0,0)" identifier (argument_list "(p,0x92,(int)local_28,0,0)" ( identifier , number_literal , (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal )))) ;) (expression_statement "sqlite3VdbeChangeP4(p,iVar3,pcVar4,0);" (call_expression "sqlite3VdbeChangeP4(p,iVar3,pcVar4,0)" identifier (argument_list "(p,iVar3,pcVar4,0)" ( identifier , identifier , identifier , number_literal ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000e3d40(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  undefined **ppuVar7;\n  int local_20;\n  \n  ppuVar5 = &__DT_PLTGOT;\n  iVar1 = *param_1;\n  uVar6 = param_2[1];\n  if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }\n  iVar3 = FUN_00075540(*puVar4,uVar6);\n  if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000e3d40(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  undefined **ppuVar7;\n  int local_20;\n  \n  ppuVar5 = &__DT_PLTGOT;\n  iVar1 = *param_1;\n  uVar6 = param_2[1];\n  if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }\n  iVar3 = FUN_00075540(*puVar4,uVar6);\n  if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000e3d40(int *param_1,undefined4 *param_2)" identifier (parameter_list "(int *param_1,undefined4 *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  undefined **ppuVar7;\n  int local_20;\n  \n  ppuVar5 = &__DT_PLTGOT;\n  iVar1 = *param_1;\n  uVar6 = param_2[1];\n  if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }\n  iVar3 = FUN_00075540(*puVar4,uVar6);\n  if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined **ppuVar7;" type_identifier (pointer_declarator "**ppuVar7" * (pointer_declarator "*ppuVar7" * identifier)) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "ppuVar5 = &__DT_PLTGOT;" (assignment_expression "ppuVar5 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar6 = param_2[1];" (assignment_expression "uVar6 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (if_statement "if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" if (parenthesized_expression "(param_2[5] == 0)" ( (binary_expression "param_2[5] == 0" (subscript_expression "param_2[5]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }" { (expression_statement "iVar3 = FUN_00037c80(&__DT_PLTGOT);" (assignment_expression "iVar3 = FUN_00037c80(&__DT_PLTGOT)" identifier = (call_expression "FUN_00037c80(&__DT_PLTGOT)" identifier (argument_list "(&__DT_PLTGOT)" ( (pointer_expression "&__DT_PLTGOT" & identifier) )))) ;) (expression_statement "iVar2 = -1000000;" (assignment_expression "iVar2 = -1000000" identifier = number_literal) ;) (expression_statement "puVar4 = *(undefined4 **)(iVar3 + 8);" (assignment_expression "puVar4 = *(undefined4 **)(iVar3 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar3 + 8)" * (cast_expression "(undefined4 **)(iVar3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_20 = -16000000;" (assignment_expression "local_20 = -16000000" identifier = number_literal) ;) (expression_statement "ppuVar7 = ppuVar5 + -0x190e3;" (assignment_expression "ppuVar7 = ppuVar5 + -0x190e3" identifier = (binary_expression "ppuVar5 + -0x190e3" identifier + number_literal)) ;) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + -16000000)" ( (binary_expression "*(int *)(iVar1 + 0x10) + -16000000" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ;) }) (else_clause "else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" else (compound_statement "{\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" { (expression_statement "iVar2 = FUN_0004c580();" (assignment_expression "iVar2 = FUN_0004c580()" identifier = (call_expression "FUN_0004c580()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);" (assignment_expression "iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6)" identifier = (call_expression "FUN_00037c80(ppuVar5,iVar2,uVar6)" identifier (argument_list "(ppuVar5,iVar2,uVar6)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar4 = *(undefined4 **)(iVar3 + 8);" (assignment_expression "puVar4 = *(undefined4 **)(iVar3 + 8)" identifier = (pointer_expression "*(undefined4 **)(iVar3 + 8)" * (cast_expression "(undefined4 **)(iVar3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_20 = iVar2 * 0x10;" (assignment_expression "local_20 = iVar2 * 0x10" identifier = (binary_expression "iVar2 * 0x10" identifier * number_literal)) ;) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + local_20)" ( (binary_expression "*(int *)(iVar1 + 0x10) + local_20" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + identifier) ))))) ;) (expression_statement "ppuVar7 = ppuVar5 + -0x190e3;" (assignment_expression "ppuVar7 = ppuVar5 + -0x190e3" identifier = (binary_expression "ppuVar5 + -0x190e3" identifier + number_literal)) ;) (if_statement "if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (compound_statement "{\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }" { (expression_statement "ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);" (assignment_expression "ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b)" identifier = (cast_expression "(undefined **)((int)ppuVar5 + -0x6408b)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar5 + -0x6408b)" ( (binary_expression "(int)ppuVar5 + -0x6408b" (cast_expression "(int)ppuVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) }))) (expression_statement "iVar3 = FUN_00075540(*puVar4,uVar6);" (assignment_expression "iVar3 = FUN_00075540(*puVar4,uVar6)" identifier = (call_expression "FUN_00075540(*puVar4,uVar6)" identifier (argument_list "(*puVar4,uVar6)" ( (pointer_expression "*puVar4" * identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }" { (expression_statement "iVar3 = FUN_00075540(0,uVar6);" (assignment_expression "iVar3 = FUN_00075540(0,uVar6)" identifier = (call_expression "FUN_00075540(0,uVar6)" identifier (argument_list "(0,uVar6)" ( number_literal , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }" { (if_statement "if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }" if (parenthesized_expression "(param_1[2] == 0)" ( (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }" { (expression_statement "iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);" (assignment_expression "iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7)" identifier = (call_expression "FUN_00065f90(ppuVar5,iVar2,ppuVar7)" identifier (argument_list "(ppuVar5,iVar2,ppuVar7)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          return;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);" (call_expression "FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2)" identifier (argument_list "(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2)" ( identifier , (binary_expression "ppuVar5 + -0x131a0" identifier + number_literal) , (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x10) + local_20)" ( (binary_expression "*(int *)(iVar1 + 0x10) + local_20" (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) + identifier) )))) , (binary_expression "ppuVar5 + -0x190e3" identifier + number_literal) , (pointer_expression "*param_2" * identifier) ))) ;) (expression_statement "FUN_00066610();" (call_expression "FUN_00066610()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00065e80(0,0);" (call_expression "FUN_00065e80(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (expression_statement "FUN_000533f0(0);" (call_expression "FUN_000533f0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) , (binary_expression IDENT + LIT) , (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000e3d40(int *param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  undefined **ppuVar7;\n  int local_20;\n  \n  ppuVar5 = &__DT_PLTGOT;\n  iVar1 = *param_1;\n  uVar6 = param_2[1];\n  if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }\n  iVar3 = FUN_00075540(*puVar4,uVar6);\n  if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000e3d40(int *param_1,undefined4 *param_2)" (identifier "FUN_000e3d40") (parameter_list "(int *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined **ppuVar5;\n  undefined4 uVar6;\n  undefined **ppuVar7;\n  int local_20;\n  \n  ppuVar5 = &__DT_PLTGOT;\n  iVar1 = *param_1;\n  uVar6 = param_2[1];\n  if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }\n  iVar3 = FUN_00075540(*puVar4,uVar6);\n  if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined **ppuVar5;" (type_identifier "undefined") (pointer_declarator "**ppuVar5" (* "*") (pointer_declarator "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined **ppuVar7;" (type_identifier "undefined") (pointer_declarator "**ppuVar7" (* "*") (pointer_declarator "*ppuVar7" (* "*") (identifier "ppuVar7"))) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "ppuVar5 = &__DT_PLTGOT;" (assignment_expression "ppuVar5 = &__DT_PLTGOT" (identifier "ppuVar5") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar6 = param_2[1];" (assignment_expression "uVar6 = param_2[1]" (identifier "uVar6") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (param_2[5] == 0) {\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }\n  else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" (if "if") (parenthesized_expression "(param_2[5] == 0)" (( "(") (binary_expression "param_2[5] == 0" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = FUN_00037c80(&__DT_PLTGOT);\n    iVar2 = -1000000;\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = -16000000;\n    ppuVar7 = ppuVar5 + -0x190e3;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);\n  }" ({ "{") (expression_statement "iVar3 = FUN_00037c80(&__DT_PLTGOT);" (assignment_expression "iVar3 = FUN_00037c80(&__DT_PLTGOT)" (identifier "iVar3") (= "=") (call_expression "FUN_00037c80(&__DT_PLTGOT)" (identifier "FUN_00037c80") (argument_list "(&__DT_PLTGOT)" (( "(") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT")) () ")")))) (; ";")) (expression_statement "iVar2 = -1000000;" (assignment_expression "iVar2 = -1000000" (identifier "iVar2") (= "=") (number_literal "-1000000")) (; ";")) (expression_statement "puVar4 = *(undefined4 **)(iVar3 + 8);" (assignment_expression "puVar4 = *(undefined4 **)(iVar3 + 8)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_20 = -16000000;" (assignment_expression "local_20 = -16000000" (identifier "local_20") (= "=") (number_literal "-16000000")) (; ";")) (expression_statement "ppuVar7 = ppuVar5 + -0x190e3;" (assignment_expression "ppuVar7 = ppuVar5 + -0x190e3" (identifier "ppuVar7") (= "=") (binary_expression "ppuVar5 + -0x190e3" (identifier "ppuVar5") (+ "+") (number_literal "-0x190e3"))) (; ";")) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + -16000000)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + -16000000" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-16000000")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = FUN_0004c580();\n    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);\n    puVar4 = *(undefined4 **)(iVar3 + 8);\n    local_20 = iVar2 * 0x10;\n    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);\n    ppuVar7 = ppuVar5 + -0x190e3;\n    if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_0004c580();" (assignment_expression "iVar2 = FUN_0004c580()" (identifier "iVar2") (= "=") (call_expression "FUN_0004c580()" (identifier "FUN_0004c580") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);" (assignment_expression "iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6)" (identifier "iVar3") (= "=") (call_expression "FUN_00037c80(ppuVar5,iVar2,uVar6)" (identifier "FUN_00037c80") (argument_list "(ppuVar5,iVar2,uVar6)" (( "(") (identifier "ppuVar5") (, ",") (identifier "iVar2") (, ",") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "puVar4 = *(undefined4 **)(iVar3 + 8);" (assignment_expression "puVar4 = *(undefined4 **)(iVar3 + 8)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_20 = iVar2 * 0x10;" (assignment_expression "local_20 = iVar2 * 0x10" (identifier "local_20") (= "=") (binary_expression "iVar2 * 0x10" (identifier "iVar2") (* "*") (number_literal "0x10"))) (; ";")) (expression_statement "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);" (assignment_expression "uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + local_20)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + local_20" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "local_20")) () ")"))))) (; ";")) (expression_statement "ppuVar7 = ppuVar5 + -0x190e3;" (assignment_expression "ppuVar7 = ppuVar5 + -0x190e3" (identifier "ppuVar7") (= "=") (binary_expression "ppuVar5 + -0x190e3" (identifier "ppuVar5") (+ "+") (number_literal "-0x190e3"))) (; ";")) (if_statement "if (iVar2 == 1) {\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }" (if "if") (parenthesized_expression "(iVar2 == 1)" (( "(") (binary_expression "iVar2 == 1" (identifier "iVar2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);\n    }" ({ "{") (expression_statement "ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);" (assignment_expression "ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b)" (identifier "ppuVar7") (= "=") (cast_expression "(undefined **)((int)ppuVar5 + -0x6408b)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)ppuVar5 + -0x6408b)" (( "(") (binary_expression "(int)ppuVar5 + -0x6408b" (cast_expression "(int)ppuVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppuVar5")) (+ "+") (number_literal "-0x6408b")) () ")")))) (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar3 = FUN_00075540(*puVar4,uVar6);" (assignment_expression "iVar3 = FUN_00075540(*puVar4,uVar6)" (identifier "iVar3") (= "=") (call_expression "FUN_00075540(*puVar4,uVar6)" (identifier "FUN_00075540") (argument_list "(*puVar4,uVar6)" (( "(") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (, ",") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = FUN_00075540(0,uVar6);\n    if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar3 = FUN_00075540(0,uVar6);" (assignment_expression "iVar3 = FUN_00075540(0,uVar6)" (identifier "iVar3") (= "=") (call_expression "FUN_00075540(0,uVar6)" (identifier "FUN_00075540") (argument_list "(0,uVar6)" (( "(") (number_literal "0") (, ",") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }\n      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);\n      FUN_00066610();\n      FUN_00065e80(0,0);\n      FUN_000533f0(0);\n      return;\n    }" ({ "{") (if_statement "if (param_1[2] == 0) {\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }" (if "if") (parenthesized_expression "(param_1[2] == 0)" (( "(") (binary_expression "param_1[2] == 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);\n        if (iVar2 == 0) {\n          return;\n        }\n      }" ({ "{") (expression_statement "iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);" (assignment_expression "iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7)" (identifier "iVar2") (= "=") (call_expression "FUN_00065f90(ppuVar5,iVar2,ppuVar7)" (identifier "FUN_00065f90") (argument_list "(ppuVar5,iVar2,ppuVar7)" (( "(") (identifier "ppuVar5") (, ",") (identifier "iVar2") (, ",") (identifier "ppuVar7") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n          return;\n        }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2);" (call_expression "FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2)" (identifier "FUN_000e3b60") (argument_list "(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),\n                   ppuVar5 + -0x190e3,*param_2)" (( "(") (identifier "param_1") (, ",") (binary_expression "ppuVar5 + -0x131a0" (identifier "ppuVar5") (+ "+") (number_literal "-0x131a0")) (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x10) + local_20)" (( "(") (binary_expression "*(int *)(iVar1 + 0x10) + local_20" (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "local_20")) () ")")))) (, ",") (binary_expression "ppuVar5 + -0x190e3" (identifier "ppuVar5") (+ "+") (number_literal "-0x190e3")) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (expression_statement "FUN_00066610();" (call_expression "FUN_00066610()" (identifier "FUN_00066610") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00065e80(0,0);" (call_expression "FUN_00065e80(0,0)" (identifier "FUN_00065e80") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000533f0(0);" (call_expression "FUN_000533f0(0)" (identifier "FUN_000533f0") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 function_1(type_1 *pParse,type_2 *pTrigger)

{
  type_3 *pH;
  type_4 *db;
  type_5 *pHVar1;
  type_6 *puVar2;
  int var_4;
  type_7 *var_5;
  type_8 **var_8;
  char *pcVar4;
  char *in_stack_ffffffcc;
  char *zArg2;
  type_1 *local_28;
  int var_9;
  
  var_8 = &_GLOBAL_OFFSET_TABLE_;
  db = pParse->db;
  pH = &pTrigger->pTabSchema->tblHash;
  pcVar4 = pTrigger->table;
  if (pTrigger->pSchema == (type_9 *)0x0) {
    zArg2 = (char *)0xe3eae;
    pHVar1 = var_1(pH,pcVar4,(type_10 *)0x0);
    local_28 = (type_1 *)0xfff0bdc0;
    puVar2 = (type_6 *)pHVar1->data;
    var_9 = -16000000;
    pcVar4 = db->aDb[-1000000].zDbSName;
  }
  else {
    local_28 = (type_1 *)var_2(db,pTrigger->pSchema);
    zArg2 = (char *)0xe3d8b;
    pHVar1 = var_1(pH,pcVar4,(type_10 *)0x0);
    puVar2 = (type_6 *)pHVar1->data;
    var_9 = (int)local_28 * 0x10;
    pcVar4 = db->aDb[(int)local_28].zDbSName;
  }
  var_4 = var_3((type_1 *)*puVar2,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)var_8);
  if ((var_4 == 0) &&
     (var_4 = var_3((type_1 *)0x0,(int)pcVar4,in_stack_ffffffcc,zArg2,(char *)var_8),
     var_4 == 0)) {
    var_5 = pParse->pVdbe;
    if ((var_5 == (type_7 *)0x0) && (var_5 = var_6(pParse), var_5 == (type_7 *)0x0)) {
      return;
    }
    var_7(pParse,(char *)(var_8 + -0x131a0),
                       *(type_6 *)((int)&db->aDb->zDbSName + var_9),var_8 + -0x190e3,
                       pTrigger->zName);
    var_10((type_1 *)pParse->db,(int)pParse->pVdbe,local_28);
    pcVar4 = pTrigger->zName;
    var_4 = var_11(var_5,0x92,(int)local_28,0,0);
    var_12(var_5,var_4,pcVar4,0);
    return;
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 MASKED(int *param_1,undefined4 *param_2)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined **ppuVar5;
  undefined4 uVar6;
  undefined **ppuVar7;
  int local_20;
  
  ppuVar5 = &__DT_PLTGOT;
  iVar1 = *param_1;
  uVar6 = param_2[1];
  if (param_2[5] == 0) {
    iVar3 = FUN_00037c80(&__DT_PLTGOT);
    iVar2 = -1000000;
    puVar4 = *(undefined4 **)(iVar3 + 8);
    local_20 = -16000000;
    ppuVar7 = ppuVar5 + -0x190e3;
    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + -16000000);
  }
  else {
    iVar2 = FUN_0004c580();
    iVar3 = FUN_00037c80(ppuVar5,iVar2,uVar6);
    puVar4 = *(undefined4 **)(iVar3 + 8);
    local_20 = iVar2 * 0x10;
    uVar6 = *(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20);
    ppuVar7 = ppuVar5 + -0x190e3;
    if (iVar2 == 1) {
      ppuVar7 = (undefined **)((int)ppuVar5 + -0x6408b);
    }
  }
  iVar3 = FUN_00075540(*puVar4,uVar6);
  if (iVar3 == 0) {
    iVar3 = FUN_00075540(0,uVar6);
    if (iVar3 == 0) {
      if (param_1[2] == 0) {
        iVar2 = FUN_00065f90(ppuVar5,iVar2,ppuVar7);
        if (iVar2 == 0) {
          return;
        }
      }
      FUN_000e3b60(param_1,ppuVar5 + -0x131a0,*(undefined4 *)(*(int *)(iVar1 + 0x10) + local_20),
                   ppuVar5 + -0x190e3,*param_2);
      FUN_00066610();
      FUN_00065e80(0,0);
      FUN_000533f0(0);
      return;
    }
  }
  return;
}

