
def_file_export *
def_file_add_export(def_file *fdef,char *external_name,char *internal_name,int ordinal,
                   char *its_name,int *is_dup)

{
  int iVar1;
  int iVar2;
  int iVar3;
  long lVar4;
  def_file_export *pdVar5;
  char *pcVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  long lVar10;
  
  iVar1 = fdef->num_exports;
  if ((((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&
      (pcVar6 = external_name, external_name != (char *)0x0)) && (internal_name == (char *)0x0)) {
    internal_name = external_name;
  }
  pdVar5 = fdef->exports;
  *is_dup = 0;
  iVar9 = fdef->num_exports;
  if (iVar9 == 0) {
    lVar10 = 0;
    iVar2 = 0;
  }
  else {
    iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal);
    if (iVar2 < 1) {
      if (iVar2 == 0) {
        *is_dup = 1;
        return pdVar5;
      }
      lVar10 = 0;
      iVar2 = 0;
    }
    else if (iVar9 == 1) {
      lVar10 = 0x28;
      iVar2 = 1;
    }
    else {
      lVar4 = (long)iVar9;
      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);
      lVar10 = lVar4 * 0x28;
      iVar2 = iVar9;
      if (iVar3 < 1) {
        iVar7 = iVar9 + -1;
        if ((iVar3 == 0) || (iVar9 == 2)) {
          lVar10 = lVar4 * 0x28 + -0x28;
          iVar2 = iVar7;
          if (iVar3 == 0) {
            *is_dup = 1;
            return pdVar5 + lVar4 + -1;
          }
        }
        else if (iVar7 < 1) {
          lVar10 = 0x28;
          iVar2 = 1;
        }
        else {
          iVar2 = 0;
          do {
            iVar8 = iVar2 + iVar7 >> 1;
            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);
            if (iVar3 == 0) {
              *is_dup = 1;
              return pdVar5 + iVar8;
            }
            if (iVar3 < 0) {
              iVar7 = iVar8 + -1;
            }
            else {
              iVar2 = iVar8 + 1;
            }
          } while (iVar2 < iVar7);
          lVar10 = (long)iVar2 * 0x28;
          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);
          if (iVar3 < 1) {
            if (iVar3 == 0) {
              *is_dup = 1;
              return pdVar5 + iVar2;
            }
          }
          else {
            lVar10 = lVar10 + 0x28;
            iVar2 = iVar2 + 1;
          }
        }
      }
    }
  }
  if ((int)(iVar1 + 0x1fU & 0xffffffe0) <= iVar9) {
    if (pdVar5 == (def_file_export *)0x0) {
      pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);
      iVar9 = fdef->num_exports;
      fdef->exports = pdVar5;
    }
    else {
      pdVar5 = (def_file_export *)xrealloc(pdVar5);
      iVar9 = fdef->num_exports;
      fdef->exports = pdVar5;
    }
  }
  pdVar5 = (def_file_export *)((long)&pdVar5->name + lVar10);
  if (iVar2 != iVar9) {
    memmove(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28);
  }
  pdVar5->flag_private = '\0';
  pdVar5->flag_constant = '\0';
  pdVar5->flag_noname = '\0';
  pdVar5->flag_data = '\0';
  pdVar5->flag_forward = '\0';
  *(undefined3 *)&pdVar5->field_0x25 = 0;
  pdVar5->name = (char *)0x0;
  pdVar5->internal_name = (char *)0x0;
  pdVar5->its_name = (char *)0x0;
  pdVar5->ordinal = 0;
  pdVar5->hint = 0;
  pcVar6 = (char *)xstrdup(pcVar6);
  pdVar5->name = pcVar6;
  pcVar6 = (char *)xstrdup(internal_name);
  pdVar5->internal_name = pcVar6;
  if (its_name != (char *)0x0) {
    its_name = (char *)xstrdup(its_name);
  }
  pdVar5->its_name = its_name;
  pdVar5->ordinal = ordinal;
  fdef->num_exports = fdef->num_exports + 1;
  return pdVar5;
}



undefined1 (*) [16]
FUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,
            undefined4 *param_6)

{
  long lVar1;
  undefined1 (*pauVar2) [16];
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  undefined1 (*pauVar7) [16];
  undefined8 uVar8;
  int iVar9;
  int iVar10;
  long lVar11;
  long lVar12;
  
  iVar3 = *(int *)(param_1 + 0x40);
  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&
     (param_3 == 0)) {
    param_3 = param_2;
  }
  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);
  *param_6 = 0;
  iVar10 = *(int *)(param_1 + 0x40);
  if (iVar10 == 0) {
    lVar12 = 0;
    iVar4 = 0;
  }
  else {
    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);
    if (iVar4 < 1) {
      if (iVar4 == 0) {
        *param_6 = 1;
        return pauVar7;
      }
      lVar12 = 0;
      iVar4 = 0;
    }
    else if (iVar10 == 1) {
      lVar12 = 0x28;
      iVar4 = 1;
    }
    else {
      lVar1 = (long)iVar10 * 0x28 + -0x28;
      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);
      lVar12 = (long)iVar10 * 0x28;
      iVar4 = iVar10;
      if (iVar5 < 1) {
        iVar4 = iVar10 + -1;
        if ((iVar5 == 0) || (iVar10 == 2)) {
          lVar12 = lVar1;
          if (iVar5 == 0) {
            *param_6 = 1;
            return (undefined1 (*) [16])((long)pauVar7 + lVar1);
          }
        }
        else if (iVar4 < 1) {
          lVar12 = 0x28;
          iVar4 = 1;
        }
        else {
          iVar5 = 0;
          iVar9 = iVar4;
          do {
            iVar4 = iVar5 + iVar9 >> 1;
            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);
            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);
            if (iVar6 == 0) {
              *param_6 = 1;
              return pauVar2;
            }
            if (iVar6 < 0) {
              iVar9 = iVar4 + -1;
              iVar4 = iVar5;
            }
            else {
              iVar4 = iVar4 + 1;
            }
            iVar5 = iVar4;
          } while (iVar4 < iVar9);
          lVar12 = (long)iVar4 * 0x28;
          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,
                               param_4);
          if (iVar5 < 1) {
            if (iVar5 == 0) {
              *param_6 = 1;
              return (undefined1 (*) [16])((long)pauVar7 + lVar12);
            }
          }
          else {
            lVar12 = lVar12 + 0x28;
            iVar4 = iVar4 + 1;
          }
        }
      }
    }
  }
  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {
    if (pauVar7 == (undefined1 (*) [16])0x0) {
      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);
      iVar10 = *(int *)(param_1 + 0x40);
      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;
    }
    else {
      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);
      iVar10 = *(int *)(param_1 + 0x40);
      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;
    }
  }
  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);
  if (iVar4 != iVar10) {
    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);
  }
  *(undefined8 *)pauVar7[2] = 0;
  *pauVar7 = (undefined1  [16])0x0;
  pauVar7[1] = (undefined1  [16])0x0;
  uVar8 = xstrdup(lVar11);
  *(undefined8 *)*pauVar7 = uVar8;
  uVar8 = xstrdup(param_3);
  *(undefined8 *)(*pauVar7 + 8) = uVar8;
  if (param_5 != 0) {
    param_5 = xstrdup(param_5);
  }
  *(long *)pauVar7[1] = param_5;
  *(undefined4 *)(pauVar7[1] + 8) = param_4;
  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;
  return pauVar7;
}


