
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void update_offset_map(Arm_exidx_fixup * this, section_offset_type
   input_offset, section_size_type deleted_bytes, bool delete_entry) */

void __thiscall
anon_unknown.dwarf_91258a::Arm_exidx_fixup::update_offset_map
          (Arm_exidx_fixup *this,section_offset_type input_offset,section_size_type deleted_bytes,
          bool delete_entry)

{
}



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

void __regparm3 FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  uint uVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int iVar8;
  bool bVar9;
  undefined1 auStack_40 [4];
  undefined1 auStack_3c [4];
  int local_38;
  int local_34;
  int local_30;
  int local_2c;
  int local_28;
  int local_24 [4];
  undefined4 uStack_14;
  
  uStack_14 = 0x11f2db;
  puVar6 = auStack_3c;
  iVar4 = *(int *)(param_1 + 0x10);
  if (iVar4 == 0) {
    local_30 = param_4;
    local_34 = param_3;
    iVar4 = FUN_003ac4d0(0x18);
    *(undefined4 *)(iVar4 + 4) = 0;
    local_38 = iVar4 + 4;
    *(undefined4 *)(iVar4 + 8) = 0;
    *(int *)(iVar4 + 0xc) = local_38;
    *(int *)(iVar4 + 0x10) = local_38;
    iVar2 = param_2 - local_34;
    *(undefined4 *)(iVar4 + 0x14) = 0;
    *(int *)(param_1 + 0x10) = iVar4;
    local_34 = -1;
    if ((char)local_30 == '\0') {
      local_34 = iVar2;
    }
LAB_0011f4fa:
    iVar2 = FUN_003ac4d0(0x18);
    *(int *)(iVar2 + 0x10) = param_2;
    *(undefined4 *)(iVar2 + 0x14) = 0;
    if ((*(int *)(iVar4 + 0x14) == 0) ||
       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {
      iVar3 = iVar2 + 0x10;
      local_28 = iVar2;
LAB_0011f443:
      puVar7 = auStack_40;
      puVar6 = auStack_40;
      FUN_001445e0(local_24,iVar4,iVar3);
      local_30 = local_28;
      local_34 = local_28;
      iVar2 = local_2c;
      iVar8 = local_28;
      if (local_24[0] == 0) {
LAB_0011f472:
        *(int *)(puVar7 + -0x10) = iVar2;
        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;
        FUN_003ae080();
        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);
        return;
      }
LAB_0011f3ae:
      bVar9 = *(int *)(puVar6 + 0xc) != 0;
      iVar3 = local_24[0];
      iVar8 = local_2c;
    }
    else {
LAB_0011f53a:
      puVar6 = auStack_3c;
      bVar9 = false;
      iVar8 = iVar2;
    }
  }
  else {
    local_38 = iVar4 + 4;
    local_34 = -1;
    if ((char)param_4 == '\0') {
      local_34 = param_2 - param_3;
    }
    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;
    iVar2 = *(int *)(iVar4 + 8);
    iVar3 = iVar4 + 4;
    do {
      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {
        iVar2 = *(int *)(iVar8 + 8);
        iVar3 = iVar8;
        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;
      }
      piVar1 = (int *)(iVar8 + 0xc);
      iVar2 = *piVar1;
      iVar8 = iVar3;
    } while (*piVar1 != 0);
LAB_0011f335:
    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;
    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;
    iVar2 = FUN_003ac4d0(0x18);
    puVar7 = auStack_3c;
    puVar6 = auStack_3c;
    *(int *)(iVar2 + 0x10) = param_2;
    *(undefined4 *)(iVar2 + 0x14) = 0;
    iVar3 = iVar8;
    if (*(int *)(iVar8 + 0x10) <= param_2) {
      local_30 = iVar2 + 0x10;
      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;
      if (*(int *)(iVar4 + 0x10) != iVar8) {
        local_2c = iVar2;
        iVar3 = FUN_003af660(iVar8);
        puVar6 = auStack_3c;
        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;
        if (*(int *)(iVar8 + 0xc) == 0) {
          iVar3 = iVar8;
        }
        bVar9 = *(int *)(iVar8 + 0xc) != 0;
        iVar8 = local_2c;
        goto LAB_0011f3b7;
      }
      goto LAB_0011f53a;
    }
    local_30 = iVar2 + 0x10;
    if (*(int *)(iVar4 + 0xc) != iVar8) {
      local_2c = iVar2;
      iVar3 = FUN_003af6c0(iVar8);
      puVar6 = auStack_3c;
      if (param_2 <= *(int *)(iVar3 + 0x10)) {
LAB_0011f438:
        local_28 = local_2c;
        iVar3 = local_30;
        goto LAB_0011f443;
      }
      iVar2 = local_2c;
      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;
      local_30 = iVar8;
      local_24[0] = iVar8;
      goto LAB_0011f3ae;
    }
    bVar9 = true;
    iVar8 = iVar2;
  }
LAB_0011f3b7:
  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {
    uVar5 = 1;
  }
  else {
    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));
  }
  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);
  *(int *)(puVar6 + -8) = iVar3;
  *(int *)(puVar6 + -0xc) = iVar8;
  *(uint *)(puVar6 + -0x10) = uVar5;
  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;
  FUN_003af7a0();
  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;
LAB_0011f3dd:
  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x4cad25
