
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void add_global_pair_with_rel(Output_data_got<64,_false> * this, Symbol
   * gsym, uint got_type, Output_data_reloc_generic * rel_dyn, uint r_type_1, uint r_type_2) */

void __thiscall
gold::Output_data_got<64,_false>::add_global_pair_with_rel
          (Output_data_got<64,_false> *this,Symbol *gsym,uint got_type,
          Output_data_reloc_generic *rel_dyn,uint r_type_1,uint r_type_2)

{
  uint uVar1;
  Got_entry got_entry_1;
  Got_entry got_entry_1_00;
  Got_entry got_entry_2;
  Got_entry got_entry_2_00;
  uint uVar2;
  Got_offset_list *pGVar3;
  int iVar4;
  Got_offset_list *pGVar5;
  undefined4 *puVar6;
  undefined4 *puVar7;
  undefined4 in_stack_ffffff88;
  undefined4 in_stack_ffffff8c;
  undefined4 in_stack_ffffff90;
  undefined4 in_stack_ffffff94;
  undefined4 in_stack_ffffff98;
  undefined4 in_stack_ffffff9c;
  undefined4 in_stack_ffffffa0;
  undefined4 in_stack_ffffffa4;
  undefined4 in_stack_ffffffa8;
  undefined4 in_stack_ffffffac;
  undefined4 local_44 [12];
  undefined4 uStack_14;
  
  uStack_14 = 0x10efe9;
  pGVar5 = &gsym->got_offsets_;
  if (pGVar5 == (Got_offset_list *)0x0) {
    local_44[5] = 0;
    local_44[6] = 0;
    local_44[7] = 0x7ffffffd;
    local_44[8] = 0;
    local_44[9] = 0;
    local_44[0] = 0;
    local_44[1] = 0;
    local_44[2] = 0x7ffffffd;
    local_44[3] = 0;
    local_44[4] = 0;
    puVar6 = local_44 + 5;
    puVar7 = (undefined4 *)&stack0xffffff9c;
    for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {
      *puVar7 = *puVar6;
      puVar6 = puVar6 + 1;
      puVar7 = puVar7 + 1;
    }
    puVar6 = local_44;
    puVar7 = (undefined4 *)&stack0xffffff88;
    for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {
      *puVar7 = *puVar6;
      puVar6 = puVar6 + 1;
      puVar7 = puVar7 + 1;
    }
    got_entry_1_00.u_.constant._4_4_ = in_stack_ffffff8c;
    got_entry_1_00.u_.object = (Relobj *)in_stack_ffffff88;
    got_entry_1_00._8_4_ = in_stack_ffffff90;
    got_entry_1_00.addend_._0_4_ = in_stack_ffffff94;
    got_entry_1_00.addend_._4_4_ = in_stack_ffffff98;
    got_entry_2_00.u_.constant._4_4_ = in_stack_ffffffa0;
    got_entry_2_00.u_.object = (Relobj *)in_stack_ffffff9c;
    got_entry_2_00._8_4_ = in_stack_ffffffa4;
    got_entry_2_00.addend_._0_4_ = in_stack_ffffffa8;
    got_entry_2_00.addend_._4_4_ = in_stack_ffffffac;
    uVar2 = add_got_entry_pair(this,got_entry_1_00,got_entry_2_00);
    if ((gsym->got_offsets_).got_type_ != 0xffffffff) {
LAB_0010f0fb:
      pGVar3 = (Got_offset_list *)operator_new(0xc);
      pGVar3->got_type_ = got_type;
      pGVar5 = (gsym->got_offsets_).got_next_;
      pGVar3->got_offset_ = uVar2;
      (gsym->got_offsets_).got_next_ = pGVar3;
      pGVar3->got_next_ = pGVar5;
      goto LAB_0010f11e;
    }
  }
  else {
    uVar2 = (gsym->got_offsets_).got_type_;
    pGVar3 = pGVar5;
    while (got_type != uVar2) {
      pGVar3 = pGVar3->got_next_;
      if (pGVar3 == (Got_offset_list *)0x0) goto LAB_0010f027;
      uVar2 = pGVar3->got_type_;
    }
    if (pGVar3->got_offset_ != 0xffffffff) {
      return;
    }
LAB_0010f027:
    local_44[5] = 0;
    local_44[6] = 0;
    local_44[7] = 0x7ffffffd;
    local_44[8] = 0;
    local_44[9] = 0;
    local_44[0] = 0;
    local_44[1] = 0;
    local_44[2] = 0x7ffffffd;
    local_44[3] = 0;
    local_44[4] = 0;
    got_entry_1.addend_ = 0;
    got_entry_1._0_12_ = ZEXT412(0x7ffffffd) << 0x40;
    got_entry_2.addend_ = 0;
    got_entry_2._0_12_ = ZEXT412(0x7ffffffd) << 0x40;
    uVar2 = add_got_entry_pair(this,got_entry_1,got_entry_2);
    uVar1 = (gsym->got_offsets_).got_type_;
    if (uVar1 != 0xffffffff) {
      while (got_type != uVar1) {
        pGVar5 = pGVar5->got_next_;
        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;
        uVar1 = pGVar5->got_type_;
      }
      pGVar5->got_offset_ = uVar2;
      goto LAB_0010f11e;
    }
  }
  (gsym->got_offsets_).got_type_ = got_type;
  (gsym->got_offsets_).got_offset_ = uVar2;
LAB_0010f11e:
  (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.
    _vptr_Output_data[0x19])();
  if (r_type_2 == 0) {
    return;
  }
  (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.
    _vptr_Output_data[0x19])();
  return;
}



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

void FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  undefined4 *puVar5;
  int **ppiVar6;
  int *apiStack_78 [4];
  int iStack_68;
  int aiStack_64 [8];
  undefined4 local_44 [12];
  undefined4 uStack_14;
  
  uStack_14 = 0x10efe9;
  piVar4 = (int *)(param_2 + 0x1c);
  if (piVar4 == (int *)0x0) {
    local_44[5] = 0;
    local_44[6] = 0;
    local_44[7] = 0x7ffffffd;
    local_44[8] = 0;
    local_44[9] = 0;
    local_44[0] = 0;
    local_44[1] = 0;
    local_44[2] = 0x7ffffffd;
    local_44[3] = 0;
    local_44[4] = 0;
    puVar5 = local_44 + 5;
    piVar4 = aiStack_64;
    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {
      *piVar4 = *puVar5;
      puVar5 = puVar5 + 1;
      piVar4 = piVar4 + 1;
    }
    puVar5 = local_44;
    ppiVar6 = apiStack_78;
    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {
      *ppiVar6 = (int *)*puVar5;
      puVar5 = puVar5 + 1;
      ppiVar6 = ppiVar6 + 1;
    }
    iVar3 = FUN_0010edb0(param_1);
    if (*(int *)(param_2 + 0x1c) != -1) {
LAB_0010f0fb:
      aiStack_64[2] = 0xc;
      aiStack_64[1] = 0x10f109;
      piVar4 = (int *)FUN_001e5210();
      *piVar4 = param_3;
      iVar2 = *(int *)(param_2 + 0x24);
      piVar4[1] = iVar3;
      *(int **)(param_2 + 0x24) = piVar4;
      piVar4[2] = iVar2;
      goto LAB_0010f11e;
    }
  }
  else {
    iVar3 = *(int *)(param_2 + 0x1c);
    piVar1 = piVar4;
    while (param_3 != iVar3) {
      piVar1 = (int *)piVar1[2];
      if (piVar1 == (int *)0x0) goto LAB_0010f027;
      iVar3 = *piVar1;
    }
    if (piVar1[1] != -1) {
      return;
    }
LAB_0010f027:
    local_44[5] = 0;
    local_44[6] = 0;
    local_44[7] = 0x7ffffffd;
    local_44[8] = 0;
    local_44[9] = 0;
    local_44[0] = 0;
    local_44[1] = 0;
    local_44[2] = 0x7ffffffd;
    local_44[3] = 0;
    local_44[4] = 0;
    aiStack_64[4] = 0;
    aiStack_64[3] = 0;
    aiStack_64[2] = 0x7ffffffd;
    aiStack_64[1] = 0;
    aiStack_64[0] = 0;
    iStack_68 = 0;
    apiStack_78[3] = (int *)0x0;
    apiStack_78[2] = (int *)0x7ffffffd;
    apiStack_78[1] = (int *)0x0;
    apiStack_78[0] = (int *)0x0;
    iVar3 = FUN_0010edb0(param_1);
    iVar2 = *(int *)(param_2 + 0x1c);
    if (iVar2 != -1) {
      while (param_3 != iVar2) {
        piVar4 = (int *)piVar4[2];
        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;
        iVar2 = *piVar4;
      }
      piVar4[1] = iVar3;
      goto LAB_0010f11e;
    }
  }
  *(int *)(param_2 + 0x1c) = param_3;
  *(int *)(param_2 + 0x20) = iVar3;
LAB_0010f11e:
  aiStack_64[5] = 0;
  aiStack_64[4] = 0;
  aiStack_64[3] = 0;
  aiStack_64[1] = param_1;
  aiStack_64[0] = param_5;
  apiStack_78[3] = param_4;
  apiStack_78[2] = (int *)0x10f140;
  iStack_68 = param_2;
  aiStack_64[2] = iVar3;
  (**(code **)(*param_4 + 100))();
  if (param_6 == 0) {
    return;
  }
  aiStack_64[2] = iVar3 + 8;
  aiStack_64[5] = 0;
  aiStack_64[4] = 0;
  aiStack_64[3] = 0;
  aiStack_64[1] = param_1;
  aiStack_64[0] = param_6;
  apiStack_78[3] = param_4;
  apiStack_78[2] = (int *)0x10f173;
  iStack_68 = param_2;
  (**(code **)(*param_4 + 100))();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x280017