PUSH R15
PUSH R14
MOV R14,R8
PUSH R13
MOV R13,RDI
PUSH R12
MOV R12,RSI
PUSH RBP
MOV RBP,RDX
PUSH RBX
SUB RSP,0x38
MOV EAX,dword ptr [RDI + 0x40]
MOV dword ptr [RSP + 0x4],ECX
MOV qword ptr [RSP + 0x8],R9
MOV dword ptr [RSP + 0x20],EAX
TEST RDX,RDX
JZ 0x0014b2a0
TEST RSI,RSI
JNZ 0x0014b2a0
MOV R12,RDX
MOV RAX,qword ptr [RSP + 0x8]
MOV RBX,qword ptr [R13 + 0x48]
MOV dword ptr [RAX],0x0
MOV R9D,dword ptr [R13 + 0x40]
TEST R9D,R9D
JZ 0x0014b2b8
MOV R8D,dword ptr [RSP + 0x4]
MOV RCX,R14
MOV RDX,RBP
MOV RSI,R12
MOV RDI,RBX
MOV dword ptr [RSP + 0x10],R9D
CALL 0x0014ac10
MOV R9D,dword ptr [RSP + 0x10]
TEST EAX,EAX
JLE 0x0014b388
CMP R9D,0x1
JZ 0x0014b3d0
MOVSXD RAX,R9D
MOV R8D,dword ptr [RSP + 0x4]
MOV RCX,R14
MOV RDX,RBP
LEA R15,[RAX + RAX*0x4]
MOV RSI,R12
MOV dword ptr [RSP + 0x10],R9D
SHL R15,0x3
LEA R10,[R15 + -0x28]
LEA RDI,[RBX + R10*0x1]
MOV qword ptr [RSP + 0x18],R10
CALL 0x0014ac10
MOV R9D,dword ptr [RSP + 0x10]
TEST EAX,EAX
JG 0x0014b3c0
LEA R11D,[R9 + -0x1]
MOV R10,qword ptr [RSP + 0x18]
JZ 0x0014b3a0
CMP R9D,0x2
JZ 0x0014b3a0
TEST R11D,R11D
JLE 0x0014b4c2
XOR EAX,EAX
MOV qword ptr [RSP + 0x28],R13
MOV qword ptr [RSP + 0x18],RBP
MOV R13D,EAX
MOV EBP,R11D
MOV dword ptr [RSP + 0x24],R9D
MOV qword ptr [RSP + 0x10],R12
JMP 0x0014b25e
LEA R13D,[R12 + 0x1]
CMP R13D,EBP
JGE 0x0014b430
LEA R9D,[R13 + RBP*0x1]
MOV R8D,dword ptr [RSP + 0x4]
MOV RDX,qword ptr [RSP + 0x18]
MOV RCX,R14
SAR R9D,0x1
MOV RSI,qword ptr [RSP + 0x10]
MOVSXD RAX,R9D
MOV R12,RAX
LEA RAX,[RAX + RAX*0x4]
LEA R15,[RBX + RAX*0x8]
MOV RDI,R15
CALL 0x0014ac10
TEST EAX,EAX
JZ 0x0014b418
JNS 0x0014b250
LEA EBP,[R12 + -0x1]
JMP 0x0014b255
TEST R12,R12
JZ 0x0014b17f
TEST RBP,RBP
CMOVZ RBP,R12
JMP 0x0014b17f
XOR R11D,R11D
XOR R15D,R15D
MOV EAX,dword ptr [RSP + 0x20]
ADD EAX,0x1f
AND EAX,0xffffffe0
CMP R9D,EAX
JL 0x0014b306
ADD R9D,0x20
MOV dword ptr [RSP + 0x8],R11D
AND R9D,0xffffffe0
MOVSXD R9,R9D
LEA RSI,[R9 + R9*0x4]
SHL RSI,0x3
TEST RBX,RBX
JZ 0x0014b3e8
MOV RDI,RBX
CALL 0x0010d400
MOV R9D,dword ptr [R13 + 0x40]
MOV R11D,dword ptr [RSP + 0x8]
MOV qword ptr [R13 + 0x48],RAX
MOV RBX,RAX
ADD RBX,R15
CMP R11D,R9D
JZ 0x0014b328
SUB R9D,R11D
LEA RDI,[RBX + 0x28]
MOV RSI,RBX
MOVSXD R9,R9D
LEA RDX,[R9 + R9*0x4]
SHL RDX,0x3
CALL 0x0010d9e0
MOV qword ptr [RBX + 0x20],0x0
PXOR XMM0,XMM0
MOV RDI,R12
MOVUPS xmmword ptr [RBX],XMM0
MOVUPS xmmword ptr [RBX + 0x10],XMM0
CALL 0x0010d510
MOV RDI,RBP
MOV qword ptr [RBX],RAX
CALL 0x0010d510
MOV qword ptr [RBX + 0x8],RAX
TEST R14,R14
JZ 0x0014b362
MOV RDI,R14
CALL 0x0010d510
MOV R14,RAX
MOV EAX,dword ptr [RSP + 0x4]
MOV qword ptr [RBX + 0x10],R14
MOV dword ptr [RBX + 0x18],EAX
ADD dword ptr [R13 + 0x40],0x1
ADD RSP,0x38
MOV RAX,RBX
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
JNZ 0x0014b408
MOV RAX,qword ptr [RSP + 0x8]
MOV dword ptr [RAX],0x1
JMP 0x0014b372
TEST EAX,EAX
JNZ 0x0014b490
MOV RAX,qword ptr [RSP + 0x8]
ADD RBX,R10
MOV dword ptr [RAX],0x1
JMP 0x0014b372
MOV R11D,R9D
JMP 0x0014b2be
MOV R11D,0x1
MOV R15D,0x28
JMP 0x0014b2be
MOV RDI,RSI
CALL 0x0010dda0
MOV R9D,dword ptr [R13 + 0x40]
MOV R11D,dword ptr [RSP + 0x8]
MOV RBX,RAX
MOV qword ptr [R13 + 0x48],RAX
JMP 0x0014b306
XOR R15D,R15D
XOR R11D,R11D
JMP 0x0014b2be
MOV RAX,qword ptr [RSP + 0x8]
MOV RBX,R15
MOV dword ptr [RAX],0x1
JMP 0x0014b372
MOVSXD RAX,R13D
MOV R12,qword ptr [RSP + 0x10]
MOV RBP,qword ptr [RSP + 0x18]
MOV RCX,R14
LEA R15,[RAX + RAX*0x4]
MOV R8D,dword ptr [RSP + 0x4]
MOV dword ptr [RSP + 0x18],EAX
SHL R15,0x3
MOV RDX,RBP
MOV RSI,R12
MOV R13,qword ptr [RSP + 0x28]
LEA R10,[RBX + R15*0x1]
MOV RDI,R10
MOV qword ptr [RSP + 0x10],R10
CALL 0x0014ac10
MOV R10,qword ptr [RSP + 0x10]
MOV R9D,dword ptr [RSP + 0x24]
TEST EAX,EAX
JLE 0x0014b4a0
MOV EAX,dword ptr [RSP + 0x18]
ADD R15,0x28
ADD EAX,0x1
MOV R11D,EAX
JMP 0x0014b2be
MOV R15,R10
JMP 0x0014b2be
JNZ 0x0014b4b8
MOV RAX,qword ptr [RSP + 0x8]
MOV RBX,R10
MOV dword ptr [RAX],0x1
JMP 0x0014b372
MOV R11D,dword ptr [RSP + 0x18]
JMP 0x0014b2be
MOV R15D,0x28
MOV R11D,0x1
JMP 0x0014b2be
(translation_unit "undefined1 (*) [16]\nFUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)\n\n{\n  long lVar1;\n  undefined1 (*pauVar2) [16];\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined1 (*pauVar7) [16];\n  undefined8 uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  \n  iVar3 = *(int *)(param_1 + 0x40);\n  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }\n  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);\n  *param_6 = 0;\n  iVar10 = *(int *)(param_1 + 0x40);\n  if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }\n  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);\n  if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }\n  *(undefined8 *)pauVar7[2] = 0;\n  *pauVar7 = (undefined1  [16])0x0;\n  pauVar7[1] = (undefined1  [16])0x0;\n  uVar8 = xstrdup(lVar11);\n  *(undefined8 *)*pauVar7 = uVar8;\n  uVar8 = xstrdup(param_3);\n  *(undefined8 *)(*pauVar7 + 8) = uVar8;\n  if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }\n  *(long *)pauVar7[1] = param_5;\n  *(undefined4 *)(pauVar7[1] + 8) = param_4;\n  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;\n  return pauVar7;\n}\n\n" (function_definition "undefined1 (*) [16]\nFUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)\n\n{\n  long lVar1;\n  undefined1 (*pauVar2) [16];\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined1 (*pauVar7) [16];\n  undefined8 uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  \n  iVar3 = *(int *)(param_1 + 0x40);\n  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }\n  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);\n  *param_6 = 0;\n  iVar10 = *(int *)(param_1 + 0x40);\n  if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }\n  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);\n  if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }\n  *(undefined8 *)pauVar7[2] = 0;\n  *pauVar7 = (undefined1  [16])0x0;\n  pauVar7[1] = (undefined1  [16])0x0;\n  uVar8 = xstrdup(lVar11);\n  *(undefined8 *)*pauVar7 = uVar8;\n  uVar8 = xstrdup(param_3);\n  *(undefined8 *)(*pauVar7 + 8) = uVar8;\n  if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }\n  *(long *)pauVar7[1] = param_5;\n  *(undefined4 *)(pauVar7[1] + 8) = param_4;\n  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;\n  return pauVar7;\n}" type_identifier (ERROR "(*) [16]" (array_declarator "(*) [16]" (parenthesized_declarator "(*)" ( (pointer_declarator "*" * identifier) )) [ number_literal ])) (function_declarator "FUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)" identifier (parameter_list "(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  undefined1 (*pauVar2) [16];\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined1 (*pauVar7) [16];\n  undefined8 uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  \n  iVar3 = *(int *)(param_1 + 0x40);\n  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }\n  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);\n  *param_6 = 0;\n  iVar10 = *(int *)(param_1 + 0x40);\n  if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }\n  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);\n  if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }\n  *(undefined8 *)pauVar7[2] = 0;\n  *pauVar7 = (undefined1  [16])0x0;\n  pauVar7[1] = (undefined1  [16])0x0;\n  uVar8 = xstrdup(lVar11);\n  *(undefined8 *)*pauVar7 = uVar8;\n  uVar8 = xstrdup(param_3);\n  *(undefined8 *)(*pauVar7 + 8) = uVar8;\n  if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }\n  *(long *)pauVar7[1] = param_5;\n  *(undefined4 *)(pauVar7[1] + 8) = param_4;\n  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;\n  return pauVar7;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "undefined1 (*pauVar2) [16];" (subscript_expression "undefined1 (*pauVar2) [16]" (call_expression "undefined1 (*pauVar2)" identifier (argument_list "(*pauVar2)" ( (pointer_expression "*pauVar2" * identifier) ))) [ number_literal ]) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "undefined1 (*pauVar7) [16];" (subscript_expression "undefined1 (*pauVar7) [16]" (call_expression "undefined1 (*pauVar7)" identifier (argument_list "(*pauVar7)" ( (pointer_expression "*pauVar7" * identifier) ))) [ number_literal ]) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }" if (parenthesized_expression "((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0))" ( (binary_expression "(((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)" (parenthesized_expression "(((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0))" ( (binary_expression "((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)" (parenthesized_expression "((param_3 == 0) || (lVar11 = param_3, param_2 != 0))" ( (binary_expression "(param_3 == 0) || (lVar11 = param_3, param_2 != 0)" (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) || (parenthesized_expression "(lVar11 = param_3, param_2 != 0)" ( (comma_expression "lVar11 = param_3, param_2 != 0" (assignment_expression "lVar11 = param_3" identifier = identifier) , (binary_expression "param_2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(lVar11 = param_2, param_2 != 0)" ( (comma_expression "lVar11 = param_2, param_2 != 0" (assignment_expression "lVar11 = param_2" identifier = identifier) , (binary_expression "param_2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) ))) )) (compound_statement "{\n    param_3 = param_2;\n  }" { (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" identifier = identifier) ;) })) (expression_statement "pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);" (assignment_expression "pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48)" identifier = (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" * (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    lVar12 = 0;\n    iVar4 = 0;\n  }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" else (compound_statement "{\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" { (expression_statement "iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4)" identifier = (call_expression "FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4)" identifier (argument_list "(pauVar7,lVar11,param_3,param_5,param_4)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }" { (if_statement "if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        *param_6 = 1;\n        return pauVar7;\n      }" { (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" * identifier) = number_literal) ;) (return_statement "return pauVar7;" return identifier ;) })) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" else (if_statement "if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar10 == 1)" ( (binary_expression "iVar10 == 1" identifier == number_literal) )) (compound_statement "{\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }" { (expression_statement "lVar12 = 0x28;" (assignment_expression "lVar12 = 0x28" identifier = number_literal) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" else (compound_statement "{\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" { (expression_statement "lVar1 = (long)iVar10 * 0x28 + -0x28;" (assignment_expression "lVar1 = (long)iVar10 * 0x28 + -0x28" identifier = (binary_expression "(long)iVar10 * 0x28 + -0x28" (binary_expression "(long)iVar10 * 0x28" (cast_expression "(long)iVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) + number_literal)) ;) (expression_statement "iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" identifier = (call_expression "FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" identifier (argument_list "((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" ( (binary_expression "(long)pauVar7 + lVar1" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) , identifier , identifier , identifier , identifier )))) ;) (expression_statement "lVar12 = (long)iVar10 * 0x28;" (assignment_expression "lVar12 = (long)iVar10 * 0x28" identifier = (binary_expression "(long)iVar10 * 0x28" (cast_expression "(long)iVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ;) (expression_statement "iVar4 = iVar10;" (assignment_expression "iVar4 = iVar10" identifier = identifier) ;) (if_statement "if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }" { (expression_statement "iVar4 = iVar10 + -1;" (assignment_expression "iVar4 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" if (parenthesized_expression "((iVar5 == 0) || (iVar10 == 2))" ( (binary_expression "(iVar5 == 0) || (iVar10 == 2)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar10 == 2)" ( (binary_expression "iVar10 == 2" identifier == number_literal) ))) )) (compound_statement "{\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }" { (expression_statement "lVar12 = lVar1;" (assignment_expression "lVar12 = lVar1" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }" { (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" * identifier) = number_literal) ;) (return_statement "return (undefined1 (*) [16])((long)pauVar7 + lVar1);" return (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar1)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "((long)pauVar7 + lVar1)" ( (binary_expression "(long)pauVar7 + lVar1" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) ;) })) }) (else_clause "else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" else (if_statement "if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }" { (expression_statement "lVar12 = 0x28;" (assignment_expression "lVar12 = 0x28" identifier = number_literal) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" else (compound_statement "{\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = iVar4;" (assignment_expression "iVar9 = iVar4" identifier = identifier) ;) (do_statement "do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);" do (compound_statement "{\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          }" { (expression_statement "iVar4 = iVar5 + iVar9 >> 1;" (assignment_expression "iVar4 = iVar5 + iVar9 >> 1" identifier = (binary_expression "iVar5 + iVar9 >> 1" (binary_expression "iVar5 + iVar9" identifier + identifier) >> number_literal)) ;) (expression_statement "pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);" (assignment_expression "pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28)" identifier = (cast_expression "(undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "((long)pauVar7 + (long)iVar4 * 0x28)" ( (binary_expression "(long)pauVar7 + (long)iVar4 * 0x28" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "(long)iVar4 * 0x28" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) ;) (expression_statement "iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4)" identifier = (call_expression "FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4)" identifier (argument_list "(pauVar2,lVar11,param_3,param_5,param_4)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              *param_6 = 1;\n              return pauVar2;\n            }" { (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" * identifier) = number_literal) ;) (return_statement "return pauVar2;" return identifier ;) })) (if_statement "if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }" { (expression_statement "iVar9 = iVar4 + -1;" (assignment_expression "iVar9 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n              iVar4 = iVar4 + 1;\n            }" else (compound_statement "{\n              iVar4 = iVar4 + 1;\n            }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 < iVar9)" ( (binary_expression "iVar4 < iVar9" identifier < identifier) )) ;) (expression_statement "lVar12 = (long)iVar4 * 0x28;" (assignment_expression "lVar12 = (long)iVar4 * 0x28" identifier = (binary_expression "(long)iVar4 * 0x28" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ;) (expression_statement "iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);" (assignment_expression "iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" identifier = (call_expression "FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" identifier (argument_list "((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" ( (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar12)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "((long)pauVar7 + lVar12)" ( (binary_expression "(long)pauVar7 + lVar12" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }" { (if_statement "if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }" { (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" * identifier) = number_literal) ;) (return_statement "return (undefined1 (*) [16])((long)pauVar7 + lVar12);" return (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar12)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "((long)pauVar7 + lVar12)" ( (binary_expression "(long)pauVar7 + lVar12" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) ;) })) }) (else_clause "else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" else (compound_statement "{\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" { (expression_statement "lVar12 = lVar12 + 0x28;" (assignment_expression "lVar12 = lVar12 + 0x28" identifier = (binary_expression "lVar12 + 0x28" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) }))))) })) }))))) }))) (if_statement "if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }" if (parenthesized_expression "((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10)" ( (binary_expression "(int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10" (cast_expression "(int)(iVar3 + 0x1fU & 0xffffffe0)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 + 0x1fU & 0xffffffe0)" ( (binary_expression "iVar3 + 0x1fU & 0xffffffe0" (binary_expression "iVar3 + 0x1fU" identifier + number_literal) & number_literal) ))) <= identifier) )) (compound_statement "{\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }" { (if_statement "if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" if (parenthesized_expression "(pauVar7 == (undefined1 (*) [16])0x0)" ( (binary_expression "pauVar7 == (undefined1 (*) [16])0x0" identifier == (cast_expression "(undefined1 (*) [16])0x0" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) number_literal)) )) (compound_statement "{\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" { (expression_statement "pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);" (assignment_expression "pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" identifier = (cast_expression "(undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" identifier (argument_list "((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" ( (binary_expression "(long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28" (cast_expression "(long)(int)(iVar10 + 0x20U & 0xffffffe0)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)(iVar10 + 0x20U & 0xffffffe0)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar10 + 0x20U & 0xffffffe0)" ( (binary_expression "iVar10 + 0x20U & 0xffffffe0" (binary_expression "iVar10 + 0x20U" identifier + number_literal) & number_literal) )))) * number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" * (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" else (compound_statement "{\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" { (expression_statement "pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);" (assignment_expression "pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7)" identifier = (cast_expression "(undefined1 (*) [16])xrealloc(pauVar7)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xrealloc(pauVar7)" identifier (argument_list "(pauVar7)" ( identifier ))))) ;) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" * (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);" (assignment_expression "pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12)" identifier = (cast_expression "(undefined1 (*) [16])(*pauVar7 + lVar12)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(*pauVar7 + lVar12)" ( (binary_expression "*pauVar7 + lVar12" (pointer_expression "*pauVar7" * identifier) + identifier) )))) ;) (if_statement "if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }" if (parenthesized_expression "(iVar4 != iVar10)" ( (binary_expression "iVar4 != iVar10" identifier != identifier) )) (compound_statement "{\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }" { (expression_statement "memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);" (call_expression "memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28)" identifier (argument_list "(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28)" ( (binary_expression "pauVar7[2] + 8" (subscript_expression "pauVar7[2]" identifier [ number_literal ]) + number_literal) , identifier , (binary_expression "(long)(iVar10 - iVar4) * 0x28" (cast_expression "(long)(iVar10 - iVar4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar10 - iVar4)" ( (binary_expression "iVar10 - iVar4" identifier - identifier) ))) * number_literal) ))) ;) })) (expression_statement "*(undefined8 *)pauVar7[2] = 0;" (assignment_expression "*(undefined8 *)pauVar7[2] = 0" (pointer_expression "*(undefined8 *)pauVar7[2]" * (cast_expression "(undefined8 *)pauVar7[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar7[2]" identifier [ number_literal ]))) = number_literal) ;) (expression_statement "*pauVar7 = (undefined1  [16])0x0;" (assignment_expression "*pauVar7 = (undefined1  [16])0x0" (pointer_expression "*pauVar7" * identifier) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "pauVar7[1] = (undefined1  [16])0x0;" (assignment_expression "pauVar7[1] = (undefined1  [16])0x0" (subscript_expression "pauVar7[1]" identifier [ number_literal ]) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "uVar8 = xstrdup(lVar11);" (assignment_expression "uVar8 = xstrdup(lVar11)" identifier = (call_expression "xstrdup(lVar11)" identifier (argument_list "(lVar11)" ( identifier )))) ;) (expression_statement "*(undefined8 *)*pauVar7 = uVar8;" (assignment_expression "*(undefined8 *)*pauVar7 = uVar8" (pointer_expression "*(undefined8 *)*pauVar7" * (cast_expression "(undefined8 *)*pauVar7" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*pauVar7" * identifier))) = identifier) ;) (expression_statement "uVar8 = xstrdup(param_3);" (assignment_expression "uVar8 = xstrdup(param_3)" identifier = (call_expression "xstrdup(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "*(undefined8 *)(*pauVar7 + 8) = uVar8;" (assignment_expression "*(undefined8 *)(*pauVar7 + 8) = uVar8" (pointer_expression "*(undefined8 *)(*pauVar7 + 8)" * (cast_expression "(undefined8 *)(*pauVar7 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*pauVar7 + 8)" ( (binary_expression "*pauVar7 + 8" (pointer_expression "*pauVar7" * identifier) + number_literal) )))) = identifier) ;) (if_statement "if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n    param_5 = xstrdup(param_5);\n  }" { (expression_statement "param_5 = xstrdup(param_5);" (assignment_expression "param_5 = xstrdup(param_5)" identifier = (call_expression "xstrdup(param_5)" identifier (argument_list "(param_5)" ( identifier )))) ;) })) (expression_statement "*(long *)pauVar7[1] = param_5;" (assignment_expression "*(long *)pauVar7[1] = param_5" (pointer_expression "*(long *)pauVar7[1]" * (cast_expression "(long *)pauVar7[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar7[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(undefined4 *)(pauVar7[1] + 8) = param_4;" (assignment_expression "*(undefined4 *)(pauVar7[1] + 8) = param_4" (pointer_expression "*(undefined4 *)(pauVar7[1] + 8)" * (cast_expression "(undefined4 *)(pauVar7[1] + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pauVar7[1] + 8)" ( (binary_expression "pauVar7[1] + 8" (subscript_expression "pauVar7[1]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;" (assignment_expression "*(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1" (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x40) + 1" (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return pauVar7;" return identifier ;) })))
(translation_unit "def_file_export *\ndef_file_add_export(def_file *fdef,char *external_name,char *internal_name,int ordinal,\n                   char *its_name,int *is_dup)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  long lVar4;\n  def_file_export *pdVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  \n  iVar1 = fdef->num_exports;\n  if ((((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&\n      (pcVar6 = external_name, external_name != (char *)0x0)) && (internal_name == (char *)0x0)) {\n    internal_name = external_name;\n  }\n  pdVar5 = fdef->exports;\n  *is_dup = 0;\n  iVar9 = fdef->num_exports;\n  if (iVar9 == 0) {\n    lVar10 = 0;\n    iVar2 = 0;\n  }\n  else {\n    iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal);\n    if (iVar2 < 1) {\n      if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }\n      lVar10 = 0;\n      iVar2 = 0;\n    }\n    else if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar1 + 0x1fU & 0xffffffe0) <= iVar9) {\n    if (pdVar5 == (def_file_export *)0x0) {\n      pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n    else {\n      pdVar5 = (def_file_export *)xrealloc(pdVar5);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n  }\n  pdVar5 = (def_file_export *)((long)&pdVar5->name + lVar10);\n  if (iVar2 != iVar9) {\n    memmove(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28);\n  }\n  pdVar5->flag_private = '\0';\n  pdVar5->flag_constant = '\0';\n  pdVar5->flag_noname = '\0';\n  pdVar5->flag_data = '\0';\n  pdVar5->flag_forward = '\0';\n  *(undefined3 *)&pdVar5->field_0x25 = 0;\n  pdVar5->name = (char *)0x0;\n  pdVar5->internal_name = (char *)0x0;\n  pdVar5->its_name = (char *)0x0;\n  pdVar5->ordinal = 0;\n  pdVar5->hint = 0;\n  pcVar6 = (char *)xstrdup(pcVar6);\n  pdVar5->name = pcVar6;\n  pcVar6 = (char *)xstrdup(internal_name);\n  pdVar5->internal_name = pcVar6;\n  if (its_name != (char *)0x0) {\n    its_name = (char *)xstrdup(its_name);\n  }\n  pdVar5->its_name = its_name;\n  pdVar5->ordinal = ordinal;\n  fdef->num_exports = fdef->num_exports + 1;\n  return pdVar5;\n}\n\n" (function_definition "def_file_export *\ndef_file_add_export(def_file *fdef,char *external_name,char *internal_name,int ordinal,\n                   char *its_name,int *is_dup)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  long lVar4;\n  def_file_export *pdVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  \n  iVar1 = fdef->num_exports;\n  if ((((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&\n      (pcVar6 = external_name, external_name != (char *)0x0)) && (internal_name == (char *)0x0)) {\n    internal_name = external_name;\n  }\n  pdVar5 = fdef->exports;\n  *is_dup = 0;\n  iVar9 = fdef->num_exports;\n  if (iVar9 == 0) {\n    lVar10 = 0;\n    iVar2 = 0;\n  }\n  else {\n    iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal);\n    if (iVar2 < 1) {\n      if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }\n      lVar10 = 0;\n      iVar2 = 0;\n    }\n    else if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar1 + 0x1fU & 0xffffffe0) <= iVar9) {\n    if (pdVar5 == (def_file_export *)0x0) {\n      pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n    else {\n      pdVar5 = (def_file_export *)xrealloc(pdVar5);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n  }\n  pdVar5 = (def_file_export *)((long)&pdVar5->name + lVar10);\n  if (iVar2 != iVar9) {\n    memmove(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28);\n  }\n  pdVar5->flag_private = '\0';\n  pdVar5->flag_constant = '\0';\n  pdVar5->flag_noname = '\0';\n  pdVar5->flag_data = '\0';\n  pdVar5->flag_forward = '\0';\n  *(undefined3 *)&pdVar5->field_0x25 = 0;\n  pdVar5->name = (char *)0x0;\n  pdVar5->internal_name = (char *)0x0;\n  pdVar5->its_name = (char *)0x0;\n  pdVar5->ordinal = 0;\n  pdVar5->hint = 0;\n  pcVar6 = (char *)xstrdup(pcVar6);\n  pdVar5->name = pcVar6;\n  pcVar6 = (char *)xstrdup(internal_name);\n  pdVar5->internal_name = pcVar6;\n  if (its_name != (char *)0x0) {\n    its_name = (char *)xstrdup(its_name);\n  }\n  pdVar5->its_name = its_name;\n  pdVar5->ordinal = ordinal;\n  fdef->num_exports = fdef->num_exports + 1;\n  return pdVar5;\n}" type_identifier (pointer_declarator "*\ndef_file_add_export(def_file *fdef,char *external_name,char *internal_name,int ordinal,\n                   char *its_name,int *is_dup)" * (function_declarator "def_file_add_export(def_file *fdef,char *external_name,char *internal_name,int ordinal,\n                   char *its_name,int *is_dup)" identifier (parameter_list "(def_file *fdef,char *external_name,char *internal_name,int ordinal,\n                   char *its_name,int *is_dup)" ( (parameter_declaration "def_file *fdef" type_identifier (pointer_declarator "*fdef" * identifier)) , (parameter_declaration "char *external_name" primitive_type (pointer_declarator "*external_name" * identifier)) , (parameter_declaration "char *internal_name" primitive_type (pointer_declarator "*internal_name" * identifier)) , (parameter_declaration "int ordinal" primitive_type identifier) , (parameter_declaration "char *its_name" primitive_type (pointer_declarator "*its_name" * identifier)) , (parameter_declaration "int *is_dup" primitive_type (pointer_declarator "*is_dup" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  long lVar4;\n  def_file_export *pdVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  \n  iVar1 = fdef->num_exports;\n  if ((((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&\n      (pcVar6 = external_name, external_name != (char *)0x0)) && (internal_name == (char *)0x0)) {\n    internal_name = external_name;\n  }\n  pdVar5 = fdef->exports;\n  *is_dup = 0;\n  iVar9 = fdef->num_exports;\n  if (iVar9 == 0) {\n    lVar10 = 0;\n    iVar2 = 0;\n  }\n  else {\n    iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal);\n    if (iVar2 < 1) {\n      if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }\n      lVar10 = 0;\n      iVar2 = 0;\n    }\n    else if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar1 + 0x1fU & 0xffffffe0) <= iVar9) {\n    if (pdVar5 == (def_file_export *)0x0) {\n      pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n    else {\n      pdVar5 = (def_file_export *)xrealloc(pdVar5);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n  }\n  pdVar5 = (def_file_export *)((long)&pdVar5->name + lVar10);\n  if (iVar2 != iVar9) {\n    memmove(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28);\n  }\n  pdVar5->flag_private = '\0';\n  pdVar5->flag_constant = '\0';\n  pdVar5->flag_noname = '\0';\n  pdVar5->flag_data = '\0';\n  pdVar5->flag_forward = '\0';\n  *(undefined3 *)&pdVar5->field_0x25 = 0;\n  pdVar5->name = (char *)0x0;\n  pdVar5->internal_name = (char *)0x0;\n  pdVar5->its_name = (char *)0x0;\n  pdVar5->ordinal = 0;\n  pdVar5->hint = 0;\n  pcVar6 = (char *)xstrdup(pcVar6);\n  pdVar5->name = pcVar6;\n  pcVar6 = (char *)xstrdup(internal_name);\n  pdVar5->internal_name = pcVar6;\n  if (its_name != (char *)0x0) {\n    its_name = (char *)xstrdup(its_name);\n  }\n  pdVar5->its_name = its_name;\n  pdVar5->ordinal = ordinal;\n  fdef->num_exports = fdef->num_exports + 1;\n  return pdVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "def_file_export *pdVar5;" type_identifier (pointer_declarator "*pdVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "iVar1 = fdef->num_exports;" (assignment_expression "iVar1 = fdef->num_exports" identifier = (field_expression "fdef->num_exports" identifier -> field_identifier)) ;) (if_statement "if ((((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&\n      (pcVar6 = external_name, external_name != (char *)0x0)) && (internal_name == (char *)0x0)) {\n    internal_name = external_name;\n  }" if (parenthesized_expression "((((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&\n      (pcVar6 = external_name, external_name != (char *)0x0)) && (internal_name == (char *)0x0))" ( (binary_expression "(((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&\n      (pcVar6 = external_name, external_name != (char *)0x0)) && (internal_name == (char *)0x0)" (parenthesized_expression "(((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&\n      (pcVar6 = external_name, external_name != (char *)0x0))" ( (binary_expression "((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)) &&\n      (pcVar6 = external_name, external_name != (char *)0x0)" (parenthesized_expression "((internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0))" ( (binary_expression "(internal_name == (char *)0x0) || (pcVar6 = internal_name, external_name != (char *)0x0)" (parenthesized_expression "(internal_name == (char *)0x0)" ( (binary_expression "internal_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pcVar6 = internal_name, external_name != (char *)0x0)" ( (comma_expression "pcVar6 = internal_name, external_name != (char *)0x0" (assignment_expression "pcVar6 = internal_name" identifier = identifier) , (binary_expression "external_name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar6 = external_name, external_name != (char *)0x0)" ( (comma_expression "pcVar6 = external_name, external_name != (char *)0x0" (assignment_expression "pcVar6 = external_name" identifier = identifier) , (binary_expression "external_name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(internal_name == (char *)0x0)" ( (binary_expression "internal_name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    internal_name = external_name;\n  }" { (expression_statement "internal_name = external_name;" (assignment_expression "internal_name = external_name" identifier = identifier) ;) })) (expression_statement "pdVar5 = fdef->exports;" (assignment_expression "pdVar5 = fdef->exports" identifier = (field_expression "fdef->exports" identifier -> field_identifier)) ;) (expression_statement "*is_dup = 0;" (assignment_expression "*is_dup = 0" (pointer_expression "*is_dup" * identifier) = number_literal) ;) (expression_statement "iVar9 = fdef->num_exports;" (assignment_expression "iVar9 = fdef->num_exports" identifier = (field_expression "fdef->num_exports" identifier -> field_identifier)) ;) (if_statement "if (iVar9 == 0) {\n    lVar10 = 0;\n    iVar2 = 0;\n  }\n  else {\n    iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal);\n    if (iVar2 < 1) {\n      if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }\n      lVar10 = 0;\n      iVar2 = 0;\n    }\n    else if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n    lVar10 = 0;\n    iVar2 = 0;\n  }" { (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal);\n    if (iVar2 < 1) {\n      if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }\n      lVar10 = 0;\n      iVar2 = 0;\n    }\n    else if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }\n  }" else (compound_statement "{\n    iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal);\n    if (iVar2 < 1) {\n      if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }\n      lVar10 = 0;\n      iVar2 = 0;\n    }\n    else if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }\n  }" { (expression_statement "iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal);" (assignment_expression "iVar2 = cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal)" identifier = (call_expression "cmp_export_elem(pdVar5,pcVar6,internal_name,its_name,ordinal)" identifier (argument_list "(pdVar5,pcVar6,internal_name,its_name,ordinal)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 < 1) {\n      if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }\n      lVar10 = 0;\n      iVar2 = 0;\n    }\n    else if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n      if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }\n      lVar10 = 0;\n      iVar2 = 0;\n    }" { (if_statement "if (iVar2 == 0) {\n        *is_dup = 1;\n        return pdVar5;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        *is_dup = 1;\n        return pdVar5;\n      }" { (expression_statement "*is_dup = 1;" (assignment_expression "*is_dup = 1" (pointer_expression "*is_dup" * identifier) = number_literal) ;) (return_statement "return pdVar5;" return identifier ;) })) (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }" else (if_statement "if (iVar9 == 1) {\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }\n    else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar9 == 1)" ( (binary_expression "iVar9 == 1" identifier == number_literal) )) (compound_statement "{\n      lVar10 = 0x28;\n      iVar2 = 1;\n    }" { (expression_statement "lVar10 = 0x28;" (assignment_expression "lVar10 = 0x28" identifier = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }" else (compound_statement "{\n      lVar4 = (long)iVar9;\n      iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);\n      lVar10 = lVar4 * 0x28;\n      iVar2 = iVar9;\n      if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }\n    }" { (expression_statement "lVar4 = (long)iVar9;" (assignment_expression "lVar4 = (long)iVar9" identifier = (cast_expression "(long)iVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal);" (assignment_expression "iVar3 = cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal)" identifier = (call_expression "cmp_export_elem(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal)" identifier (argument_list "(pdVar5 + lVar4 + -1,pcVar6,internal_name,its_name,ordinal)" ( (binary_expression "pdVar5 + lVar4 + -1" (binary_expression "pdVar5 + lVar4" identifier + identifier) + number_literal) , identifier , identifier , identifier , identifier )))) ;) (expression_statement "lVar10 = lVar4 * 0x28;" (assignment_expression "lVar10 = lVar4 * 0x28" identifier = (binary_expression "lVar4 * 0x28" identifier * number_literal)) ;) (expression_statement "iVar2 = iVar9;" (assignment_expression "iVar2 = iVar9" identifier = identifier) ;) (if_statement "if (iVar3 < 1) {\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }" if (parenthesized_expression "(iVar3 < 1)" ( (binary_expression "iVar3 < 1" identifier < number_literal) )) (compound_statement "{\n        iVar7 = iVar9 + -1;\n        if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }\n      }" { (expression_statement "iVar7 = iVar9 + -1;" (assignment_expression "iVar7 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar3 == 0) || (iVar9 == 2)) {\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }\n        else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }" if (parenthesized_expression "((iVar3 == 0) || (iVar9 == 2))" ( (binary_expression "(iVar3 == 0) || (iVar9 == 2)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar9 == 2)" ( (binary_expression "iVar9 == 2" identifier == number_literal) ))) )) (compound_statement "{\n          lVar10 = lVar4 * 0x28 + -0x28;\n          iVar2 = iVar7;\n          if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }\n        }" { (expression_statement "lVar10 = lVar4 * 0x28 + -0x28;" (assignment_expression "lVar10 = lVar4 * 0x28 + -0x28" identifier = (binary_expression "lVar4 * 0x28 + -0x28" (binary_expression "lVar4 * 0x28" identifier * number_literal) + number_literal)) ;) (expression_statement "iVar2 = iVar7;" (assignment_expression "iVar2 = iVar7" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n            *is_dup = 1;\n            return pdVar5 + lVar4 + -1;\n          }" { (expression_statement "*is_dup = 1;" (assignment_expression "*is_dup = 1" (pointer_expression "*is_dup" * identifier) = number_literal) ;) (return_statement "return pdVar5 + lVar4 + -1;" return (binary_expression "pdVar5 + lVar4 + -1" (binary_expression "pdVar5 + lVar4" identifier + identifier) + number_literal) ;) })) }) (else_clause "else if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }" else (if_statement "if (iVar7 < 1) {\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }\n        else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }" if (parenthesized_expression "(iVar7 < 1)" ( (binary_expression "iVar7 < 1" identifier < number_literal) )) (compound_statement "{\n          lVar10 = 0x28;\n          iVar2 = 1;\n        }" { (expression_statement "lVar10 = 0x28;" (assignment_expression "lVar10 = 0x28" identifier = number_literal) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }" else (compound_statement "{\n          iVar2 = 0;\n          do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);\n          lVar10 = (long)iVar2 * 0x28;\n          iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);\n          if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }\n        }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          } while (iVar2 < iVar7);" do (compound_statement "{\n            iVar8 = iVar2 + iVar7 >> 1;\n            iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }\n            if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }\n          }" { (expression_statement "iVar8 = iVar2 + iVar7 >> 1;" (assignment_expression "iVar8 = iVar2 + iVar7 >> 1" identifier = (binary_expression "iVar2 + iVar7 >> 1" (binary_expression "iVar2 + iVar7" identifier + identifier) >> number_literal)) ;) (expression_statement "iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal);" (assignment_expression "iVar3 = cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal)" identifier = (call_expression "cmp_export_elem(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal)" identifier (argument_list "(pdVar5 + iVar8,pcVar6,internal_name,its_name,ordinal)" ( (binary_expression "pdVar5 + iVar8" identifier + identifier) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n              *is_dup = 1;\n              return pdVar5 + iVar8;\n            }" { (expression_statement "*is_dup = 1;" (assignment_expression "*is_dup = 1" (pointer_expression "*is_dup" * identifier) = number_literal) ;) (return_statement "return pdVar5 + iVar8;" return (binary_expression "pdVar5 + iVar8" identifier + identifier) ;) })) (if_statement "if (iVar3 < 0) {\n              iVar7 = iVar8 + -1;\n            }\n            else {\n              iVar2 = iVar8 + 1;\n            }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n              iVar7 = iVar8 + -1;\n            }" { (expression_statement "iVar7 = iVar8 + -1;" (assignment_expression "iVar7 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n              iVar2 = iVar8 + 1;\n            }" else (compound_statement "{\n              iVar2 = iVar8 + 1;\n            }" { (expression_statement "iVar2 = iVar8 + 1;" (assignment_expression "iVar2 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }))) }) while (parenthesized_expression "(iVar2 < iVar7)" ( (binary_expression "iVar2 < iVar7" identifier < identifier) )) ;) (expression_statement "lVar10 = (long)iVar2 * 0x28;" (assignment_expression "lVar10 = (long)iVar2 * 0x28" identifier = (binary_expression "(long)iVar2 * 0x28" (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ;) (expression_statement "iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal);" (assignment_expression "iVar3 = cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal)" identifier = (call_expression "cmp_export_elem(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal)" identifier (argument_list "(pdVar5 + iVar2,pcVar6,internal_name,its_name,ordinal)" ( (binary_expression "pdVar5 + iVar2" identifier + identifier) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 < 1) {\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }\n          else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }" if (parenthesized_expression "(iVar3 < 1)" ( (binary_expression "iVar3 < 1" identifier < number_literal) )) (compound_statement "{\n            if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }\n          }" { (if_statement "if (iVar3 == 0) {\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n              *is_dup = 1;\n              return pdVar5 + iVar2;\n            }" { (expression_statement "*is_dup = 1;" (assignment_expression "*is_dup = 1" (pointer_expression "*is_dup" * identifier) = number_literal) ;) (return_statement "return pdVar5 + iVar2;" return (binary_expression "pdVar5 + iVar2" identifier + identifier) ;) })) }) (else_clause "else {\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }" else (compound_statement "{\n            lVar10 = lVar10 + 0x28;\n            iVar2 = iVar2 + 1;\n          }" { (expression_statement "lVar10 = lVar10 + 0x28;" (assignment_expression "lVar10 = lVar10 + 0x28" identifier = (binary_expression "lVar10 + 0x28" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }))) }))))) })) }))))) }))) (if_statement "if ((int)(iVar1 + 0x1fU & 0xffffffe0) <= iVar9) {\n    if (pdVar5 == (def_file_export *)0x0) {\n      pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n    else {\n      pdVar5 = (def_file_export *)xrealloc(pdVar5);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n  }" if (parenthesized_expression "((int)(iVar1 + 0x1fU & 0xffffffe0) <= iVar9)" ( (binary_expression "(int)(iVar1 + 0x1fU & 0xffffffe0) <= iVar9" (cast_expression "(int)(iVar1 + 0x1fU & 0xffffffe0)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar1 + 0x1fU & 0xffffffe0)" ( (binary_expression "iVar1 + 0x1fU & 0xffffffe0" (binary_expression "iVar1 + 0x1fU" identifier + number_literal) & number_literal) ))) <= identifier) )) (compound_statement "{\n    if (pdVar5 == (def_file_export *)0x0) {\n      pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n    else {\n      pdVar5 = (def_file_export *)xrealloc(pdVar5);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n  }" { (if_statement "if (pdVar5 == (def_file_export *)0x0) {\n      pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }\n    else {\n      pdVar5 = (def_file_export *)xrealloc(pdVar5);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }" if (parenthesized_expression "(pdVar5 == (def_file_export *)0x0)" ( (binary_expression "pdVar5 == (def_file_export *)0x0" identifier == (cast_expression "(def_file_export *)0x0" ( (type_descriptor "def_file_export *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }" { (expression_statement "pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28);" (assignment_expression "pdVar5 = (def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28)" identifier = (cast_expression "(def_file_export *)xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28)" ( (type_descriptor "def_file_export *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28)" identifier (argument_list "((long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28)" ( (binary_expression "(long)(int)(iVar9 + 0x20U & 0xffffffe0) * 0x28" (cast_expression "(long)(int)(iVar9 + 0x20U & 0xffffffe0)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)(iVar9 + 0x20U & 0xffffffe0)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar9 + 0x20U & 0xffffffe0)" ( (binary_expression "iVar9 + 0x20U & 0xffffffe0" (binary_expression "iVar9 + 0x20U" identifier + number_literal) & number_literal) )))) * number_literal) ))))) ;) (expression_statement "iVar9 = fdef->num_exports;" (assignment_expression "iVar9 = fdef->num_exports" identifier = (field_expression "fdef->num_exports" identifier -> field_identifier)) ;) (expression_statement "fdef->exports = pdVar5;" (assignment_expression "fdef->exports = pdVar5" (field_expression "fdef->exports" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n      pdVar5 = (def_file_export *)xrealloc(pdVar5);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }" else (compound_statement "{\n      pdVar5 = (def_file_export *)xrealloc(pdVar5);\n      iVar9 = fdef->num_exports;\n      fdef->exports = pdVar5;\n    }" { (expression_statement "pdVar5 = (def_file_export *)xrealloc(pdVar5);" (assignment_expression "pdVar5 = (def_file_export *)xrealloc(pdVar5)" identifier = (cast_expression "(def_file_export *)xrealloc(pdVar5)" ( (type_descriptor "def_file_export *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xrealloc(pdVar5)" identifier (argument_list "(pdVar5)" ( identifier ))))) ;) (expression_statement "iVar9 = fdef->num_exports;" (assignment_expression "iVar9 = fdef->num_exports" identifier = (field_expression "fdef->num_exports" identifier -> field_identifier)) ;) (expression_statement "fdef->exports = pdVar5;" (assignment_expression "fdef->exports = pdVar5" (field_expression "fdef->exports" identifier -> field_identifier) = identifier) ;) }))) })) (expression_statement "pdVar5 = (def_file_export *)((long)&pdVar5->name + lVar10);" (assignment_expression "pdVar5 = (def_file_export *)((long)&pdVar5->name + lVar10)" identifier = (cast_expression "(def_file_export *)((long)&pdVar5->name + lVar10)" ( (type_descriptor "def_file_export *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pdVar5->name + lVar10)" ( (binary_expression "(long)&pdVar5->name + lVar10" (cast_expression "(long)&pdVar5->name" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pdVar5->name" & (field_expression "pdVar5->name" identifier -> field_identifier))) + identifier) )))) ;) (if_statement "if (iVar2 != iVar9) {\n    memmove(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28);\n  }" if (parenthesized_expression "(iVar2 != iVar9)" ( (binary_expression "iVar2 != iVar9" identifier != identifier) )) (compound_statement "{\n    memmove(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28);\n  }" { (expression_statement "memmove(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28);" (call_expression "memmove(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28)" identifier (argument_list "(pdVar5 + 1,pdVar5,(long)(iVar9 - iVar2) * 0x28)" ( (binary_expression "pdVar5 + 1" identifier + number_literal) , identifier , (binary_expression "(long)(iVar9 - iVar2) * 0x28" (cast_expression "(long)(iVar9 - iVar2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar9 - iVar2)" ( (binary_expression "iVar9 - iVar2" identifier - identifier) ))) * number_literal) ))) ;) })) (expression_statement "pdVar5->flag_private = '\0';" (assignment_expression "pdVar5->flag_private = '\0'" (field_expression "pdVar5->flag_private" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pdVar5->flag_constant = '\0';" (assignment_expression "pdVar5->flag_constant = '\0'" (field_expression "pdVar5->flag_constant" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pdVar5->flag_noname = '\0';" (assignment_expression "pdVar5->flag_noname = '\0'" (field_expression "pdVar5->flag_noname" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pdVar5->flag_data = '\0';" (assignment_expression "pdVar5->flag_data = '\0'" (field_expression "pdVar5->flag_data" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pdVar5->flag_forward = '\0';" (assignment_expression "pdVar5->flag_forward = '\0'" (field_expression "pdVar5->flag_forward" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(undefined3 *)&pdVar5->field_0x25 = 0;" (assignment_expression "*(undefined3 *)&pdVar5->field_0x25 = 0" (pointer_expression "*(undefined3 *)&pdVar5->field_0x25" * (cast_expression "(undefined3 *)&pdVar5->field_0x25" ( (type_descriptor "undefined3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pdVar5->field_0x25" & (field_expression "pdVar5->field_0x25" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "pdVar5->name = (char *)0x0;" (assignment_expression "pdVar5->name = (char *)0x0" (field_expression "pdVar5->name" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pdVar5->internal_name = (char *)0x0;" (assignment_expression "pdVar5->internal_name = (char *)0x0" (field_expression "pdVar5->internal_name" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pdVar5->its_name = (char *)0x0;" (assignment_expression "pdVar5->its_name = (char *)0x0" (field_expression "pdVar5->its_name" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pdVar5->ordinal = 0;" (assignment_expression "pdVar5->ordinal = 0" (field_expression "pdVar5->ordinal" identifier -> field_identifier) = number_literal) ;) (expression_statement "pdVar5->hint = 0;" (assignment_expression "pdVar5->hint = 0" (field_expression "pdVar5->hint" identifier -> field_identifier) = number_literal) ;) (expression_statement "pcVar6 = (char *)xstrdup(pcVar6);" (assignment_expression "pcVar6 = (char *)xstrdup(pcVar6)" identifier = (cast_expression "(char *)xstrdup(pcVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(pcVar6)" identifier (argument_list "(pcVar6)" ( identifier ))))) ;) (expression_statement "pdVar5->name = pcVar6;" (assignment_expression "pdVar5->name = pcVar6" (field_expression "pdVar5->name" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar6 = (char *)xstrdup(internal_name);" (assignment_expression "pcVar6 = (char *)xstrdup(internal_name)" identifier = (cast_expression "(char *)xstrdup(internal_name)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(internal_name)" identifier (argument_list "(internal_name)" ( identifier ))))) ;) (expression_statement "pdVar5->internal_name = pcVar6;" (assignment_expression "pdVar5->internal_name = pcVar6" (field_expression "pdVar5->internal_name" identifier -> field_identifier) = identifier) ;) (if_statement "if (its_name != (char *)0x0) {\n    its_name = (char *)xstrdup(its_name);\n  }" if (parenthesized_expression "(its_name != (char *)0x0)" ( (binary_expression "its_name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    its_name = (char *)xstrdup(its_name);\n  }" { (expression_statement "its_name = (char *)xstrdup(its_name);" (assignment_expression "its_name = (char *)xstrdup(its_name)" identifier = (cast_expression "(char *)xstrdup(its_name)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xstrdup(its_name)" identifier (argument_list "(its_name)" ( identifier ))))) ;) })) (expression_statement "pdVar5->its_name = its_name;" (assignment_expression "pdVar5->its_name = its_name" (field_expression "pdVar5->its_name" identifier -> field_identifier) = identifier) ;) (expression_statement "pdVar5->ordinal = ordinal;" (assignment_expression "pdVar5->ordinal = ordinal" (field_expression "pdVar5->ordinal" identifier -> field_identifier) = identifier) ;) (expression_statement "fdef->num_exports = fdef->num_exports + 1;" (assignment_expression "fdef->num_exports = fdef->num_exports + 1" (field_expression "fdef->num_exports" identifier -> field_identifier) = (binary_expression "fdef->num_exports + 1" (field_expression "fdef->num_exports" identifier -> field_identifier) + number_literal)) ;) (return_statement "return pdVar5;" return identifier ;) })))
(translation_unit "undefined1 (*) [16]\nFUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)\n\n{\n  long lVar1;\n  undefined1 (*pauVar2) [16];\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined1 (*pauVar7) [16];\n  undefined8 uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  \n  iVar3 = *(int *)(param_1 + 0x40);\n  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }\n  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);\n  *param_6 = 0;\n  iVar10 = *(int *)(param_1 + 0x40);\n  if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }\n  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);\n  if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }\n  *(undefined8 *)pauVar7[2] = 0;\n  *pauVar7 = (undefined1  [16])0x0;\n  pauVar7[1] = (undefined1  [16])0x0;\n  uVar8 = xstrdup(lVar11);\n  *(undefined8 *)*pauVar7 = uVar8;\n  uVar8 = xstrdup(param_3);\n  *(undefined8 *)(*pauVar7 + 8) = uVar8;\n  if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }\n  *(long *)pauVar7[1] = param_5;\n  *(undefined4 *)(pauVar7[1] + 8) = param_4;\n  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;\n  return pauVar7;\n}\n\n" (function_definition "undefined1 (*) [16]\nFUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)\n\n{\n  long lVar1;\n  undefined1 (*pauVar2) [16];\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined1 (*pauVar7) [16];\n  undefined8 uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  \n  iVar3 = *(int *)(param_1 + 0x40);\n  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }\n  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);\n  *param_6 = 0;\n  iVar10 = *(int *)(param_1 + 0x40);\n  if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }\n  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);\n  if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }\n  *(undefined8 *)pauVar7[2] = 0;\n  *pauVar7 = (undefined1  [16])0x0;\n  pauVar7[1] = (undefined1  [16])0x0;\n  uVar8 = xstrdup(lVar11);\n  *(undefined8 *)*pauVar7 = uVar8;\n  uVar8 = xstrdup(param_3);\n  *(undefined8 *)(*pauVar7 + 8) = uVar8;\n  if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }\n  *(long *)pauVar7[1] = param_5;\n  *(undefined4 *)(pauVar7[1] + 8) = param_4;\n  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;\n  return pauVar7;\n}" type_identifier (ERROR "(*) [16]" (array_declarator "(*) [16]" (parenthesized_declarator "(*)" ( (pointer_declarator "*" * identifier) )) [ number_literal ])) (function_declarator "FUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)" identifier (parameter_list "(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_3" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  undefined1 (*pauVar2) [16];\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined1 (*pauVar7) [16];\n  undefined8 uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  \n  iVar3 = *(int *)(param_1 + 0x40);\n  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }\n  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);\n  *param_6 = 0;\n  iVar10 = *(int *)(param_1 + 0x40);\n  if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }\n  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);\n  if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }\n  *(undefined8 *)pauVar7[2] = 0;\n  *pauVar7 = (undefined1  [16])0x0;\n  pauVar7[1] = (undefined1  [16])0x0;\n  uVar8 = xstrdup(lVar11);\n  *(undefined8 *)*pauVar7 = uVar8;\n  uVar8 = xstrdup(param_3);\n  *(undefined8 *)(*pauVar7 + 8) = uVar8;\n  if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }\n  *(long *)pauVar7[1] = param_5;\n  *(undefined4 *)(pauVar7[1] + 8) = param_4;\n  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;\n  return pauVar7;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "undefined1 (*pauVar2) [16];" (subscript_expression "undefined1 (*pauVar2) [16]" (call_expression "undefined1 (*pauVar2)" identifier (argument_list "(*pauVar2)" ( (pointer_expression "*pauVar2" * identifier) ))) [ number_literal ]) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "undefined1 (*pauVar7) [16];" (subscript_expression "undefined1 (*pauVar7) [16]" (call_expression "undefined1 (*pauVar7)" identifier (argument_list "(*pauVar7)" ( (pointer_expression "*pauVar7" * identifier) ))) [ number_literal ]) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }" if (parenthesized_expression "((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0))" ( (binary_expression "(((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)" (parenthesized_expression "(((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0))" ( (binary_expression "((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)" (parenthesized_expression "((param_3 == 0) || (lVar11 = param_3, param_2 != 0))" ( (binary_expression "(param_3 == 0) || (lVar11 = param_3, param_2 != 0)" (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) || (parenthesized_expression "(lVar11 = param_3, param_2 != 0)" ( (comma_expression "lVar11 = param_3, param_2 != 0" (assignment_expression "lVar11 = param_3" identifier = identifier) , (binary_expression "param_2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(lVar11 = param_2, param_2 != 0)" ( (comma_expression "lVar11 = param_2, param_2 != 0" (assignment_expression "lVar11 = param_2" identifier = identifier) , (binary_expression "param_2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) ))) )) (compound_statement "{\n    param_3 = param_2;\n  }" { (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" identifier = identifier) ;) })) (expression_statement "pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);" (assignment_expression "pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48)" identifier = (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" * (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    lVar12 = 0;\n    iVar4 = 0;\n  }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" else (compound_statement "{\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" { (expression_statement "iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4)" identifier = (call_expression "FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4)" identifier (argument_list "(pauVar7,lVar11,param_3,param_5,param_4)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }" { (if_statement "if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        *param_6 = 1;\n        return pauVar7;\n      }" { (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" * identifier) = number_literal) ;) (return_statement "return pauVar7;" return identifier ;) })) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" else (if_statement "if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar10 == 1)" ( (binary_expression "iVar10 == 1" identifier == number_literal) )) (compound_statement "{\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }" { (expression_statement "lVar12 = 0x28;" (assignment_expression "lVar12 = 0x28" identifier = number_literal) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" else (compound_statement "{\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" { (expression_statement "lVar1 = (long)iVar10 * 0x28 + -0x28;" (assignment_expression "lVar1 = (long)iVar10 * 0x28 + -0x28" identifier = (binary_expression "(long)iVar10 * 0x28 + -0x28" (binary_expression "(long)iVar10 * 0x28" (cast_expression "(long)iVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) + number_literal)) ;) (expression_statement "iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" identifier = (call_expression "FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" identifier (argument_list "((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" ( (binary_expression "(long)pauVar7 + lVar1" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) , identifier , identifier , identifier , identifier )))) ;) (expression_statement "lVar12 = (long)iVar10 * 0x28;" (assignment_expression "lVar12 = (long)iVar10 * 0x28" identifier = (binary_expression "(long)iVar10 * 0x28" (cast_expression "(long)iVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ;) (expression_statement "iVar4 = iVar10;" (assignment_expression "iVar4 = iVar10" identifier = identifier) ;) (if_statement "if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }" { (expression_statement "iVar4 = iVar10 + -1;" (assignment_expression "iVar4 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" if (parenthesized_expression "((iVar5 == 0) || (iVar10 == 2))" ( (binary_expression "(iVar5 == 0) || (iVar10 == 2)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar10 == 2)" ( (binary_expression "iVar10 == 2" identifier == number_literal) ))) )) (compound_statement "{\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }" { (expression_statement "lVar12 = lVar1;" (assignment_expression "lVar12 = lVar1" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }" { (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" * identifier) = number_literal) ;) (return_statement "return (undefined1 (*) [16])((long)pauVar7 + lVar1);" return (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar1)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "((long)pauVar7 + lVar1)" ( (binary_expression "(long)pauVar7 + lVar1" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) ;) })) }) (else_clause "else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" else (if_statement "if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" if (parenthesized_expression "(iVar4 < 1)" ( (binary_expression "iVar4 < 1" identifier < number_literal) )) (compound_statement "{\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }" { (expression_statement "lVar12 = 0x28;" (assignment_expression "lVar12 = 0x28" identifier = number_literal) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" else (compound_statement "{\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = iVar4;" (assignment_expression "iVar9 = iVar4" identifier = identifier) ;) (do_statement "do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);" do (compound_statement "{\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          }" { (expression_statement "iVar4 = iVar5 + iVar9 >> 1;" (assignment_expression "iVar4 = iVar5 + iVar9 >> 1" identifier = (binary_expression "iVar5 + iVar9 >> 1" (binary_expression "iVar5 + iVar9" identifier + identifier) >> number_literal)) ;) (expression_statement "pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);" (assignment_expression "pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28)" identifier = (cast_expression "(undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "((long)pauVar7 + (long)iVar4 * 0x28)" ( (binary_expression "(long)pauVar7 + (long)iVar4 * 0x28" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "(long)iVar4 * 0x28" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) )))) ;) (expression_statement "iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4)" identifier = (call_expression "FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4)" identifier (argument_list "(pauVar2,lVar11,param_3,param_5,param_4)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              *param_6 = 1;\n              return pauVar2;\n            }" { (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" * identifier) = number_literal) ;) (return_statement "return pauVar2;" return identifier ;) })) (if_statement "if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }" { (expression_statement "iVar9 = iVar4 + -1;" (assignment_expression "iVar9 = iVar4 + -1" identifier = (binary_expression "iVar4 + -1" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n              iVar4 = iVar4 + 1;\n            }" else (compound_statement "{\n              iVar4 = iVar4 + 1;\n            }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 < iVar9)" ( (binary_expression "iVar4 < iVar9" identifier < identifier) )) ;) (expression_statement "lVar12 = (long)iVar4 * 0x28;" (assignment_expression "lVar12 = (long)iVar4 * 0x28" identifier = (binary_expression "(long)iVar4 * 0x28" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ;) (expression_statement "iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);" (assignment_expression "iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" identifier = (call_expression "FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" identifier (argument_list "((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" ( (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar12)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "((long)pauVar7 + lVar12)" ( (binary_expression "(long)pauVar7 + lVar12" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }" { (if_statement "if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }" { (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" * identifier) = number_literal) ;) (return_statement "return (undefined1 (*) [16])((long)pauVar7 + lVar12);" return (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar12)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "((long)pauVar7 + lVar12)" ( (binary_expression "(long)pauVar7 + lVar12" (cast_expression "(long)pauVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) ;) })) }) (else_clause "else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" else (compound_statement "{\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" { (expression_statement "lVar12 = lVar12 + 0x28;" (assignment_expression "lVar12 = lVar12 + 0x28" identifier = (binary_expression "lVar12 + 0x28" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }))) }))))) })) }))))) }))) (if_statement "if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }" if (parenthesized_expression "((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10)" ( (binary_expression "(int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10" (cast_expression "(int)(iVar3 + 0x1fU & 0xffffffe0)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 + 0x1fU & 0xffffffe0)" ( (binary_expression "iVar3 + 0x1fU & 0xffffffe0" (binary_expression "iVar3 + 0x1fU" identifier + number_literal) & number_literal) ))) <= identifier) )) (compound_statement "{\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }" { (if_statement "if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" if (parenthesized_expression "(pauVar7 == (undefined1 (*) [16])0x0)" ( (binary_expression "pauVar7 == (undefined1 (*) [16])0x0" identifier == (cast_expression "(undefined1 (*) [16])0x0" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) number_literal)) )) (compound_statement "{\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" { (expression_statement "pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);" (assignment_expression "pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" identifier = (cast_expression "(undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" identifier (argument_list "((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" ( (binary_expression "(long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28" (cast_expression "(long)(int)(iVar10 + 0x20U & 0xffffffe0)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)(iVar10 + 0x20U & 0xffffffe0)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar10 + 0x20U & 0xffffffe0)" ( (binary_expression "iVar10 + 0x20U & 0xffffffe0" (binary_expression "iVar10 + 0x20U" identifier + number_literal) & number_literal) )))) * number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" * (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" else (compound_statement "{\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" { (expression_statement "pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);" (assignment_expression "pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7)" identifier = (cast_expression "(undefined1 (*) [16])xrealloc(pauVar7)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (call_expression "xrealloc(pauVar7)" identifier (argument_list "(pauVar7)" ( identifier ))))) ;) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" * (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" ( (type_descriptor "undefined1 (**) [16]" type_identifier (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" ( (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)) )) [ number_literal ])) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);" (assignment_expression "pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12)" identifier = (cast_expression "(undefined1 (*) [16])(*pauVar7 + lVar12)" ( (type_descriptor "undefined1 (*) [16]" type_identifier (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" ( (abstract_pointer_declarator "*" *) )) [ number_literal ])) ) (parenthesized_expression "(*pauVar7 + lVar12)" ( (binary_expression "*pauVar7 + lVar12" (pointer_expression "*pauVar7" * identifier) + identifier) )))) ;) (if_statement "if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }" if (parenthesized_expression "(iVar4 != iVar10)" ( (binary_expression "iVar4 != iVar10" identifier != identifier) )) (compound_statement "{\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }" { (expression_statement "memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);" (call_expression "memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28)" identifier (argument_list "(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28)" ( (binary_expression "pauVar7[2] + 8" (subscript_expression "pauVar7[2]" identifier [ number_literal ]) + number_literal) , identifier , (binary_expression "(long)(iVar10 - iVar4) * 0x28" (cast_expression "(long)(iVar10 - iVar4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar10 - iVar4)" ( (binary_expression "iVar10 - iVar4" identifier - identifier) ))) * number_literal) ))) ;) })) (expression_statement "*(undefined8 *)pauVar7[2] = 0;" (assignment_expression "*(undefined8 *)pauVar7[2] = 0" (pointer_expression "*(undefined8 *)pauVar7[2]" * (cast_expression "(undefined8 *)pauVar7[2]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar7[2]" identifier [ number_literal ]))) = number_literal) ;) (expression_statement "*pauVar7 = (undefined1  [16])0x0;" (assignment_expression "*pauVar7 = (undefined1  [16])0x0" (pointer_expression "*pauVar7" * identifier) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "pauVar7[1] = (undefined1  [16])0x0;" (assignment_expression "pauVar7[1] = (undefined1  [16])0x0" (subscript_expression "pauVar7[1]" identifier [ number_literal ]) = (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) ;) (expression_statement "uVar8 = xstrdup(lVar11);" (assignment_expression "uVar8 = xstrdup(lVar11)" identifier = (call_expression "xstrdup(lVar11)" identifier (argument_list "(lVar11)" ( identifier )))) ;) (expression_statement "*(undefined8 *)*pauVar7 = uVar8;" (assignment_expression "*(undefined8 *)*pauVar7 = uVar8" (pointer_expression "*(undefined8 *)*pauVar7" * (cast_expression "(undefined8 *)*pauVar7" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*pauVar7" * identifier))) = identifier) ;) (expression_statement "uVar8 = xstrdup(param_3);" (assignment_expression "uVar8 = xstrdup(param_3)" identifier = (call_expression "xstrdup(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "*(undefined8 *)(*pauVar7 + 8) = uVar8;" (assignment_expression "*(undefined8 *)(*pauVar7 + 8) = uVar8" (pointer_expression "*(undefined8 *)(*pauVar7 + 8)" * (cast_expression "(undefined8 *)(*pauVar7 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*pauVar7 + 8)" ( (binary_expression "*pauVar7 + 8" (pointer_expression "*pauVar7" * identifier) + number_literal) )))) = identifier) ;) (if_statement "if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n    param_5 = xstrdup(param_5);\n  }" { (expression_statement "param_5 = xstrdup(param_5);" (assignment_expression "param_5 = xstrdup(param_5)" identifier = (call_expression "xstrdup(param_5)" identifier (argument_list "(param_5)" ( identifier )))) ;) })) (expression_statement "*(long *)pauVar7[1] = param_5;" (assignment_expression "*(long *)pauVar7[1] = param_5" (pointer_expression "*(long *)pauVar7[1]" * (cast_expression "(long *)pauVar7[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "pauVar7[1]" identifier [ number_literal ]))) = identifier) ;) (expression_statement "*(undefined4 *)(pauVar7[1] + 8) = param_4;" (assignment_expression "*(undefined4 *)(pauVar7[1] + 8) = param_4" (pointer_expression "*(undefined4 *)(pauVar7[1] + 8)" * (cast_expression "(undefined4 *)(pauVar7[1] + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pauVar7[1] + 8)" ( (binary_expression "pauVar7[1] + 8" (subscript_expression "pauVar7[1]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;" (assignment_expression "*(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1" (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x40) + 1" (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return pauVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR (array_declarator (parenthesized_declarator ( (pointer_declarator * IDENT) )) [ LIT ])) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (subscript_expression (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (subscript_expression (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) 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 (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator * (abstract_pointer_declarator *)) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) ))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) ))) , IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }))))) })) }))))) }))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) ))) <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (call_expression IDENT (argument_list ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) * LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator * (abstract_pointer_declarator *)) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator * (abstract_pointer_declarator *)) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator (abstract_parenthesized_declarator ( (abstract_pointer_declarator *) )) [ LIT ])) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) , IDENT , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) * LIT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_array_declarator [ LIT ])) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) = IDENT) ;) (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)) ;) (return_statement return IDENT ;) })))
(function_definition "undefined1 (*) [16]\nFUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)\n\n{\n  long lVar1;\n  undefined1 (*pauVar2) [16];\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined1 (*pauVar7) [16];\n  undefined8 uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  \n  iVar3 = *(int *)(param_1 + 0x40);\n  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }\n  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);\n  *param_6 = 0;\n  iVar10 = *(int *)(param_1 + 0x40);\n  if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }\n  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);\n  if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }\n  *(undefined8 *)pauVar7[2] = 0;\n  *pauVar7 = (undefined1  [16])0x0;\n  pauVar7[1] = (undefined1  [16])0x0;\n  uVar8 = xstrdup(lVar11);\n  *(undefined8 *)*pauVar7 = uVar8;\n  uVar8 = xstrdup(param_3);\n  *(undefined8 *)(*pauVar7 + 8) = uVar8;\n  if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }\n  *(long *)pauVar7[1] = param_5;\n  *(undefined4 *)(pauVar7[1] + 8) = param_4;\n  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;\n  return pauVar7;\n}" (type_identifier "undefined1") (ERROR "(*) [16]" (array_declarator "(*) [16]" (parenthesized_declarator "(*)" (( "(") (pointer_declarator "*" (* "*") (identifier "")) () ")")) ([ "[") (number_literal "16") (] "]"))) (function_declarator "FUN_0014b140(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)" (identifier "FUN_0014b140") (parameter_list "(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,\n            undefined4 *param_6)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long param_3" (sized_type_specifier "long" (long "long")) (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "long param_5" (sized_type_specifier "long" (long "long")) (identifier "param_5")) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined1 (*pauVar2) [16];\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  undefined1 (*pauVar7) [16];\n  undefined8 uVar8;\n  int iVar9;\n  int iVar10;\n  long lVar11;\n  long lVar12;\n  \n  iVar3 = *(int *)(param_1 + 0x40);\n  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }\n  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);\n  *param_6 = 0;\n  iVar10 = *(int *)(param_1 + 0x40);\n  if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }\n  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }\n  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);\n  if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }\n  *(undefined8 *)pauVar7[2] = 0;\n  *pauVar7 = (undefined1  [16])0x0;\n  pauVar7[1] = (undefined1  [16])0x0;\n  uVar8 = xstrdup(lVar11);\n  *(undefined8 *)*pauVar7 = uVar8;\n  uVar8 = xstrdup(param_3);\n  *(undefined8 *)(*pauVar7 + 8) = uVar8;\n  if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }\n  *(long *)pauVar7[1] = param_5;\n  *(undefined4 *)(pauVar7[1] + 8) = param_4;\n  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;\n  return pauVar7;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "undefined1 (*pauVar2) [16];" (subscript_expression "undefined1 (*pauVar2) [16]" (call_expression "undefined1 (*pauVar2)" (identifier "undefined1") (argument_list "(*pauVar2)" (( "(") (pointer_expression "*pauVar2" (* "*") (identifier "pauVar2")) () ")"))) ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (expression_statement "undefined1 (*pauVar7) [16];" (subscript_expression "undefined1 (*pauVar7) [16]" (call_expression "undefined1 (*pauVar7)" (identifier "undefined1") (argument_list "(*pauVar7)" (( "(") (pointer_expression "*pauVar7" (* "*") (identifier "pauVar7")) () ")"))) ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined8 uVar8;" (type_identifier "undefined8") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "long lVar11;" (sized_type_specifier "long" (long "long")) (identifier "lVar11") (; ";")) (declaration "long lVar12;" (sized_type_specifier "long" (long "long")) (identifier "lVar12") (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x40)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (if_statement "if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)) {\n    param_3 = param_2;\n  }" (if "if") (parenthesized_expression "((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0))" (( "(") (binary_expression "(((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&\n     (param_3 == 0)" (parenthesized_expression "(((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0))" (( "(") (binary_expression "((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)" (parenthesized_expression "((param_3 == 0) || (lVar11 = param_3, param_2 != 0))" (( "(") (binary_expression "(param_3 == 0) || (lVar11 = param_3, param_2 != 0)" (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(lVar11 = param_3, param_2 != 0)" (( "(") (comma_expression "lVar11 = param_3, param_2 != 0" (assignment_expression "lVar11 = param_3" (identifier "lVar11") (= "=") (identifier "param_3")) (, ",") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(lVar11 = param_2, param_2 != 0)" (( "(") (comma_expression "lVar11 = param_2, param_2 != 0" (assignment_expression "lVar11 = param_2" (identifier "lVar11") (= "=") (identifier "param_2")) (, ",") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    param_3 = param_2;\n  }" ({ "{") (expression_statement "param_3 = param_2;" (assignment_expression "param_3 = param_2" (identifier "param_3") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);" (assignment_expression "pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48)" (identifier "pauVar7") (= "=") (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" (* "*") (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" (( "(") (type_descriptor "undefined1 (**) [16]" (type_identifier "undefined1") (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" (( "(") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (if_statement "if (iVar10 == 0) {\n    lVar12 = 0;\n    iVar4 = 0;\n  }\n  else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    lVar12 = 0;\n    iVar4 = 0;\n  }" ({ "{") (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" (identifier "lVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" (else "else") (compound_statement "{\n    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);\n    if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4)" (identifier "iVar4") (= "=") (call_expression "FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4)" (identifier "FUN_0014ac10") (argument_list "(pauVar7,lVar11,param_3,param_5,param_4)" (( "(") (identifier "pauVar7") (, ",") (identifier "lVar11") (, ",") (identifier "param_3") (, ",") (identifier "param_5") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar4 < 1) {\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }\n    else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar4 < 1)" (( "(") (binary_expression "iVar4 < 1" (identifier "iVar4") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }\n      lVar12 = 0;\n      iVar4 = 0;\n    }" ({ "{") (if_statement "if (iVar4 == 0) {\n        *param_6 = 1;\n        return pauVar7;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *param_6 = 1;\n        return pauVar7;\n      }" ({ "{") (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "1")) (; ";")) (return_statement "return pauVar7;" (return "return") (identifier "pauVar7") (; ";")) (} "}"))) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" (identifier "lVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" (else "else") (if_statement "if (iVar10 == 1) {\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }\n    else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar10 == 1)" (( "(") (binary_expression "iVar10 == 1" (identifier "iVar10") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      lVar12 = 0x28;\n      iVar4 = 1;\n    }" ({ "{") (expression_statement "lVar12 = 0x28;" (assignment_expression "lVar12 = 0x28" (identifier "lVar12") (= "=") (number_literal "0x28")) (; ";")) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" (else "else") (compound_statement "{\n      lVar1 = (long)iVar10 * 0x28 + -0x28;\n      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);\n      lVar12 = (long)iVar10 * 0x28;\n      iVar4 = iVar10;\n      if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }\n    }" ({ "{") (expression_statement "lVar1 = (long)iVar10 * 0x28 + -0x28;" (assignment_expression "lVar1 = (long)iVar10 * 0x28 + -0x28" (identifier "lVar1") (= "=") (binary_expression "(long)iVar10 * 0x28 + -0x28" (binary_expression "(long)iVar10 * 0x28" (cast_expression "(long)iVar10" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar10")) (* "*") (number_literal "0x28")) (+ "+") (number_literal "-0x28"))) (; ";")) (expression_statement "iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" (identifier "iVar5") (= "=") (call_expression "FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" (identifier "FUN_0014ac10") (argument_list "((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4)" (( "(") (binary_expression "(long)pauVar7 + lVar1" (cast_expression "(long)pauVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pauVar7")) (+ "+") (identifier "lVar1")) (, ",") (identifier "lVar11") (, ",") (identifier "param_3") (, ",") (identifier "param_5") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "lVar12 = (long)iVar10 * 0x28;" (assignment_expression "lVar12 = (long)iVar10 * 0x28" (identifier "lVar12") (= "=") (binary_expression "(long)iVar10 * 0x28" (cast_expression "(long)iVar10" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar10")) (* "*") (number_literal "0x28"))) (; ";")) (expression_statement "iVar4 = iVar10;" (assignment_expression "iVar4 = iVar10" (identifier "iVar4") (= "=") (identifier "iVar10")) (; ";")) (if_statement "if (iVar5 < 1) {\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(iVar5 < 1)" (( "(") (binary_expression "iVar5 < 1" (identifier "iVar5") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n        iVar4 = iVar10 + -1;\n        if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }\n      }" ({ "{") (expression_statement "iVar4 = iVar10 + -1;" (assignment_expression "iVar4 = iVar10 + -1" (identifier "iVar4") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if ((iVar5 == 0) || (iVar10 == 2)) {\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }\n        else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" (if "if") (parenthesized_expression "((iVar5 == 0) || (iVar10 == 2))" (( "(") (binary_expression "(iVar5 == 0) || (iVar10 == 2)" (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar10 == 2)" (( "(") (binary_expression "iVar10 == 2" (identifier "iVar10") (== "==") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n          lVar12 = lVar1;\n          if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }\n        }" ({ "{") (expression_statement "lVar12 = lVar1;" (assignment_expression "lVar12 = lVar1" (identifier "lVar12") (= "=") (identifier "lVar1")) (; ";")) (if_statement "if (iVar5 == 0) {\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            *param_6 = 1;\n            return (undefined1 (*) [16])((long)pauVar7 + lVar1);\n          }" ({ "{") (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "1")) (; ";")) (return_statement "return (undefined1 (*) [16])((long)pauVar7 + lVar1);" (return "return") (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar1)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "((long)pauVar7 + lVar1)" (( "(") (binary_expression "(long)pauVar7 + lVar1" (cast_expression "(long)pauVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pauVar7")) (+ "+") (identifier "lVar1")) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" (else "else") (if_statement "if (iVar4 < 1) {\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }\n        else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" (if "if") (parenthesized_expression "(iVar4 < 1)" (( "(") (binary_expression "iVar4 < 1" (identifier "iVar4") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n          lVar12 = 0x28;\n          iVar4 = 1;\n        }" ({ "{") (expression_statement "lVar12 = 0x28;" (assignment_expression "lVar12 = 0x28" (identifier "lVar12") (= "=") (number_literal "0x28")) (; ";")) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" (else "else") (compound_statement "{\n          iVar5 = 0;\n          iVar9 = iVar4;\n          do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);\n          lVar12 = (long)iVar4 * 0x28;\n          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);\n          if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }\n        }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = iVar4;" (assignment_expression "iVar9 = iVar4" (identifier "iVar9") (= "=") (identifier "iVar4")) (; ";")) (do_statement "do {\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          } while (iVar4 < iVar9);" (do "do") (compound_statement "{\n            iVar4 = iVar5 + iVar9 >> 1;\n            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);\n            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);\n            if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }\n            if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }\n            iVar5 = iVar4;\n          }" ({ "{") (expression_statement "iVar4 = iVar5 + iVar9 >> 1;" (assignment_expression "iVar4 = iVar5 + iVar9 >> 1" (identifier "iVar4") (= "=") (binary_expression "iVar5 + iVar9 >> 1" (binary_expression "iVar5 + iVar9" (identifier "iVar5") (+ "+") (identifier "iVar9")) (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);" (assignment_expression "pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28)" (identifier "pauVar2") (= "=") (cast_expression "(undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "((long)pauVar7 + (long)iVar4 * 0x28)" (( "(") (binary_expression "(long)pauVar7 + (long)iVar4 * 0x28" (cast_expression "(long)pauVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pauVar7")) (+ "+") (binary_expression "(long)iVar4 * 0x28" (cast_expression "(long)iVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar4")) (* "*") (number_literal "0x28"))) () ")")))) (; ";")) (expression_statement "iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);" (assignment_expression "iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4)" (identifier "iVar6") (= "=") (call_expression "FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4)" (identifier "FUN_0014ac10") (argument_list "(pauVar2,lVar11,param_3,param_5,param_4)" (( "(") (identifier "pauVar2") (, ",") (identifier "lVar11") (, ",") (identifier "param_3") (, ",") (identifier "param_5") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n              *param_6 = 1;\n              return pauVar2;\n            }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              *param_6 = 1;\n              return pauVar2;\n            }" ({ "{") (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "1")) (; ";")) (return_statement "return pauVar2;" (return "return") (identifier "pauVar2") (; ";")) (} "}"))) (if_statement "if (iVar6 < 0) {\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }\n            else {\n              iVar4 = iVar4 + 1;\n            }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n              iVar9 = iVar4 + -1;\n              iVar4 = iVar5;\n            }" ({ "{") (expression_statement "iVar9 = iVar4 + -1;" (assignment_expression "iVar9 = iVar4 + -1" (identifier "iVar9") (= "=") (binary_expression "iVar4 + -1" (identifier "iVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar4 = iVar5;" (assignment_expression "iVar4 = iVar5" (identifier "iVar4") (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else {\n              iVar4 = iVar4 + 1;\n            }" (else "else") (compound_statement "{\n              iVar4 = iVar4 + 1;\n            }" ({ "{") (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < iVar9)" (( "(") (binary_expression "iVar4 < iVar9" (identifier "iVar4") (< "<") (identifier "iVar9")) () ")")) (; ";")) (expression_statement "lVar12 = (long)iVar4 * 0x28;" (assignment_expression "lVar12 = (long)iVar4 * 0x28" (identifier "lVar12") (= "=") (binary_expression "(long)iVar4 * 0x28" (cast_expression "(long)iVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar4")) (* "*") (number_literal "0x28"))) (; ";")) (expression_statement "iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4);" (assignment_expression "iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" (identifier "iVar5") (= "=") (call_expression "FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" (identifier "FUN_0014ac10") (argument_list "((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,\n                               param_4)" (( "(") (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar12)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "((long)pauVar7 + lVar12)" (( "(") (binary_expression "(long)pauVar7 + lVar12" (cast_expression "(long)pauVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pauVar7")) (+ "+") (identifier "lVar12")) () ")"))) (, ",") (identifier "lVar11") (, ",") (identifier "param_3") (, ",") (identifier "param_5") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar5 < 1) {\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }\n          else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" (if "if") (parenthesized_expression "(iVar5 < 1)" (( "(") (binary_expression "iVar5 < 1" (identifier "iVar5") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n            if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }\n          }" ({ "{") (if_statement "if (iVar5 == 0) {\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              *param_6 = 1;\n              return (undefined1 (*) [16])((long)pauVar7 + lVar12);\n            }" ({ "{") (expression_statement "*param_6 = 1;" (assignment_expression "*param_6 = 1" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "1")) (; ";")) (return_statement "return (undefined1 (*) [16])((long)pauVar7 + lVar12);" (return "return") (cast_expression "(undefined1 (*) [16])((long)pauVar7 + lVar12)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "((long)pauVar7 + lVar12)" (( "(") (binary_expression "(long)pauVar7 + lVar12" (cast_expression "(long)pauVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pauVar7")) (+ "+") (identifier "lVar12")) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" (else "else") (compound_statement "{\n            lVar12 = lVar12 + 0x28;\n            iVar4 = iVar4 + 1;\n          }" ({ "{") (expression_statement "lVar12 = lVar12 + 0x28;" (assignment_expression "lVar12 = lVar12 + 0x28" (identifier "lVar12") (= "=") (binary_expression "lVar12 + 0x28" (identifier "lVar12") (+ "+") (number_literal "0x28"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")))))) (} "}"))) (} "}")))))) (} "}")))) (if_statement "if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }" (if "if") (parenthesized_expression "((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10)" (( "(") (binary_expression "(int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10" (cast_expression "(int)(iVar3 + 0x1fU & 0xffffffe0)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar3 + 0x1fU & 0xffffffe0)" (( "(") (binary_expression "iVar3 + 0x1fU & 0xffffffe0" (binary_expression "iVar3 + 0x1fU" (identifier "iVar3") (+ "+") (number_literal "0x1fU")) (& "&") (number_literal "0xffffffe0")) () ")"))) (<= "<=") (identifier "iVar10")) () ")")) (compound_statement "{\n    if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n  }" ({ "{") (if_statement "if (pauVar7 == (undefined1 (*) [16])0x0) {\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }\n    else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" (if "if") (parenthesized_expression "(pauVar7 == (undefined1 (*) [16])0x0)" (( "(") (binary_expression "pauVar7 == (undefined1 (*) [16])0x0" (identifier "pauVar7") (== "==") (cast_expression "(undefined1 (*) [16])0x0" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" ({ "{") (expression_statement "pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);" (assignment_expression "pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" (identifier "pauVar7") (= "=") (cast_expression "(undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (call_expression "xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" (identifier "xmalloc") (argument_list "((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28)" (( "(") (binary_expression "(long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28" (cast_expression "(long)(int)(iVar10 + 0x20U & 0xffffffe0)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)(iVar10 + 0x20U & 0xffffffe0)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar10 + 0x20U & 0xffffffe0)" (( "(") (binary_expression "iVar10 + 0x20U & 0xffffffe0" (binary_expression "iVar10 + 0x20U" (identifier "iVar10") (+ "+") (number_literal "0x20U")) (& "&") (number_literal "0xffffffe0")) () ")")))) (* "*") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" (* "*") (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" (( "(") (type_descriptor "undefined1 (**) [16]" (type_identifier "undefined1") (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" (( "(") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (identifier "pauVar7")) (; ";")) (} "}")) (else_clause "else {\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" (else "else") (compound_statement "{\n      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);\n      iVar10 = *(int *)(param_1 + 0x40);\n      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;\n    }" ({ "{") (expression_statement "pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);" (assignment_expression "pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7)" (identifier "pauVar7") (= "=") (cast_expression "(undefined1 (*) [16])xrealloc(pauVar7)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (call_expression "xrealloc(pauVar7)" (identifier "xrealloc") (argument_list "(pauVar7)" (( "(") (identifier "pauVar7") () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x40)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;" (assignment_expression "*(undefined1 (**) [16])(param_1 + 0x48) = pauVar7" (pointer_expression "*(undefined1 (**) [16])(param_1 + 0x48)" (* "*") (cast_expression "(undefined1 (**) [16])(param_1 + 0x48)" (( "(") (type_descriptor "undefined1 (**) [16]" (type_identifier "undefined1") (abstract_array_declarator "(**) [16]" (abstract_parenthesized_declarator "(**)" (( "(") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*"))) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (identifier "pauVar7")) (; ";")) (} "}")))) (} "}"))) (expression_statement "pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);" (assignment_expression "pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12)" (identifier "pauVar7") (= "=") (cast_expression "(undefined1 (*) [16])(*pauVar7 + lVar12)" (( "(") (type_descriptor "undefined1 (*) [16]" (type_identifier "undefined1") (abstract_array_declarator "(*) [16]" (abstract_parenthesized_declarator "(*)" (( "(") (abstract_pointer_declarator "*" (* "*")) () ")")) ([ "[") (number_literal "16") (] "]"))) () ")") (parenthesized_expression "(*pauVar7 + lVar12)" (( "(") (binary_expression "*pauVar7 + lVar12" (pointer_expression "*pauVar7" (* "*") (identifier "pauVar7")) (+ "+") (identifier "lVar12")) () ")")))) (; ";")) (if_statement "if (iVar4 != iVar10) {\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }" (if "if") (parenthesized_expression "(iVar4 != iVar10)" (( "(") (binary_expression "iVar4 != iVar10" (identifier "iVar4") (!= "!=") (identifier "iVar10")) () ")")) (compound_statement "{\n    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);\n  }" ({ "{") (expression_statement "memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);" (call_expression "memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28)" (identifier "memmove") (argument_list "(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28)" (( "(") (binary_expression "pauVar7[2] + 8" (subscript_expression "pauVar7[2]" (identifier "pauVar7") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "8")) (, ",") (identifier "pauVar7") (, ",") (binary_expression "(long)(iVar10 - iVar4) * 0x28" (cast_expression "(long)(iVar10 - iVar4)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(iVar10 - iVar4)" (( "(") (binary_expression "iVar10 - iVar4" (identifier "iVar10") (- "-") (identifier "iVar4")) () ")"))) (* "*") (number_literal "0x28")) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined8 *)pauVar7[2] = 0;" (assignment_expression "*(undefined8 *)pauVar7[2] = 0" (pointer_expression "*(undefined8 *)pauVar7[2]" (* "*") (cast_expression "(undefined8 *)pauVar7[2]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "pauVar7[2]" (identifier "pauVar7") ([ "[") (number_literal "2") (] "]")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*pauVar7 = (undefined1  [16])0x0;" (assignment_expression "*pauVar7 = (undefined1  [16])0x0" (pointer_expression "*pauVar7" (* "*") (identifier "pauVar7")) (= "=") (cast_expression "(undefined1  [16])0x0" (( "(") (type_descriptor "undefined1  [16]" (type_identifier "undefined1") (abstract_array_declarator "[16]" ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pauVar7[1] = (undefined1  [16])0x0;" (assignment_expression "pauVar7[1] = (undefined1  [16])0x0" (subscript_expression "pauVar7[1]" (identifier "pauVar7") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(undefined1  [16])0x0" (( "(") (type_descriptor "undefined1  [16]" (type_identifier "undefined1") (abstract_array_declarator "[16]" ([ "[") (number_literal "16") (] "]"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar8 = xstrdup(lVar11);" (assignment_expression "uVar8 = xstrdup(lVar11)" (identifier "uVar8") (= "=") (call_expression "xstrdup(lVar11)" (identifier "xstrdup") (argument_list "(lVar11)" (( "(") (identifier "lVar11") () ")")))) (; ";")) (expression_statement "*(undefined8 *)*pauVar7 = uVar8;" (assignment_expression "*(undefined8 *)*pauVar7 = uVar8" (pointer_expression "*(undefined8 *)*pauVar7" (* "*") (cast_expression "(undefined8 *)*pauVar7" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*pauVar7" (* "*") (identifier "pauVar7")))) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = xstrdup(param_3);" (assignment_expression "uVar8 = xstrdup(param_3)" (identifier "uVar8") (= "=") (call_expression "xstrdup(param_3)" (identifier "xstrdup") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(*pauVar7 + 8) = uVar8;" (assignment_expression "*(undefined8 *)(*pauVar7 + 8) = uVar8" (pointer_expression "*(undefined8 *)(*pauVar7 + 8)" (* "*") (cast_expression "(undefined8 *)(*pauVar7 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*pauVar7 + 8)" (( "(") (binary_expression "*pauVar7 + 8" (pointer_expression "*pauVar7" (* "*") (identifier "pauVar7")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar8")) (; ";")) (if_statement "if (param_5 != 0) {\n    param_5 = xstrdup(param_5);\n  }" (if "if") (parenthesized_expression "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_5 = xstrdup(param_5);\n  }" ({ "{") (expression_statement "param_5 = xstrdup(param_5);" (assignment_expression "param_5 = xstrdup(param_5)" (identifier "param_5") (= "=") (call_expression "xstrdup(param_5)" (identifier "xstrdup") (argument_list "(param_5)" (( "(") (identifier "param_5") () ")")))) (; ";")) (} "}"))) (expression_statement "*(long *)pauVar7[1] = param_5;" (assignment_expression "*(long *)pauVar7[1] = param_5" (pointer_expression "*(long *)pauVar7[1]" (* "*") (cast_expression "(long *)pauVar7[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "pauVar7[1]" (identifier "pauVar7") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(undefined4 *)(pauVar7[1] + 8) = param_4;" (assignment_expression "*(undefined4 *)(pauVar7[1] + 8) = param_4" (pointer_expression "*(undefined4 *)(pauVar7[1] + 8)" (* "*") (cast_expression "(undefined4 *)(pauVar7[1] + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pauVar7[1] + 8)" (( "(") (binary_expression "pauVar7[1] + 8" (subscript_expression "pauVar7[1]" (identifier "pauVar7") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;" (assignment_expression "*(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1" (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x40) + 1" (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return pauVar7;" (return "return") (identifier "pauVar7") (; ";")) (} "}")))

type_1 *
function_1(type_2 *fdef,char *var_2,char *var_1,int ordinal,
                   char *var_17,int *is_dup)

{
  int var_12;
  int var_5;
  int var_8;
  long var_7;
  type_1 *var_6;
  char *pcVar6;
  int var_9;
  int var_10;
  int var_3;
  long var_11;
  
  var_12 = fdef->num_exports;
  if ((((var_1 == (char *)0x0) || (pcVar6 = var_1, var_2 != (char *)0x0)) &&
      (pcVar6 = var_2, var_2 != (char *)0x0)) && (var_1 == (char *)0x0)) {
    var_1 = var_2;
  }
  var_6 = fdef->exports;
  *is_dup = 0;
  var_3 = fdef->num_exports;
  if (var_3 == 0) {
    var_11 = 0;
    var_5 = 0;
  }
  else {
    var_5 = var_4(var_6,pcVar6,var_1,var_17,ordinal);
    if (var_5 < 1) {
      if (var_5 == 0) {
        *is_dup = 1;
        return var_6;
      }
      var_11 = 0;
      var_5 = 0;
    }
    else if (var_3 == 1) {
      var_11 = 0x28;
      var_5 = 1;
    }
    else {
      var_7 = (long)var_3;
      var_8 = var_4(var_6 + var_7 + -1,pcVar6,var_1,var_17,ordinal);
      var_11 = var_7 * 0x28;
      var_5 = var_3;
      if (var_8 < 1) {
        var_9 = var_3 + -1;
        if ((var_8 == 0) || (var_3 == 2)) {
          var_11 = var_7 * 0x28 + -0x28;
          var_5 = var_9;
          if (var_8 == 0) {
            *is_dup = 1;
            return var_6 + var_7 + -1;
          }
        }
        else if (var_9 < 1) {
          var_11 = 0x28;
          var_5 = 1;
        }
        else {
          var_5 = 0;
          do {
            var_10 = var_5 + var_9 >> 1;
            var_8 = var_4(var_6 + var_10,pcVar6,var_1,var_17,ordinal);
            if (var_8 == 0) {
              *is_dup = 1;
              return var_6 + var_10;
            }
            if (var_8 < 0) {
              var_9 = var_10 + -1;
            }
            else {
              var_5 = var_10 + 1;
            }
          } while (var_5 < var_9);
          var_11 = (long)var_5 * 0x28;
          var_8 = var_4(var_6 + var_5,pcVar6,var_1,var_17,ordinal);
          if (var_8 < 1) {
            if (var_8 == 0) {
              *is_dup = 1;
              return var_6 + var_5;
            }
          }
          else {
            var_11 = var_11 + 0x28;
            var_5 = var_5 + 1;
          }
        }
      }
    }
  }
  if ((int)(var_12 + 0x1fU & 0xffffffe0) <= var_3) {
    if (var_6 == (type_1 *)0x0) {
      var_6 = (type_1 *)var_13((long)(int)(var_3 + 0x20U & 0xffffffe0) * 0x28);
      var_3 = fdef->num_exports;
      fdef->exports = var_6;
    }
    else {
      var_6 = (type_1 *)var_14(var_6);
      var_3 = fdef->num_exports;
      fdef->exports = var_6;
    }
  }
  var_6 = (type_1 *)((long)&var_6->name + var_11);
  if (var_5 != var_3) {
    var_15(var_6 + 1,var_6,(long)(var_3 - var_5) * 0x28);
  }
  var_6->flag_private = '\0';
  var_6->flag_constant = '\0';
  var_6->flag_noname = '\0';
  var_6->flag_data = '\0';
  var_6->flag_forward = '\0';
  *(type_3 *)&var_6->field_0x25 = 0;
  var_6->name = (char *)0x0;
  var_6->var_1 = (char *)0x0;
  var_6->var_17 = (char *)0x0;
  var_6->ordinal = 0;
  var_6->hint = 0;
  pcVar6 = (char *)var_16(pcVar6);
  var_6->name = pcVar6;
  pcVar6 = (char *)var_16(var_1);
  var_6->var_1 = pcVar6;
  if (var_17 != (char *)0x0) {
    var_17 = (char *)var_16(var_17);
  }
  var_6->var_17 = var_17;
  var_6->ordinal = ordinal;
  fdef->num_exports = fdef->num_exports + 1;
  return var_6;
}


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

undefined1 (*) [16]
MASKED(long param_1,long param_2,long param_3,undefined4 param_4,long param_5,
            undefined4 *param_6)

{
  long lVar1;
  undefined1 (*pauVar2) [16];
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  undefined1 (*pauVar7) [16];
  undefined8 uVar8;
  int iVar9;
  int iVar10;
  long lVar11;
  long lVar12;
  
  iVar3 = *(int *)(param_1 + 0x40);
  if ((((param_3 == 0) || (lVar11 = param_3, param_2 != 0)) && (lVar11 = param_2, param_2 != 0)) &&
     (param_3 == 0)) {
    param_3 = param_2;
  }
  pauVar7 = *(undefined1 (**) [16])(param_1 + 0x48);
  *param_6 = 0;
  iVar10 = *(int *)(param_1 + 0x40);
  if (iVar10 == 0) {
    lVar12 = 0;
    iVar4 = 0;
  }
  else {
    iVar4 = FUN_0014ac10(pauVar7,lVar11,param_3,param_5,param_4);
    if (iVar4 < 1) {
      if (iVar4 == 0) {
        *param_6 = 1;
        return pauVar7;
      }
      lVar12 = 0;
      iVar4 = 0;
    }
    else if (iVar10 == 1) {
      lVar12 = 0x28;
      iVar4 = 1;
    }
    else {
      lVar1 = (long)iVar10 * 0x28 + -0x28;
      iVar5 = FUN_0014ac10((long)pauVar7 + lVar1,lVar11,param_3,param_5,param_4);
      lVar12 = (long)iVar10 * 0x28;
      iVar4 = iVar10;
      if (iVar5 < 1) {
        iVar4 = iVar10 + -1;
        if ((iVar5 == 0) || (iVar10 == 2)) {
          lVar12 = lVar1;
          if (iVar5 == 0) {
            *param_6 = 1;
            return (undefined1 (*) [16])((long)pauVar7 + lVar1);
          }
        }
        else if (iVar4 < 1) {
          lVar12 = 0x28;
          iVar4 = 1;
        }
        else {
          iVar5 = 0;
          iVar9 = iVar4;
          do {
            iVar4 = iVar5 + iVar9 >> 1;
            pauVar2 = (undefined1 (*) [16])((long)pauVar7 + (long)iVar4 * 0x28);
            iVar6 = FUN_0014ac10(pauVar2,lVar11,param_3,param_5,param_4);
            if (iVar6 == 0) {
              *param_6 = 1;
              return pauVar2;
            }
            if (iVar6 < 0) {
              iVar9 = iVar4 + -1;
              iVar4 = iVar5;
            }
            else {
              iVar4 = iVar4 + 1;
            }
            iVar5 = iVar4;
          } while (iVar4 < iVar9);
          lVar12 = (long)iVar4 * 0x28;
          iVar5 = FUN_0014ac10((undefined1 (*) [16])((long)pauVar7 + lVar12),lVar11,param_3,param_5,
                               param_4);
          if (iVar5 < 1) {
            if (iVar5 == 0) {
              *param_6 = 1;
              return (undefined1 (*) [16])((long)pauVar7 + lVar12);
            }
          }
          else {
            lVar12 = lVar12 + 0x28;
            iVar4 = iVar4 + 1;
          }
        }
      }
    }
  }
  if ((int)(iVar3 + 0x1fU & 0xffffffe0) <= iVar10) {
    if (pauVar7 == (undefined1 (*) [16])0x0) {
      pauVar7 = (undefined1 (*) [16])xmalloc((long)(int)(iVar10 + 0x20U & 0xffffffe0) * 0x28);
      iVar10 = *(int *)(param_1 + 0x40);
      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;
    }
    else {
      pauVar7 = (undefined1 (*) [16])xrealloc(pauVar7);
      iVar10 = *(int *)(param_1 + 0x40);
      *(undefined1 (**) [16])(param_1 + 0x48) = pauVar7;
    }
  }
  pauVar7 = (undefined1 (*) [16])(*pauVar7 + lVar12);
  if (iVar4 != iVar10) {
    memmove(pauVar7[2] + 8,pauVar7,(long)(iVar10 - iVar4) * 0x28);
  }
  *(undefined8 *)pauVar7[2] = 0;
  *pauVar7 = (undefined1  [16])0x0;
  pauVar7[1] = (undefined1  [16])0x0;
  uVar8 = xstrdup(lVar11);
  *(undefined8 *)*pauVar7 = uVar8;
  uVar8 = xstrdup(param_3);
  *(undefined8 *)(*pauVar7 + 8) = uVar8;
  if (param_5 != 0) {
    param_5 = xstrdup(param_5);
  }
  *(long *)pauVar7[1] = param_5;
  *(undefined4 *)(pauVar7[1] + 8) = param_4;
  *(int *)(param_1 + 0x40) = *(int *)(param_1 + 0x40) + 1;
  return pauVar7;
}