SUB ESP,0x2c
MOV ESI,dword ptr [EAX + 0x10]
MOV EDX,dword ptr [ESP + 0x40]
TEST ESI,ESI
JZ 0x0011f4a0
MOV EBP,EDI
LEA EAX,[ESI + 0x4]
SUB EBP,ECX
TEST DL,DL
MOV EDX,0xffffffff
MOV dword ptr [ESP + 0x4],EAX
CMOVZ EDX,EBP
MOV EAX,dword ptr [ESI + 0x8]
MOV dword ptr [ESP + 0x8],EDX
TEST EAX,EAX
JZ 0x0011f4fa
LEA EBP,[ESI + 0x4]
JMP 0x0011f329
MOV EBP,EAX
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x0011f335
CMP dword ptr [EAX + 0x10],EDI
JGE 0x0011f320
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JNZ 0x0011f329
CMP dword ptr [ESP + 0x4],EBP
JZ 0x0011f4fa
CMP dword ptr [EBP + 0x10],EDI
JLE 0x0011f3dd
SUB ESP,0xc
PUSH 0x18
CALL 0x003ac4d0
ADD ESP,0x10
MOV EDX,EAX
MOV dword ptr [EAX + 0x10],EDI
LEA ECX,[EAX + 0x10]
MOV dword ptr [EAX + 0x14],0x0
CMP EDI,dword ptr [EBP + 0x10]
JGE 0x0011f3f0
MOV dword ptr [ESP + 0xc],ECX
CMP dword ptr [ESI + 0xc],EBP
JZ 0x0011f490
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0xc
PUSH EBP
CALL 0x003af6c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0xc]
CMP EDI,dword ptr [EAX + 0x10]
JLE 0x0011f438
MOV ECX,dword ptr [EAX + 0xc]
TEST ECX,ECX
JZ 0x0011f53a
MOV EAX,EBP
MOV dword ptr [ESP + 0xc],EBP
MOV EBP,EDX
MOV ECX,dword ptr [ESP + 0xc]
TEST ECX,ECX
SETNZ CL
CMP dword ptr [ESP + 0x4],EAX
JZ 0x0011f3c5
TEST CL,CL
JZ 0x0011f548
MOV ECX,0x1
PUSH dword ptr [ESP + 0x4]
PUSH EAX
PUSH EDX
PUSH ECX
CALL 0x003af7a0
ADD dword ptr [ESI + 0x14],0x1
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EBP + 0x14],EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0xc],ECX
JLE 0x0011f472
CMP dword ptr [ESI + 0x10],EBP
JZ 0x0011f538
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0xc
PUSH EBP
CALL 0x003af660
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0xc]
CMP EDI,dword ptr [EAX + 0x10]
JGE 0x0011f438
MOV ECX,dword ptr [EBP + 0xc]
TEST ECX,ECX
CMOVZ EAX,EBP
CMP dword ptr [EBP + 0xc],0x1
MOV EBP,EDX
SBB ECX,ECX
ADD ECX,0x1
JMP 0x0011f3b7
MOV dword ptr [ESP + 0x14],EDX
LEA EAX,[ESP + 0x18]
SUB ESP,0x4
PUSH ECX
PUSH ESI
PUSH EAX
CALL 0x001445e0
MOV EAX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0xc
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,ECX
MOV EBP,EDX
TEST ECX,ECX
JNZ 0x0011f3ae
MOV EBP,dword ptr [ESP + 0x10]
SUB ESP,0xc
PUSH EDX
CALL 0x003ae080
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [EBP + 0x14],EAX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,EBP
MOV ECX,0x1
MOV EBP,EDX
JMP 0x0011f3b7
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
MOV EBP,EAX
MOV dword ptr [ESP + 0x14],ECX
PUSH 0x18
CALL 0x003ac4d0
MOV dword ptr [EAX + 0x4],0x0
MOV ESI,EAX
LEA EAX,[EAX + 0x4]
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [ESI + 0xc],EAX
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,EDI
SUB EAX,ECX
TEST DL,DL
MOV dword ptr [ESI + 0x14],0x0
MOV ECX,EAX
MOV EAX,0xffffffff
MOV dword ptr [EBP + 0x10],ESI
CMOVZ EAX,ECX
MOV dword ptr [ESP + 0x8],EAX
SUB ESP,0xc
PUSH 0x18
CALL 0x003ac4d0
ADD ESP,0x10
MOV EDX,EAX
MOV dword ptr [EAX + 0x10],EDI
MOV dword ptr [EAX + 0x14],0x0
MOV EAX,dword ptr [ESI + 0x14]
TEST EAX,EAX
JZ 0x0011f522
MOV EAX,dword ptr [ESI + 0x10]
CMP EDI,dword ptr [EAX + 0x10]
JG 0x0011f53a
LEA EAX,[ESP + 0x18]
SUB ESP,0x4
LEA ECX,[EDX + 0x10]
MOV dword ptr [ESP + 0x18],EDX
JMP 0x0011f443
MOV EAX,EBP
XOR ECX,ECX
MOV EBP,EDX
JMP 0x0011f3b7
XOR ECX,ECX
CMP EDI,dword ptr [EAX + 0x10]
SETL CL
JMP 0x0011f3ca
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  bool bVar9;\n  undefined1 auStack_40 [4];\n  undefined1 auStack_3c [4];\n  int local_38;\n  int local_34;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x11f2db;\n  puVar6 = auStack_3c;\n  iVar4 = *(int *)(param_1 + 0x10);\n  if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }\nLAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }\n  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);\n  *(int *)(puVar6 + -8) = iVar3;\n  *(int *)(puVar6 + -0xc) = iVar8;\n  *(uint *)(puVar6 + -0x10) = uVar5;\n  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;\n  FUN_003af7a0();\n  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;\nLAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  bool bVar9;\n  undefined1 auStack_40 [4];\n  undefined1 auStack_3c [4];\n  int local_38;\n  int local_34;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x11f2db;\n  puVar6 = auStack_3c;\n  iVar4 = *(int *)(param_1 + 0x10);\n  if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }\nLAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }\n  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);\n  *(int *)(puVar6 + -8) = iVar3;\n  *(int *)(puVar6 + -0xc) = iVar8;\n  *(uint *)(puVar6 + -0x10) = uVar5;\n  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;\n  FUN_003af7a0();\n  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;\nLAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  bool bVar9;\n  undefined1 auStack_40 [4];\n  undefined1 auStack_3c [4];\n  int local_38;\n  int local_34;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x11f2db;\n  puVar6 = auStack_3c;\n  iVar4 = *(int *)(param_1 + 0x10);\n  if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }\nLAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }\n  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);\n  *(int *)(puVar6 + -8) = iVar3;\n  *(int *)(puVar6 + -0xc) = iVar8;\n  *(uint *)(puVar6 + -0x10) = uVar5;\n  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;\n  FUN_003af7a0();\n  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;\nLAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);\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 iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_40 [4];" type_identifier (array_declarator "auStack_40 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_3c [4];" type_identifier (array_declarator "auStack_3c [4]" identifier [ number_literal ]) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x11f2db;" (assignment_expression "uStack_14 = 0x11f2db" identifier = number_literal) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }" { (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" identifier = identifier) ;) (expression_statement "local_34 = param_3;" (assignment_expression "local_34 = param_3" identifier = identifier) ;) (expression_statement "iVar4 = FUN_003ac4d0(0x18);" (assignment_expression "iVar4 = FUN_003ac4d0(0x18)" identifier = (call_expression "FUN_003ac4d0(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 4)" * (cast_expression "(undefined4 *)(iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "local_38 = iVar4 + 4;" (assignment_expression "local_38 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0xc) = local_38;" (assignment_expression "*(int *)(iVar4 + 0xc) = local_38" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0x10) = local_38;" (assignment_expression "*(int *)(iVar4 + 0x10) = local_38" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = param_2 - local_34;" (assignment_expression "iVar2 = param_2 - local_34" identifier = (binary_expression "param_2 - local_34" identifier - identifier)) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x14)" * (cast_expression "(undefined4 *)(iVar4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x10) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar4" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_34 = -1;" (assignment_expression "local_34 = -1" identifier = number_literal) ;) (if_statement "if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }" if (parenthesized_expression "((char)local_30 == '\0')" ( (binary_expression "(char)local_30 == '\0'" (cast_expression "(char)local_30" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_34 = iVar2;\n    }" { (expression_statement "local_34 = iVar2;" (assignment_expression "local_34 = iVar2" identifier = identifier) ;) })) (labeled_statement "LAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);" statement_identifier : (expression_statement "iVar2 = FUN_003ac4d0(0x18);" (assignment_expression "iVar2 = FUN_003ac4d0(0x18)" identifier = (call_expression "FUN_003ac4d0(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;)) (expression_statement "*(int *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(int *)(iVar2 + 0x10) = param_2" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" if (parenthesized_expression "((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)))" ( (binary_expression "(*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))" (parenthesized_expression "(*(int *)(iVar4 + 0x14) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x14) == 0" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))" ( (comma_expression "iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)" (assignment_expression "iVar3 = *(int *)(iVar4 + 0x10)" identifier = (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) , (binary_expression "param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)" identifier <= (pointer_expression "*(int *)(*(int *)(iVar4 + 0x10) + 0x10)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x10) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x10) + 0x10)" ( (binary_expression "*(int *)(iVar4 + 0x10) + 0x10" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) + number_literal) )))))) ))) )) (compound_statement "{\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }" { (expression_statement "iVar3 = iVar2 + 0x10;" (assignment_expression "iVar3 = iVar2 + 0x10" identifier = (binary_expression "iVar2 + 0x10" identifier + number_literal)) ;) (expression_statement "local_28 = iVar2;" (assignment_expression "local_28 = iVar2" identifier = identifier) ;) (labeled_statement "LAB_0011f443:\n      puVar7 = auStack_40;" statement_identifier : (expression_statement "puVar7 = auStack_40;" (assignment_expression "puVar7 = auStack_40" identifier = identifier) ;)) (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" identifier = identifier) ;) (expression_statement "FUN_001445e0(local_24,iVar4,iVar3);" (call_expression "FUN_001445e0(local_24,iVar4,iVar3)" identifier (argument_list "(local_24,iVar4,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_30 = local_28;" (assignment_expression "local_30 = local_28" identifier = identifier) ;) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" identifier = identifier) ;) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" identifier = identifier) ;) (expression_statement "iVar8 = local_28;" (assignment_expression "iVar8 = local_28" identifier = identifier) ;) (if_statement "if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }" if (parenthesized_expression "(local_24[0] == 0)" ( (binary_expression "local_24[0] == 0" (subscript_expression "local_24[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }" { (labeled_statement "LAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;" statement_identifier : (expression_statement "*(int *)(puVar7 + -0x10) = iVar2;" (assignment_expression "*(int *)(puVar7 + -0x10) = iVar2" (pointer_expression "*(int *)(puVar7 + -0x10)" * (cast_expression "(int *)(puVar7 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x11f47b;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x11f47b" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_003ae080();" (call_expression "FUN_003ae080()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);" (assignment_expression "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8)" (pointer_expression "*(undefined4 *)(iVar8 + 0x14)" * (cast_expression "(undefined4 *)(iVar8 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x14)" ( (binary_expression "iVar8 + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar7 + 8)" * (cast_expression "(undefined4 *)(puVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;" statement_identifier : (expression_statement "bVar9 = *(int *)(puVar6 + 0xc) != 0;" (assignment_expression "bVar9 = *(int *)(puVar6 + 0xc) != 0" identifier = (binary_expression "*(int *)(puVar6 + 0xc) != 0" (pointer_expression "*(int *)(puVar6 + 0xc)" * (cast_expression "(int *)(puVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xc)" ( (binary_expression "puVar6 + 0xc" identifier + number_literal) )))) != number_literal)) ;)) (expression_statement "iVar3 = local_24[0];" (assignment_expression "iVar3 = local_24[0]" identifier = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = local_2c;" (assignment_expression "iVar8 = local_2c" identifier = identifier) ;) }) (else_clause "else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" else (compound_statement "{\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" { (labeled_statement "LAB_0011f53a:\n      puVar6 = auStack_3c;" statement_identifier : (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;)) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" identifier = identifier) ;) }))) }) (else_clause "else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" else (compound_statement "{\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" { (expression_statement "local_38 = iVar4 + 4;" (assignment_expression "local_38 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) (expression_statement "local_34 = -1;" (assignment_expression "local_34 = -1" identifier = number_literal) ;) (if_statement "if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }" if (parenthesized_expression "((char)param_4 == '\0')" ( (binary_expression "(char)param_4 == '\0'" (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_34 = param_2 - param_3;\n    }" { (expression_statement "local_34 = param_2 - param_3;" (assignment_expression "local_34 = param_2 - param_3" identifier = (binary_expression "param_2 - param_3" identifier - identifier)) ;) })) (if_statement "if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;" if (parenthesized_expression "(*(int *)(iVar4 + 8) == 0)" ( (binary_expression "*(int *)(iVar4 + 8) == 0" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0011f4fa;" goto statement_identifier ;)) (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar4 + 4;" (assignment_expression "iVar3 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) (do_statement "do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);" do (compound_statement "{\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    }" { (while_statement "while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }" while (parenthesized_expression "(iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10))" ( (comma_expression "iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)" (assignment_expression "iVar8 = iVar2" identifier = identifier) , (binary_expression "param_2 <= *(int *)(iVar8 + 0x10)" identifier <= (pointer_expression "*(int *)(iVar8 + 0x10)" * (cast_expression "(int *)(iVar8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x10)" ( (binary_expression "iVar8 + 0x10" identifier + number_literal) )))))) )) (compound_statement "{\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }" { (expression_statement "iVar2 = *(int *)(iVar8 + 8);" (assignment_expression "iVar2 = *(int *)(iVar8 + 8)" identifier = (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" identifier = identifier) ;) (if_statement "if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;" if (parenthesized_expression "(*(int *)(iVar8 + 8) == 0)" ( (binary_expression "*(int *)(iVar8 + 8) == 0" (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0011f335;" goto statement_identifier ;)) })) (expression_statement "piVar1 = (int *)(iVar8 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar8 + 0xc)" identifier = (cast_expression "(int *)(iVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xc)" ( (binary_expression "iVar8 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) ;) (labeled_statement "LAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;" statement_identifier : (if_statement "if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;" if (parenthesized_expression "(iVar4 + 4 == iVar8)" ( (binary_expression "iVar4 + 4 == iVar8" (binary_expression "iVar4 + 4" identifier + number_literal) == identifier) )) (goto_statement "goto LAB_0011f4fa;" goto statement_identifier ;))) (if_statement "if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;" if (parenthesized_expression "(*(int *)(iVar8 + 0x10) <= param_2)" ( (binary_expression "*(int *)(iVar8 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar8 + 0x10)" * (cast_expression "(int *)(iVar8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x10)" ( (binary_expression "iVar8 + 0x10" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_0011f3dd;" goto statement_identifier ;)) (expression_statement "iVar2 = FUN_003ac4d0(0x18);" (assignment_expression "iVar2 = FUN_003ac4d0(0x18)" identifier = (call_expression "FUN_003ac4d0(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;) (expression_statement "puVar7 = auStack_3c;" (assignment_expression "puVar7 = auStack_3c" identifier = identifier) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(int *)(iVar2 + 0x10) = param_2" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" identifier = identifier) ;) (if_statement "if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }" if (parenthesized_expression "(*(int *)(iVar8 + 0x10) <= param_2)" ( (binary_expression "*(int *)(iVar8 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar8 + 0x10)" * (cast_expression "(int *)(iVar8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x10)" ( (binary_expression "iVar8 + 0x10" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }" { (expression_statement "local_30 = iVar2 + 0x10;" (assignment_expression "local_30 = iVar2 + 0x10" identifier = (binary_expression "iVar2 + 0x10" identifier + number_literal)) ;) (if_statement "if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;" if (parenthesized_expression "(param_2 <= *(int *)(iVar8 + 0x10))" ( (binary_expression "param_2 <= *(int *)(iVar8 + 0x10)" identifier <= (pointer_expression "*(int *)(iVar8 + 0x10)" * (cast_expression "(int *)(iVar8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x10)" ( (binary_expression "iVar8 + 0x10" identifier + number_literal) ))))) )) (goto_statement "goto LAB_0011f472;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }" if (parenthesized_expression "(*(int *)(iVar4 + 0x10) != iVar8)" ( (binary_expression "*(int *)(iVar4 + 0x10) != iVar8" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }" { (expression_statement "local_2c = iVar2;" (assignment_expression "local_2c = iVar2" identifier = identifier) ;) (expression_statement "iVar3 = FUN_003af660(iVar8);" (assignment_expression "iVar3 = FUN_003af660(iVar8)" identifier = (call_expression "FUN_003af660(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (if_statement "if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;" if (parenthesized_expression "(*(int *)(iVar3 + 0x10) <= param_2)" ( (binary_expression "*(int *)(iVar3 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_0011f438;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }" if (parenthesized_expression "(*(int *)(iVar8 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar8 + 0xc) == 0" (pointer_expression "*(int *)(iVar8 + 0xc)" * (cast_expression "(int *)(iVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xc)" ( (binary_expression "iVar8 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          iVar3 = iVar8;\n        }" { (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" identifier = identifier) ;) })) (expression_statement "bVar9 = *(int *)(iVar8 + 0xc) != 0;" (assignment_expression "bVar9 = *(int *)(iVar8 + 0xc) != 0" identifier = (binary_expression "*(int *)(iVar8 + 0xc) != 0" (pointer_expression "*(int *)(iVar8 + 0xc)" * (cast_expression "(int *)(iVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xc)" ( (binary_expression "iVar8 + 0xc" identifier + number_literal) )))) != number_literal)) ;) (expression_statement "iVar8 = local_2c;" (assignment_expression "iVar8 = local_2c" identifier = identifier) ;) (goto_statement "goto LAB_0011f3b7;" goto statement_identifier ;) })) (goto_statement "goto LAB_0011f53a;" goto statement_identifier ;) })) (expression_statement "local_30 = iVar2 + 0x10;" (assignment_expression "local_30 = iVar2 + 0x10" identifier = (binary_expression "iVar2 + 0x10" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }" if (parenthesized_expression "(*(int *)(iVar4 + 0xc) != iVar8)" ( (binary_expression "*(int *)(iVar4 + 0xc) != iVar8" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }" { (expression_statement "local_2c = iVar2;" (assignment_expression "local_2c = iVar2" identifier = identifier) ;) (expression_statement "iVar3 = FUN_003af6c0(iVar8);" (assignment_expression "iVar3 = FUN_003af6c0(iVar8)" identifier = (call_expression "FUN_003af6c0(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (if_statement "if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }" if (parenthesized_expression "(param_2 <= *(int *)(iVar3 + 0x10))" ( (binary_expression "param_2 <= *(int *)(iVar3 + 0x10)" identifier <= (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }" { (labeled_statement "LAB_0011f438:\n        local_28 = local_2c;" statement_identifier : (expression_statement "local_28 = local_2c;" (assignment_expression "local_28 = local_2c" identifier = identifier) ;)) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) (goto_statement "goto LAB_0011f443;" goto statement_identifier ;) })) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" identifier = identifier) ;) (if_statement "if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;" if (parenthesized_expression "(*(int *)(iVar3 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xc) == 0" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0011f53a;" goto statement_identifier ;)) (expression_statement "local_30 = iVar8;" (assignment_expression "local_30 = iVar8" identifier = identifier) ;) (expression_statement "local_24[0] = iVar8;" (assignment_expression "local_24[0] = iVar8" (subscript_expression "local_24[0]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0011f3ae;" goto statement_identifier ;) })) (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" identifier = true) ;) (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" identifier = identifier) ;) }))) (labeled_statement "LAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" statement_identifier : (if_statement "if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" if (parenthesized_expression "((*(int *)(puVar6 + 4) == iVar3) || (bVar9))" ( (binary_expression "(*(int *)(puVar6 + 4) == iVar3) || (bVar9)" (parenthesized_expression "(*(int *)(puVar6 + 4) == iVar3)" ( (binary_expression "*(int *)(puVar6 + 4) == iVar3" (pointer_expression "*(int *)(puVar6 + 4)" * (cast_expression "(int *)(puVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) == identifier) )) || (parenthesized_expression "(bVar9)" ( identifier ))) )) (compound_statement "{\n    uVar5 = 1;\n  }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" else (compound_statement "{\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" { (expression_statement "uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));" (assignment_expression "uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10))" identifier = (call_expression "(uint)(param_2 < *(int *)(iVar3 + 0x10))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(int *)(iVar3 + 0x10))" ( (binary_expression "param_2 < *(int *)(iVar3 + 0x10)" identifier < (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )))) ;) })))) (expression_statement "*(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);" (assignment_expression "*(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4)" (pointer_expression "*(undefined4 *)(puVar6 + -4)" * (cast_expression "(undefined4 *)(puVar6 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar6 + 4)" * (cast_expression "(undefined4 *)(puVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar6 + -8) = iVar3;" (assignment_expression "*(int *)(puVar6 + -8) = iVar3" (pointer_expression "*(int *)(puVar6 + -8)" * (cast_expression "(int *)(puVar6 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar6 + -0xc) = iVar8;" (assignment_expression "*(int *)(puVar6 + -0xc) = iVar8" (pointer_expression "*(int *)(puVar6 + -0xc)" * (cast_expression "(int *)(puVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0xc)" ( (binary_expression "puVar6 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar6 + -0x10) = uVar5;" (assignment_expression "*(uint *)(puVar6 + -0x10) = uVar5" (pointer_expression "*(uint *)(puVar6 + -0x10)" * (cast_expression "(uint *)(puVar6 + -0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x10)" ( (binary_expression "puVar6 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = 0x11f3d6" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" * (cast_expression "(undefined4 *)(puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x14)" ( (binary_expression "puVar6 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_003af7a0();" (call_expression "FUN_003af7a0()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar4 + 0x14) + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (labeled_statement "LAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);" statement_identifier : (expression_statement "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);" (assignment_expression "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8)" (pointer_expression "*(undefined4 *)(iVar8 + 0x14)" * (cast_expression "(undefined4 *)(iVar8 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x14)" ( (binary_expression "iVar8 + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar6 + 8)" * (cast_expression "(undefined4 *)(puVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 8)" ( (binary_expression "puVar6 + 8" identifier + number_literal) ))))) ;)) (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 update_offset_map(Arm_exidx_fixup * this, section_offset_type\n   input_offset, section_size_type deleted_bytes, bool delete_entry) */\n\nvoid __thiscall\nanon_unknown.dwarf_91258a::Arm_exidx_fixup::update_offset_map\n          (Arm_exidx_fixup *this,section_offset_type input_offset,section_size_type deleted_bytes,\n          bool delete_entry)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall\nanon_unknown.dwarf_91258a::Arm_exidx_fixup::update_offset_map\n          (Arm_exidx_fixup *this,section_offset_type input_offset,section_size_type deleted_bytes,\n          bool delete_entry)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_91258a::Arm_exidx_fixup::" identifier . identifier : : identifier : :) (function_declarator "update_offset_map\n          (Arm_exidx_fixup *this,section_offset_type input_offset,section_size_type deleted_bytes,\n          bool delete_entry)" identifier (parameter_list "(Arm_exidx_fixup *this,section_offset_type input_offset,section_size_type deleted_bytes,\n          bool delete_entry)" ( (parameter_declaration "Arm_exidx_fixup *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "section_offset_type input_offset" type_identifier identifier) , (parameter_declaration "section_size_type deleted_bytes" type_identifier identifier) , (parameter_declaration "bool delete_entry" primitive_type identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm3 FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  bool bVar9;\n  undefined1 auStack_40 [4];\n  undefined1 auStack_3c [4];\n  int local_38;\n  int local_34;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x11f2db;\n  puVar6 = auStack_3c;\n  iVar4 = *(int *)(param_1 + 0x10);\n  if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }\nLAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }\n  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);\n  *(int *)(puVar6 + -8) = iVar3;\n  *(int *)(puVar6 + -0xc) = iVar8;\n  *(uint *)(puVar6 + -0x10) = uVar5;\n  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;\n  FUN_003af7a0();\n  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;\nLAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  bool bVar9;\n  undefined1 auStack_40 [4];\n  undefined1 auStack_3c [4];\n  int local_38;\n  int local_34;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x11f2db;\n  puVar6 = auStack_3c;\n  iVar4 = *(int *)(param_1 + 0x10);\n  if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }\nLAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }\n  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);\n  *(int *)(puVar6 + -8) = iVar3;\n  *(int *)(puVar6 + -0xc) = iVar8;\n  *(uint *)(puVar6 + -0x10) = uVar5;\n  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;\n  FUN_003af7a0();\n  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;\nLAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  bool bVar9;\n  undefined1 auStack_40 [4];\n  undefined1 auStack_3c [4];\n  int local_38;\n  int local_34;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x11f2db;\n  puVar6 = auStack_3c;\n  iVar4 = *(int *)(param_1 + 0x10);\n  if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }\nLAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }\n  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);\n  *(int *)(puVar6 + -8) = iVar3;\n  *(int *)(puVar6 + -0xc) = iVar8;\n  *(uint *)(puVar6 + -0x10) = uVar5;\n  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;\n  FUN_003af7a0();\n  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;\nLAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);\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 iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_40 [4];" type_identifier (array_declarator "auStack_40 [4]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_3c [4];" type_identifier (array_declarator "auStack_3c [4]" identifier [ number_literal ]) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x11f2db;" (assignment_expression "uStack_14 = 0x11f2db" identifier = number_literal) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }" { (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" identifier = identifier) ;) (expression_statement "local_34 = param_3;" (assignment_expression "local_34 = param_3" identifier = identifier) ;) (expression_statement "iVar4 = FUN_003ac4d0(0x18);" (assignment_expression "iVar4 = FUN_003ac4d0(0x18)" identifier = (call_expression "FUN_003ac4d0(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 4)" * (cast_expression "(undefined4 *)(iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "local_38 = iVar4 + 4;" (assignment_expression "local_38 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar4 + 0xc) = local_38;" (assignment_expression "*(int *)(iVar4 + 0xc) = local_38" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0x10) = local_38;" (assignment_expression "*(int *)(iVar4 + 0x10) = local_38" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = param_2 - local_34;" (assignment_expression "iVar2 = param_2 - local_34" identifier = (binary_expression "param_2 - local_34" identifier - identifier)) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x14)" * (cast_expression "(undefined4 *)(iVar4 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(param_1 + 0x10) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar4" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_34 = -1;" (assignment_expression "local_34 = -1" identifier = number_literal) ;) (if_statement "if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }" if (parenthesized_expression "((char)local_30 == '\0')" ( (binary_expression "(char)local_30 == '\0'" (cast_expression "(char)local_30" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_34 = iVar2;\n    }" { (expression_statement "local_34 = iVar2;" (assignment_expression "local_34 = iVar2" identifier = identifier) ;) })) (labeled_statement "LAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);" statement_identifier : (expression_statement "iVar2 = FUN_003ac4d0(0x18);" (assignment_expression "iVar2 = FUN_003ac4d0(0x18)" identifier = (call_expression "FUN_003ac4d0(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;)) (expression_statement "*(int *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(int *)(iVar2 + 0x10) = param_2" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" if (parenthesized_expression "((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)))" ( (binary_expression "(*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))" (parenthesized_expression "(*(int *)(iVar4 + 0x14) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x14) == 0" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) == number_literal) )) || (parenthesized_expression "(iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))" ( (comma_expression "iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)" (assignment_expression "iVar3 = *(int *)(iVar4 + 0x10)" identifier = (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) , (binary_expression "param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)" identifier <= (pointer_expression "*(int *)(*(int *)(iVar4 + 0x10) + 0x10)" * (cast_expression "(int *)(*(int *)(iVar4 + 0x10) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x10) + 0x10)" ( (binary_expression "*(int *)(iVar4 + 0x10) + 0x10" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) + number_literal) )))))) ))) )) (compound_statement "{\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }" { (expression_statement "iVar3 = iVar2 + 0x10;" (assignment_expression "iVar3 = iVar2 + 0x10" identifier = (binary_expression "iVar2 + 0x10" identifier + number_literal)) ;) (expression_statement "local_28 = iVar2;" (assignment_expression "local_28 = iVar2" identifier = identifier) ;) (labeled_statement "LAB_0011f443:\n      puVar7 = auStack_40;" statement_identifier : (expression_statement "puVar7 = auStack_40;" (assignment_expression "puVar7 = auStack_40" identifier = identifier) ;)) (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" identifier = identifier) ;) (expression_statement "FUN_001445e0(local_24,iVar4,iVar3);" (call_expression "FUN_001445e0(local_24,iVar4,iVar3)" identifier (argument_list "(local_24,iVar4,iVar3)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_30 = local_28;" (assignment_expression "local_30 = local_28" identifier = identifier) ;) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" identifier = identifier) ;) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" identifier = identifier) ;) (expression_statement "iVar8 = local_28;" (assignment_expression "iVar8 = local_28" identifier = identifier) ;) (if_statement "if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }" if (parenthesized_expression "(local_24[0] == 0)" ( (binary_expression "local_24[0] == 0" (subscript_expression "local_24[0]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }" { (labeled_statement "LAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;" statement_identifier : (expression_statement "*(int *)(puVar7 + -0x10) = iVar2;" (assignment_expression "*(int *)(puVar7 + -0x10) = iVar2" (pointer_expression "*(int *)(puVar7 + -0x10)" * (cast_expression "(int *)(puVar7 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x11f47b;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x11f47b" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_003ae080();" (call_expression "FUN_003ae080()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);" (assignment_expression "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8)" (pointer_expression "*(undefined4 *)(iVar8 + 0x14)" * (cast_expression "(undefined4 *)(iVar8 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x14)" ( (binary_expression "iVar8 + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar7 + 8)" * (cast_expression "(undefined4 *)(puVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;" statement_identifier : (expression_statement "bVar9 = *(int *)(puVar6 + 0xc) != 0;" (assignment_expression "bVar9 = *(int *)(puVar6 + 0xc) != 0" identifier = (binary_expression "*(int *)(puVar6 + 0xc) != 0" (pointer_expression "*(int *)(puVar6 + 0xc)" * (cast_expression "(int *)(puVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 0xc)" ( (binary_expression "puVar6 + 0xc" identifier + number_literal) )))) != number_literal)) ;)) (expression_statement "iVar3 = local_24[0];" (assignment_expression "iVar3 = local_24[0]" identifier = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = local_2c;" (assignment_expression "iVar8 = local_2c" identifier = identifier) ;) }) (else_clause "else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" else (compound_statement "{\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" { (labeled_statement "LAB_0011f53a:\n      puVar6 = auStack_3c;" statement_identifier : (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;)) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" identifier = false) ;) (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" identifier = identifier) ;) }))) }) (else_clause "else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" else (compound_statement "{\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" { (expression_statement "local_38 = iVar4 + 4;" (assignment_expression "local_38 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) (expression_statement "local_34 = -1;" (assignment_expression "local_34 = -1" identifier = number_literal) ;) (if_statement "if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }" if (parenthesized_expression "((char)param_4 == '\0')" ( (binary_expression "(char)param_4 == '\0'" (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_34 = param_2 - param_3;\n    }" { (expression_statement "local_34 = param_2 - param_3;" (assignment_expression "local_34 = param_2 - param_3" identifier = (binary_expression "param_2 - param_3" identifier - identifier)) ;) })) (if_statement "if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;" if (parenthesized_expression "(*(int *)(iVar4 + 8) == 0)" ( (binary_expression "*(int *)(iVar4 + 8) == 0" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0011f4fa;" goto statement_identifier ;)) (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" identifier = (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar4 + 4;" (assignment_expression "iVar3 = iVar4 + 4" identifier = (binary_expression "iVar4 + 4" identifier + number_literal)) ;) (do_statement "do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);" do (compound_statement "{\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    }" { (while_statement "while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }" while (parenthesized_expression "(iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10))" ( (comma_expression "iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)" (assignment_expression "iVar8 = iVar2" identifier = identifier) , (binary_expression "param_2 <= *(int *)(iVar8 + 0x10)" identifier <= (pointer_expression "*(int *)(iVar8 + 0x10)" * (cast_expression "(int *)(iVar8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x10)" ( (binary_expression "iVar8 + 0x10" identifier + number_literal) )))))) )) (compound_statement "{\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }" { (expression_statement "iVar2 = *(int *)(iVar8 + 8);" (assignment_expression "iVar2 = *(int *)(iVar8 + 8)" identifier = (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" identifier = identifier) ;) (if_statement "if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;" if (parenthesized_expression "(*(int *)(iVar8 + 8) == 0)" ( (binary_expression "*(int *)(iVar8 + 8) == 0" (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0011f335;" goto statement_identifier ;)) })) (expression_statement "piVar1 = (int *)(iVar8 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar8 + 0xc)" identifier = (cast_expression "(int *)(iVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xc)" ( (binary_expression "iVar8 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(*piVar1 != 0)" ( (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" * identifier) != number_literal) )) ;) (labeled_statement "LAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;" statement_identifier : (if_statement "if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;" if (parenthesized_expression "(iVar4 + 4 == iVar8)" ( (binary_expression "iVar4 + 4 == iVar8" (binary_expression "iVar4 + 4" identifier + number_literal) == identifier) )) (goto_statement "goto LAB_0011f4fa;" goto statement_identifier ;))) (if_statement "if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;" if (parenthesized_expression "(*(int *)(iVar8 + 0x10) <= param_2)" ( (binary_expression "*(int *)(iVar8 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar8 + 0x10)" * (cast_expression "(int *)(iVar8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x10)" ( (binary_expression "iVar8 + 0x10" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_0011f3dd;" goto statement_identifier ;)) (expression_statement "iVar2 = FUN_003ac4d0(0x18);" (assignment_expression "iVar2 = FUN_003ac4d0(0x18)" identifier = (call_expression "FUN_003ac4d0(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;) (expression_statement "puVar7 = auStack_3c;" (assignment_expression "puVar7 = auStack_3c" identifier = identifier) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(int *)(iVar2 + 0x10) = param_2" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" * (cast_expression "(undefined4 *)(iVar2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" identifier = identifier) ;) (if_statement "if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }" if (parenthesized_expression "(*(int *)(iVar8 + 0x10) <= param_2)" ( (binary_expression "*(int *)(iVar8 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar8 + 0x10)" * (cast_expression "(int *)(iVar8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x10)" ( (binary_expression "iVar8 + 0x10" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }" { (expression_statement "local_30 = iVar2 + 0x10;" (assignment_expression "local_30 = iVar2 + 0x10" identifier = (binary_expression "iVar2 + 0x10" identifier + number_literal)) ;) (if_statement "if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;" if (parenthesized_expression "(param_2 <= *(int *)(iVar8 + 0x10))" ( (binary_expression "param_2 <= *(int *)(iVar8 + 0x10)" identifier <= (pointer_expression "*(int *)(iVar8 + 0x10)" * (cast_expression "(int *)(iVar8 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x10)" ( (binary_expression "iVar8 + 0x10" identifier + number_literal) ))))) )) (goto_statement "goto LAB_0011f472;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }" if (parenthesized_expression "(*(int *)(iVar4 + 0x10) != iVar8)" ( (binary_expression "*(int *)(iVar4 + 0x10) != iVar8" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }" { (expression_statement "local_2c = iVar2;" (assignment_expression "local_2c = iVar2" identifier = identifier) ;) (expression_statement "iVar3 = FUN_003af660(iVar8);" (assignment_expression "iVar3 = FUN_003af660(iVar8)" identifier = (call_expression "FUN_003af660(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (if_statement "if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;" if (parenthesized_expression "(*(int *)(iVar3 + 0x10) <= param_2)" ( (binary_expression "*(int *)(iVar3 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) <= identifier) )) (goto_statement "goto LAB_0011f438;" goto statement_identifier ;)) (if_statement "if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }" if (parenthesized_expression "(*(int *)(iVar8 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar8 + 0xc) == 0" (pointer_expression "*(int *)(iVar8 + 0xc)" * (cast_expression "(int *)(iVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xc)" ( (binary_expression "iVar8 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          iVar3 = iVar8;\n        }" { (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" identifier = identifier) ;) })) (expression_statement "bVar9 = *(int *)(iVar8 + 0xc) != 0;" (assignment_expression "bVar9 = *(int *)(iVar8 + 0xc) != 0" identifier = (binary_expression "*(int *)(iVar8 + 0xc) != 0" (pointer_expression "*(int *)(iVar8 + 0xc)" * (cast_expression "(int *)(iVar8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0xc)" ( (binary_expression "iVar8 + 0xc" identifier + number_literal) )))) != number_literal)) ;) (expression_statement "iVar8 = local_2c;" (assignment_expression "iVar8 = local_2c" identifier = identifier) ;) (goto_statement "goto LAB_0011f3b7;" goto statement_identifier ;) })) (goto_statement "goto LAB_0011f53a;" goto statement_identifier ;) })) (expression_statement "local_30 = iVar2 + 0x10;" (assignment_expression "local_30 = iVar2 + 0x10" identifier = (binary_expression "iVar2 + 0x10" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }" if (parenthesized_expression "(*(int *)(iVar4 + 0xc) != iVar8)" ( (binary_expression "*(int *)(iVar4 + 0xc) != iVar8" (pointer_expression "*(int *)(iVar4 + 0xc)" * (cast_expression "(int *)(iVar4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }" { (expression_statement "local_2c = iVar2;" (assignment_expression "local_2c = iVar2" identifier = identifier) ;) (expression_statement "iVar3 = FUN_003af6c0(iVar8);" (assignment_expression "iVar3 = FUN_003af6c0(iVar8)" identifier = (call_expression "FUN_003af6c0(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (if_statement "if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }" if (parenthesized_expression "(param_2 <= *(int *)(iVar3 + 0x10))" ( (binary_expression "param_2 <= *(int *)(iVar3 + 0x10)" identifier <= (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }" { (labeled_statement "LAB_0011f438:\n        local_28 = local_2c;" statement_identifier : (expression_statement "local_28 = local_2c;" (assignment_expression "local_28 = local_2c" identifier = identifier) ;)) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) (goto_statement "goto LAB_0011f443;" goto statement_identifier ;) })) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" identifier = identifier) ;) (if_statement "if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;" if (parenthesized_expression "(*(int *)(iVar3 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xc) == 0" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0011f53a;" goto statement_identifier ;)) (expression_statement "local_30 = iVar8;" (assignment_expression "local_30 = iVar8" identifier = identifier) ;) (expression_statement "local_24[0] = iVar8;" (assignment_expression "local_24[0] = iVar8" (subscript_expression "local_24[0]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0011f3ae;" goto statement_identifier ;) })) (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" identifier = true) ;) (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" identifier = identifier) ;) }))) (labeled_statement "LAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" statement_identifier : (if_statement "if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" if (parenthesized_expression "((*(int *)(puVar6 + 4) == iVar3) || (bVar9))" ( (binary_expression "(*(int *)(puVar6 + 4) == iVar3) || (bVar9)" (parenthesized_expression "(*(int *)(puVar6 + 4) == iVar3)" ( (binary_expression "*(int *)(puVar6 + 4) == iVar3" (pointer_expression "*(int *)(puVar6 + 4)" * (cast_expression "(int *)(puVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) )))) == identifier) )) || (parenthesized_expression "(bVar9)" ( identifier ))) )) (compound_statement "{\n    uVar5 = 1;\n  }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" else (compound_statement "{\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" { (expression_statement "uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));" (assignment_expression "uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10))" identifier = (call_expression "(uint)(param_2 < *(int *)(iVar3 + 0x10))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < *(int *)(iVar3 + 0x10))" ( (binary_expression "param_2 < *(int *)(iVar3 + 0x10)" identifier < (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )))) ;) })))) (expression_statement "*(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);" (assignment_expression "*(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4)" (pointer_expression "*(undefined4 *)(puVar6 + -4)" * (cast_expression "(undefined4 *)(puVar6 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar6 + 4)" * (cast_expression "(undefined4 *)(puVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 4)" ( (binary_expression "puVar6 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(puVar6 + -8) = iVar3;" (assignment_expression "*(int *)(puVar6 + -8) = iVar3" (pointer_expression "*(int *)(puVar6 + -8)" * (cast_expression "(int *)(puVar6 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -8)" ( (binary_expression "puVar6 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar6 + -0xc) = iVar8;" (assignment_expression "*(int *)(puVar6 + -0xc) = iVar8" (pointer_expression "*(int *)(puVar6 + -0xc)" * (cast_expression "(int *)(puVar6 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0xc)" ( (binary_expression "puVar6 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(puVar6 + -0x10) = uVar5;" (assignment_expression "*(uint *)(puVar6 + -0x10) = uVar5" (pointer_expression "*(uint *)(puVar6 + -0x10)" * (cast_expression "(uint *)(puVar6 + -0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x10)" ( (binary_expression "puVar6 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = 0x11f3d6" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" * (cast_expression "(undefined4 *)(puVar6 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + -0x14)" ( (binary_expression "puVar6 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_003af7a0();" (call_expression "FUN_003af7a0()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar4 + 0x14) + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (labeled_statement "LAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);" statement_identifier : (expression_statement "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);" (assignment_expression "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8)" (pointer_expression "*(undefined4 *)(iVar8 + 0x14)" * (cast_expression "(undefined4 *)(iVar8 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x14)" ( (binary_expression "iVar8 + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(puVar6 + 8)" * (cast_expression "(undefined4 *)(puVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 8)" ( (binary_expression "puVar6 + 8" identifier + number_literal) ))))) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = 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 { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;)) (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) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (labeled_statement 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) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - 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) )) (goto_statement goto statement_identifier ;)) (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 = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (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) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == IDENT) )) (goto_statement goto statement_identifier ;))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = 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) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) || (parenthesized_expression ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) })))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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) ;) (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) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  bool bVar9;\n  undefined1 auStack_40 [4];\n  undefined1 auStack_3c [4];\n  int local_38;\n  int local_34;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x11f2db;\n  puVar6 = auStack_3c;\n  iVar4 = *(int *)(param_1 + 0x10);\n  if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }\nLAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }\n  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);\n  *(int *)(puVar6 + -8) = iVar3;\n  *(int *)(puVar6 + -0xc) = iVar8;\n  *(uint *)(puVar6 + -0x10) = uVar5;\n  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;\n  FUN_003af7a0();\n  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;\nLAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0011f2d0(int param_1,int param_2,int param_3,int param_4)" (identifier "FUN_0011f2d0") (parameter_list "(int param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (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") (identifier "param_4")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  undefined1 *puVar6;\n  undefined1 *puVar7;\n  int iVar8;\n  bool bVar9;\n  undefined1 auStack_40 [4];\n  undefined1 auStack_3c [4];\n  int local_38;\n  int local_34;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x11f2db;\n  puVar6 = auStack_3c;\n  iVar4 = *(int *)(param_1 + 0x10);\n  if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }\nLAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }\n  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);\n  *(int *)(puVar6 + -8) = iVar3;\n  *(int *)(puVar6 + -0xc) = iVar8;\n  *(uint *)(puVar6 + -0x10) = uVar5;\n  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;\n  FUN_003af7a0();\n  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;\nLAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);\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 iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (declaration "undefined1 auStack_40 [4];" (type_identifier "undefined1") (array_declarator "auStack_40 [4]" (identifier "auStack_40") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined1 auStack_3c [4];" (type_identifier "undefined1") (array_declarator "auStack_3c [4]" (identifier "auStack_3c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24 [4];" (primitive_type "int") (array_declarator "local_24 [4]" (identifier "local_24") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x11f2db;" (assignment_expression "uStack_14 = 0x11f2db" (identifier "uStack_14") (= "=") (number_literal "0x11f2db")) (; ";")) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" (identifier "puVar6") (= "=") (identifier "auStack_3c")) (; ";")) (expression_statement "iVar4 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar4 = *(int *)(param_1 + 0x10)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (iVar4 == 0) {\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }\n  else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_30 = param_4;\n    local_34 = param_3;\n    iVar4 = FUN_003ac4d0(0x18);\n    *(undefined4 *)(iVar4 + 4) = 0;\n    local_38 = iVar4 + 4;\n    *(undefined4 *)(iVar4 + 8) = 0;\n    *(int *)(iVar4 + 0xc) = local_38;\n    *(int *)(iVar4 + 0x10) = local_38;\n    iVar2 = param_2 - local_34;\n    *(undefined4 *)(iVar4 + 0x14) = 0;\n    *(int *)(param_1 + 0x10) = iVar4;\n    local_34 = -1;\n    if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }\nLAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }\n  }" ({ "{") (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" (identifier "local_30") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_34 = param_3;" (assignment_expression "local_34 = param_3" (identifier "local_34") (= "=") (identifier "param_3")) (; ";")) (expression_statement "iVar4 = FUN_003ac4d0(0x18);" (assignment_expression "iVar4 = FUN_003ac4d0(0x18)" (identifier "iVar4") (= "=") (call_expression "FUN_003ac4d0(0x18)" (identifier "FUN_003ac4d0") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = iVar4 + 4;" (assignment_expression "local_38 = iVar4 + 4" (identifier "local_38") (= "=") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar4 + 0xc) = local_38;" (assignment_expression "*(int *)(iVar4 + 0xc) = local_38" (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "local_38")) (; ";")) (expression_statement "*(int *)(iVar4 + 0x10) = local_38;" (assignment_expression "*(int *)(iVar4 + 0x10) = local_38" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "local_38")) (; ";")) (expression_statement "iVar2 = param_2 - local_34;" (assignment_expression "iVar2 = param_2 - local_34" (identifier "iVar2") (= "=") (binary_expression "param_2 - local_34" (identifier "param_2") (- "-") (identifier "local_34"))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(param_1 + 0x10) = iVar4;" (assignment_expression "*(int *)(param_1 + 0x10) = iVar4" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "local_34 = -1;" (assignment_expression "local_34 = -1" (identifier "local_34") (= "=") (number_literal "-1")) (; ";")) (if_statement "if ((char)local_30 == '\0') {\n      local_34 = iVar2;\n    }" (if "if") (parenthesized_expression "((char)local_30 == '\0')" (( "(") (binary_expression "(char)local_30 == '\0'" (cast_expression "(char)local_30" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_30")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      local_34 = iVar2;\n    }" ({ "{") (expression_statement "local_34 = iVar2;" (assignment_expression "local_34 = iVar2" (identifier "local_34") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (labeled_statement "LAB_0011f4fa:\n    iVar2 = FUN_003ac4d0(0x18);" (statement_identifier "LAB_0011f4fa") (: ":") (expression_statement "iVar2 = FUN_003ac4d0(0x18);" (assignment_expression "iVar2 = FUN_003ac4d0(0x18)" (identifier "iVar2") (= "=") (call_expression "FUN_003ac4d0(0x18)" (identifier "FUN_003ac4d0") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")")))) (; ";"))) (expression_statement "*(int *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(int *)(iVar2 + 0x10) = param_2" (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }\n    else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" (if "if") (parenthesized_expression "((*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)))" (( "(") (binary_expression "(*(int *)(iVar4 + 0x14) == 0) ||\n       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))" (parenthesized_expression "(*(int *)(iVar4 + 0x14) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x14) == 0" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))" (( "(") (comma_expression "iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)" (assignment_expression "iVar3 = *(int *)(iVar4 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (, ",") (binary_expression "param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10)" (identifier "param_2") (<= "<=") (pointer_expression "*(int *)(*(int *)(iVar4 + 0x10) + 0x10)" (* "*") (cast_expression "(int *)(*(int *)(iVar4 + 0x10) + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x10) + 0x10)" (( "(") (binary_expression "*(int *)(iVar4 + 0x10) + 0x10" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n      iVar3 = iVar2 + 0x10;\n      local_28 = iVar2;\nLAB_0011f443:\n      puVar7 = auStack_40;\n      puVar6 = auStack_40;\n      FUN_001445e0(local_24,iVar4,iVar3);\n      local_30 = local_28;\n      local_34 = local_28;\n      iVar2 = local_2c;\n      iVar8 = local_28;\n      if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }\nLAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;\n      iVar3 = local_24[0];\n      iVar8 = local_2c;\n    }" ({ "{") (expression_statement "iVar3 = iVar2 + 0x10;" (assignment_expression "iVar3 = iVar2 + 0x10" (identifier "iVar3") (= "=") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10"))) (; ";")) (expression_statement "local_28 = iVar2;" (assignment_expression "local_28 = iVar2" (identifier "local_28") (= "=") (identifier "iVar2")) (; ";")) (labeled_statement "LAB_0011f443:\n      puVar7 = auStack_40;" (statement_identifier "LAB_0011f443") (: ":") (expression_statement "puVar7 = auStack_40;" (assignment_expression "puVar7 = auStack_40" (identifier "puVar7") (= "=") (identifier "auStack_40")) (; ";"))) (expression_statement "puVar6 = auStack_40;" (assignment_expression "puVar6 = auStack_40" (identifier "puVar6") (= "=") (identifier "auStack_40")) (; ";")) (expression_statement "FUN_001445e0(local_24,iVar4,iVar3);" (call_expression "FUN_001445e0(local_24,iVar4,iVar3)" (identifier "FUN_001445e0") (argument_list "(local_24,iVar4,iVar3)" (( "(") (identifier "local_24") (, ",") (identifier "iVar4") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "local_30 = local_28;" (assignment_expression "local_30 = local_28" (identifier "local_30") (= "=") (identifier "local_28")) (; ";")) (expression_statement "local_34 = local_28;" (assignment_expression "local_34 = local_28" (identifier "local_34") (= "=") (identifier "local_28")) (; ";")) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" (identifier "iVar2") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "iVar8 = local_28;" (assignment_expression "iVar8 = local_28" (identifier "iVar8") (= "=") (identifier "local_28")) (; ";")) (if_statement "if (local_24[0] == 0) {\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }" (if "if") (parenthesized_expression "(local_24[0] == 0)" (( "(") (binary_expression "local_24[0] == 0" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;\n        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;\n        FUN_003ae080();\n        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);\n        return;\n      }" ({ "{") (labeled_statement "LAB_0011f472:\n        *(int *)(puVar7 + -0x10) = iVar2;" (statement_identifier "LAB_0011f472") (: ":") (expression_statement "*(int *)(puVar7 + -0x10) = iVar2;" (assignment_expression "*(int *)(puVar7 + -0x10) = iVar2" (pointer_expression "*(int *)(puVar7 + -0x10)" (* "*") (cast_expression "(int *)(puVar7 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x10)" (( "(") (binary_expression "puVar7 + -0x10" (identifier "puVar7") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "iVar2")) (; ";"))) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x11f47b;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x11f47b" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -0x14)" (( "(") (binary_expression "puVar7 + -0x14" (identifier "puVar7") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x11f47b")) (; ";")) (expression_statement "FUN_003ae080();" (call_expression "FUN_003ae080()" (identifier "FUN_003ae080") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);" (assignment_expression "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8)" (pointer_expression "*(undefined4 *)(iVar8 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar8 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x14)" (( "(") (binary_expression "iVar8 + 0x14" (identifier "iVar8") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar7 + 8)" (* "*") (cast_expression "(undefined4 *)(puVar7 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 8)" (( "(") (binary_expression "puVar7 + 8" (identifier "puVar7") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_0011f3ae:\n      bVar9 = *(int *)(puVar6 + 0xc) != 0;" (statement_identifier "LAB_0011f3ae") (: ":") (expression_statement "bVar9 = *(int *)(puVar6 + 0xc) != 0;" (assignment_expression "bVar9 = *(int *)(puVar6 + 0xc) != 0" (identifier "bVar9") (= "=") (binary_expression "*(int *)(puVar6 + 0xc) != 0" (pointer_expression "*(int *)(puVar6 + 0xc)" (* "*") (cast_expression "(int *)(puVar6 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 0xc)" (( "(") (binary_expression "puVar6 + 0xc" (identifier "puVar6") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0"))) (; ";"))) (expression_statement "iVar3 = local_24[0];" (assignment_expression "iVar3 = local_24[0]" (identifier "iVar3") (= "=") (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "iVar8 = local_2c;" (assignment_expression "iVar8 = local_2c" (identifier "iVar8") (= "=") (identifier "local_2c")) (; ";")) (} "}")) (else_clause "else {\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" (else "else") (compound_statement "{\nLAB_0011f53a:\n      puVar6 = auStack_3c;\n      bVar9 = false;\n      iVar8 = iVar2;\n    }" ({ "{") (labeled_statement "LAB_0011f53a:\n      puVar6 = auStack_3c;" (statement_identifier "LAB_0011f53a") (: ":") (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" (identifier "puVar6") (= "=") (identifier "auStack_3c")) (; ";"))) (expression_statement "bVar9 = false;" (assignment_expression "bVar9 = false" (identifier "bVar9") (= "=") (false "false")) (; ";")) (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" (identifier "iVar8") (= "=") (identifier "iVar2")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" (else "else") (compound_statement "{\n    local_38 = iVar4 + 4;\n    local_34 = -1;\n    if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }\n    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;\n    iVar2 = *(int *)(iVar4 + 8);\n    iVar3 = iVar4 + 4;\n    do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);\nLAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;\n    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;\n    iVar2 = FUN_003ac4d0(0x18);\n    puVar7 = auStack_3c;\n    puVar6 = auStack_3c;\n    *(int *)(iVar2 + 0x10) = param_2;\n    *(undefined4 *)(iVar2 + 0x14) = 0;\n    iVar3 = iVar8;\n    if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }\n    local_30 = iVar2 + 0x10;\n    if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }\n    bVar9 = true;\n    iVar8 = iVar2;\n  }" ({ "{") (expression_statement "local_38 = iVar4 + 4;" (assignment_expression "local_38 = iVar4 + 4" (identifier "local_38") (= "=") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "local_34 = -1;" (assignment_expression "local_34 = -1" (identifier "local_34") (= "=") (number_literal "-1")) (; ";")) (if_statement "if ((char)param_4 == '\0') {\n      local_34 = param_2 - param_3;\n    }" (if "if") (parenthesized_expression "((char)param_4 == '\0')" (( "(") (binary_expression "(char)param_4 == '\0'" (cast_expression "(char)param_4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_4")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      local_34 = param_2 - param_3;\n    }" ({ "{") (expression_statement "local_34 = param_2 - param_3;" (assignment_expression "local_34 = param_2 - param_3" (identifier "local_34") (= "=") (binary_expression "param_2 - param_3" (identifier "param_2") (- "-") (identifier "param_3"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 8) == 0" (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011f4fa;" (goto "goto") (statement_identifier "LAB_0011f4fa") (; ";"))) (expression_statement "iVar2 = *(int *)(iVar4 + 8);" (assignment_expression "iVar2 = *(int *)(iVar4 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar4 + 4;" (assignment_expression "iVar3 = iVar4 + 4" (identifier "iVar3") (= "=") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4"))) (; ";")) (do_statement "do {\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    } while (*piVar1 != 0);" (do "do") (compound_statement "{\n      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }\n      piVar1 = (int *)(iVar8 + 0xc);\n      iVar2 = *piVar1;\n      iVar8 = iVar3;\n    }" ({ "{") (while_statement "while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }" (while "while") (parenthesized_expression "(iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10))" (( "(") (comma_expression "iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)" (assignment_expression "iVar8 = iVar2" (identifier "iVar8") (= "=") (identifier "iVar2")) (, ",") (binary_expression "param_2 <= *(int *)(iVar8 + 0x10)" (identifier "param_2") (<= "<=") (pointer_expression "*(int *)(iVar8 + 0x10)" (* "*") (cast_expression "(int *)(iVar8 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x10)" (( "(") (binary_expression "iVar8 + 0x10" (identifier "iVar8") (+ "+") (number_literal "0x10")) () ")")))))) () ")")) (compound_statement "{\n        iVar2 = *(int *)(iVar8 + 8);\n        iVar3 = iVar8;\n        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar8 + 8);" (assignment_expression "iVar2 = *(int *)(iVar8 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar8 + 8)" (* "*") (cast_expression "(int *)(iVar8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 8)" (( "(") (binary_expression "iVar8 + 8" (identifier "iVar8") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" (identifier "iVar3") (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;" (if "if") (parenthesized_expression "(*(int *)(iVar8 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar8 + 8) == 0" (pointer_expression "*(int *)(iVar8 + 8)" (* "*") (cast_expression "(int *)(iVar8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 8)" (( "(") (binary_expression "iVar8 + 8" (identifier "iVar8") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011f335;" (goto "goto") (statement_identifier "LAB_0011f335") (; ";"))) (} "}"))) (expression_statement "piVar1 = (int *)(iVar8 + 0xc);" (assignment_expression "piVar1 = (int *)(iVar8 + 0xc)" (identifier "piVar1") (= "=") (cast_expression "(int *)(iVar8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0xc)" (( "(") (binary_expression "iVar8 + 0xc" (identifier "iVar8") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "iVar2 = *piVar1;" (assignment_expression "iVar2 = *piVar1" (identifier "iVar2") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (expression_statement "iVar8 = iVar3;" (assignment_expression "iVar8 = iVar3" (identifier "iVar8") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar1 != 0)" (( "(") (binary_expression "*piVar1 != 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_0011f335:\n    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;" (statement_identifier "LAB_0011f335") (: ":") (if_statement "if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;" (if "if") (parenthesized_expression "(iVar4 + 4 == iVar8)" (( "(") (binary_expression "iVar4 + 4 == iVar8" (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) (== "==") (identifier "iVar8")) () ")")) (goto_statement "goto LAB_0011f4fa;" (goto "goto") (statement_identifier "LAB_0011f4fa") (; ";")))) (if_statement "if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;" (if "if") (parenthesized_expression "(*(int *)(iVar8 + 0x10) <= param_2)" (( "(") (binary_expression "*(int *)(iVar8 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar8 + 0x10)" (* "*") (cast_expression "(int *)(iVar8 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x10)" (( "(") (binary_expression "iVar8 + 0x10" (identifier "iVar8") (+ "+") (number_literal "0x10")) () ")")))) (<= "<=") (identifier "param_2")) () ")")) (goto_statement "goto LAB_0011f3dd;" (goto "goto") (statement_identifier "LAB_0011f3dd") (; ";"))) (expression_statement "iVar2 = FUN_003ac4d0(0x18);" (assignment_expression "iVar2 = FUN_003ac4d0(0x18)" (identifier "iVar2") (= "=") (call_expression "FUN_003ac4d0(0x18)" (identifier "FUN_003ac4d0") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")")))) (; ";")) (expression_statement "puVar7 = auStack_3c;" (assignment_expression "puVar7 = auStack_3c" (identifier "puVar7") (= "=") (identifier "auStack_3c")) (; ";")) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" (identifier "puVar6") (= "=") (identifier "auStack_3c")) (; ";")) (expression_statement "*(int *)(iVar2 + 0x10) = param_2;" (assignment_expression "*(int *)(iVar2 + 0x10) = param_2" (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x14) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" (identifier "iVar3") (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (*(int *)(iVar8 + 0x10) <= param_2) {\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar8 + 0x10) <= param_2)" (( "(") (binary_expression "*(int *)(iVar8 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar8 + 0x10)" (* "*") (cast_expression "(int *)(iVar8 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x10)" (( "(") (binary_expression "iVar8 + 0x10" (identifier "iVar8") (+ "+") (number_literal "0x10")) () ")")))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n      local_30 = iVar2 + 0x10;\n      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;\n      if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }\n      goto LAB_0011f53a;\n    }" ({ "{") (expression_statement "local_30 = iVar2 + 0x10;" (assignment_expression "local_30 = iVar2 + 0x10" (identifier "local_30") (= "=") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10"))) (; ";")) (if_statement "if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;" (if "if") (parenthesized_expression "(param_2 <= *(int *)(iVar8 + 0x10))" (( "(") (binary_expression "param_2 <= *(int *)(iVar8 + 0x10)" (identifier "param_2") (<= "<=") (pointer_expression "*(int *)(iVar8 + 0x10)" (* "*") (cast_expression "(int *)(iVar8 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x10)" (( "(") (binary_expression "iVar8 + 0x10" (identifier "iVar8") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (goto_statement "goto LAB_0011f472;" (goto "goto") (statement_identifier "LAB_0011f472") (; ";"))) (if_statement "if (*(int *)(iVar4 + 0x10) != iVar8) {\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x10) != iVar8)" (( "(") (binary_expression "*(int *)(iVar4 + 0x10) != iVar8" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (identifier "iVar8")) () ")")) (compound_statement "{\n        local_2c = iVar2;\n        iVar3 = FUN_003af660(iVar8);\n        puVar6 = auStack_3c;\n        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;\n        if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }\n        bVar9 = *(int *)(iVar8 + 0xc) != 0;\n        iVar8 = local_2c;\n        goto LAB_0011f3b7;\n      }" ({ "{") (expression_statement "local_2c = iVar2;" (assignment_expression "local_2c = iVar2" (identifier "local_2c") (= "=") (identifier "iVar2")) (; ";")) (expression_statement "iVar3 = FUN_003af660(iVar8);" (assignment_expression "iVar3 = FUN_003af660(iVar8)" (identifier "iVar3") (= "=") (call_expression "FUN_003af660(iVar8)" (identifier "FUN_003af660") (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")")))) (; ";")) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" (identifier "puVar6") (= "=") (identifier "auStack_3c")) (; ";")) (if_statement "if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0x10) <= param_2)" (( "(") (binary_expression "*(int *)(iVar3 + 0x10) <= param_2" (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (<= "<=") (identifier "param_2")) () ")")) (goto_statement "goto LAB_0011f438;" (goto "goto") (statement_identifier "LAB_0011f438") (; ";"))) (if_statement "if (*(int *)(iVar8 + 0xc) == 0) {\n          iVar3 = iVar8;\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar8 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(iVar8 + 0xc) == 0" (pointer_expression "*(int *)(iVar8 + 0xc)" (* "*") (cast_expression "(int *)(iVar8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0xc)" (( "(") (binary_expression "iVar8 + 0xc" (identifier "iVar8") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar3 = iVar8;\n        }" ({ "{") (expression_statement "iVar3 = iVar8;" (assignment_expression "iVar3 = iVar8" (identifier "iVar3") (= "=") (identifier "iVar8")) (; ";")) (} "}"))) (expression_statement "bVar9 = *(int *)(iVar8 + 0xc) != 0;" (assignment_expression "bVar9 = *(int *)(iVar8 + 0xc) != 0" (identifier "bVar9") (= "=") (binary_expression "*(int *)(iVar8 + 0xc) != 0" (pointer_expression "*(int *)(iVar8 + 0xc)" (* "*") (cast_expression "(int *)(iVar8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0xc)" (( "(") (binary_expression "iVar8 + 0xc" (identifier "iVar8") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0"))) (; ";")) (expression_statement "iVar8 = local_2c;" (assignment_expression "iVar8 = local_2c" (identifier "iVar8") (= "=") (identifier "local_2c")) (; ";")) (goto_statement "goto LAB_0011f3b7;" (goto "goto") (statement_identifier "LAB_0011f3b7") (; ";")) (} "}"))) (goto_statement "goto LAB_0011f53a;" (goto "goto") (statement_identifier "LAB_0011f53a") (; ";")) (} "}"))) (expression_statement "local_30 = iVar2 + 0x10;" (assignment_expression "local_30 = iVar2 + 0x10" (identifier "local_30") (= "=") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10"))) (; ";")) (if_statement "if (*(int *)(iVar4 + 0xc) != iVar8) {\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0xc) != iVar8)" (( "(") (binary_expression "*(int *)(iVar4 + 0xc) != iVar8" (pointer_expression "*(int *)(iVar4 + 0xc)" (* "*") (cast_expression "(int *)(iVar4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (identifier "iVar8")) () ")")) (compound_statement "{\n      local_2c = iVar2;\n      iVar3 = FUN_003af6c0(iVar8);\n      puVar6 = auStack_3c;\n      if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }\n      iVar2 = local_2c;\n      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;\n      local_30 = iVar8;\n      local_24[0] = iVar8;\n      goto LAB_0011f3ae;\n    }" ({ "{") (expression_statement "local_2c = iVar2;" (assignment_expression "local_2c = iVar2" (identifier "local_2c") (= "=") (identifier "iVar2")) (; ";")) (expression_statement "iVar3 = FUN_003af6c0(iVar8);" (assignment_expression "iVar3 = FUN_003af6c0(iVar8)" (identifier "iVar3") (= "=") (call_expression "FUN_003af6c0(iVar8)" (identifier "FUN_003af6c0") (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")")))) (; ";")) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" (identifier "puVar6") (= "=") (identifier "auStack_3c")) (; ";")) (if_statement "if (param_2 <= *(int *)(iVar3 + 0x10)) {\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }" (if "if") (parenthesized_expression "(param_2 <= *(int *)(iVar3 + 0x10))" (( "(") (binary_expression "param_2 <= *(int *)(iVar3 + 0x10)" (identifier "param_2") (<= "<=") (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\nLAB_0011f438:\n        local_28 = local_2c;\n        iVar3 = local_30;\n        goto LAB_0011f443;\n      }" ({ "{") (labeled_statement "LAB_0011f438:\n        local_28 = local_2c;" (statement_identifier "LAB_0011f438") (: ":") (expression_statement "local_28 = local_2c;" (assignment_expression "local_28 = local_2c" (identifier "local_28") (= "=") (identifier "local_2c")) (; ";"))) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" (identifier "iVar3") (= "=") (identifier "local_30")) (; ";")) (goto_statement "goto LAB_0011f443;" (goto "goto") (statement_identifier "LAB_0011f443") (; ";")) (} "}"))) (expression_statement "iVar2 = local_2c;" (assignment_expression "iVar2 = local_2c" (identifier "iVar2") (= "=") (identifier "local_2c")) (; ";")) (if_statement "if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0xc) == 0" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011f53a;" (goto "goto") (statement_identifier "LAB_0011f53a") (; ";"))) (expression_statement "local_30 = iVar8;" (assignment_expression "local_30 = iVar8" (identifier "local_30") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "local_24[0] = iVar8;" (assignment_expression "local_24[0] = iVar8" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (goto_statement "goto LAB_0011f3ae;" (goto "goto") (statement_identifier "LAB_0011f3ae") (; ";")) (} "}"))) (expression_statement "bVar9 = true;" (assignment_expression "bVar9 = true" (identifier "bVar9") (= "=") (true "true")) (; ";")) (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" (identifier "iVar8") (= "=") (identifier "iVar2")) (; ";")) (} "}")))) (labeled_statement "LAB_0011f3b7:\n  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" (statement_identifier "LAB_0011f3b7") (: ":") (if_statement "if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {\n    uVar5 = 1;\n  }\n  else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" (if "if") (parenthesized_expression "((*(int *)(puVar6 + 4) == iVar3) || (bVar9))" (( "(") (binary_expression "(*(int *)(puVar6 + 4) == iVar3) || (bVar9)" (parenthesized_expression "(*(int *)(puVar6 + 4) == iVar3)" (( "(") (binary_expression "*(int *)(puVar6 + 4) == iVar3" (pointer_expression "*(int *)(puVar6 + 4)" (* "*") (cast_expression "(int *)(puVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "iVar3")) () ")")) (|| "||") (parenthesized_expression "(bVar9)" (( "(") (identifier "bVar9") () ")"))) () ")")) (compound_statement "{\n    uVar5 = 1;\n  }" ({ "{") (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" (else "else") (compound_statement "{\n    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));\n  }" ({ "{") (expression_statement "uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));" (assignment_expression "uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10))" (identifier "uVar5") (= "=") (call_expression "(uint)(param_2 < *(int *)(iVar3 + 0x10))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < *(int *)(iVar3 + 0x10))" (( "(") (binary_expression "param_2 < *(int *)(iVar3 + 0x10)" (identifier "param_2") (< "<") (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (} "}"))))) (expression_statement "*(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);" (assignment_expression "*(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4)" (pointer_expression "*(undefined4 *)(puVar6 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -4)" (( "(") (binary_expression "puVar6 + -4" (identifier "puVar6") (+ "+") (number_literal "-4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar6 + 4)" (* "*") (cast_expression "(undefined4 *)(puVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 4)" (( "(") (binary_expression "puVar6 + 4" (identifier "puVar6") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(int *)(puVar6 + -8) = iVar3;" (assignment_expression "*(int *)(puVar6 + -8) = iVar3" (pointer_expression "*(int *)(puVar6 + -8)" (* "*") (cast_expression "(int *)(puVar6 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -8)" (( "(") (binary_expression "puVar6 + -8" (identifier "puVar6") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)(puVar6 + -0xc) = iVar8;" (assignment_expression "*(int *)(puVar6 + -0xc) = iVar8" (pointer_expression "*(int *)(puVar6 + -0xc)" (* "*") (cast_expression "(int *)(puVar6 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0xc)" (( "(") (binary_expression "puVar6 + -0xc" (identifier "puVar6") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*(uint *)(puVar6 + -0x10) = uVar5;" (assignment_expression "*(uint *)(puVar6 + -0x10) = uVar5" (pointer_expression "*(uint *)(puVar6 + -0x10)" (* "*") (cast_expression "(uint *)(puVar6 + -0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x10)" (( "(") (binary_expression "puVar6 + -0x10" (identifier "puVar6") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;" (assignment_expression "*(undefined4 *)(puVar6 + -0x14) = 0x11f3d6" (pointer_expression "*(undefined4 *)(puVar6 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar6 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + -0x14)" (( "(") (binary_expression "puVar6 + -0x14" (identifier "puVar6") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x11f3d6")) (; ";")) (expression_statement "FUN_003af7a0();" (call_expression "FUN_003af7a0()" (identifier "FUN_003af7a0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;" (assignment_expression "*(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "*(int *)(iVar4 + 0x14) + 1" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_0011f3dd:\n  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);" (statement_identifier "LAB_0011f3dd") (: ":") (expression_statement "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);" (assignment_expression "*(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8)" (pointer_expression "*(undefined4 *)(iVar8 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar8 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x14)" (( "(") (binary_expression "iVar8 + 0x14" (identifier "iVar8") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(puVar6 + 8)" (* "*") (cast_expression "(undefined4 *)(puVar6 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 8)" (( "(") (binary_expression "puVar6 + 8" (identifier "puVar6") (+ "+") (number_literal "8")) () ")"))))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void update_offset_map(Arm_exidx_fixup * this, section_offset_type
   input_offset, section_size_type deleted_bytes, bool delete_entry) */

void __thiscall
anon_unknown.dwarf_91258a::type_1::function_1
          (type_1 *this,type_2 input_offset,type_3 deleted_bytes,
          bool delete_entry)

{
}


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

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

void __regparm3 MASKED(int param_1,int param_2,int param_3,int param_4)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  uint uVar5;
  undefined1 *puVar6;
  undefined1 *puVar7;
  int iVar8;
  bool bVar9;
  undefined1 auStack_40 [4];
  undefined1 auStack_3c [4];
  int local_38;
  int local_34;
  int local_30;
  int local_2c;
  int local_28;
  int local_24 [4];
  undefined4 uStack_14;
  
  uStack_14 = 0x11f2db;
  puVar6 = auStack_3c;
  iVar4 = *(int *)(param_1 + 0x10);
  if (iVar4 == 0) {
    local_30 = param_4;
    local_34 = param_3;
    iVar4 = FUN_003ac4d0(0x18);
    *(undefined4 *)(iVar4 + 4) = 0;
    local_38 = iVar4 + 4;
    *(undefined4 *)(iVar4 + 8) = 0;
    *(int *)(iVar4 + 0xc) = local_38;
    *(int *)(iVar4 + 0x10) = local_38;
    iVar2 = param_2 - local_34;
    *(undefined4 *)(iVar4 + 0x14) = 0;
    *(int *)(param_1 + 0x10) = iVar4;
    local_34 = -1;
    if ((char)local_30 == '\0') {
      local_34 = iVar2;
    }
LAB_0011f4fa:
    iVar2 = FUN_003ac4d0(0x18);
    *(int *)(iVar2 + 0x10) = param_2;
    *(undefined4 *)(iVar2 + 0x14) = 0;
    if ((*(int *)(iVar4 + 0x14) == 0) ||
       (iVar3 = *(int *)(iVar4 + 0x10), param_2 <= *(int *)(*(int *)(iVar4 + 0x10) + 0x10))) {
      iVar3 = iVar2 + 0x10;
      local_28 = iVar2;
LAB_0011f443:
      puVar7 = auStack_40;
      puVar6 = auStack_40;
      FUN_001445e0(local_24,iVar4,iVar3);
      local_30 = local_28;
      local_34 = local_28;
      iVar2 = local_2c;
      iVar8 = local_28;
      if (local_24[0] == 0) {
LAB_0011f472:
        *(int *)(puVar7 + -0x10) = iVar2;
        *(undefined4 *)(puVar7 + -0x14) = 0x11f47b;
        FUN_003ae080();
        *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar7 + 8);
        return;
      }
LAB_0011f3ae:
      bVar9 = *(int *)(puVar6 + 0xc) != 0;
      iVar3 = local_24[0];
      iVar8 = local_2c;
    }
    else {
LAB_0011f53a:
      puVar6 = auStack_3c;
      bVar9 = false;
      iVar8 = iVar2;
    }
  }
  else {
    local_38 = iVar4 + 4;
    local_34 = -1;
    if ((char)param_4 == '\0') {
      local_34 = param_2 - param_3;
    }
    if (*(int *)(iVar4 + 8) == 0) goto LAB_0011f4fa;
    iVar2 = *(int *)(iVar4 + 8);
    iVar3 = iVar4 + 4;
    do {
      while (iVar8 = iVar2, param_2 <= *(int *)(iVar8 + 0x10)) {
        iVar2 = *(int *)(iVar8 + 8);
        iVar3 = iVar8;
        if (*(int *)(iVar8 + 8) == 0) goto LAB_0011f335;
      }
      piVar1 = (int *)(iVar8 + 0xc);
      iVar2 = *piVar1;
      iVar8 = iVar3;
    } while (*piVar1 != 0);
LAB_0011f335:
    if (iVar4 + 4 == iVar8) goto LAB_0011f4fa;
    if (*(int *)(iVar8 + 0x10) <= param_2) goto LAB_0011f3dd;
    iVar2 = FUN_003ac4d0(0x18);
    puVar7 = auStack_3c;
    puVar6 = auStack_3c;
    *(int *)(iVar2 + 0x10) = param_2;
    *(undefined4 *)(iVar2 + 0x14) = 0;
    iVar3 = iVar8;
    if (*(int *)(iVar8 + 0x10) <= param_2) {
      local_30 = iVar2 + 0x10;
      if (param_2 <= *(int *)(iVar8 + 0x10)) goto LAB_0011f472;
      if (*(int *)(iVar4 + 0x10) != iVar8) {
        local_2c = iVar2;
        iVar3 = FUN_003af660(iVar8);
        puVar6 = auStack_3c;
        if (*(int *)(iVar3 + 0x10) <= param_2) goto LAB_0011f438;
        if (*(int *)(iVar8 + 0xc) == 0) {
          iVar3 = iVar8;
        }
        bVar9 = *(int *)(iVar8 + 0xc) != 0;
        iVar8 = local_2c;
        goto LAB_0011f3b7;
      }
      goto LAB_0011f53a;
    }
    local_30 = iVar2 + 0x10;
    if (*(int *)(iVar4 + 0xc) != iVar8) {
      local_2c = iVar2;
      iVar3 = FUN_003af6c0(iVar8);
      puVar6 = auStack_3c;
      if (param_2 <= *(int *)(iVar3 + 0x10)) {
LAB_0011f438:
        local_28 = local_2c;
        iVar3 = local_30;
        goto LAB_0011f443;
      }
      iVar2 = local_2c;
      if (*(int *)(iVar3 + 0xc) == 0) goto LAB_0011f53a;
      local_30 = iVar8;
      local_24[0] = iVar8;
      goto LAB_0011f3ae;
    }
    bVar9 = true;
    iVar8 = iVar2;
  }
LAB_0011f3b7:
  if ((*(int *)(puVar6 + 4) == iVar3) || (bVar9)) {
    uVar5 = 1;
  }
  else {
    uVar5 = (uint)(param_2 < *(int *)(iVar3 + 0x10));
  }
  *(undefined4 *)(puVar6 + -4) = *(undefined4 *)(puVar6 + 4);
  *(int *)(puVar6 + -8) = iVar3;
  *(int *)(puVar6 + -0xc) = iVar8;
  *(uint *)(puVar6 + -0x10) = uVar5;
  *(undefined4 *)(puVar6 + -0x14) = 0x11f3d6;
  FUN_003af7a0();
  *(int *)(iVar4 + 0x14) = *(int *)(iVar4 + 0x14) + 1;
LAB_0011f3dd:
  *(undefined4 *)(iVar8 + 0x14) = *(undefined4 *)(puVar6 + 8);
  return;
}