SUB ESP,0x3c
MOV EDX,dword ptr [ESP + 0x54]
MOV EBP,dword ptr [ESP + 0x58]
MOV ESI,EDX
ADD ESI,0x1c
JZ 0x0010f17e
MOV EAX,ESI
CMP EBP,dword ptr [EDX + 0x1c]
JNZ 0x0010f020
JMP 0x0010f0d8
CMP EBP,dword ptr [EAX]
JZ 0x0010f0d8
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x0010f018
MOV dword ptr [ESP + 0x54],EDX
SUB ESP,0x4
MOV dword ptr [ESP + 0x20],0x0
MOV dword ptr [ESP + 0x24],0x0
MOV dword ptr [ESP + 0x28],0x7ffffffd
MOV dword ptr [ESP + 0x2c],0x0
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [ESP + 0xc],0x0
MOV dword ptr [ESP + 0x10],0x0
MOV dword ptr [ESP + 0x14],0x7ffffffd
MOV dword ptr [ESP + 0x18],0x0
MOV dword ptr [ESP + 0x1c],0x0
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH 0x7ffffffd
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH 0x7ffffffd
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESP + 0x7c]
CALL 0x0010edb0
MOV EDX,dword ptr [ESP + 0x84]
ADD ESP,0x30
MOV EDI,EAX
MOV EAX,dword ptr [EDX + 0x1c]
CMP EAX,-0x1
JZ 0x0010f210
CMP EBP,EAX
JNZ 0x0010f0f4
LEA ESI,[ESI]
MOV dword ptr [ESI + 0x4],EDI
JMP 0x0010f11e
CMP dword ptr [EAX + 0x4],-0x1
JZ 0x0010f027
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP EBP,dword ptr [ESI]
JZ 0x0010f0d0
MOV ESI,dword ptr [ESI + 0x8]
TEST ESI,ESI
JNZ 0x0010f0f0
MOV dword ptr [ESP + 0x54],EDX
SUB ESP,0xc
PUSH 0xc
CALL 0x001e5210
MOV EDX,dword ptr [ESP + 0x64]
ADD ESP,0x10
MOV dword ptr [EAX],EBP
MOV ECX,dword ptr [EDX + 0x24]
MOV dword ptr [EAX + 0x4],EDI
MOV dword ptr [EDX + 0x24],EAX
MOV dword ptr [EAX + 0x8],ECX
MOV EAX,dword ptr [ESP + 0x5c]
XOR EBX,EBX
MOV EAX,dword ptr [EAX]
PUSH 0x0
PUSH 0x0
PUSH EBX
PUSH EDI
PUSH dword ptr [ESP + 0x60]
PUSH dword ptr [ESP + 0x74]
PUSH EDX
MOV dword ptr [ESP + 0x70],EDX
PUSH dword ptr [ESP + 0x78]
CALL dword ptr [EAX + 0x64]
MOV EAX,dword ptr [ESP + 0x84]
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0010f0e2
MOV EAX,dword ptr [ESP + 0x5c]
ADD EDI,0x8
XOR EBX,EBX
MOV EAX,dword ptr [EAX]
PUSH 0x0
PUSH 0x0
PUSH EBX
PUSH EDI
PUSH dword ptr [ESP + 0x60]
PUSH dword ptr [ESP + 0x78]
MOV EDX,dword ptr [ESP + 0x6c]
PUSH EDX
PUSH dword ptr [ESP + 0x78]
CALL dword ptr [EAX + 0x64]
ADD ESP,0x20
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x54],EDX
SUB ESP,0x18
MOV ECX,0x5
MOV dword ptr [ESP + 0x34],0x0
MOV dword ptr [ESP + 0x38],0x0
MOV dword ptr [ESP + 0x3c],0x7ffffffd
MOV dword ptr [ESP + 0x40],0x0
MOV dword ptr [ESP + 0x44],0x0
MOV dword ptr [ESP + 0x20],0x0
MOV dword ptr [ESP + 0x24],0x0
MOV dword ptr [ESP + 0x28],0x7ffffffd
MOV dword ptr [ESP + 0x2c],0x0
MOV dword ptr [ESP + 0x30],0x0
LEA ESI,[ESP + 0x34]
MOV EDI,ESP
SUB ESP,0x14
MOVSD.REP ES:EDI,ESI
LEA ESI,[ESP + 0x34]
MOV EDI,ESP
MOV ECX,0x5
MOVSD.REP ES:EDI,ESI
PUSH dword ptr [ESP + 0x7c]
CALL 0x0010edb0
ADD ESP,0x30
MOV EDX,dword ptr [ESP + 0x54]
MOV EDI,EAX
CMP dword ptr [EDX + 0x1c],-0x1
JNZ 0x0010f0fb
NOP
MOV dword ptr [EDX + 0x1c],EBP
MOV dword ptr [EDX + 0x20],EDI
JMP 0x0010f11e
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int **ppiVar6;\n  int *apiStack_78 [4];\n  int iStack_68;\n  int aiStack_64 [8];\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  piVar4 = (int *)(param_2 + 0x1c);\n  if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }\n  *(int *)(param_2 + 0x1c) = param_3;\n  *(int *)(param_2 + 0x20) = iVar3;\nLAB_0010f11e:\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_5;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f140;\n  iStack_68 = param_2;\n  aiStack_64[2] = iVar3;\n  (**(code **)(*param_4 + 100))();\n  if (param_6 == 0) {\n    return;\n  }\n  aiStack_64[2] = iVar3 + 8;\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_6;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f173;\n  iStack_68 = param_2;\n  (**(code **)(*param_4 + 100))();\n  return;\n}\n\n" comment (function_definition "void FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int **ppiVar6;\n  int *apiStack_78 [4];\n  int iStack_68;\n  int aiStack_64 [8];\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  piVar4 = (int *)(param_2 + 0x1c);\n  if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }\n  *(int *)(param_2 + 0x1c) = param_3;\n  *(int *)(param_2 + 0x20) = iVar3;\nLAB_0010f11e:\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_5;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f140;\n  iStack_68 = param_2;\n  aiStack_64[2] = iVar3;\n  (**(code **)(*param_4 + 100))();\n  if (param_6 == 0) {\n    return;\n  }\n  aiStack_64[2] = iVar3 + 8;\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_6;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f173;\n  iStack_68 = param_2;\n  (**(code **)(*param_4 + 100))();\n  return;\n}" primitive_type (function_declarator "FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int **ppiVar6;\n  int *apiStack_78 [4];\n  int iStack_68;\n  int aiStack_64 [8];\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  piVar4 = (int *)(param_2 + 0x1c);\n  if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }\n  *(int *)(param_2 + 0x1c) = param_3;\n  *(int *)(param_2 + 0x20) = iVar3;\nLAB_0010f11e:\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_5;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f140;\n  iStack_68 = param_2;\n  aiStack_64[2] = iVar3;\n  (**(code **)(*param_4 + 100))();\n  if (param_6 == 0) {\n    return;\n  }\n  aiStack_64[2] = iVar3 + 8;\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_6;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f173;\n  iStack_68 = param_2;\n  (**(code **)(*param_4 + 100))();\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int **ppiVar6;" primitive_type (pointer_declarator "**ppiVar6" * (pointer_declarator "*ppiVar6" * identifier)) ;) (declaration "int *apiStack_78 [4];" primitive_type (pointer_declarator "*apiStack_78 [4]" * (array_declarator "apiStack_78 [4]" identifier [ number_literal ])) ;) (declaration "int iStack_68;" primitive_type identifier ;) (declaration "int aiStack_64 [8];" primitive_type (array_declarator "aiStack_64 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_44 [12];" type_identifier (array_declarator "local_44 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x10efe9;" (assignment_expression "uStack_14 = 0x10efe9" identifier = number_literal) ;) (expression_statement "piVar4 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar4 = (int *)(param_2 + 0x1c)" identifier = (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) ;) (if_statement "if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }" { (expression_statement "local_44[5] = 0;" (assignment_expression "local_44[5] = 0" (subscript_expression "local_44[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[6] = 0;" (assignment_expression "local_44[6] = 0" (subscript_expression "local_44[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[7] = 0x7ffffffd;" (assignment_expression "local_44[7] = 0x7ffffffd" (subscript_expression "local_44[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[8] = 0;" (assignment_expression "local_44[8] = 0" (subscript_expression "local_44[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[9] = 0;" (assignment_expression "local_44[9] = 0" (subscript_expression "local_44[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[0] = 0;" (assignment_expression "local_44[0] = 0" (subscript_expression "local_44[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[1] = 0;" (assignment_expression "local_44[1] = 0" (subscript_expression "local_44[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[2] = 0x7ffffffd;" (assignment_expression "local_44[2] = 0x7ffffffd" (subscript_expression "local_44[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[3] = 0;" (assignment_expression "local_44[3] = 0" (subscript_expression "local_44[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[4] = 0;" (assignment_expression "local_44[4] = 0" (subscript_expression "local_44[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = local_44 + 5;" (assignment_expression "puVar5 = local_44 + 5" identifier = (binary_expression "local_44 + 5" identifier + number_literal)) ;) (expression_statement "piVar4 = aiStack_64;" (assignment_expression "piVar4 = aiStack_64" identifier = identifier) ;) (for_statement "for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }" for ( (assignment_expression "iVar3 = 5" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }" { (expression_statement "*piVar4 = *puVar5;" (assignment_expression "*piVar4 = *puVar5" (pointer_expression "*piVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "piVar4 = piVar4 + 1;" (assignment_expression "piVar4 = piVar4 + 1" identifier = (binary_expression "piVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "puVar5 = local_44;" (assignment_expression "puVar5 = local_44" identifier = identifier) ;) (expression_statement "ppiVar6 = apiStack_78;" (assignment_expression "ppiVar6 = apiStack_78" identifier = identifier) ;) (for_statement "for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }" for ( (assignment_expression "iVar3 = 5" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }" { (expression_statement "*ppiVar6 = (int *)*puVar5;" (assignment_expression "*ppiVar6 = (int *)*puVar5" (pointer_expression "*ppiVar6" * identifier) = (cast_expression "(int *)*puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "ppiVar6 = ppiVar6 + 1;" (assignment_expression "ppiVar6 = ppiVar6 + 1" identifier = (binary_expression "ppiVar6 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar3 = FUN_0010edb0(param_1);" (assignment_expression "iVar3 = FUN_0010edb0(param_1)" identifier = (call_expression "FUN_0010edb0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x1c) != -1)" ( (binary_expression "*(int *)(param_2 + 0x1c) != -1" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }" { (labeled_statement "LAB_0010f0fb:\n      aiStack_64[2] = 0xc;" statement_identifier : (expression_statement "aiStack_64[2] = 0xc;" (assignment_expression "aiStack_64[2] = 0xc" (subscript_expression "aiStack_64[2]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "aiStack_64[1] = 0x10f109;" (assignment_expression "aiStack_64[1] = 0x10f109" (subscript_expression "aiStack_64[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4 = (int *)FUN_001e5210();" (assignment_expression "piVar4 = (int *)FUN_001e5210()" identifier = (cast_expression "(int *)FUN_001e5210()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5210()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*piVar4 = param_3;" (assignment_expression "*piVar4 = param_3" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x24);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x24)" identifier = (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "piVar4[1] = iVar3;" (assignment_expression "piVar4[1] = iVar3" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int **)(param_2 + 0x24) = piVar4;" (assignment_expression "*(int **)(param_2 + 0x24) = piVar4" (pointer_expression "*(int **)(param_2 + 0x24)" * (cast_expression "(int **)(param_2 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar4[2] = iVar2;" (assignment_expression "piVar4[2] = iVar2" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0010f11e;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" else (compound_statement "{\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" { (expression_statement "iVar3 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x1c)" identifier = (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = piVar4;" (assignment_expression "piVar1 = piVar4" identifier = identifier) ;) (while_statement "while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }" while (parenthesized_expression "(param_3 != iVar3)" ( (binary_expression "param_3 != iVar3" identifier != identifier) )) (compound_statement "{\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }" { (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" identifier = (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) goto LAB_0010f027;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0010f027;" goto statement_identifier ;)) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (if_statement "if (piVar1[1] != -1) {\n      return;\n    }" if (parenthesized_expression "(piVar1[1] != -1)" ( (binary_expression "piVar1[1] != -1" (subscript_expression "piVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0010f027:\n    local_44[5] = 0;" statement_identifier : (expression_statement "local_44[5] = 0;" (assignment_expression "local_44[5] = 0" (subscript_expression "local_44[5]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "local_44[6] = 0;" (assignment_expression "local_44[6] = 0" (subscript_expression "local_44[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[7] = 0x7ffffffd;" (assignment_expression "local_44[7] = 0x7ffffffd" (subscript_expression "local_44[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[8] = 0;" (assignment_expression "local_44[8] = 0" (subscript_expression "local_44[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[9] = 0;" (assignment_expression "local_44[9] = 0" (subscript_expression "local_44[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[0] = 0;" (assignment_expression "local_44[0] = 0" (subscript_expression "local_44[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[1] = 0;" (assignment_expression "local_44[1] = 0" (subscript_expression "local_44[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[2] = 0x7ffffffd;" (assignment_expression "local_44[2] = 0x7ffffffd" (subscript_expression "local_44[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[3] = 0;" (assignment_expression "local_44[3] = 0" (subscript_expression "local_44[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[4] = 0;" (assignment_expression "local_44[4] = 0" (subscript_expression "local_44[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[2] = 0x7ffffffd;" (assignment_expression "aiStack_64[2] = 0x7ffffffd" (subscript_expression "aiStack_64[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[1] = 0;" (assignment_expression "aiStack_64[1] = 0" (subscript_expression "aiStack_64[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[0] = 0;" (assignment_expression "aiStack_64[0] = 0" (subscript_expression "aiStack_64[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iStack_68 = 0;" (assignment_expression "iStack_68 = 0" identifier = number_literal) ;) (expression_statement "apiStack_78[3] = (int *)0x0;" (assignment_expression "apiStack_78[3] = (int *)0x0" (subscript_expression "apiStack_78[3]" identifier [ number_literal ]) = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "apiStack_78[2] = (int *)0x7ffffffd;" (assignment_expression "apiStack_78[2] = (int *)0x7ffffffd" (subscript_expression "apiStack_78[2]" identifier [ number_literal ]) = (cast_expression "(int *)0x7ffffffd" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "apiStack_78[1] = (int *)0x0;" (assignment_expression "apiStack_78[1] = (int *)0x0" (subscript_expression "apiStack_78[1]" identifier [ number_literal ]) = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "apiStack_78[0] = (int *)0x0;" (assignment_expression "apiStack_78[0] = (int *)0x0" (subscript_expression "apiStack_78[0]" identifier [ number_literal ]) = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = FUN_0010edb0(param_1);" (assignment_expression "iVar3 = FUN_0010edb0(param_1)" identifier = (call_expression "FUN_0010edb0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x1c)" identifier = (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }" { (while_statement "while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }" while (parenthesized_expression "(param_3 != iVar2)" ( (binary_expression "param_3 != iVar2" identifier != identifier) )) (compound_statement "{\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }" { (expression_statement "piVar4 = (int *)piVar4[2];" (assignment_expression "piVar4 = (int *)piVar4[2]" identifier = (cast_expression "(int *)piVar4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar4 == (int *)0x0) goto LAB_0010f0fb;" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0010f0fb;" goto statement_identifier ;)) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) })) (expression_statement "piVar4[1] = iVar3;" (assignment_expression "piVar4[1] = iVar3" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0010f11e;" goto statement_identifier ;) })) }))) (expression_statement "*(int *)(param_2 + 0x1c) = param_3;" (assignment_expression "*(int *)(param_2 + 0x1c) = param_3" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_2 + 0x20) = iVar3;" (assignment_expression "*(int *)(param_2 + 0x20) = iVar3" (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_0010f11e:\n  aiStack_64[5] = 0;" statement_identifier : (expression_statement "aiStack_64[5] = 0;" (assignment_expression "aiStack_64[5] = 0" (subscript_expression "aiStack_64[5]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[1] = param_1;" (assignment_expression "aiStack_64[1] = param_1" (subscript_expression "aiStack_64[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "aiStack_64[0] = param_5;" (assignment_expression "aiStack_64[0] = param_5" (subscript_expression "aiStack_64[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_78[3] = param_4;" (assignment_expression "apiStack_78[3] = param_4" (subscript_expression "apiStack_78[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_78[2] = (int *)0x10f140;" (assignment_expression "apiStack_78[2] = (int *)0x10f140" (subscript_expression "apiStack_78[2]" identifier [ number_literal ]) = (cast_expression "(int *)0x10f140" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_68 = param_2;" (assignment_expression "iStack_68 = param_2" identifier = identifier) ;) (expression_statement "aiStack_64[2] = iVar3;" (assignment_expression "aiStack_64[2] = iVar3" (subscript_expression "aiStack_64[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(**(code **)(*param_4 + 100))();" (call_expression "(**(code **)(*param_4 + 100))()" (parenthesized_expression "(**(code **)(*param_4 + 100))" ( (pointer_expression "**(code **)(*param_4 + 100)" * (pointer_expression "*(code **)(*param_4 + 100)" * (cast_expression "(code **)(*param_4 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 100)" ( (binary_expression "*param_4 + 100" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (param_6 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "aiStack_64[2] = iVar3 + 8;" (assignment_expression "aiStack_64[2] = iVar3 + 8" (subscript_expression "aiStack_64[2]" identifier [ number_literal ]) = (binary_expression "iVar3 + 8" identifier + number_literal)) ;) (expression_statement "aiStack_64[5] = 0;" (assignment_expression "aiStack_64[5] = 0" (subscript_expression "aiStack_64[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[1] = param_1;" (assignment_expression "aiStack_64[1] = param_1" (subscript_expression "aiStack_64[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "aiStack_64[0] = param_6;" (assignment_expression "aiStack_64[0] = param_6" (subscript_expression "aiStack_64[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_78[3] = param_4;" (assignment_expression "apiStack_78[3] = param_4" (subscript_expression "apiStack_78[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_78[2] = (int *)0x10f173;" (assignment_expression "apiStack_78[2] = (int *)0x10f173" (subscript_expression "apiStack_78[2]" identifier [ number_literal ]) = (cast_expression "(int *)0x10f173" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_68 = param_2;" (assignment_expression "iStack_68 = param_2" identifier = identifier) ;) (expression_statement "(**(code **)(*param_4 + 100))();" (call_expression "(**(code **)(*param_4 + 100))()" (parenthesized_expression "(**(code **)(*param_4 + 100))" ( (pointer_expression "**(code **)(*param_4 + 100)" * (pointer_expression "*(code **)(*param_4 + 100)" * (cast_expression "(code **)(*param_4 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 100)" ( (binary_expression "*param_4 + 100" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void add_global_pair_with_rel(Output_data_got<64,_false> * this, Symbol\n   * gsym, uint got_type, Output_data_reloc_generic * rel_dyn, uint r_type_1, uint r_type_2) */\n\nvoid __thiscall\ngold::Output_data_got<64,_false>::add_global_pair_with_rel\n          (Output_data_got<64,_false> *this,Symbol *gsym,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type_1,uint r_type_2)\n\n{\n  uint uVar1;\n  Got_entry got_entry_1;\n  Got_entry got_entry_1_00;\n  Got_entry got_entry_2;\n  Got_entry got_entry_2_00;\n  uint uVar2;\n  Got_offset_list *pGVar3;\n  int iVar4;\n  Got_offset_list *pGVar5;\n  undefined4 *puVar6;\n  undefined4 *puVar7;\n  undefined4 in_stack_ffffff88;\n  undefined4 in_stack_ffffff8c;\n  undefined4 in_stack_ffffff90;\n  undefined4 in_stack_ffffff94;\n  undefined4 in_stack_ffffff98;\n  undefined4 in_stack_ffffff9c;\n  undefined4 in_stack_ffffffa0;\n  undefined4 in_stack_ffffffa4;\n  undefined4 in_stack_ffffffa8;\n  undefined4 in_stack_ffffffac;\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  pGVar5 = &gsym->got_offsets_;\n  if (pGVar5 == (Got_offset_list *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar6 = local_44 + 5;\n    puVar7 = (undefined4 *)&stack0xffffff9c;\n    for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }\n    puVar6 = local_44;\n    puVar7 = (undefined4 *)&stack0xffffff88;\n    for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }\n    got_entry_1_00.u_.constant._4_4_ = in_stack_ffffff8c;\n    got_entry_1_00.u_.object = (Relobj *)in_stack_ffffff88;\n    got_entry_1_00._8_4_ = in_stack_ffffff90;\n    got_entry_1_00.addend_._0_4_ = in_stack_ffffff94;\n    got_entry_1_00.addend_._4_4_ = in_stack_ffffff98;\n    got_entry_2_00.u_.constant._4_4_ = in_stack_ffffffa0;\n    got_entry_2_00.u_.object = (Relobj *)in_stack_ffffff9c;\n    got_entry_2_00._8_4_ = in_stack_ffffffa4;\n    got_entry_2_00.addend_._0_4_ = in_stack_ffffffa8;\n    got_entry_2_00.addend_._4_4_ = in_stack_ffffffac;\n    uVar2 = add_got_entry_pair(this,got_entry_1_00,got_entry_2_00);\n    if ((gsym->got_offsets_).got_type_ != 0xffffffff) {\nLAB_0010f0fb:\n      pGVar3 = (Got_offset_list *)operator_new(0xc);\n      pGVar3->got_type_ = got_type;\n      pGVar5 = (gsym->got_offsets_).got_next_;\n      pGVar3->got_offset_ = uVar2;\n      (gsym->got_offsets_).got_next_ = pGVar3;\n      pGVar3->got_next_ = pGVar5;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    uVar2 = (gsym->got_offsets_).got_type_;\n    pGVar3 = pGVar5;\n    while (got_type != uVar2) {\n      pGVar3 = pGVar3->got_next_;\n      if (pGVar3 == (Got_offset_list *)0x0) goto LAB_0010f027;\n      uVar2 = pGVar3->got_type_;\n    }\n    if (pGVar3->got_offset_ != 0xffffffff) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    got_entry_1.addend_ = 0;\n    got_entry_1._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    got_entry_2.addend_ = 0;\n    got_entry_2._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    uVar2 = add_got_entry_pair(this,got_entry_1,got_entry_2);\n    uVar1 = (gsym->got_offsets_).got_type_;\n    if (uVar1 != 0xffffffff) {\n      while (got_type != uVar1) {\n        pGVar5 = pGVar5->got_next_;\n        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;\n        uVar1 = pGVar5->got_type_;\n      }\n      pGVar5->got_offset_ = uVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  (gsym->got_offsets_).got_type_ = got_type;\n  (gsym->got_offsets_).got_offset_ = uVar2;\nLAB_0010f11e:\n  (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])();\n  if (r_type_2 == 0) {\n    return;\n  }\n  (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])();\n  return;\n}\n\n" comment comment (declaration "void __thiscall\ngold::Output_data_got<64,_false>::add_global_pair_with_rel\n          (Output_data_got<64,_false> *this,Symbol *gsym,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type_1,uint r_type_2)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::add_global_pair_with_rel\n          (Output_data_got<64,_false> *this,Symbol *gsym,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type_1,uint r_type_2)\n\n{\n  uint" identifier > : : (function_declarator "add_global_pair_with_rel\n          (Output_data_got<64,_false> *this,Symbol *gsym,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type_1,uint r_type_2)" identifier (parameter_list "(Output_data_got<64,_false> *this,Symbol *gsym,uint got_type,\n          Output_data_reloc_generic *rel_dyn,uint r_type_1,uint r_type_2)" ( (parameter_declaration "Output_data_got" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *gsym" type_identifier (pointer_declarator "*gsym" * identifier)) , (parameter_declaration "uint got_type" type_identifier identifier) , (parameter_declaration "Output_data_reloc_generic *rel_dyn" type_identifier (pointer_declarator "*rel_dyn" * identifier)) , (parameter_declaration "uint r_type_1" type_identifier identifier) , (parameter_declaration "uint r_type_2" type_identifier identifier) ))) { identifier) identifier ;) (declaration "Got_entry got_entry_1;" type_identifier identifier ;) (declaration "Got_entry got_entry_1_00;" type_identifier identifier ;) (declaration "Got_entry got_entry_2;" type_identifier identifier ;) (declaration "Got_entry got_entry_2_00;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "Got_offset_list *pGVar3;" type_identifier (pointer_declarator "*pGVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "Got_offset_list *pGVar5;" type_identifier (pointer_declarator "*pGVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 in_stack_ffffff88;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffff8c;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffff90;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffff94;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffff98;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffff9c;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffffa0;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffffa4;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffffa8;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffffac;" type_identifier identifier ;) (declaration "undefined4 local_44 [12];" type_identifier (array_declarator "local_44 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x10efe9;" (assignment_expression "uStack_14 = 0x10efe9" identifier = number_literal) ;) (expression_statement "pGVar5 = &gsym->got_offsets_;" (assignment_expression "pGVar5 = &gsym->got_offsets_" identifier = (pointer_expression "&gsym->got_offsets_" & (field_expression "gsym->got_offsets_" identifier -> field_identifier))) ;) (if_statement "if (pGVar5 == (Got_offset_list *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar6 = local_44 + 5;\n    puVar7 = (undefined4 *)&stack0xffffff9c;\n    for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }\n    puVar6 = local_44;\n    puVar7 = (undefined4 *)&stack0xffffff88;\n    for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }\n    got_entry_1_00.u_.constant._4_4_ = in_stack_ffffff8c;\n    got_entry_1_00.u_.object = (Relobj *)in_stack_ffffff88;\n    got_entry_1_00._8_4_ = in_stack_ffffff90;\n    got_entry_1_00.addend_._0_4_ = in_stack_ffffff94;\n    got_entry_1_00.addend_._4_4_ = in_stack_ffffff98;\n    got_entry_2_00.u_.constant._4_4_ = in_stack_ffffffa0;\n    got_entry_2_00.u_.object = (Relobj *)in_stack_ffffff9c;\n    got_entry_2_00._8_4_ = in_stack_ffffffa4;\n    got_entry_2_00.addend_._0_4_ = in_stack_ffffffa8;\n    got_entry_2_00.addend_._4_4_ = in_stack_ffffffac;\n    uVar2 = add_got_entry_pair(this,got_entry_1_00,got_entry_2_00);\n    if ((gsym->got_offsets_).got_type_ != 0xffffffff) {\nLAB_0010f0fb:\n      pGVar3 = (Got_offset_list *)operator_new(0xc);\n      pGVar3->got_type_ = got_type;\n      pGVar5 = (gsym->got_offsets_).got_next_;\n      pGVar3->got_offset_ = uVar2;\n      (gsym->got_offsets_).got_next_ = pGVar3;\n      pGVar3->got_next_ = pGVar5;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    uVar2 = (gsym->got_offsets_).got_type_;\n    pGVar3 = pGVar5;\n    while (got_type != uVar2) {\n      pGVar3 = pGVar3->got_next_;\n      if (pGVar3 == (Got_offset_list *)0x0) goto LAB_0010f027;\n      uVar2 = pGVar3->got_type_;\n    }\n    if (pGVar3->got_offset_ != 0xffffffff) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    got_entry_1.addend_ = 0;\n    got_entry_1._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    got_entry_2.addend_ = 0;\n    got_entry_2._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    uVar2 = add_got_entry_pair(this,got_entry_1,got_entry_2);\n    uVar1 = (gsym->got_offsets_).got_type_;\n    if (uVar1 != 0xffffffff) {\n      while (got_type != uVar1) {\n        pGVar5 = pGVar5->got_next_;\n        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;\n        uVar1 = pGVar5->got_type_;\n      }\n      pGVar5->got_offset_ = uVar2;\n      goto LAB_0010f11e;\n    }\n  }" if (parenthesized_expression "(pGVar5 == (Got_offset_list *)0x0)" ( (binary_expression "pGVar5 == (Got_offset_list *)0x0" identifier == (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar6 = local_44 + 5;\n    puVar7 = (undefined4 *)&stack0xffffff9c;\n    for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }\n    puVar6 = local_44;\n    puVar7 = (undefined4 *)&stack0xffffff88;\n    for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }\n    got_entry_1_00.u_.constant._4_4_ = in_stack_ffffff8c;\n    got_entry_1_00.u_.object = (Relobj *)in_stack_ffffff88;\n    got_entry_1_00._8_4_ = in_stack_ffffff90;\n    got_entry_1_00.addend_._0_4_ = in_stack_ffffff94;\n    got_entry_1_00.addend_._4_4_ = in_stack_ffffff98;\n    got_entry_2_00.u_.constant._4_4_ = in_stack_ffffffa0;\n    got_entry_2_00.u_.object = (Relobj *)in_stack_ffffff9c;\n    got_entry_2_00._8_4_ = in_stack_ffffffa4;\n    got_entry_2_00.addend_._0_4_ = in_stack_ffffffa8;\n    got_entry_2_00.addend_._4_4_ = in_stack_ffffffac;\n    uVar2 = add_got_entry_pair(this,got_entry_1_00,got_entry_2_00);\n    if ((gsym->got_offsets_).got_type_ != 0xffffffff) {\nLAB_0010f0fb:\n      pGVar3 = (Got_offset_list *)operator_new(0xc);\n      pGVar3->got_type_ = got_type;\n      pGVar5 = (gsym->got_offsets_).got_next_;\n      pGVar3->got_offset_ = uVar2;\n      (gsym->got_offsets_).got_next_ = pGVar3;\n      pGVar3->got_next_ = pGVar5;\n      goto LAB_0010f11e;\n    }\n  }" { (expression_statement "local_44[5] = 0;" (assignment_expression "local_44[5] = 0" (subscript_expression "local_44[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[6] = 0;" (assignment_expression "local_44[6] = 0" (subscript_expression "local_44[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[7] = 0x7ffffffd;" (assignment_expression "local_44[7] = 0x7ffffffd" (subscript_expression "local_44[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[8] = 0;" (assignment_expression "local_44[8] = 0" (subscript_expression "local_44[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[9] = 0;" (assignment_expression "local_44[9] = 0" (subscript_expression "local_44[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[0] = 0;" (assignment_expression "local_44[0] = 0" (subscript_expression "local_44[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[1] = 0;" (assignment_expression "local_44[1] = 0" (subscript_expression "local_44[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[2] = 0x7ffffffd;" (assignment_expression "local_44[2] = 0x7ffffffd" (subscript_expression "local_44[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[3] = 0;" (assignment_expression "local_44[3] = 0" (subscript_expression "local_44[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[4] = 0;" (assignment_expression "local_44[4] = 0" (subscript_expression "local_44[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar6 = local_44 + 5;" (assignment_expression "puVar6 = local_44 + 5" identifier = (binary_expression "local_44 + 5" identifier + number_literal)) ;) (expression_statement "puVar7 = (undefined4 *)&stack0xffffff9c;" (assignment_expression "puVar7 = (undefined4 *)&stack0xffffff9c" identifier = (cast_expression "(undefined4 *)&stack0xffffff9c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xffffff9c" & identifier))) ;) (for_statement "for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }" for ( (assignment_expression "iVar4 = 5" identifier = number_literal) ; (binary_expression "iVar4 != 0" identifier != number_literal) ; (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }" { (expression_statement "*puVar7 = *puVar6;" (assignment_expression "*puVar7 = *puVar6" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "puVar6 = local_44;" (assignment_expression "puVar6 = local_44" identifier = identifier) ;) (expression_statement "puVar7 = (undefined4 *)&stack0xffffff88;" (assignment_expression "puVar7 = (undefined4 *)&stack0xffffff88" identifier = (cast_expression "(undefined4 *)&stack0xffffff88" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xffffff88" & identifier))) ;) (for_statement "for (iVar4 = 5; iVar4 != 0; iVar4 = iVar4 + -1) {\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }" for ( (assignment_expression "iVar4 = 5" identifier = number_literal) ; (binary_expression "iVar4 != 0" identifier != number_literal) ; (assignment_expression "iVar4 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar7 = *puVar6;\n      puVar6 = puVar6 + 1;\n      puVar7 = puVar7 + 1;\n    }" { (expression_statement "*puVar7 = *puVar6;" (assignment_expression "*puVar7 = *puVar6" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "got_entry_1_00.u_.constant._4_4_ = in_stack_ffffff8c;" (assignment_expression "got_entry_1_00.u_.constant._4_4_ = in_stack_ffffff8c" (field_expression "got_entry_1_00.u_.constant._4_4_" (field_expression "got_entry_1_00.u_.constant" (field_expression "got_entry_1_00.u_" identifier . field_identifier) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "got_entry_1_00.u_.object = (Relobj *)in_stack_ffffff88;" (assignment_expression "got_entry_1_00.u_.object = (Relobj *)in_stack_ffffff88" (field_expression "got_entry_1_00.u_.object" (field_expression "got_entry_1_00.u_" identifier . field_identifier) . field_identifier) = (cast_expression "(Relobj *)in_stack_ffffff88" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "got_entry_1_00._8_4_ = in_stack_ffffff90;" (assignment_expression "got_entry_1_00._8_4_ = in_stack_ffffff90" (field_expression "got_entry_1_00._8_4_" identifier . field_identifier) = identifier) ;) (expression_statement "got_entry_1_00.addend_._0_4_ = in_stack_ffffff94;" (assignment_expression "got_entry_1_00.addend_._0_4_ = in_stack_ffffff94" (field_expression "got_entry_1_00.addend_._0_4_" (field_expression "got_entry_1_00.addend_" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "got_entry_1_00.addend_._4_4_ = in_stack_ffffff98;" (assignment_expression "got_entry_1_00.addend_._4_4_ = in_stack_ffffff98" (field_expression "got_entry_1_00.addend_._4_4_" (field_expression "got_entry_1_00.addend_" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "got_entry_2_00.u_.constant._4_4_ = in_stack_ffffffa0;" (assignment_expression "got_entry_2_00.u_.constant._4_4_ = in_stack_ffffffa0" (field_expression "got_entry_2_00.u_.constant._4_4_" (field_expression "got_entry_2_00.u_.constant" (field_expression "got_entry_2_00.u_" identifier . field_identifier) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "got_entry_2_00.u_.object = (Relobj *)in_stack_ffffff9c;" (assignment_expression "got_entry_2_00.u_.object = (Relobj *)in_stack_ffffff9c" (field_expression "got_entry_2_00.u_.object" (field_expression "got_entry_2_00.u_" identifier . field_identifier) . field_identifier) = (cast_expression "(Relobj *)in_stack_ffffff9c" ( (type_descriptor "Relobj *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "got_entry_2_00._8_4_ = in_stack_ffffffa4;" (assignment_expression "got_entry_2_00._8_4_ = in_stack_ffffffa4" (field_expression "got_entry_2_00._8_4_" identifier . field_identifier) = identifier) ;) (expression_statement "got_entry_2_00.addend_._0_4_ = in_stack_ffffffa8;" (assignment_expression "got_entry_2_00.addend_._0_4_ = in_stack_ffffffa8" (field_expression "got_entry_2_00.addend_._0_4_" (field_expression "got_entry_2_00.addend_" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "got_entry_2_00.addend_._4_4_ = in_stack_ffffffac;" (assignment_expression "got_entry_2_00.addend_._4_4_ = in_stack_ffffffac" (field_expression "got_entry_2_00.addend_._4_4_" (field_expression "got_entry_2_00.addend_" identifier . field_identifier) . field_identifier) = identifier) ;) (expression_statement "uVar2 = add_got_entry_pair(this,got_entry_1_00,got_entry_2_00);" (assignment_expression "uVar2 = add_got_entry_pair(this,got_entry_1_00,got_entry_2_00)" identifier = (call_expression "add_got_entry_pair(this,got_entry_1_00,got_entry_2_00)" identifier (argument_list "(this,got_entry_1_00,got_entry_2_00)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((gsym->got_offsets_).got_type_ != 0xffffffff) {\nLAB_0010f0fb:\n      pGVar3 = (Got_offset_list *)operator_new(0xc);\n      pGVar3->got_type_ = got_type;\n      pGVar5 = (gsym->got_offsets_).got_next_;\n      pGVar3->got_offset_ = uVar2;\n      (gsym->got_offsets_).got_next_ = pGVar3;\n      pGVar3->got_next_ = pGVar5;\n      goto LAB_0010f11e;\n    }" if (parenthesized_expression "((gsym->got_offsets_).got_type_ != 0xffffffff)" ( (binary_expression "(gsym->got_offsets_).got_type_ != 0xffffffff" (field_expression "(gsym->got_offsets_).got_type_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier) != number_literal) )) (compound_statement "{\nLAB_0010f0fb:\n      pGVar3 = (Got_offset_list *)operator_new(0xc);\n      pGVar3->got_type_ = got_type;\n      pGVar5 = (gsym->got_offsets_).got_next_;\n      pGVar3->got_offset_ = uVar2;\n      (gsym->got_offsets_).got_next_ = pGVar3;\n      pGVar3->got_next_ = pGVar5;\n      goto LAB_0010f11e;\n    }" { (labeled_statement "LAB_0010f0fb:\n      pGVar3 = (Got_offset_list *)operator_new(0xc);" statement_identifier : (expression_statement "pGVar3 = (Got_offset_list *)operator_new(0xc);" (assignment_expression "pGVar3 = (Got_offset_list *)operator_new(0xc)" identifier = (cast_expression "(Got_offset_list *)operator_new(0xc)" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;)) (expression_statement "pGVar3->got_type_ = got_type;" (assignment_expression "pGVar3->got_type_ = got_type" (field_expression "pGVar3->got_type_" identifier -> field_identifier) = identifier) ;) (expression_statement "pGVar5 = (gsym->got_offsets_).got_next_;" (assignment_expression "pGVar5 = (gsym->got_offsets_).got_next_" identifier = (field_expression "(gsym->got_offsets_).got_next_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pGVar3->got_offset_ = uVar2;" (assignment_expression "pGVar3->got_offset_ = uVar2" (field_expression "pGVar3->got_offset_" identifier -> field_identifier) = identifier) ;) (expression_statement "(gsym->got_offsets_).got_next_ = pGVar3;" (assignment_expression "(gsym->got_offsets_).got_next_ = pGVar3" (field_expression "(gsym->got_offsets_).got_next_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pGVar3->got_next_ = pGVar5;" (assignment_expression "pGVar3->got_next_ = pGVar5" (field_expression "pGVar3->got_next_" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_0010f11e;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar2 = (gsym->got_offsets_).got_type_;\n    pGVar3 = pGVar5;\n    while (got_type != uVar2) {\n      pGVar3 = pGVar3->got_next_;\n      if (pGVar3 == (Got_offset_list *)0x0) goto LAB_0010f027;\n      uVar2 = pGVar3->got_type_;\n    }\n    if (pGVar3->got_offset_ != 0xffffffff) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    got_entry_1.addend_ = 0;\n    got_entry_1._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    got_entry_2.addend_ = 0;\n    got_entry_2._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    uVar2 = add_got_entry_pair(this,got_entry_1,got_entry_2);\n    uVar1 = (gsym->got_offsets_).got_type_;\n    if (uVar1 != 0xffffffff) {\n      while (got_type != uVar1) {\n        pGVar5 = pGVar5->got_next_;\n        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;\n        uVar1 = pGVar5->got_type_;\n      }\n      pGVar5->got_offset_ = uVar2;\n      goto LAB_0010f11e;\n    }\n  }" else (compound_statement "{\n    uVar2 = (gsym->got_offsets_).got_type_;\n    pGVar3 = pGVar5;\n    while (got_type != uVar2) {\n      pGVar3 = pGVar3->got_next_;\n      if (pGVar3 == (Got_offset_list *)0x0) goto LAB_0010f027;\n      uVar2 = pGVar3->got_type_;\n    }\n    if (pGVar3->got_offset_ != 0xffffffff) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    got_entry_1.addend_ = 0;\n    got_entry_1._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    got_entry_2.addend_ = 0;\n    got_entry_2._0_12_ = ZEXT412(0x7ffffffd) << 0x40;\n    uVar2 = add_got_entry_pair(this,got_entry_1,got_entry_2);\n    uVar1 = (gsym->got_offsets_).got_type_;\n    if (uVar1 != 0xffffffff) {\n      while (got_type != uVar1) {\n        pGVar5 = pGVar5->got_next_;\n        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;\n        uVar1 = pGVar5->got_type_;\n      }\n      pGVar5->got_offset_ = uVar2;\n      goto LAB_0010f11e;\n    }\n  }" { (expression_statement "uVar2 = (gsym->got_offsets_).got_type_;" (assignment_expression "uVar2 = (gsym->got_offsets_).got_type_" identifier = (field_expression "(gsym->got_offsets_).got_type_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pGVar3 = pGVar5;" (assignment_expression "pGVar3 = pGVar5" identifier = identifier) ;) (while_statement "while (got_type != uVar2) {\n      pGVar3 = pGVar3->got_next_;\n      if (pGVar3 == (Got_offset_list *)0x0) goto LAB_0010f027;\n      uVar2 = pGVar3->got_type_;\n    }" while (parenthesized_expression "(got_type != uVar2)" ( (binary_expression "got_type != uVar2" identifier != identifier) )) (compound_statement "{\n      pGVar3 = pGVar3->got_next_;\n      if (pGVar3 == (Got_offset_list *)0x0) goto LAB_0010f027;\n      uVar2 = pGVar3->got_type_;\n    }" { (expression_statement "pGVar3 = pGVar3->got_next_;" (assignment_expression "pGVar3 = pGVar3->got_next_" identifier = (field_expression "pGVar3->got_next_" identifier -> field_identifier)) ;) (if_statement "if (pGVar3 == (Got_offset_list *)0x0) goto LAB_0010f027;" if (parenthesized_expression "(pGVar3 == (Got_offset_list *)0x0)" ( (binary_expression "pGVar3 == (Got_offset_list *)0x0" identifier == (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0010f027;" goto statement_identifier ;)) (expression_statement "uVar2 = pGVar3->got_type_;" (assignment_expression "uVar2 = pGVar3->got_type_" identifier = (field_expression "pGVar3->got_type_" identifier -> field_identifier)) ;) })) (if_statement "if (pGVar3->got_offset_ != 0xffffffff) {\n      return;\n    }" if (parenthesized_expression "(pGVar3->got_offset_ != 0xffffffff)" ( (binary_expression "pGVar3->got_offset_ != 0xffffffff" (field_expression "pGVar3->got_offset_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0010f027:\n    local_44[5] = 0;" statement_identifier : (expression_statement "local_44[5] = 0;" (assignment_expression "local_44[5] = 0" (subscript_expression "local_44[5]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "local_44[6] = 0;" (assignment_expression "local_44[6] = 0" (subscript_expression "local_44[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[7] = 0x7ffffffd;" (assignment_expression "local_44[7] = 0x7ffffffd" (subscript_expression "local_44[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[8] = 0;" (assignment_expression "local_44[8] = 0" (subscript_expression "local_44[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[9] = 0;" (assignment_expression "local_44[9] = 0" (subscript_expression "local_44[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[0] = 0;" (assignment_expression "local_44[0] = 0" (subscript_expression "local_44[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[1] = 0;" (assignment_expression "local_44[1] = 0" (subscript_expression "local_44[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[2] = 0x7ffffffd;" (assignment_expression "local_44[2] = 0x7ffffffd" (subscript_expression "local_44[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[3] = 0;" (assignment_expression "local_44[3] = 0" (subscript_expression "local_44[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[4] = 0;" (assignment_expression "local_44[4] = 0" (subscript_expression "local_44[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "got_entry_1.addend_ = 0;" (assignment_expression "got_entry_1.addend_ = 0" (field_expression "got_entry_1.addend_" identifier . field_identifier) = number_literal) ;) (expression_statement "got_entry_1._0_12_ = ZEXT412(0x7ffffffd) << 0x40;" (assignment_expression "got_entry_1._0_12_ = ZEXT412(0x7ffffffd) << 0x40" (field_expression "got_entry_1._0_12_" identifier . field_identifier) = (binary_expression "ZEXT412(0x7ffffffd) << 0x40" (call_expression "ZEXT412(0x7ffffffd)" identifier (argument_list "(0x7ffffffd)" ( number_literal ))) << number_literal)) ;) (expression_statement "got_entry_2.addend_ = 0;" (assignment_expression "got_entry_2.addend_ = 0" (field_expression "got_entry_2.addend_" identifier . field_identifier) = number_literal) ;) (expression_statement "got_entry_2._0_12_ = ZEXT412(0x7ffffffd) << 0x40;" (assignment_expression "got_entry_2._0_12_ = ZEXT412(0x7ffffffd) << 0x40" (field_expression "got_entry_2._0_12_" identifier . field_identifier) = (binary_expression "ZEXT412(0x7ffffffd) << 0x40" (call_expression "ZEXT412(0x7ffffffd)" identifier (argument_list "(0x7ffffffd)" ( number_literal ))) << number_literal)) ;) (expression_statement "uVar2 = add_got_entry_pair(this,got_entry_1,got_entry_2);" (assignment_expression "uVar2 = add_got_entry_pair(this,got_entry_1,got_entry_2)" identifier = (call_expression "add_got_entry_pair(this,got_entry_1,got_entry_2)" identifier (argument_list "(this,got_entry_1,got_entry_2)" ( identifier , identifier , identifier )))) ;) (expression_statement "uVar1 = (gsym->got_offsets_).got_type_;" (assignment_expression "uVar1 = (gsym->got_offsets_).got_type_" identifier = (field_expression "(gsym->got_offsets_).got_type_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (uVar1 != 0xffffffff) {\n      while (got_type != uVar1) {\n        pGVar5 = pGVar5->got_next_;\n        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;\n        uVar1 = pGVar5->got_type_;\n      }\n      pGVar5->got_offset_ = uVar2;\n      goto LAB_0010f11e;\n    }" if (parenthesized_expression "(uVar1 != 0xffffffff)" ( (binary_expression "uVar1 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      while (got_type != uVar1) {\n        pGVar5 = pGVar5->got_next_;\n        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;\n        uVar1 = pGVar5->got_type_;\n      }\n      pGVar5->got_offset_ = uVar2;\n      goto LAB_0010f11e;\n    }" { (while_statement "while (got_type != uVar1) {\n        pGVar5 = pGVar5->got_next_;\n        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;\n        uVar1 = pGVar5->got_type_;\n      }" while (parenthesized_expression "(got_type != uVar1)" ( (binary_expression "got_type != uVar1" identifier != identifier) )) (compound_statement "{\n        pGVar5 = pGVar5->got_next_;\n        if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;\n        uVar1 = pGVar5->got_type_;\n      }" { (expression_statement "pGVar5 = pGVar5->got_next_;" (assignment_expression "pGVar5 = pGVar5->got_next_" identifier = (field_expression "pGVar5->got_next_" identifier -> field_identifier)) ;) (if_statement "if (pGVar5 == (Got_offset_list *)0x0) goto LAB_0010f0fb;" if (parenthesized_expression "(pGVar5 == (Got_offset_list *)0x0)" ( (binary_expression "pGVar5 == (Got_offset_list *)0x0" identifier == (cast_expression "(Got_offset_list *)0x0" ( (type_descriptor "Got_offset_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0010f0fb;" goto statement_identifier ;)) (expression_statement "uVar1 = pGVar5->got_type_;" (assignment_expression "uVar1 = pGVar5->got_type_" identifier = (field_expression "pGVar5->got_type_" identifier -> field_identifier)) ;) })) (expression_statement "pGVar5->got_offset_ = uVar2;" (assignment_expression "pGVar5->got_offset_ = uVar2" (field_expression "pGVar5->got_offset_" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_0010f11e;" goto statement_identifier ;) })) }))) (expression_statement "(gsym->got_offsets_).got_type_ = got_type;" (assignment_expression "(gsym->got_offsets_).got_type_ = got_type" (field_expression "(gsym->got_offsets_).got_type_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(gsym->got_offsets_).got_offset_ = uVar2;" (assignment_expression "(gsym->got_offsets_).got_offset_ = uVar2" (field_expression "(gsym->got_offsets_).got_offset_" (parenthesized_expression "(gsym->got_offsets_)" ( (field_expression "gsym->got_offsets_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (labeled_statement "LAB_0010f11e:\n  (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])();" statement_identifier : (expression_statement "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])();" (call_expression "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])()" (parenthesized_expression "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])" ( (pointer_expression "*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19]" * (subscript_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19]" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data" (parenthesized_expression "(rel_dyn->super_Output_section_data_build)" ( (field_expression "rel_dyn->super_Output_section_data_build" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) )) (argument_list "()" ( ))) ;)) (if_statement "if (r_type_2 == 0) {\n    return;\n  }" if (parenthesized_expression "(r_type_2 == 0)" ( (binary_expression "r_type_2 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])();" (call_expression "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])()" (parenthesized_expression "(*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19])" ( (pointer_expression "*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19]" * (subscript_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data[0x19]" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.\n    _vptr_Output_data" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data" (field_expression "(rel_dyn->super_Output_section_data_build).super_Output_section_data" (parenthesized_expression "(rel_dyn->super_Output_section_data_build)" ( (field_expression "rel_dyn->super_Output_section_data_build" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int **ppiVar6;\n  int *apiStack_78 [4];\n  int iStack_68;\n  int aiStack_64 [8];\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  piVar4 = (int *)(param_2 + 0x1c);\n  if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }\n  *(int *)(param_2 + 0x1c) = param_3;\n  *(int *)(param_2 + 0x20) = iVar3;\nLAB_0010f11e:\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_5;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f140;\n  iStack_68 = param_2;\n  aiStack_64[2] = iVar3;\n  (**(code **)(*param_4 + 100))();\n  if (param_6 == 0) {\n    return;\n  }\n  aiStack_64[2] = iVar3 + 8;\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_6;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f173;\n  iStack_68 = param_2;\n  (**(code **)(*param_4 + 100))();\n  return;\n}\n\n" (function_definition "void FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int **ppiVar6;\n  int *apiStack_78 [4];\n  int iStack_68;\n  int aiStack_64 [8];\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  piVar4 = (int *)(param_2 + 0x1c);\n  if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }\n  *(int *)(param_2 + 0x1c) = param_3;\n  *(int *)(param_2 + 0x20) = iVar3;\nLAB_0010f11e:\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_5;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f140;\n  iStack_68 = param_2;\n  aiStack_64[2] = iVar3;\n  (**(code **)(*param_4 + 100))();\n  if (param_6 == 0) {\n    return;\n  }\n  aiStack_64[2] = iVar3 + 8;\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_6;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f173;\n  iStack_68 = param_2;\n  (**(code **)(*param_4 + 100))();\n  return;\n}" primitive_type (function_declarator "FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int **ppiVar6;\n  int *apiStack_78 [4];\n  int iStack_68;\n  int aiStack_64 [8];\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  piVar4 = (int *)(param_2 + 0x1c);\n  if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }\n  *(int *)(param_2 + 0x1c) = param_3;\n  *(int *)(param_2 + 0x20) = iVar3;\nLAB_0010f11e:\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_5;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f140;\n  iStack_68 = param_2;\n  aiStack_64[2] = iVar3;\n  (**(code **)(*param_4 + 100))();\n  if (param_6 == 0) {\n    return;\n  }\n  aiStack_64[2] = iVar3 + 8;\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_6;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f173;\n  iStack_68 = param_2;\n  (**(code **)(*param_4 + 100))();\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int **ppiVar6;" primitive_type (pointer_declarator "**ppiVar6" * (pointer_declarator "*ppiVar6" * identifier)) ;) (declaration "int *apiStack_78 [4];" primitive_type (pointer_declarator "*apiStack_78 [4]" * (array_declarator "apiStack_78 [4]" identifier [ number_literal ])) ;) (declaration "int iStack_68;" primitive_type identifier ;) (declaration "int aiStack_64 [8];" primitive_type (array_declarator "aiStack_64 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_44 [12];" type_identifier (array_declarator "local_44 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x10efe9;" (assignment_expression "uStack_14 = 0x10efe9" identifier = number_literal) ;) (expression_statement "piVar4 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar4 = (int *)(param_2 + 0x1c)" identifier = (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) ;) (if_statement "if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }" { (expression_statement "local_44[5] = 0;" (assignment_expression "local_44[5] = 0" (subscript_expression "local_44[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[6] = 0;" (assignment_expression "local_44[6] = 0" (subscript_expression "local_44[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[7] = 0x7ffffffd;" (assignment_expression "local_44[7] = 0x7ffffffd" (subscript_expression "local_44[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[8] = 0;" (assignment_expression "local_44[8] = 0" (subscript_expression "local_44[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[9] = 0;" (assignment_expression "local_44[9] = 0" (subscript_expression "local_44[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[0] = 0;" (assignment_expression "local_44[0] = 0" (subscript_expression "local_44[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[1] = 0;" (assignment_expression "local_44[1] = 0" (subscript_expression "local_44[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[2] = 0x7ffffffd;" (assignment_expression "local_44[2] = 0x7ffffffd" (subscript_expression "local_44[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[3] = 0;" (assignment_expression "local_44[3] = 0" (subscript_expression "local_44[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[4] = 0;" (assignment_expression "local_44[4] = 0" (subscript_expression "local_44[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = local_44 + 5;" (assignment_expression "puVar5 = local_44 + 5" identifier = (binary_expression "local_44 + 5" identifier + number_literal)) ;) (expression_statement "piVar4 = aiStack_64;" (assignment_expression "piVar4 = aiStack_64" identifier = identifier) ;) (for_statement "for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }" for ( (assignment_expression "iVar3 = 5" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }" { (expression_statement "*piVar4 = *puVar5;" (assignment_expression "*piVar4 = *puVar5" (pointer_expression "*piVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "piVar4 = piVar4 + 1;" (assignment_expression "piVar4 = piVar4 + 1" identifier = (binary_expression "piVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "puVar5 = local_44;" (assignment_expression "puVar5 = local_44" identifier = identifier) ;) (expression_statement "ppiVar6 = apiStack_78;" (assignment_expression "ppiVar6 = apiStack_78" identifier = identifier) ;) (for_statement "for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }" for ( (assignment_expression "iVar3 = 5" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }" { (expression_statement "*ppiVar6 = (int *)*puVar5;" (assignment_expression "*ppiVar6 = (int *)*puVar5" (pointer_expression "*ppiVar6" * identifier) = (cast_expression "(int *)*puVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "ppiVar6 = ppiVar6 + 1;" (assignment_expression "ppiVar6 = ppiVar6 + 1" identifier = (binary_expression "ppiVar6 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar3 = FUN_0010edb0(param_1);" (assignment_expression "iVar3 = FUN_0010edb0(param_1)" identifier = (call_expression "FUN_0010edb0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x1c) != -1)" ( (binary_expression "*(int *)(param_2 + 0x1c) != -1" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }" { (labeled_statement "LAB_0010f0fb:\n      aiStack_64[2] = 0xc;" statement_identifier : (expression_statement "aiStack_64[2] = 0xc;" (assignment_expression "aiStack_64[2] = 0xc" (subscript_expression "aiStack_64[2]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "aiStack_64[1] = 0x10f109;" (assignment_expression "aiStack_64[1] = 0x10f109" (subscript_expression "aiStack_64[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4 = (int *)FUN_001e5210();" (assignment_expression "piVar4 = (int *)FUN_001e5210()" identifier = (cast_expression "(int *)FUN_001e5210()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5210()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*piVar4 = param_3;" (assignment_expression "*piVar4 = param_3" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x24);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x24)" identifier = (pointer_expression "*(int *)(param_2 + 0x24)" * (cast_expression "(int *)(param_2 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "piVar4[1] = iVar3;" (assignment_expression "piVar4[1] = iVar3" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int **)(param_2 + 0x24) = piVar4;" (assignment_expression "*(int **)(param_2 + 0x24) = piVar4" (pointer_expression "*(int **)(param_2 + 0x24)" * (cast_expression "(int **)(param_2 + 0x24)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 0x24)" ( (binary_expression "param_2 + 0x24" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar4[2] = iVar2;" (assignment_expression "piVar4[2] = iVar2" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0010f11e;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" else (compound_statement "{\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" { (expression_statement "iVar3 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x1c)" identifier = (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = piVar4;" (assignment_expression "piVar1 = piVar4" identifier = identifier) ;) (while_statement "while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }" while (parenthesized_expression "(param_3 != iVar3)" ( (binary_expression "param_3 != iVar3" identifier != identifier) )) (compound_statement "{\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }" { (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" identifier = (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) goto LAB_0010f027;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0010f027;" goto statement_identifier ;)) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (if_statement "if (piVar1[1] != -1) {\n      return;\n    }" if (parenthesized_expression "(piVar1[1] != -1)" ( (binary_expression "piVar1[1] != -1" (subscript_expression "piVar1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (labeled_statement "LAB_0010f027:\n    local_44[5] = 0;" statement_identifier : (expression_statement "local_44[5] = 0;" (assignment_expression "local_44[5] = 0" (subscript_expression "local_44[5]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "local_44[6] = 0;" (assignment_expression "local_44[6] = 0" (subscript_expression "local_44[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[7] = 0x7ffffffd;" (assignment_expression "local_44[7] = 0x7ffffffd" (subscript_expression "local_44[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[8] = 0;" (assignment_expression "local_44[8] = 0" (subscript_expression "local_44[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[9] = 0;" (assignment_expression "local_44[9] = 0" (subscript_expression "local_44[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[0] = 0;" (assignment_expression "local_44[0] = 0" (subscript_expression "local_44[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[1] = 0;" (assignment_expression "local_44[1] = 0" (subscript_expression "local_44[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[2] = 0x7ffffffd;" (assignment_expression "local_44[2] = 0x7ffffffd" (subscript_expression "local_44[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[3] = 0;" (assignment_expression "local_44[3] = 0" (subscript_expression "local_44[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_44[4] = 0;" (assignment_expression "local_44[4] = 0" (subscript_expression "local_44[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[2] = 0x7ffffffd;" (assignment_expression "aiStack_64[2] = 0x7ffffffd" (subscript_expression "aiStack_64[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[1] = 0;" (assignment_expression "aiStack_64[1] = 0" (subscript_expression "aiStack_64[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[0] = 0;" (assignment_expression "aiStack_64[0] = 0" (subscript_expression "aiStack_64[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iStack_68 = 0;" (assignment_expression "iStack_68 = 0" identifier = number_literal) ;) (expression_statement "apiStack_78[3] = (int *)0x0;" (assignment_expression "apiStack_78[3] = (int *)0x0" (subscript_expression "apiStack_78[3]" identifier [ number_literal ]) = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "apiStack_78[2] = (int *)0x7ffffffd;" (assignment_expression "apiStack_78[2] = (int *)0x7ffffffd" (subscript_expression "apiStack_78[2]" identifier [ number_literal ]) = (cast_expression "(int *)0x7ffffffd" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "apiStack_78[1] = (int *)0x0;" (assignment_expression "apiStack_78[1] = (int *)0x0" (subscript_expression "apiStack_78[1]" identifier [ number_literal ]) = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "apiStack_78[0] = (int *)0x0;" (assignment_expression "apiStack_78[0] = (int *)0x0" (subscript_expression "apiStack_78[0]" identifier [ number_literal ]) = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = FUN_0010edb0(param_1);" (assignment_expression "iVar3 = FUN_0010edb0(param_1)" identifier = (call_expression "FUN_0010edb0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x1c)" identifier = (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }" { (while_statement "while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }" while (parenthesized_expression "(param_3 != iVar2)" ( (binary_expression "param_3 != iVar2" identifier != identifier) )) (compound_statement "{\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }" { (expression_statement "piVar4 = (int *)piVar4[2];" (assignment_expression "piVar4 = (int *)piVar4[2]" identifier = (cast_expression "(int *)piVar4[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[2]" identifier [ number_literal ]))) ;) (if_statement "if (piVar4 == (int *)0x0) goto LAB_0010f0fb;" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0010f0fb;" goto statement_identifier ;)) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) })) (expression_statement "piVar4[1] = iVar3;" (assignment_expression "piVar4[1] = iVar3" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0010f11e;" goto statement_identifier ;) })) }))) (expression_statement "*(int *)(param_2 + 0x1c) = param_3;" (assignment_expression "*(int *)(param_2 + 0x1c) = param_3" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_2 + 0x20) = iVar3;" (assignment_expression "*(int *)(param_2 + 0x20) = iVar3" (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_0010f11e:\n  aiStack_64[5] = 0;" statement_identifier : (expression_statement "aiStack_64[5] = 0;" (assignment_expression "aiStack_64[5] = 0" (subscript_expression "aiStack_64[5]" identifier [ number_literal ]) = number_literal) ;)) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[1] = param_1;" (assignment_expression "aiStack_64[1] = param_1" (subscript_expression "aiStack_64[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "aiStack_64[0] = param_5;" (assignment_expression "aiStack_64[0] = param_5" (subscript_expression "aiStack_64[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_78[3] = param_4;" (assignment_expression "apiStack_78[3] = param_4" (subscript_expression "apiStack_78[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_78[2] = (int *)0x10f140;" (assignment_expression "apiStack_78[2] = (int *)0x10f140" (subscript_expression "apiStack_78[2]" identifier [ number_literal ]) = (cast_expression "(int *)0x10f140" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_68 = param_2;" (assignment_expression "iStack_68 = param_2" identifier = identifier) ;) (expression_statement "aiStack_64[2] = iVar3;" (assignment_expression "aiStack_64[2] = iVar3" (subscript_expression "aiStack_64[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "(**(code **)(*param_4 + 100))();" (call_expression "(**(code **)(*param_4 + 100))()" (parenthesized_expression "(**(code **)(*param_4 + 100))" ( (pointer_expression "**(code **)(*param_4 + 100)" * (pointer_expression "*(code **)(*param_4 + 100)" * (cast_expression "(code **)(*param_4 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 100)" ( (binary_expression "*param_4 + 100" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (param_6 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "aiStack_64[2] = iVar3 + 8;" (assignment_expression "aiStack_64[2] = iVar3 + 8" (subscript_expression "aiStack_64[2]" identifier [ number_literal ]) = (binary_expression "iVar3 + 8" identifier + number_literal)) ;) (expression_statement "aiStack_64[5] = 0;" (assignment_expression "aiStack_64[5] = 0" (subscript_expression "aiStack_64[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "aiStack_64[1] = param_1;" (assignment_expression "aiStack_64[1] = param_1" (subscript_expression "aiStack_64[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "aiStack_64[0] = param_6;" (assignment_expression "aiStack_64[0] = param_6" (subscript_expression "aiStack_64[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_78[3] = param_4;" (assignment_expression "apiStack_78[3] = param_4" (subscript_expression "apiStack_78[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_78[2] = (int *)0x10f173;" (assignment_expression "apiStack_78[2] = (int *)0x10f173" (subscript_expression "apiStack_78[2]" identifier [ number_literal ]) = (cast_expression "(int *)0x10f173" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iStack_68 = param_2;" (assignment_expression "iStack_68 = param_2" identifier = identifier) ;) (expression_statement "(**(code **)(*param_4 + 100))();" (call_expression "(**(code **)(*param_4 + 100))()" (parenthesized_expression "(**(code **)(*param_4 + 100))" ( (pointer_expression "**(code **)(*param_4 + 100)" * (pointer_expression "*(code **)(*param_4 + 100)" * (cast_expression "(code **)(*param_4 + 100)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 100)" ( (binary_expression "*param_4 + 100" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int **ppiVar6;\n  int *apiStack_78 [4];\n  int iStack_68;\n  int aiStack_64 [8];\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  piVar4 = (int *)(param_2 + 0x1c);\n  if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }\n  *(int *)(param_2 + 0x1c) = param_3;\n  *(int *)(param_2 + 0x20) = iVar3;\nLAB_0010f11e:\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_5;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f140;\n  iStack_68 = param_2;\n  aiStack_64[2] = iVar3;\n  (**(code **)(*param_4 + 100))();\n  if (param_6 == 0) {\n    return;\n  }\n  aiStack_64[2] = iVar3 + 8;\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_6;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f173;\n  iStack_68 = param_2;\n  (**(code **)(*param_4 + 100))();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010efe0(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)" (identifier "FUN_0010efe0") (parameter_list "(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  undefined4 *puVar5;\n  int **ppiVar6;\n  int *apiStack_78 [4];\n  int iStack_68;\n  int aiStack_64 [8];\n  undefined4 local_44 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x10efe9;\n  piVar4 = (int *)(param_2 + 0x1c);\n  if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }\n  *(int *)(param_2 + 0x1c) = param_3;\n  *(int *)(param_2 + 0x20) = iVar3;\nLAB_0010f11e:\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_5;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f140;\n  iStack_68 = param_2;\n  aiStack_64[2] = iVar3;\n  (**(code **)(*param_4 + 100))();\n  if (param_6 == 0) {\n    return;\n  }\n  aiStack_64[2] = iVar3 + 8;\n  aiStack_64[5] = 0;\n  aiStack_64[4] = 0;\n  aiStack_64[3] = 0;\n  aiStack_64[1] = param_1;\n  aiStack_64[0] = param_6;\n  apiStack_78[3] = param_4;\n  apiStack_78[2] = (int *)0x10f173;\n  iStack_68 = param_2;\n  (**(code **)(*param_4 + 100))();\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int **ppiVar6;" (primitive_type "int") (pointer_declarator "**ppiVar6" (* "*") (pointer_declarator "*ppiVar6" (* "*") (identifier "ppiVar6"))) (; ";")) (declaration "int *apiStack_78 [4];" (primitive_type "int") (pointer_declarator "*apiStack_78 [4]" (* "*") (array_declarator "apiStack_78 [4]" (identifier "apiStack_78") ([ "[") (number_literal "4") (] "]"))) (; ";")) (declaration "int iStack_68;" (primitive_type "int") (identifier "iStack_68") (; ";")) (declaration "int aiStack_64 [8];" (primitive_type "int") (array_declarator "aiStack_64 [8]" (identifier "aiStack_64") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined4 local_44 [12];" (type_identifier "undefined4") (array_declarator "local_44 [12]" (identifier "local_44") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x10efe9;" (assignment_expression "uStack_14 = 0x10efe9" (identifier "uStack_14") (= "=") (number_literal "0x10efe9")) (; ";")) (expression_statement "piVar4 = (int *)(param_2 + 0x1c);" (assignment_expression "piVar4 = (int *)(param_2 + 0x1c)" (identifier "piVar4") (= "=") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (; ";")) (if_statement "if (piVar4 == (int *)0x0) {\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }\n  else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" (if "if") (parenthesized_expression "(piVar4 == (int *)0x0)" (( "(") (binary_expression "piVar4 == (int *)0x0" (identifier "piVar4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    puVar5 = local_44 + 5;\n    piVar4 = aiStack_64;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }\n    puVar5 = local_44;\n    ppiVar6 = apiStack_78;\n    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }\n    iVar3 = FUN_0010edb0(param_1);\n    if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }\n  }" ({ "{") (expression_statement "local_44[5] = 0;" (assignment_expression "local_44[5] = 0" (subscript_expression "local_44[5]" (identifier "local_44") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[6] = 0;" (assignment_expression "local_44[6] = 0" (subscript_expression "local_44[6]" (identifier "local_44") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[7] = 0x7ffffffd;" (assignment_expression "local_44[7] = 0x7ffffffd" (subscript_expression "local_44[7]" (identifier "local_44") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0x7ffffffd")) (; ";")) (expression_statement "local_44[8] = 0;" (assignment_expression "local_44[8] = 0" (subscript_expression "local_44[8]" (identifier "local_44") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[9] = 0;" (assignment_expression "local_44[9] = 0" (subscript_expression "local_44[9]" (identifier "local_44") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[0] = 0;" (assignment_expression "local_44[0] = 0" (subscript_expression "local_44[0]" (identifier "local_44") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[1] = 0;" (assignment_expression "local_44[1] = 0" (subscript_expression "local_44[1]" (identifier "local_44") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[2] = 0x7ffffffd;" (assignment_expression "local_44[2] = 0x7ffffffd" (subscript_expression "local_44[2]" (identifier "local_44") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x7ffffffd")) (; ";")) (expression_statement "local_44[3] = 0;" (assignment_expression "local_44[3] = 0" (subscript_expression "local_44[3]" (identifier "local_44") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[4] = 0;" (assignment_expression "local_44[4] = 0" (subscript_expression "local_44[4]" (identifier "local_44") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = local_44 + 5;" (assignment_expression "puVar5 = local_44 + 5" (identifier "puVar5") (= "=") (binary_expression "local_44 + 5" (identifier "local_44") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "piVar4 = aiStack_64;" (assignment_expression "piVar4 = aiStack_64" (identifier "piVar4") (= "=") (identifier "aiStack_64")) (; ";")) (for_statement "for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar3 = 5" (identifier "iVar3") (= "=") (number_literal "5")) (; ";") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *piVar4 = *puVar5;\n      puVar5 = puVar5 + 1;\n      piVar4 = piVar4 + 1;\n    }" ({ "{") (expression_statement "*piVar4 = *puVar5;" (assignment_expression "*piVar4 = *puVar5" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar4 = piVar4 + 1;" (assignment_expression "piVar4 = piVar4 + 1" (identifier "piVar4") (= "=") (binary_expression "piVar4 + 1" (identifier "piVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "puVar5 = local_44;" (assignment_expression "puVar5 = local_44" (identifier "puVar5") (= "=") (identifier "local_44")) (; ";")) (expression_statement "ppiVar6 = apiStack_78;" (assignment_expression "ppiVar6 = apiStack_78" (identifier "ppiVar6") (= "=") (identifier "apiStack_78")) (; ";")) (for_statement "for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar3 = 5" (identifier "iVar3") (= "=") (number_literal "5")) (; ";") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *ppiVar6 = (int *)*puVar5;\n      puVar5 = puVar5 + 1;\n      ppiVar6 = ppiVar6 + 1;\n    }" ({ "{") (expression_statement "*ppiVar6 = (int *)*puVar5;" (assignment_expression "*ppiVar6 = (int *)*puVar5" (pointer_expression "*ppiVar6" (* "*") (identifier "ppiVar6")) (= "=") (cast_expression "(int *)*puVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "ppiVar6 = ppiVar6 + 1;" (assignment_expression "ppiVar6 = ppiVar6 + 1" (identifier "ppiVar6") (= "=") (binary_expression "ppiVar6 + 1" (identifier "ppiVar6") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_0010edb0(param_1);" (assignment_expression "iVar3 = FUN_0010edb0(param_1)" (identifier "iVar3") (= "=") (call_expression "FUN_0010edb0(param_1)" (identifier "FUN_0010edb0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (*(int *)(param_2 + 0x1c) != -1) {\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x1c) != -1)" (( "(") (binary_expression "*(int *)(param_2 + 0x1c) != -1" (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\nLAB_0010f0fb:\n      aiStack_64[2] = 0xc;\n      aiStack_64[1] = 0x10f109;\n      piVar4 = (int *)FUN_001e5210();\n      *piVar4 = param_3;\n      iVar2 = *(int *)(param_2 + 0x24);\n      piVar4[1] = iVar3;\n      *(int **)(param_2 + 0x24) = piVar4;\n      piVar4[2] = iVar2;\n      goto LAB_0010f11e;\n    }" ({ "{") (labeled_statement "LAB_0010f0fb:\n      aiStack_64[2] = 0xc;" (statement_identifier "LAB_0010f0fb") (: ":") (expression_statement "aiStack_64[2] = 0xc;" (assignment_expression "aiStack_64[2] = 0xc" (subscript_expression "aiStack_64[2]" (identifier "aiStack_64") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xc")) (; ";"))) (expression_statement "aiStack_64[1] = 0x10f109;" (assignment_expression "aiStack_64[1] = 0x10f109" (subscript_expression "aiStack_64[1]" (identifier "aiStack_64") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x10f109")) (; ";")) (expression_statement "piVar4 = (int *)FUN_001e5210();" (assignment_expression "piVar4 = (int *)FUN_001e5210()" (identifier "piVar4") (= "=") (cast_expression "(int *)FUN_001e5210()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5210()" (identifier "FUN_001e5210") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*piVar4 = param_3;" (assignment_expression "*piVar4 = param_3" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0x24);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x24)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x24)" (* "*") (cast_expression "(int *)(param_2 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "piVar4[1] = iVar3;" (assignment_expression "piVar4[1] = iVar3" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int **)(param_2 + 0x24) = piVar4;" (assignment_expression "*(int **)(param_2 + 0x24) = piVar4" (pointer_expression "*(int **)(param_2 + 0x24)" (* "*") (cast_expression "(int **)(param_2 + 0x24)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 0x24)" (( "(") (binary_expression "param_2 + 0x24" (identifier "param_2") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar4[2] = iVar2;" (assignment_expression "piVar4[2] = iVar2" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (goto_statement "goto LAB_0010f11e;" (goto "goto") (statement_identifier "LAB_0010f11e") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" (else "else") (compound_statement "{\n    iVar3 = *(int *)(param_2 + 0x1c);\n    piVar1 = piVar4;\n    while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }\n    if (piVar1[1] != -1) {\n      return;\n    }\nLAB_0010f027:\n    local_44[5] = 0;\n    local_44[6] = 0;\n    local_44[7] = 0x7ffffffd;\n    local_44[8] = 0;\n    local_44[9] = 0;\n    local_44[0] = 0;\n    local_44[1] = 0;\n    local_44[2] = 0x7ffffffd;\n    local_44[3] = 0;\n    local_44[4] = 0;\n    aiStack_64[4] = 0;\n    aiStack_64[3] = 0;\n    aiStack_64[2] = 0x7ffffffd;\n    aiStack_64[1] = 0;\n    aiStack_64[0] = 0;\n    iStack_68 = 0;\n    apiStack_78[3] = (int *)0x0;\n    apiStack_78[2] = (int *)0x7ffffffd;\n    apiStack_78[1] = (int *)0x0;\n    apiStack_78[0] = (int *)0x0;\n    iVar3 = FUN_0010edb0(param_1);\n    iVar2 = *(int *)(param_2 + 0x1c);\n    if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x1c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "piVar1 = piVar4;" (assignment_expression "piVar1 = piVar4" (identifier "piVar1") (= "=") (identifier "piVar4")) (; ";")) (while_statement "while (param_3 != iVar3) {\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }" (while "while") (parenthesized_expression "(param_3 != iVar3)" (( "(") (binary_expression "param_3 != iVar3" (identifier "param_3") (!= "!=") (identifier "iVar3")) () ")")) (compound_statement "{\n      piVar1 = (int *)piVar1[2];\n      if (piVar1 == (int *)0x0) goto LAB_0010f027;\n      iVar3 = *piVar1;\n    }" ({ "{") (expression_statement "piVar1 = (int *)piVar1[2];" (assignment_expression "piVar1 = (int *)piVar1[2]" (identifier "piVar1") (= "=") (cast_expression "(int *)piVar1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) goto LAB_0010f027;" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0010f027;" (goto "goto") (statement_identifier "LAB_0010f027") (; ";"))) (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" (identifier "iVar3") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (} "}"))) (if_statement "if (piVar1[1] != -1) {\n      return;\n    }" (if "if") (parenthesized_expression "(piVar1[1] != -1)" (( "(") (binary_expression "piVar1[1] != -1" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_0010f027:\n    local_44[5] = 0;" (statement_identifier "LAB_0010f027") (: ":") (expression_statement "local_44[5] = 0;" (assignment_expression "local_44[5] = 0" (subscript_expression "local_44[5]" (identifier "local_44") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "local_44[6] = 0;" (assignment_expression "local_44[6] = 0" (subscript_expression "local_44[6]" (identifier "local_44") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[7] = 0x7ffffffd;" (assignment_expression "local_44[7] = 0x7ffffffd" (subscript_expression "local_44[7]" (identifier "local_44") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0x7ffffffd")) (; ";")) (expression_statement "local_44[8] = 0;" (assignment_expression "local_44[8] = 0" (subscript_expression "local_44[8]" (identifier "local_44") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[9] = 0;" (assignment_expression "local_44[9] = 0" (subscript_expression "local_44[9]" (identifier "local_44") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[0] = 0;" (assignment_expression "local_44[0] = 0" (subscript_expression "local_44[0]" (identifier "local_44") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[1] = 0;" (assignment_expression "local_44[1] = 0" (subscript_expression "local_44[1]" (identifier "local_44") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[2] = 0x7ffffffd;" (assignment_expression "local_44[2] = 0x7ffffffd" (subscript_expression "local_44[2]" (identifier "local_44") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x7ffffffd")) (; ";")) (expression_statement "local_44[3] = 0;" (assignment_expression "local_44[3] = 0" (subscript_expression "local_44[3]" (identifier "local_44") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44[4] = 0;" (assignment_expression "local_44[4] = 0" (subscript_expression "local_44[4]" (identifier "local_44") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" (identifier "aiStack_64") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" (identifier "aiStack_64") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[2] = 0x7ffffffd;" (assignment_expression "aiStack_64[2] = 0x7ffffffd" (subscript_expression "aiStack_64[2]" (identifier "aiStack_64") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x7ffffffd")) (; ";")) (expression_statement "aiStack_64[1] = 0;" (assignment_expression "aiStack_64[1] = 0" (subscript_expression "aiStack_64[1]" (identifier "aiStack_64") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[0] = 0;" (assignment_expression "aiStack_64[0] = 0" (subscript_expression "aiStack_64[0]" (identifier "aiStack_64") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_68 = 0;" (assignment_expression "iStack_68 = 0" (identifier "iStack_68") (= "=") (number_literal "0")) (; ";")) (expression_statement "apiStack_78[3] = (int *)0x0;" (assignment_expression "apiStack_78[3] = (int *)0x0" (subscript_expression "apiStack_78[3]" (identifier "apiStack_78") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "apiStack_78[2] = (int *)0x7ffffffd;" (assignment_expression "apiStack_78[2] = (int *)0x7ffffffd" (subscript_expression "apiStack_78[2]" (identifier "apiStack_78") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int *)0x7ffffffd" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x7ffffffd"))) (; ";")) (expression_statement "apiStack_78[1] = (int *)0x0;" (assignment_expression "apiStack_78[1] = (int *)0x0" (subscript_expression "apiStack_78[1]" (identifier "apiStack_78") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "apiStack_78[0] = (int *)0x0;" (assignment_expression "apiStack_78[0] = (int *)0x0" (subscript_expression "apiStack_78[0]" (identifier "apiStack_78") ([ "[") (number_literal "0") (] "]")) (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar3 = FUN_0010edb0(param_1);" (assignment_expression "iVar3 = FUN_0010edb0(param_1)" (identifier "iVar3") (= "=") (call_expression "FUN_0010edb0(param_1)" (identifier "FUN_0010edb0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0x1c);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar2 != -1) {\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }" (if "if") (parenthesized_expression "(iVar2 != -1)" (( "(") (binary_expression "iVar2 != -1" (identifier "iVar2") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }\n      piVar4[1] = iVar3;\n      goto LAB_0010f11e;\n    }" ({ "{") (while_statement "while (param_3 != iVar2) {\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }" (while "while") (parenthesized_expression "(param_3 != iVar2)" (( "(") (binary_expression "param_3 != iVar2" (identifier "param_3") (!= "!=") (identifier "iVar2")) () ")")) (compound_statement "{\n        piVar4 = (int *)piVar4[2];\n        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;\n        iVar2 = *piVar4;\n      }" ({ "{") (expression_statement "piVar4 = (int *)piVar4[2];" (assignment_expression "piVar4 = (int *)piVar4[2]" (identifier "piVar4") (= "=") (cast_expression "(int *)piVar4[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (piVar4 == (int *)0x0) goto LAB_0010f0fb;" (if "if") (parenthesized_expression "(piVar4 == (int *)0x0)" (( "(") (binary_expression "piVar4 == (int *)0x0" (identifier "piVar4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0010f0fb;" (goto "goto") (statement_identifier "LAB_0010f0fb") (; ";"))) (expression_statement "iVar2 = *piVar4;" (assignment_expression "iVar2 = *piVar4" (identifier "iVar2") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (} "}"))) (expression_statement "piVar4[1] = iVar3;" (assignment_expression "piVar4[1] = iVar3" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (goto_statement "goto LAB_0010f11e;" (goto "goto") (statement_identifier "LAB_0010f11e") (; ";")) (} "}"))) (} "}")))) (expression_statement "*(int *)(param_2 + 0x1c) = param_3;" (assignment_expression "*(int *)(param_2 + 0x1c) = param_3" (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(int *)(param_2 + 0x20) = iVar3;" (assignment_expression "*(int *)(param_2 + 0x20) = iVar3" (pointer_expression "*(int *)(param_2 + 0x20)" (* "*") (cast_expression "(int *)(param_2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (labeled_statement "LAB_0010f11e:\n  aiStack_64[5] = 0;" (statement_identifier "LAB_0010f11e") (: ":") (expression_statement "aiStack_64[5] = 0;" (assignment_expression "aiStack_64[5] = 0" (subscript_expression "aiStack_64[5]" (identifier "aiStack_64") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" (identifier "aiStack_64") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" (identifier "aiStack_64") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[1] = param_1;" (assignment_expression "aiStack_64[1] = param_1" (subscript_expression "aiStack_64[1]" (identifier "aiStack_64") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "aiStack_64[0] = param_5;" (assignment_expression "aiStack_64[0] = param_5" (subscript_expression "aiStack_64[0]" (identifier "aiStack_64") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "apiStack_78[3] = param_4;" (assignment_expression "apiStack_78[3] = param_4" (subscript_expression "apiStack_78[3]" (identifier "apiStack_78") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "apiStack_78[2] = (int *)0x10f140;" (assignment_expression "apiStack_78[2] = (int *)0x10f140" (subscript_expression "apiStack_78[2]" (identifier "apiStack_78") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int *)0x10f140" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x10f140"))) (; ";")) (expression_statement "iStack_68 = param_2;" (assignment_expression "iStack_68 = param_2" (identifier "iStack_68") (= "=") (identifier "param_2")) (; ";")) (expression_statement "aiStack_64[2] = iVar3;" (assignment_expression "aiStack_64[2] = iVar3" (subscript_expression "aiStack_64[2]" (identifier "aiStack_64") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "(**(code **)(*param_4 + 100))();" (call_expression "(**(code **)(*param_4 + 100))()" (parenthesized_expression "(**(code **)(*param_4 + 100))" (( "(") (pointer_expression "**(code **)(*param_4 + 100)" (* "*") (pointer_expression "*(code **)(*param_4 + 100)" (* "*") (cast_expression "(code **)(*param_4 + 100)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_4 + 100)" (( "(") (binary_expression "*param_4 + 100" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (+ "+") (number_literal "100")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_6 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_6 == 0)" (( "(") (binary_expression "param_6 == 0" (identifier "param_6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "aiStack_64[2] = iVar3 + 8;" (assignment_expression "aiStack_64[2] = iVar3 + 8" (subscript_expression "aiStack_64[2]" (identifier "aiStack_64") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "aiStack_64[5] = 0;" (assignment_expression "aiStack_64[5] = 0" (subscript_expression "aiStack_64[5]" (identifier "aiStack_64") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[4] = 0;" (assignment_expression "aiStack_64[4] = 0" (subscript_expression "aiStack_64[4]" (identifier "aiStack_64") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[3] = 0;" (assignment_expression "aiStack_64[3] = 0" (subscript_expression "aiStack_64[3]" (identifier "aiStack_64") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "aiStack_64[1] = param_1;" (assignment_expression "aiStack_64[1] = param_1" (subscript_expression "aiStack_64[1]" (identifier "aiStack_64") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "aiStack_64[0] = param_6;" (assignment_expression "aiStack_64[0] = param_6" (subscript_expression "aiStack_64[0]" (identifier "aiStack_64") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "apiStack_78[3] = param_4;" (assignment_expression "apiStack_78[3] = param_4" (subscript_expression "apiStack_78[3]" (identifier "apiStack_78") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "apiStack_78[2] = (int *)0x10f173;" (assignment_expression "apiStack_78[2] = (int *)0x10f173" (subscript_expression "apiStack_78[2]" (identifier "apiStack_78") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int *)0x10f173" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x10f173"))) (; ";")) (expression_statement "iStack_68 = param_2;" (assignment_expression "iStack_68 = param_2" (identifier "iStack_68") (= "=") (identifier "param_2")) (; ";")) (expression_statement "(**(code **)(*param_4 + 100))();" (call_expression "(**(code **)(*param_4 + 100))()" (parenthesized_expression "(**(code **)(*param_4 + 100))" (( "(") (pointer_expression "**(code **)(*param_4 + 100)" (* "*") (pointer_expression "*(code **)(*param_4 + 100)" (* "*") (cast_expression "(code **)(*param_4 + 100)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_4 + 100)" (( "(") (binary_expression "*param_4 + 100" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (+ "+") (number_literal "100")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void add_global_pair_with_rel(Output_data_got<64,_false> * this, Symbol
   * gsym, uint got_type, Output_data_reloc_generic * rel_dyn, uint r_type_1, uint r_type_2) */

void __thiscall
gold::Output_data_got<64,_false>::add_global_pair_with_rel
          (Output_data_got<64,_false> *this,Symbol *gsym,type_2 var_8,
          Output_data_reloc_generic *rel_dyn,type_2 r_type_1,type_2 var_13)

{
  type_2 var_12;
  type_1 got_entry_1;
  type_1 got_entry_1_00;
  type_1 got_entry_2;
  type_1 got_entry_2_00;
  type_2 var_9;
  type_3 *var_10;
  int var_3;
  type_3 *var_1;
  type_4 *var_4;
  type_4 *var_5;
  type_4 in_stack_ffffff88;
  type_4 in_stack_ffffff8c;
  type_4 in_stack_ffffff90;
  type_4 in_stack_ffffff94;
  type_4 in_stack_ffffff98;
  type_4 in_stack_ffffff9c;
  type_4 in_stack_ffffffa0;
  type_4 in_stack_ffffffa4;
  type_4 in_stack_ffffffa8;
  type_4 in_stack_ffffffac;
  type_4 var_2 [12];
  type_4 uStack_14;
  
  uStack_14 = 0x10efe9;
  var_1 = &gsym->got_offsets_;
  if (var_1 == (type_3 *)0x0) {
    var_2[5] = 0;
    var_2[6] = 0;
    var_2[7] = 0x7ffffffd;
    var_2[8] = 0;
    var_2[9] = 0;
    var_2[0] = 0;
    var_2[1] = 0;
    var_2[2] = 0x7ffffffd;
    var_2[3] = 0;
    var_2[4] = 0;
    var_4 = var_2 + 5;
    var_5 = (type_4 *)&stack0xffffff9c;
    for (var_3 = 5; var_3 != 0; var_3 = var_3 + -1) {
      *var_5 = *var_4;
      var_4 = var_4 + 1;
      var_5 = var_5 + 1;
    }
    var_4 = var_2;
    var_5 = (type_4 *)&stack0xffffff88;
    for (var_3 = 5; var_3 != 0; var_3 = var_3 + -1) {
      *var_5 = *var_4;
      var_4 = var_4 + 1;
      var_5 = var_5 + 1;
    }
    got_entry_1_00.u_.constant._4_4_ = in_stack_ffffff8c;
    got_entry_1_00.u_.object = (type_5 *)in_stack_ffffff88;
    got_entry_1_00._8_4_ = in_stack_ffffff90;
    got_entry_1_00.addend_._0_4_ = in_stack_ffffff94;
    got_entry_1_00.addend_._4_4_ = in_stack_ffffff98;
    got_entry_2_00.u_.constant._4_4_ = in_stack_ffffffa0;
    got_entry_2_00.u_.object = (type_5 *)in_stack_ffffff9c;
    got_entry_2_00._8_4_ = in_stack_ffffffa4;
    got_entry_2_00.addend_._0_4_ = in_stack_ffffffa8;
    got_entry_2_00.addend_._4_4_ = in_stack_ffffffac;
    var_9 = var_6(this,got_entry_1_00,got_entry_2_00);
    if ((gsym->got_offsets_).got_type_ != 0xffffffff) {
LAB_0010f0fb:
      var_10 = (type_3 *)var_7(0xc);
      var_10->got_type_ = var_8;
      var_1 = (gsym->got_offsets_).got_next_;
      var_10->got_offset_ = var_9;
      (gsym->got_offsets_).got_next_ = var_10;
      var_10->got_next_ = var_1;
      goto LAB_0010f11e;
    }
  }
  else {
    var_9 = (gsym->got_offsets_).got_type_;
    var_10 = var_1;
    while (var_8 != var_9) {
      var_10 = var_10->got_next_;
      if (var_10 == (type_3 *)0x0) goto LAB_0010f027;
      var_9 = var_10->got_type_;
    }
    if (var_10->got_offset_ != 0xffffffff) {
      return;
    }
LAB_0010f027:
    var_2[5] = 0;
    var_2[6] = 0;
    var_2[7] = 0x7ffffffd;
    var_2[8] = 0;
    var_2[9] = 0;
    var_2[0] = 0;
    var_2[1] = 0;
    var_2[2] = 0x7ffffffd;
    var_2[3] = 0;
    var_2[4] = 0;
    got_entry_1.addend_ = 0;
    got_entry_1._0_12_ = var_11(0x7ffffffd) << 0x40;
    got_entry_2.addend_ = 0;
    got_entry_2._0_12_ = var_11(0x7ffffffd) << 0x40;
    var_9 = var_6(this,got_entry_1,got_entry_2);
    var_12 = (gsym->got_offsets_).got_type_;
    if (var_12 != 0xffffffff) {
      while (var_8 != var_12) {
        var_1 = var_1->got_next_;
        if (var_1 == (type_3 *)0x0) goto LAB_0010f0fb;
        var_12 = var_1->got_type_;
      }
      var_1->got_offset_ = var_9;
      goto LAB_0010f11e;
    }
  }
  (gsym->got_offsets_).got_type_ = var_8;
  (gsym->got_offsets_).got_offset_ = var_9;
LAB_0010f11e:
  (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.
    _vptr_Output_data[0x19])();
  if (var_13 == 0) {
    return;
  }
  (*(rel_dyn->super_Output_section_data_build).super_Output_section_data.super_Output_data.
    _vptr_Output_data[0x19])();
  return;
}


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

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

void MASKED(undefined4 param_1,int param_2,int param_3,int *param_4,int param_5,int param_6)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  undefined4 *puVar5;
  int **ppiVar6;
  int *apiStack_78 [4];
  int iStack_68;
  int aiStack_64 [8];
  undefined4 local_44 [12];
  undefined4 uStack_14;
  
  uStack_14 = 0x10efe9;
  piVar4 = (int *)(param_2 + 0x1c);
  if (piVar4 == (int *)0x0) {
    local_44[5] = 0;
    local_44[6] = 0;
    local_44[7] = 0x7ffffffd;
    local_44[8] = 0;
    local_44[9] = 0;
    local_44[0] = 0;
    local_44[1] = 0;
    local_44[2] = 0x7ffffffd;
    local_44[3] = 0;
    local_44[4] = 0;
    puVar5 = local_44 + 5;
    piVar4 = aiStack_64;
    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {
      *piVar4 = *puVar5;
      puVar5 = puVar5 + 1;
      piVar4 = piVar4 + 1;
    }
    puVar5 = local_44;
    ppiVar6 = apiStack_78;
    for (iVar3 = 5; iVar3 != 0; iVar3 = iVar3 + -1) {
      *ppiVar6 = (int *)*puVar5;
      puVar5 = puVar5 + 1;
      ppiVar6 = ppiVar6 + 1;
    }
    iVar3 = FUN_0010edb0(param_1);
    if (*(int *)(param_2 + 0x1c) != -1) {
LAB_0010f0fb:
      aiStack_64[2] = 0xc;
      aiStack_64[1] = 0x10f109;
      piVar4 = (int *)FUN_001e5210();
      *piVar4 = param_3;
      iVar2 = *(int *)(param_2 + 0x24);
      piVar4[1] = iVar3;
      *(int **)(param_2 + 0x24) = piVar4;
      piVar4[2] = iVar2;
      goto LAB_0010f11e;
    }
  }
  else {
    iVar3 = *(int *)(param_2 + 0x1c);
    piVar1 = piVar4;
    while (param_3 != iVar3) {
      piVar1 = (int *)piVar1[2];
      if (piVar1 == (int *)0x0) goto LAB_0010f027;
      iVar3 = *piVar1;
    }
    if (piVar1[1] != -1) {
      return;
    }
LAB_0010f027:
    local_44[5] = 0;
    local_44[6] = 0;
    local_44[7] = 0x7ffffffd;
    local_44[8] = 0;
    local_44[9] = 0;
    local_44[0] = 0;
    local_44[1] = 0;
    local_44[2] = 0x7ffffffd;
    local_44[3] = 0;
    local_44[4] = 0;
    aiStack_64[4] = 0;
    aiStack_64[3] = 0;
    aiStack_64[2] = 0x7ffffffd;
    aiStack_64[1] = 0;
    aiStack_64[0] = 0;
    iStack_68 = 0;
    apiStack_78[3] = (int *)0x0;
    apiStack_78[2] = (int *)0x7ffffffd;
    apiStack_78[1] = (int *)0x0;
    apiStack_78[0] = (int *)0x0;
    iVar3 = FUN_0010edb0(param_1);
    iVar2 = *(int *)(param_2 + 0x1c);
    if (iVar2 != -1) {
      while (param_3 != iVar2) {
        piVar4 = (int *)piVar4[2];
        if (piVar4 == (int *)0x0) goto LAB_0010f0fb;
        iVar2 = *piVar4;
      }
      piVar4[1] = iVar3;
      goto LAB_0010f11e;
    }
  }
  *(int *)(param_2 + 0x1c) = param_3;
  *(int *)(param_2 + 0x20) = iVar3;
LAB_0010f11e:
  aiStack_64[5] = 0;
  aiStack_64[4] = 0;
  aiStack_64[3] = 0;
  aiStack_64[1] = param_1;
  aiStack_64[0] = param_5;
  apiStack_78[3] = param_4;
  apiStack_78[2] = (int *)0x10f140;
  iStack_68 = param_2;
  aiStack_64[2] = iVar3;
  (**(code **)(*param_4 + 100))();
  if (param_6 == 0) {
    return;
  }
  aiStack_64[2] = iVar3 + 8;
  aiStack_64[5] = 0;
  aiStack_64[4] = 0;
  aiStack_64[3] = 0;
  aiStack_64[1] = param_1;
  aiStack_64[0] = param_6;
  apiStack_78[3] = param_4;
  apiStack_78[2] = (int *)0x10f173;
  iStack_68 = param_2;
  (**(code **)(*param_4 + 100))();
  return;
}

