
int unixMapfile(unixFile *pFd,i64 nMap)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int extraout_ECX;
  uint uVar7;
  char *zFunc;
  uint uVar8;
  int unaff_EDI;
  int iVar9;
  int in_GS_OFFSET;
  bool bVar10;
  bool bVar11;
  undefined8 uVar12;
  stat statbuf;
  
  uVar12 = __x86_get_pc_thunk_di();
  iVar4 = (int)uVar12;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  iVar5 = extraout_ECX;
  uVar7 = (uint)((ulonglong)uVar12 >> 0x20);
  if ((extraout_ECX < 0) &&
     (iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),
     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0)) {
    iVar5 = 0x70a;
    goto LAB_00071a9a;
  }
  iVar9 = *(int *)(iVar4 + 0x44);
  uVar2 = *(uint *)(iVar4 + 0x30);
  uVar8 = (uint)(uVar7 < *(uint *)(iVar4 + 0x40));
  bVar11 = SBORROW4(iVar5,iVar9) != SBORROW4(iVar5 - iVar9,uVar8);
  bVar10 = (int)((iVar5 - iVar9) - uVar8) < 0;
  uVar8 = *(uint *)(iVar4 + 0x40);
  if (bVar11 != bVar10) {
    uVar8 = uVar7;
  }
  if (bVar11 != bVar10) {
    iVar9 = iVar5;
  }
  iVar5 = 0;
  if (*(int *)(iVar4 + 0x34) == iVar9 && uVar2 == uVar8) goto LAB_00071a9a;
  uVar3 = *(undefined4 *)(iVar4 + 0xc);
  iVar5 = *(int *)(iVar4 + 0x48);
  if (iVar5 == 0) {
    zFunc = (char *)(unaff_EDI + 0xa708f);
LAB_00071b89:
    iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0);
  }
  else {
    if (*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)) {
      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);
    }
    iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1);
    if (0xfffffffd < iVar6 - 1U) {
      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);
    }
    zFunc = (char *)(unaff_EDI + 0xae004);
    if (iVar6 == 0) goto LAB_00071b89;
  }
  if (iVar6 == -1) {
    iVar6 = 0;
    uVar8 = 0;
    iVar9 = 0;
    unixLogErrorAtLine(0,zFunc,*(char **)(iVar4 + 0x20),0x924b);
    *(undefined4 *)(iVar4 + 0x40) = 0;
    *(undefined4 *)(iVar4 + 0x44) = 0;
  }
  *(int *)(iVar4 + 0x48) = iVar6;
  iVar5 = 0;
  *(uint *)(iVar4 + 0x38) = uVar8;
  *(int *)(iVar4 + 0x3c) = iVar9;
  *(uint *)(iVar4 + 0x30) = uVar8;
  *(int *)(iVar4 + 0x34) = iVar9;
LAB_00071a9a:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return iVar5;
}



undefined4 FUN_00071a40(void)

{
  uint uVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  int extraout_ECX;
  int iVar5;
  uint uVar6;
  uint uVar7;
  int unaff_EDI;
  int iVar8;
  int in_GS_OFFSET;
  bool bVar9;
  bool bVar10;
  undefined8 uVar11;
  undefined1 local_80 [44];
  uint local_54;
  int local_50;
  int local_20;
  
  uVar11 = FUN_00036ac5();
  iVar2 = (int)uVar11;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar5 = extraout_ECX;
  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);
  if ((extraout_ECX < 0) &&
     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),
     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {
    uVar3 = 0x70a;
    goto LAB_00071a9a;
  }
  iVar8 = *(int *)(iVar2 + 0x44);
  uVar1 = *(uint *)(iVar2 + 0x30);
  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));
  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);
  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;
  uVar7 = *(uint *)(iVar2 + 0x40);
  if (bVar10 != bVar9) {
    uVar7 = uVar6;
  }
  if (bVar10 != bVar9) {
    iVar8 = iVar5;
  }
  uVar3 = 0;
  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;
  uVar3 = *(undefined4 *)(iVar2 + 0xc);
  iVar5 = *(int *)(iVar2 + 0x48);
  if (iVar5 == 0) {
LAB_00071b89:
    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);
  }
  else {
    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {
      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);
    }
    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);
    if (0xfffffffd < iVar4 - 1U) {
      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);
    }
    if (iVar4 == 0) goto LAB_00071b89;
  }
  if (iVar4 == -1) {
    iVar4 = 0;
    uVar7 = 0;
    iVar8 = 0;
    FUN_000719e0(0x924b);
    *(undefined4 *)(iVar2 + 0x40) = 0;
    *(undefined4 *)(iVar2 + 0x44) = 0;
  }
  *(int *)(iVar2 + 0x48) = iVar4;
  uVar3 = 0;
  *(uint *)(iVar2 + 0x38) = uVar7;
  *(int *)(iVar2 + 0x3c) = iVar8;
  *(uint *)(iVar2 + 0x30) = uVar7;
  *(int *)(iVar2 + 0x34) = iVar8;
LAB_00071a9a:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00116110();
  }
  return uVar3;
}


PUSH EBP
PUSH EDI
CALL 0x00036ac5
ADD EDI,0x10a3e1
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0x8c
MOV dword ptr [ESP],EDI
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x7c],EAX
XOR EAX,EAX
TEST ECX,ECX
JS 0x00071b58
MOV ESI,dword ptr [EBX + 0x40]
MOV EDI,dword ptr [EBX + 0x44]
MOV EAX,ECX
MOV EBP,dword ptr [EBX + 0x30]
CMP EDX,ESI
SBB EAX,EDI
MOV dword ptr [ESP + 0x4],EBP
CMOVL ESI,EDX
MOV EDX,dword ptr [EBX + 0x34]
CMOVL EDI,ECX
MOV ECX,EBP
MOV EAX,EDX
XOR ECX,ESI
XOR EAX,EDI
MOV EBP,EAX
XOR EAX,EAX
OR EBP,ECX
JNZ 0x00071ac0
MOV ESI,dword ptr [ESP + 0x7c]
XOR ESI,dword ptr GS:[0x14]
JNZ 0x00071c16
ADD ESP,0x8c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBX + 0xc]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [EBX + 0x48]
MOV dword ptr [ESP + 0x8],EAX
TEST EAX,EAX
JZ 0x00071b80
MOV EBP,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [EBX + 0x38]
XOR EDX,dword ptr [EBX + 0x3c]
MOV EAX,EBP
XOR EAX,ECX
OR EDX,EAX
JZ 0x00071b02
SUB ESP,0x8
SUB ECX,EBP
PUSH ECX
MOV EAX,dword ptr [ESP + 0x14]
ADD EAX,EBP
PUSH EAX
MOV EAX,dword ptr [ESP + 0x10]
CALL dword ptr [EAX + 0x1a30]
ADD ESP,0x10
PUSH 0x1
PUSH ESI
PUSH dword ptr [ESP + 0xc]
PUSH dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x10]
CALL dword ptr [EAX + 0x1a3c]
ADD ESP,0x10
MOV EBP,EAX
LEA EAX,[EAX + -0x1]
CMP EAX,-0x3
JA 0x00071bb8
MOV EAX,dword ptr [ESP]
LEA EDX,[EAX + 0xfffa3c23]
TEST EBP,EBP
JZ 0x00071b89
CMP EBP,-0x1
JZ 0x00071be8
MOV dword ptr [EBX + 0x48],EBP
XOR EAX,EAX
MOV dword ptr [EBX + 0x38],ESI
MOV dword ptr [EBX + 0x3c],EDI
MOV dword ptr [EBX + 0x30],ESI
MOV dword ptr [EBX + 0x34],EDI
JMP 0x00071a9a
SUB ESP,0x8
LEA EAX,[ESP + 0x24]
PUSH EAX
PUSH dword ptr [EBX + 0xc]
CALL dword ptr [EDI + 0x1958]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00071bd8
MOV EDX,dword ptr [ESP + 0x48]
MOV ECX,dword ptr [ESP + 0x4c]
JMP 0x00071a6e
MOV EAX,dword ptr [ESP]
LEA EDX,[EAX + 0xfff9ccae]
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0x4
PUSH 0x0
PUSH 0x0
PUSH dword ptr [ESP + 0x18]
PUSH 0x1
PUSH 0x1
PUSH ESI
PUSH 0x0
MOV EAX,dword ptr [ESP + 0x20]
CALL dword ptr [EAX + 0x1a24]
MOV EDX,dword ptr [ESP + 0x24]
ADD ESP,0x20
MOV EBP,EAX
JMP 0x00071b35
SUB ESP,0x8
PUSH dword ptr [ESP + 0xc]
PUSH dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x10]
CALL dword ptr [EAX + 0x1a30]
ADD ESP,0x10
JMP 0x00071b28
MOV EAX,0x70a
JMP 0x00071a9a
SUB ESP,0xc
MOV ECX,dword ptr [EBX + 0x20]
XOR EAX,EAX
XOR EBP,EBP
PUSH 0x924b
XOR ESI,ESI
XOR EDI,EDI
CALL 0x000719e0
MOV dword ptr [EBX + 0x40],0x0
ADD ESP,0x10
MOV dword ptr [EBX + 0x44],0x0
JMP 0x00071b3e
CALL 0x00116110
(translation_unit "undefined4 FUN_00071a40(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int extraout_ECX;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int unaff_EDI;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  bool bVar10;\n  undefined8 uVar11;\n  undefined1 local_80 [44];\n  uint local_54;\n  int local_50;\n  int local_20;\n  \n  uVar11 = FUN_00036ac5();\n  iVar2 = (int)uVar11;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar8 = *(int *)(iVar2 + 0x44);\n  uVar1 = *(uint *)(iVar2 + 0x30);\n  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));\n  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);\n  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;\n  uVar7 = *(uint *)(iVar2 + 0x40);\n  if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }\n  if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }\n  uVar3 = 0;\n  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar2 + 0xc);\n  iVar5 = *(int *)(iVar2 + 0x48);\n  if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }\n  if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }\n  *(int *)(iVar2 + 0x48) = iVar4;\n  uVar3 = 0;\n  *(uint *)(iVar2 + 0x38) = uVar7;\n  *(int *)(iVar2 + 0x3c) = iVar8;\n  *(uint *)(iVar2 + 0x30) = uVar7;\n  *(int *)(iVar2 + 0x34) = iVar8;\nLAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116110();\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00071a40(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int extraout_ECX;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int unaff_EDI;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  bool bVar10;\n  undefined8 uVar11;\n  undefined1 local_80 [44];\n  uint local_54;\n  int local_50;\n  int local_20;\n  \n  uVar11 = FUN_00036ac5();\n  iVar2 = (int)uVar11;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar8 = *(int *)(iVar2 + 0x44);\n  uVar1 = *(uint *)(iVar2 + 0x30);\n  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));\n  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);\n  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;\n  uVar7 = *(uint *)(iVar2 + 0x40);\n  if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }\n  if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }\n  uVar3 = 0;\n  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar2 + 0xc);\n  iVar5 = *(int *)(iVar2 + 0x48);\n  if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }\n  if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }\n  *(int *)(iVar2 + 0x48) = iVar4;\n  uVar3 = 0;\n  *(uint *)(iVar2 + 0x38) = uVar7;\n  *(int *)(iVar2 + 0x3c) = iVar8;\n  *(uint *)(iVar2 + 0x30) = uVar7;\n  *(int *)(iVar2 + 0x34) = iVar8;\nLAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116110();\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00071a40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int extraout_ECX;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int unaff_EDI;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  bool bVar10;\n  undefined8 uVar11;\n  undefined1 local_80 [44];\n  uint local_54;\n  int local_50;\n  int local_20;\n  \n  uVar11 = FUN_00036ac5();\n  iVar2 = (int)uVar11;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar8 = *(int *)(iVar2 + 0x44);\n  uVar1 = *(uint *)(iVar2 + 0x30);\n  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));\n  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);\n  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;\n  uVar7 = *(uint *)(iVar2 + 0x40);\n  if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }\n  if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }\n  uVar3 = 0;\n  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar2 + 0xc);\n  iVar5 = *(int *)(iVar2 + 0x48);\n  if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }\n  if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }\n  *(int *)(iVar2 + 0x48) = iVar4;\n  uVar3 = 0;\n  *(uint *)(iVar2 + 0x38) = uVar7;\n  *(int *)(iVar2 + 0x3c) = iVar8;\n  *(uint *)(iVar2 + 0x30) = uVar7;\n  *(int *)(iVar2 + 0x34) = iVar8;\nLAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116110();\n  }\n  return uVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "undefined1 local_80 [44];" type_identifier (array_declarator "local_80 [44]" identifier [ number_literal ]) ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "int local_50;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "uVar11 = FUN_00036ac5();" (assignment_expression "uVar11 = FUN_00036ac5()" identifier = (call_expression "FUN_00036ac5()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (int)uVar11;" (assignment_expression "iVar2 = (int)uVar11" identifier = (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = extraout_ECX;" (assignment_expression "iVar5 = extraout_ECX" identifier = identifier) ;) (expression_statement "uVar6 = (uint)((ulonglong)uVar11 >> 0x20);" (assignment_expression "uVar6 = (uint)((ulonglong)uVar11 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar11 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }" if (parenthesized_expression "((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0))" ( (binary_expression "(extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)" (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) && (parenthesized_expression "(iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)" ( (comma_expression "iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0" (assignment_expression "iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10bd39))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10bd39)" * (pointer_expression "*(code **)(unaff_EDI + 0x10bd39)" * (cast_expression "(code **)(unaff_EDI + 0x10bd39)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10bd39)" ( (binary_expression "unaff_EDI + 0x10bd39" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0xc),local_80)" ( (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) , identifier )))) , (comma_expression "iVar5 = local_50, uVar6 = local_54, iVar8 != 0" (assignment_expression "iVar5 = local_50" identifier = identifier) , (comma_expression "uVar6 = local_54, iVar8 != 0" (assignment_expression "uVar6 = local_54" identifier = identifier) , (binary_expression "iVar8 != 0" identifier != number_literal)))) ))) )) (compound_statement "{\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }" { (expression_statement "uVar3 = 0x70a;" (assignment_expression "uVar3 = 0x70a" identifier = number_literal) ;) (goto_statement "goto LAB_00071a9a;" goto statement_identifier ;) })) (expression_statement "iVar8 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x44)" identifier = (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(iVar2 + 0x30);" (assignment_expression "uVar1 = *(uint *)(iVar2 + 0x30)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x30)" * (cast_expression "(uint *)(iVar2 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));" (assignment_expression "uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40))" identifier = (call_expression "(uint)(uVar6 < *(uint *)(iVar2 + 0x40))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < *(uint *)(iVar2 + 0x40))" ( (binary_expression "uVar6 < *(uint *)(iVar2 + 0x40)" identifier < (pointer_expression "*(uint *)(iVar2 + 0x40)" * (cast_expression "(uint *)(iVar2 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) ))))) )))) ;) (expression_statement "bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);" (assignment_expression "bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7)" identifier = (binary_expression "SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7)" (call_expression "SBORROW4(iVar5,iVar8)" identifier (argument_list "(iVar5,iVar8)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar5 - iVar8,uVar7)" identifier (argument_list "(iVar5 - iVar8,uVar7)" ( (binary_expression "iVar5 - iVar8" identifier - identifier) , identifier ))))) ;) (expression_statement "bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;" (assignment_expression "bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0" identifier = (binary_expression "(int)((iVar5 - iVar8) - uVar7) < 0" (cast_expression "(int)((iVar5 - iVar8) - uVar7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar5 - iVar8) - uVar7)" ( (binary_expression "(iVar5 - iVar8) - uVar7" (parenthesized_expression "(iVar5 - iVar8)" ( (binary_expression "iVar5 - iVar8" identifier - identifier) )) - identifier) ))) < number_literal)) ;) (expression_statement "uVar7 = *(uint *)(iVar2 + 0x40);" (assignment_expression "uVar7 = *(uint *)(iVar2 + 0x40)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x40)" * (cast_expression "(uint *)(iVar2 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }" if (parenthesized_expression "(bVar10 != bVar9)" ( (binary_expression "bVar10 != bVar9" identifier != identifier) )) (compound_statement "{\n    uVar7 = uVar6;\n  }" { (expression_statement "uVar7 = uVar6;" (assignment_expression "uVar7 = uVar6" identifier = identifier) ;) })) (if_statement "if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }" if (parenthesized_expression "(bVar10 != bVar9)" ( (binary_expression "bVar10 != bVar9" identifier != identifier) )) (compound_statement "{\n    iVar8 = iVar5;\n  }" { (expression_statement "iVar8 = iVar5;" (assignment_expression "iVar8 = iVar5" identifier = identifier) ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;" if (parenthesized_expression "(*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7)" ( (binary_expression "*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7" (binary_expression "*(int *)(iVar2 + 0x34) == iVar8" (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) == identifier) && (binary_expression "uVar1 == uVar7" identifier == identifier)) )) (goto_statement "goto LAB_00071a9a;" goto statement_identifier ;)) (expression_statement "uVar3 = *(undefined4 *)(iVar2 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar2 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar2 + 0x48);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x48)" identifier = (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }" { (labeled_statement "LAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);" statement_identifier : (expression_statement "iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);" (assignment_expression "iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be05))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be05)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be05)" * (cast_expression "(code **)(unaff_EDI + 0x10be05)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be05)" ( (binary_expression "unaff_EDI + 0x10be05" identifier + number_literal) ))))) )) (argument_list "(0,uVar7,1,1,uVar3,0,0)" ( number_literal , identifier , number_literal , number_literal , identifier , number_literal , number_literal )))) ;)) }) (else_clause "else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" else (compound_statement "{\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" { (if_statement "if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38))" ( (binary_expression "*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)" (binary_expression "*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c)" (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) != (pointer_expression "*(int *)(iVar2 + 0x3c)" * (cast_expression "(int *)(iVar2 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) ))))) || (binary_expression "uVar1 != *(uint *)(iVar2 + 0x38)" identifier != (pointer_expression "*(uint *)(iVar2 + 0x38)" * (cast_expression "(uint *)(iVar2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))))) )) (compound_statement "{\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }" { (expression_statement "(**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);" (call_expression "(**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be11))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be11)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be11)" * (cast_expression "(code **)(unaff_EDI + 0x10be11)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be11)" ( (binary_expression "unaff_EDI + 0x10be11" identifier + number_literal) ))))) )) (argument_list "(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1)" ( (binary_expression "iVar5 + uVar1" identifier + identifier) , (binary_expression "*(uint *)(iVar2 + 0x38) - uVar1" (pointer_expression "*(uint *)(iVar2 + 0x38)" * (cast_expression "(uint *)(iVar2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) - identifier) ))) ;) })) (expression_statement "iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);" (assignment_expression "iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be1d))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be1d)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be1d)" * (cast_expression "(code **)(unaff_EDI + 0x10be1d)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be1d)" ( (binary_expression "unaff_EDI + 0x10be1d" identifier + number_literal) ))))) )) (argument_list "(iVar5,uVar1,uVar7,1)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }" if (parenthesized_expression "(0xfffffffd < iVar4 - 1U)" ( (binary_expression "0xfffffffd < iVar4 - 1U" number_literal < (binary_expression "iVar4 - 1U" identifier - number_literal)) )) (compound_statement "{\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }" { (expression_statement "(**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);" (call_expression "(**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be11))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be11)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be11)" * (cast_expression "(code **)(unaff_EDI + 0x10be11)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be11)" ( (binary_expression "unaff_EDI + 0x10be11" identifier + number_literal) ))))) )) (argument_list "(iVar5,uVar1)" ( identifier , identifier ))) ;) })) (if_statement "if (iVar4 == 0) goto LAB_00071b89;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00071b89;" goto statement_identifier ;)) }))) (if_statement "if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "FUN_000719e0(0x924b);" (call_expression "FUN_000719e0(0x924b)" identifier (argument_list "(0x924b)" ( number_literal ))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x40) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x40)" * (cast_expression "(undefined4 *)(iVar2 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x44) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x44)" * (cast_expression "(undefined4 *)(iVar2 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(int *)(iVar2 + 0x48) = iVar4;" (assignment_expression "*(int *)(iVar2 + 0x48) = iVar4" (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "*(uint *)(iVar2 + 0x38) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x38) = uVar7" (pointer_expression "*(uint *)(iVar2 + 0x38)" * (cast_expression "(uint *)(iVar2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x3c) = iVar8;" (assignment_expression "*(int *)(iVar2 + 0x3c) = iVar8" (pointer_expression "*(int *)(iVar2 + 0x3c)" * (cast_expression "(int *)(iVar2 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x30) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x30) = uVar7" (pointer_expression "*(uint *)(iVar2 + 0x30)" * (cast_expression "(uint *)(iVar2 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x34) = iVar8;" (assignment_expression "*(int *)(iVar2 + 0x34) = iVar8" (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116110();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00116110();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00116110();\n  }" { comment (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "int unixMapfile(unixFile *pFd,i64 nMap)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  uint uVar7;\n  char *zFunc;\n  uint uVar8;\n  int unaff_EDI;\n  int iVar9;\n  int in_GS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  undefined8 uVar12;\n  stat statbuf;\n  \n  uVar12 = __x86_get_pc_thunk_di();\n  iVar4 = (int)uVar12;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar7 = (uint)((ulonglong)uVar12 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),\n     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0)) {\n    iVar5 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar9 = *(int *)(iVar4 + 0x44);\n  uVar2 = *(uint *)(iVar4 + 0x30);\n  uVar8 = (uint)(uVar7 < *(uint *)(iVar4 + 0x40));\n  bVar11 = SBORROW4(iVar5,iVar9) != SBORROW4(iVar5 - iVar9,uVar8);\n  bVar10 = (int)((iVar5 - iVar9) - uVar8) < 0;\n  uVar8 = *(uint *)(iVar4 + 0x40);\n  if (bVar11 != bVar10) {\n    uVar8 = uVar7;\n  }\n  if (bVar11 != bVar10) {\n    iVar9 = iVar5;\n  }\n  iVar5 = 0;\n  if (*(int *)(iVar4 + 0x34) == iVar9 && uVar2 == uVar8) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar4 + 0xc);\n  iVar5 = *(int *)(iVar4 + 0x48);\n  if (iVar5 == 0) {\n    zFunc = (char *)(unaff_EDI + 0xa708f);\nLAB_00071b89:\n    iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);\n    }\n    iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1);\n    if (0xfffffffd < iVar6 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);\n    }\n    zFunc = (char *)(unaff_EDI + 0xae004);\n    if (iVar6 == 0) goto LAB_00071b89;\n  }\n  if (iVar6 == -1) {\n    iVar6 = 0;\n    uVar8 = 0;\n    iVar9 = 0;\n    unixLogErrorAtLine(0,zFunc,*(char **)(iVar4 + 0x20),0x924b);\n    *(undefined4 *)(iVar4 + 0x40) = 0;\n    *(undefined4 *)(iVar4 + 0x44) = 0;\n  }\n  *(int *)(iVar4 + 0x48) = iVar6;\n  iVar5 = 0;\n  *(uint *)(iVar4 + 0x38) = uVar8;\n  *(int *)(iVar4 + 0x3c) = iVar9;\n  *(uint *)(iVar4 + 0x30) = uVar8;\n  *(int *)(iVar4 + 0x34) = iVar9;\nLAB_00071a9a:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar5;\n}\n\n" (function_definition "int unixMapfile(unixFile *pFd,i64 nMap)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  uint uVar7;\n  char *zFunc;\n  uint uVar8;\n  int unaff_EDI;\n  int iVar9;\n  int in_GS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  undefined8 uVar12;\n  stat statbuf;\n  \n  uVar12 = __x86_get_pc_thunk_di();\n  iVar4 = (int)uVar12;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar7 = (uint)((ulonglong)uVar12 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),\n     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0)) {\n    iVar5 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar9 = *(int *)(iVar4 + 0x44);\n  uVar2 = *(uint *)(iVar4 + 0x30);\n  uVar8 = (uint)(uVar7 < *(uint *)(iVar4 + 0x40));\n  bVar11 = SBORROW4(iVar5,iVar9) != SBORROW4(iVar5 - iVar9,uVar8);\n  bVar10 = (int)((iVar5 - iVar9) - uVar8) < 0;\n  uVar8 = *(uint *)(iVar4 + 0x40);\n  if (bVar11 != bVar10) {\n    uVar8 = uVar7;\n  }\n  if (bVar11 != bVar10) {\n    iVar9 = iVar5;\n  }\n  iVar5 = 0;\n  if (*(int *)(iVar4 + 0x34) == iVar9 && uVar2 == uVar8) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar4 + 0xc);\n  iVar5 = *(int *)(iVar4 + 0x48);\n  if (iVar5 == 0) {\n    zFunc = (char *)(unaff_EDI + 0xa708f);\nLAB_00071b89:\n    iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);\n    }\n    iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1);\n    if (0xfffffffd < iVar6 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);\n    }\n    zFunc = (char *)(unaff_EDI + 0xae004);\n    if (iVar6 == 0) goto LAB_00071b89;\n  }\n  if (iVar6 == -1) {\n    iVar6 = 0;\n    uVar8 = 0;\n    iVar9 = 0;\n    unixLogErrorAtLine(0,zFunc,*(char **)(iVar4 + 0x20),0x924b);\n    *(undefined4 *)(iVar4 + 0x40) = 0;\n    *(undefined4 *)(iVar4 + 0x44) = 0;\n  }\n  *(int *)(iVar4 + 0x48) = iVar6;\n  iVar5 = 0;\n  *(uint *)(iVar4 + 0x38) = uVar8;\n  *(int *)(iVar4 + 0x3c) = iVar9;\n  *(uint *)(iVar4 + 0x30) = uVar8;\n  *(int *)(iVar4 + 0x34) = iVar9;\nLAB_00071a9a:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar5;\n}" primitive_type (function_declarator "unixMapfile(unixFile *pFd,i64 nMap)" identifier (parameter_list "(unixFile *pFd,i64 nMap)" ( (parameter_declaration "unixFile *pFd" type_identifier (pointer_declarator "*pFd" * identifier)) , (parameter_declaration "i64 nMap" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  uint uVar7;\n  char *zFunc;\n  uint uVar8;\n  int unaff_EDI;\n  int iVar9;\n  int in_GS_OFFSET;\n  bool bVar10;\n  bool bVar11;\n  undefined8 uVar12;\n  stat statbuf;\n  \n  uVar12 = __x86_get_pc_thunk_di();\n  iVar4 = (int)uVar12;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar7 = (uint)((ulonglong)uVar12 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),\n     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0)) {\n    iVar5 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar9 = *(int *)(iVar4 + 0x44);\n  uVar2 = *(uint *)(iVar4 + 0x30);\n  uVar8 = (uint)(uVar7 < *(uint *)(iVar4 + 0x40));\n  bVar11 = SBORROW4(iVar5,iVar9) != SBORROW4(iVar5 - iVar9,uVar8);\n  bVar10 = (int)((iVar5 - iVar9) - uVar8) < 0;\n  uVar8 = *(uint *)(iVar4 + 0x40);\n  if (bVar11 != bVar10) {\n    uVar8 = uVar7;\n  }\n  if (bVar11 != bVar10) {\n    iVar9 = iVar5;\n  }\n  iVar5 = 0;\n  if (*(int *)(iVar4 + 0x34) == iVar9 && uVar2 == uVar8) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar4 + 0xc);\n  iVar5 = *(int *)(iVar4 + 0x48);\n  if (iVar5 == 0) {\n    zFunc = (char *)(unaff_EDI + 0xa708f);\nLAB_00071b89:\n    iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);\n    }\n    iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1);\n    if (0xfffffffd < iVar6 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);\n    }\n    zFunc = (char *)(unaff_EDI + 0xae004);\n    if (iVar6 == 0) goto LAB_00071b89;\n  }\n  if (iVar6 == -1) {\n    iVar6 = 0;\n    uVar8 = 0;\n    iVar9 = 0;\n    unixLogErrorAtLine(0,zFunc,*(char **)(iVar4 + 0x20),0x924b);\n    *(undefined4 *)(iVar4 + 0x40) = 0;\n    *(undefined4 *)(iVar4 + 0x44) = 0;\n  }\n  *(int *)(iVar4 + 0x48) = iVar6;\n  iVar5 = 0;\n  *(uint *)(iVar4 + 0x38) = uVar8;\n  *(int *)(iVar4 + 0x3c) = iVar9;\n  *(uint *)(iVar4 + 0x30) = uVar8;\n  *(int *)(iVar4 + 0x34) = iVar9;\nLAB_00071a9a:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return iVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "char *zFunc;" primitive_type (pointer_declarator "*zFunc" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "undefined8 uVar12;" type_identifier identifier ;) (declaration "stat statbuf;" type_identifier identifier ;) (expression_statement "uVar12 = __x86_get_pc_thunk_di();" (assignment_expression "uVar12 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = (int)uVar12;" (assignment_expression "iVar4 = (int)uVar12" identifier = (cast_expression "(int)uVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = extraout_ECX;" (assignment_expression "iVar5 = extraout_ECX" identifier = identifier) ;) (expression_statement "uVar7 = (uint)((ulonglong)uVar12 >> 0x20);" (assignment_expression "uVar7 = (uint)((ulonglong)uVar12 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar12 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar12 >> 0x20)" ( (binary_expression "(ulonglong)uVar12 >> 0x20" (cast_expression "(ulonglong)uVar12" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((extraout_ECX < 0) &&\n     (iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),\n     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0)) {\n    iVar5 = 0x70a;\n    goto LAB_00071a9a;\n  }" if (parenthesized_expression "((extraout_ECX < 0) &&\n     (iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),\n     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0))" ( (binary_expression "(extraout_ECX < 0) &&\n     (iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),\n     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0)" (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) && (parenthesized_expression "(iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),\n     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0)" ( (comma_expression "iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf),\n     iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0" (assignment_expression "iVar9 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar4 + 0xc),&statbuf)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10bd39))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10bd39)" * (pointer_expression "*(code **)(unaff_EDI + 0x10bd39)" * (cast_expression "(code **)(unaff_EDI + 0x10bd39)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10bd39)" ( (binary_expression "unaff_EDI + 0x10bd39" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar4 + 0xc),&statbuf)" ( (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) )))) , (pointer_expression "&statbuf" & identifier) )))) , (comma_expression "iVar5 = statbuf.st_size._4_4_, uVar7 = (uint)statbuf.st_size, iVar9 != 0" (assignment_expression "iVar5 = statbuf.st_size._4_4_" identifier = (field_expression "statbuf.st_size._4_4_" (field_expression "statbuf.st_size" identifier . field_identifier) . field_identifier)) , (comma_expression "uVar7 = (uint)statbuf.st_size, iVar9 != 0" (assignment_expression "uVar7 = (uint)statbuf.st_size" identifier = (cast_expression "(uint)statbuf.st_size" ( (type_descriptor "uint" type_identifier) ) (field_expression "statbuf.st_size" identifier . field_identifier))) , (binary_expression "iVar9 != 0" identifier != number_literal)))) ))) )) (compound_statement "{\n    iVar5 = 0x70a;\n    goto LAB_00071a9a;\n  }" { (expression_statement "iVar5 = 0x70a;" (assignment_expression "iVar5 = 0x70a" identifier = number_literal) ;) (goto_statement "goto LAB_00071a9a;" goto statement_identifier ;) })) (expression_statement "iVar9 = *(int *)(iVar4 + 0x44);" (assignment_expression "iVar9 = *(int *)(iVar4 + 0x44)" identifier = (pointer_expression "*(int *)(iVar4 + 0x44)" * (cast_expression "(int *)(iVar4 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar4 + 0x30);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 0x30)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x30)" * (cast_expression "(uint *)(iVar4 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = (uint)(uVar7 < *(uint *)(iVar4 + 0x40));" (assignment_expression "uVar8 = (uint)(uVar7 < *(uint *)(iVar4 + 0x40))" identifier = (call_expression "(uint)(uVar7 < *(uint *)(iVar4 + 0x40))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < *(uint *)(iVar4 + 0x40))" ( (binary_expression "uVar7 < *(uint *)(iVar4 + 0x40)" identifier < (pointer_expression "*(uint *)(iVar4 + 0x40)" * (cast_expression "(uint *)(iVar4 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x40)" ( (binary_expression "iVar4 + 0x40" identifier + number_literal) ))))) )))) ;) (expression_statement "bVar11 = SBORROW4(iVar5,iVar9) != SBORROW4(iVar5 - iVar9,uVar8);" (assignment_expression "bVar11 = SBORROW4(iVar5,iVar9) != SBORROW4(iVar5 - iVar9,uVar8)" identifier = (binary_expression "SBORROW4(iVar5,iVar9) != SBORROW4(iVar5 - iVar9,uVar8)" (call_expression "SBORROW4(iVar5,iVar9)" identifier (argument_list "(iVar5,iVar9)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar5 - iVar9,uVar8)" identifier (argument_list "(iVar5 - iVar9,uVar8)" ( (binary_expression "iVar5 - iVar9" identifier - identifier) , identifier ))))) ;) (expression_statement "bVar10 = (int)((iVar5 - iVar9) - uVar8) < 0;" (assignment_expression "bVar10 = (int)((iVar5 - iVar9) - uVar8) < 0" identifier = (binary_expression "(int)((iVar5 - iVar9) - uVar8) < 0" (cast_expression "(int)((iVar5 - iVar9) - uVar8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar5 - iVar9) - uVar8)" ( (binary_expression "(iVar5 - iVar9) - uVar8" (parenthesized_expression "(iVar5 - iVar9)" ( (binary_expression "iVar5 - iVar9" identifier - identifier) )) - identifier) ))) < number_literal)) ;) (expression_statement "uVar8 = *(uint *)(iVar4 + 0x40);" (assignment_expression "uVar8 = *(uint *)(iVar4 + 0x40)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x40)" * (cast_expression "(uint *)(iVar4 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x40)" ( (binary_expression "iVar4 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (bVar11 != bVar10) {\n    uVar8 = uVar7;\n  }" if (parenthesized_expression "(bVar11 != bVar10)" ( (binary_expression "bVar11 != bVar10" identifier != identifier) )) (compound_statement "{\n    uVar8 = uVar7;\n  }" { (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) })) (if_statement "if (bVar11 != bVar10) {\n    iVar9 = iVar5;\n  }" if (parenthesized_expression "(bVar11 != bVar10)" ( (binary_expression "bVar11 != bVar10" identifier != identifier) )) (compound_statement "{\n    iVar9 = iVar5;\n  }" { (expression_statement "iVar9 = iVar5;" (assignment_expression "iVar9 = iVar5" identifier = identifier) ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar4 + 0x34) == iVar9 && uVar2 == uVar8) goto LAB_00071a9a;" if (parenthesized_expression "(*(int *)(iVar4 + 0x34) == iVar9 && uVar2 == uVar8)" ( (binary_expression "*(int *)(iVar4 + 0x34) == iVar9 && uVar2 == uVar8" (binary_expression "*(int *)(iVar4 + 0x34) == iVar9" (pointer_expression "*(int *)(iVar4 + 0x34)" * (cast_expression "(int *)(iVar4 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) )))) == identifier) && (binary_expression "uVar2 == uVar8" identifier == identifier)) )) (goto_statement "goto LAB_00071a9a;" goto statement_identifier ;)) (expression_statement "uVar3 = *(undefined4 *)(iVar4 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar4 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0x48);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x48)" identifier = (pointer_expression "*(int *)(iVar4 + 0x48)" * (cast_expression "(int *)(iVar4 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 == 0) {\n    zFunc = (char *)(unaff_EDI + 0xa708f);\nLAB_00071b89:\n    iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);\n    }\n    iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1);\n    if (0xfffffffd < iVar6 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);\n    }\n    zFunc = (char *)(unaff_EDI + 0xae004);\n    if (iVar6 == 0) goto LAB_00071b89;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    zFunc = (char *)(unaff_EDI + 0xa708f);\nLAB_00071b89:\n    iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0);\n  }" { (expression_statement "zFunc = (char *)(unaff_EDI + 0xa708f);" (assignment_expression "zFunc = (char *)(unaff_EDI + 0xa708f)" identifier = (cast_expression "(char *)(unaff_EDI + 0xa708f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xa708f)" ( (binary_expression "unaff_EDI + 0xa708f" identifier + number_literal) )))) ;) (labeled_statement "LAB_00071b89:\n    iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0);" statement_identifier : (expression_statement "iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0);" (assignment_expression "iVar6 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10be05))(0,uVar8,1,1,uVar3,0,0)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be05))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be05)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be05)" * (cast_expression "(code **)(unaff_EDI + 0x10be05)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be05)" ( (binary_expression "unaff_EDI + 0x10be05" identifier + number_literal) ))))) )) (argument_list "(0,uVar8,1,1,uVar3,0,0)" ( number_literal , identifier , number_literal , number_literal , identifier , number_literal , number_literal )))) ;)) }) (else_clause "else {\n    if (*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);\n    }\n    iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1);\n    if (0xfffffffd < iVar6 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);\n    }\n    zFunc = (char *)(unaff_EDI + 0xae004);\n    if (iVar6 == 0) goto LAB_00071b89;\n  }" else (compound_statement "{\n    if (*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);\n    }\n    iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1);\n    if (0xfffffffd < iVar6 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);\n    }\n    zFunc = (char *)(unaff_EDI + 0xae004);\n    if (iVar6 == 0) goto LAB_00071b89;\n  }" { (if_statement "if (*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);\n    }" if (parenthesized_expression "(*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38))" ( (binary_expression "*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c) || uVar2 != *(uint *)(iVar4 + 0x38)" (binary_expression "*(int *)(iVar4 + 0x34) != *(int *)(iVar4 + 0x3c)" (pointer_expression "*(int *)(iVar4 + 0x34)" * (cast_expression "(int *)(iVar4 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) )))) != (pointer_expression "*(int *)(iVar4 + 0x3c)" * (cast_expression "(int *)(iVar4 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) ))))) || (binary_expression "uVar2 != *(uint *)(iVar4 + 0x38)" identifier != (pointer_expression "*(uint *)(iVar4 + 0x38)" * (cast_expression "(uint *)(iVar4 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))))) )) (compound_statement "{\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);\n    }" { (expression_statement "(**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2);" (call_expression "(**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be11))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be11)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be11)" * (cast_expression "(code **)(unaff_EDI + 0x10be11)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be11)" ( (binary_expression "unaff_EDI + 0x10be11" identifier + number_literal) ))))) )) (argument_list "(iVar5 + uVar2,*(uint *)(iVar4 + 0x38) - uVar2)" ( (binary_expression "iVar5 + uVar2" identifier + identifier) , (binary_expression "*(uint *)(iVar4 + 0x38) - uVar2" (pointer_expression "*(uint *)(iVar4 + 0x38)" * (cast_expression "(uint *)(iVar4 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))) - identifier) ))) ;) })) (expression_statement "iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1);" (assignment_expression "iVar6 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar2,uVar8,1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be1d))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be1d)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be1d)" * (cast_expression "(code **)(unaff_EDI + 0x10be1d)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be1d)" ( (binary_expression "unaff_EDI + 0x10be1d" identifier + number_literal) ))))) )) (argument_list "(iVar5,uVar2,uVar8,1)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (0xfffffffd < iVar6 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);\n    }" if (parenthesized_expression "(0xfffffffd < iVar6 - 1U)" ( (binary_expression "0xfffffffd < iVar6 - 1U" number_literal < (binary_expression "iVar6 - 1U" identifier - number_literal)) )) (compound_statement "{\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);\n    }" { (expression_statement "(**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2);" (call_expression "(**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar2)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be11))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be11)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be11)" * (cast_expression "(code **)(unaff_EDI + 0x10be11)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be11)" ( (binary_expression "unaff_EDI + 0x10be11" identifier + number_literal) ))))) )) (argument_list "(iVar5,uVar2)" ( identifier , identifier ))) ;) })) (expression_statement "zFunc = (char *)(unaff_EDI + 0xae004);" (assignment_expression "zFunc = (char *)(unaff_EDI + 0xae004)" identifier = (cast_expression "(char *)(unaff_EDI + 0xae004)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xae004)" ( (binary_expression "unaff_EDI + 0xae004" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00071b89;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00071b89;" goto statement_identifier ;)) }))) (if_statement "if (iVar6 == -1) {\n    iVar6 = 0;\n    uVar8 = 0;\n    iVar9 = 0;\n    unixLogErrorAtLine(0,zFunc,*(char **)(iVar4 + 0x20),0x924b);\n    *(undefined4 *)(iVar4 + 0x40) = 0;\n    *(undefined4 *)(iVar4 + 0x44) = 0;\n  }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n    iVar6 = 0;\n    uVar8 = 0;\n    iVar9 = 0;\n    unixLogErrorAtLine(0,zFunc,*(char **)(iVar4 + 0x20),0x924b);\n    *(undefined4 *)(iVar4 + 0x40) = 0;\n    *(undefined4 *)(iVar4 + 0x44) = 0;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "unixLogErrorAtLine(0,zFunc,*(char **)(iVar4 + 0x20),0x924b);" (call_expression "unixLogErrorAtLine(0,zFunc,*(char **)(iVar4 + 0x20),0x924b)" identifier (argument_list "(0,zFunc,*(char **)(iVar4 + 0x20),0x924b)" ( number_literal , identifier , (pointer_expression "*(char **)(iVar4 + 0x20)" * (cast_expression "(char **)(iVar4 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) , number_literal ))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x40) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x40)" * (cast_expression "(undefined4 *)(iVar4 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x40)" ( (binary_expression "iVar4 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x44) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x44)" * (cast_expression "(undefined4 *)(iVar4 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(int *)(iVar4 + 0x48) = iVar6;" (assignment_expression "*(int *)(iVar4 + 0x48) = iVar6" (pointer_expression "*(int *)(iVar4 + 0x48)" * (cast_expression "(int *)(iVar4 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x48)" ( (binary_expression "iVar4 + 0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "*(uint *)(iVar4 + 0x38) = uVar8;" (assignment_expression "*(uint *)(iVar4 + 0x38) = uVar8" (pointer_expression "*(uint *)(iVar4 + 0x38)" * (cast_expression "(uint *)(iVar4 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0x3c) = iVar9;" (assignment_expression "*(int *)(iVar4 + 0x3c) = iVar9" (pointer_expression "*(int *)(iVar4 + 0x3c)" * (cast_expression "(int *)(iVar4 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar4 + 0x30) = uVar8;" (assignment_expression "*(uint *)(iVar4 + 0x30) = uVar8" (pointer_expression "*(uint *)(iVar4 + 0x30)" * (cast_expression "(uint *)(iVar4 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar4 + 0x34) = iVar9;" (assignment_expression "*(int *)(iVar4 + 0x34) = iVar9" (pointer_expression "*(int *)(iVar4 + 0x34)" * (cast_expression "(int *)(iVar4 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00071a9a:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar5;" return identifier ;) })))
(translation_unit "undefined4 FUN_00071a40(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int extraout_ECX;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int unaff_EDI;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  bool bVar10;\n  undefined8 uVar11;\n  undefined1 local_80 [44];\n  uint local_54;\n  int local_50;\n  int local_20;\n  \n  uVar11 = FUN_00036ac5();\n  iVar2 = (int)uVar11;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar8 = *(int *)(iVar2 + 0x44);\n  uVar1 = *(uint *)(iVar2 + 0x30);\n  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));\n  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);\n  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;\n  uVar7 = *(uint *)(iVar2 + 0x40);\n  if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }\n  if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }\n  uVar3 = 0;\n  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar2 + 0xc);\n  iVar5 = *(int *)(iVar2 + 0x48);\n  if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }\n  if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }\n  *(int *)(iVar2 + 0x48) = iVar4;\n  uVar3 = 0;\n  *(uint *)(iVar2 + 0x38) = uVar7;\n  *(int *)(iVar2 + 0x3c) = iVar8;\n  *(uint *)(iVar2 + 0x30) = uVar7;\n  *(int *)(iVar2 + 0x34) = iVar8;\nLAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }\n  return uVar3;\n}\n\n" (function_definition "undefined4 FUN_00071a40(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int extraout_ECX;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int unaff_EDI;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  bool bVar10;\n  undefined8 uVar11;\n  undefined1 local_80 [44];\n  uint local_54;\n  int local_50;\n  int local_20;\n  \n  uVar11 = FUN_00036ac5();\n  iVar2 = (int)uVar11;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar8 = *(int *)(iVar2 + 0x44);\n  uVar1 = *(uint *)(iVar2 + 0x30);\n  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));\n  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);\n  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;\n  uVar7 = *(uint *)(iVar2 + 0x40);\n  if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }\n  if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }\n  uVar3 = 0;\n  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar2 + 0xc);\n  iVar5 = *(int *)(iVar2 + 0x48);\n  if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }\n  if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }\n  *(int *)(iVar2 + 0x48) = iVar4;\n  uVar3 = 0;\n  *(uint *)(iVar2 + 0x38) = uVar7;\n  *(int *)(iVar2 + 0x3c) = iVar8;\n  *(uint *)(iVar2 + 0x30) = uVar7;\n  *(int *)(iVar2 + 0x34) = iVar8;\nLAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_00071a40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int extraout_ECX;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int unaff_EDI;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  bool bVar10;\n  undefined8 uVar11;\n  undefined1 local_80 [44];\n  uint local_54;\n  int local_50;\n  int local_20;\n  \n  uVar11 = FUN_00036ac5();\n  iVar2 = (int)uVar11;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar8 = *(int *)(iVar2 + 0x44);\n  uVar1 = *(uint *)(iVar2 + 0x30);\n  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));\n  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);\n  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;\n  uVar7 = *(uint *)(iVar2 + 0x40);\n  if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }\n  if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }\n  uVar3 = 0;\n  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar2 + 0xc);\n  iVar5 = *(int *)(iVar2 + 0x48);\n  if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }\n  if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }\n  *(int *)(iVar2 + 0x48) = iVar4;\n  uVar3 = 0;\n  *(uint *)(iVar2 + 0x38) = uVar7;\n  *(int *)(iVar2 + 0x3c) = iVar8;\n  *(uint *)(iVar2 + 0x30) = uVar7;\n  *(int *)(iVar2 + 0x34) = iVar8;\nLAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }\n  return uVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "undefined1 local_80 [44];" type_identifier (array_declarator "local_80 [44]" identifier [ number_literal ]) ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "int local_50;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "uVar11 = FUN_00036ac5();" (assignment_expression "uVar11 = FUN_00036ac5()" identifier = (call_expression "FUN_00036ac5()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = (int)uVar11;" (assignment_expression "iVar2 = (int)uVar11" identifier = (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = extraout_ECX;" (assignment_expression "iVar5 = extraout_ECX" identifier = identifier) ;) (expression_statement "uVar6 = (uint)((ulonglong)uVar11 >> 0x20);" (assignment_expression "uVar6 = (uint)((ulonglong)uVar11 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar11 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }" if (parenthesized_expression "((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0))" ( (binary_expression "(extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)" (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) && (parenthesized_expression "(iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)" ( (comma_expression "iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0" (assignment_expression "iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10bd39))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10bd39)" * (pointer_expression "*(code **)(unaff_EDI + 0x10bd39)" * (cast_expression "(code **)(unaff_EDI + 0x10bd39)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10bd39)" ( (binary_expression "unaff_EDI + 0x10bd39" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar2 + 0xc),local_80)" ( (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) , identifier )))) , (comma_expression "iVar5 = local_50, uVar6 = local_54, iVar8 != 0" (assignment_expression "iVar5 = local_50" identifier = identifier) , (comma_expression "uVar6 = local_54, iVar8 != 0" (assignment_expression "uVar6 = local_54" identifier = identifier) , (binary_expression "iVar8 != 0" identifier != number_literal)))) ))) )) (compound_statement "{\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }" { (expression_statement "uVar3 = 0x70a;" (assignment_expression "uVar3 = 0x70a" identifier = number_literal) ;) (goto_statement "goto LAB_00071a9a;" goto statement_identifier ;) })) (expression_statement "iVar8 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x44)" identifier = (pointer_expression "*(int *)(iVar2 + 0x44)" * (cast_expression "(int *)(iVar2 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(uint *)(iVar2 + 0x30);" (assignment_expression "uVar1 = *(uint *)(iVar2 + 0x30)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x30)" * (cast_expression "(uint *)(iVar2 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));" (assignment_expression "uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40))" identifier = (call_expression "(uint)(uVar6 < *(uint *)(iVar2 + 0x40))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar6 < *(uint *)(iVar2 + 0x40))" ( (binary_expression "uVar6 < *(uint *)(iVar2 + 0x40)" identifier < (pointer_expression "*(uint *)(iVar2 + 0x40)" * (cast_expression "(uint *)(iVar2 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) ))))) )))) ;) (expression_statement "bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);" (assignment_expression "bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7)" identifier = (binary_expression "SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7)" (call_expression "SBORROW4(iVar5,iVar8)" identifier (argument_list "(iVar5,iVar8)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar5 - iVar8,uVar7)" identifier (argument_list "(iVar5 - iVar8,uVar7)" ( (binary_expression "iVar5 - iVar8" identifier - identifier) , identifier ))))) ;) (expression_statement "bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;" (assignment_expression "bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0" identifier = (binary_expression "(int)((iVar5 - iVar8) - uVar7) < 0" (cast_expression "(int)((iVar5 - iVar8) - uVar7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar5 - iVar8) - uVar7)" ( (binary_expression "(iVar5 - iVar8) - uVar7" (parenthesized_expression "(iVar5 - iVar8)" ( (binary_expression "iVar5 - iVar8" identifier - identifier) )) - identifier) ))) < number_literal)) ;) (expression_statement "uVar7 = *(uint *)(iVar2 + 0x40);" (assignment_expression "uVar7 = *(uint *)(iVar2 + 0x40)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x40)" * (cast_expression "(uint *)(iVar2 + 0x40)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }" if (parenthesized_expression "(bVar10 != bVar9)" ( (binary_expression "bVar10 != bVar9" identifier != identifier) )) (compound_statement "{\n    uVar7 = uVar6;\n  }" { (expression_statement "uVar7 = uVar6;" (assignment_expression "uVar7 = uVar6" identifier = identifier) ;) })) (if_statement "if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }" if (parenthesized_expression "(bVar10 != bVar9)" ( (binary_expression "bVar10 != bVar9" identifier != identifier) )) (compound_statement "{\n    iVar8 = iVar5;\n  }" { (expression_statement "iVar8 = iVar5;" (assignment_expression "iVar8 = iVar5" identifier = identifier) ;) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;" if (parenthesized_expression "(*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7)" ( (binary_expression "*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7" (binary_expression "*(int *)(iVar2 + 0x34) == iVar8" (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) == identifier) && (binary_expression "uVar1 == uVar7" identifier == identifier)) )) (goto_statement "goto LAB_00071a9a;" goto statement_identifier ;)) (expression_statement "uVar3 = *(undefined4 *)(iVar2 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar2 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" * (cast_expression "(undefined4 *)(iVar2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = *(int *)(iVar2 + 0x48);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x48)" identifier = (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }" { (labeled_statement "LAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);" statement_identifier : (expression_statement "iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);" (assignment_expression "iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be05))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be05)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be05)" * (cast_expression "(code **)(unaff_EDI + 0x10be05)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be05)" ( (binary_expression "unaff_EDI + 0x10be05" identifier + number_literal) ))))) )) (argument_list "(0,uVar7,1,1,uVar3,0,0)" ( number_literal , identifier , number_literal , number_literal , identifier , number_literal , number_literal )))) ;)) }) (else_clause "else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" else (compound_statement "{\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" { (if_statement "if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }" if (parenthesized_expression "(*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38))" ( (binary_expression "*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)" (binary_expression "*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c)" (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) != (pointer_expression "*(int *)(iVar2 + 0x3c)" * (cast_expression "(int *)(iVar2 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) ))))) || (binary_expression "uVar1 != *(uint *)(iVar2 + 0x38)" identifier != (pointer_expression "*(uint *)(iVar2 + 0x38)" * (cast_expression "(uint *)(iVar2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))))) )) (compound_statement "{\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }" { (expression_statement "(**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);" (call_expression "(**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be11))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be11)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be11)" * (cast_expression "(code **)(unaff_EDI + 0x10be11)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be11)" ( (binary_expression "unaff_EDI + 0x10be11" identifier + number_literal) ))))) )) (argument_list "(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1)" ( (binary_expression "iVar5 + uVar1" identifier + identifier) , (binary_expression "*(uint *)(iVar2 + 0x38) - uVar1" (pointer_expression "*(uint *)(iVar2 + 0x38)" * (cast_expression "(uint *)(iVar2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) - identifier) ))) ;) })) (expression_statement "iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);" (assignment_expression "iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1)" identifier = (call_expression "(**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be1d))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be1d)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be1d)" * (cast_expression "(code **)(unaff_EDI + 0x10be1d)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be1d)" ( (binary_expression "unaff_EDI + 0x10be1d" identifier + number_literal) ))))) )) (argument_list "(iVar5,uVar1,uVar7,1)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }" if (parenthesized_expression "(0xfffffffd < iVar4 - 1U)" ( (binary_expression "0xfffffffd < iVar4 - 1U" number_literal < (binary_expression "iVar4 - 1U" identifier - number_literal)) )) (compound_statement "{\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }" { (expression_statement "(**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);" (call_expression "(**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be11))" ( (pointer_expression "**(code **)(unaff_EDI + 0x10be11)" * (pointer_expression "*(code **)(unaff_EDI + 0x10be11)" * (cast_expression "(code **)(unaff_EDI + 0x10be11)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x10be11)" ( (binary_expression "unaff_EDI + 0x10be11" identifier + number_literal) ))))) )) (argument_list "(iVar5,uVar1)" ( identifier , identifier ))) ;) })) (if_statement "if (iVar4 == 0) goto LAB_00071b89;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00071b89;" goto statement_identifier ;)) }))) (if_statement "if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "FUN_000719e0(0x924b);" (call_expression "FUN_000719e0(0x924b)" identifier (argument_list "(0x924b)" ( number_literal ))) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x40) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x40)" * (cast_expression "(undefined4 *)(iVar2 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x40)" ( (binary_expression "iVar2 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar2 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x44) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x44)" * (cast_expression "(undefined4 *)(iVar2 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x44)" ( (binary_expression "iVar2 + 0x44" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(int *)(iVar2 + 0x48) = iVar4;" (assignment_expression "*(int *)(iVar2 + 0x48) = iVar4" (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "*(uint *)(iVar2 + 0x38) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x38) = uVar7" (pointer_expression "*(uint *)(iVar2 + 0x38)" * (cast_expression "(uint *)(iVar2 + 0x38)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x3c) = iVar8;" (assignment_expression "*(int *)(iVar2 + 0x3c) = iVar8" (pointer_expression "*(int *)(iVar2 + 0x3c)" * (cast_expression "(int *)(iVar2 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x3c)" ( (binary_expression "iVar2 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x30) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x30) = uVar7" (pointer_expression "*(uint *)(iVar2 + 0x30)" * (cast_expression "(uint *)(iVar2 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x34) = iVar8;" (assignment_expression "*(int *)(iVar2 + 0x34) = iVar8" (pointer_expression "*(int *)(iVar2 + 0x34)" * (cast_expression "(int *)(iVar2 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x34)" ( (binary_expression "iVar2 + 0x34" identifier + number_literal) )))) = identifier) ;) (labeled_statement "LAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00116110();\n  }" { (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) 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 IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - 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 != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) && (binary_expression IDENT == IDENT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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 { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT , LIT , LIT , IDENT , LIT , LIT )))) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) || (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + IDENT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00071a40(void)\n\n{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int extraout_ECX;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int unaff_EDI;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  bool bVar10;\n  undefined8 uVar11;\n  undefined1 local_80 [44];\n  uint local_54;\n  int local_50;\n  int local_20;\n  \n  uVar11 = FUN_00036ac5();\n  iVar2 = (int)uVar11;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar8 = *(int *)(iVar2 + 0x44);\n  uVar1 = *(uint *)(iVar2 + 0x30);\n  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));\n  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);\n  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;\n  uVar7 = *(uint *)(iVar2 + 0x40);\n  if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }\n  if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }\n  uVar3 = 0;\n  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar2 + 0xc);\n  iVar5 = *(int *)(iVar2 + 0x48);\n  if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }\n  if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }\n  *(int *)(iVar2 + 0x48) = iVar4;\n  uVar3 = 0;\n  *(uint *)(iVar2 + 0x38) = uVar7;\n  *(int *)(iVar2 + 0x3c) = iVar8;\n  *(uint *)(iVar2 + 0x30) = uVar7;\n  *(int *)(iVar2 + 0x34) = iVar8;\nLAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }\n  return uVar3;\n}" (type_identifier "undefined4") (function_declarator "FUN_00071a40(void)" (identifier "FUN_00071a40") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int extraout_ECX;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  int unaff_EDI;\n  int iVar8;\n  int in_GS_OFFSET;\n  bool bVar9;\n  bool bVar10;\n  undefined8 uVar11;\n  undefined1 local_80 [44];\n  uint local_54;\n  int local_50;\n  int local_20;\n  \n  uVar11 = FUN_00036ac5();\n  iVar2 = (int)uVar11;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar5 = extraout_ECX;\n  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);\n  if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }\n  iVar8 = *(int *)(iVar2 + 0x44);\n  uVar1 = *(uint *)(iVar2 + 0x30);\n  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));\n  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);\n  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;\n  uVar7 = *(uint *)(iVar2 + 0x40);\n  if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }\n  if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }\n  uVar3 = 0;\n  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;\n  uVar3 = *(undefined4 *)(iVar2 + 0xc);\n  iVar5 = *(int *)(iVar2 + 0x48);\n  if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }\n  if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }\n  *(int *)(iVar2 + 0x48) = iVar4;\n  uVar3 = 0;\n  *(uint *)(iVar2 + 0x38) = uVar7;\n  *(int *)(iVar2 + 0x3c) = iVar8;\n  *(uint *)(iVar2 + 0x30) = uVar7;\n  *(int *)(iVar2 + 0x34) = iVar8;\nLAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }\n  return uVar3;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "undefined1 local_80 [44];" (type_identifier "undefined1") (array_declarator "local_80 [44]" (identifier "local_80") ([ "[") (number_literal "44") (] "]")) (; ";")) (declaration "uint local_54;" (type_identifier "uint") (identifier "local_54") (; ";")) (declaration "int local_50;" (primitive_type "int") (identifier "local_50") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "uVar11 = FUN_00036ac5();" (assignment_expression "uVar11 = FUN_00036ac5()" (identifier "uVar11") (= "=") (call_expression "FUN_00036ac5()" (identifier "FUN_00036ac5") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = (int)uVar11;" (assignment_expression "iVar2 = (int)uVar11" (identifier "iVar2") (= "=") (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11"))) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar5 = extraout_ECX;" (assignment_expression "iVar5 = extraout_ECX" (identifier "iVar5") (= "=") (identifier "extraout_ECX")) (; ";")) (expression_statement "uVar6 = (uint)((ulonglong)uVar11 >> 0x20);" (assignment_expression "uVar6 = (uint)((ulonglong)uVar11 >> 0x20)" (identifier "uVar6") (= "=") (call_expression "(uint)((ulonglong)uVar11 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar11 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar11")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if ((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }" (if "if") (parenthesized_expression "((extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0))" (( "(") (binary_expression "(extraout_ECX < 0) &&\n     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)" (parenthesized_expression "(extraout_ECX < 0)" (( "(") (binary_expression "extraout_ECX < 0" (identifier "extraout_ECX") (< "<") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)" (( "(") (comma_expression "iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),\n     iVar5 = local_50, uVar6 = local_54, iVar8 != 0" (assignment_expression "iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80)" (identifier "iVar8") (= "=") (call_expression "(**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10bd39))" (( "(") (pointer_expression "**(code **)(unaff_EDI + 0x10bd39)" (* "*") (pointer_expression "*(code **)(unaff_EDI + 0x10bd39)" (* "*") (cast_expression "(code **)(unaff_EDI + 0x10bd39)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x10bd39)" (( "(") (binary_expression "unaff_EDI + 0x10bd39" (identifier "unaff_EDI") (+ "+") (number_literal "0x10bd39")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0xc),local_80)" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "local_80") () ")")))) (, ",") (comma_expression "iVar5 = local_50, uVar6 = local_54, iVar8 != 0" (assignment_expression "iVar5 = local_50" (identifier "iVar5") (= "=") (identifier "local_50")) (, ",") (comma_expression "uVar6 = local_54, iVar8 != 0" (assignment_expression "uVar6 = local_54" (identifier "uVar6") (= "=") (identifier "local_54")) (, ",") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0"))))) () ")"))) () ")")) (compound_statement "{\n    uVar3 = 0x70a;\n    goto LAB_00071a9a;\n  }" ({ "{") (expression_statement "uVar3 = 0x70a;" (assignment_expression "uVar3 = 0x70a" (identifier "uVar3") (= "=") (number_literal "0x70a")) (; ";")) (goto_statement "goto LAB_00071a9a;" (goto "goto") (statement_identifier "LAB_00071a9a") (; ";")) (} "}"))) (expression_statement "iVar8 = *(int *)(iVar2 + 0x44);" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x44)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar2 + 0x44)" (* "*") (cast_expression "(int *)(iVar2 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(uint *)(iVar2 + 0x30);" (assignment_expression "uVar1 = *(uint *)(iVar2 + 0x30)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x30)" (* "*") (cast_expression "(uint *)(iVar2 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));" (assignment_expression "uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40))" (identifier "uVar7") (= "=") (call_expression "(uint)(uVar6 < *(uint *)(iVar2 + 0x40))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar6 < *(uint *)(iVar2 + 0x40))" (( "(") (binary_expression "uVar6 < *(uint *)(iVar2 + 0x40)" (identifier "uVar6") (< "<") (pointer_expression "*(uint *)(iVar2 + 0x40)" (* "*") (cast_expression "(uint *)(iVar2 + 0x40)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x40)" (( "(") (binary_expression "iVar2 + 0x40" (identifier "iVar2") (+ "+") (number_literal "0x40")) () ")"))))) () ")")))) (; ";")) (expression_statement "bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);" (assignment_expression "bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7)" (identifier "bVar10") (= "=") (binary_expression "SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7)" (call_expression "SBORROW4(iVar5,iVar8)" (identifier "SBORROW4") (argument_list "(iVar5,iVar8)" (( "(") (identifier "iVar5") (, ",") (identifier "iVar8") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar5 - iVar8,uVar7)" (identifier "SBORROW4") (argument_list "(iVar5 - iVar8,uVar7)" (( "(") (binary_expression "iVar5 - iVar8" (identifier "iVar5") (- "-") (identifier "iVar8")) (, ",") (identifier "uVar7") () ")"))))) (; ";")) (expression_statement "bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;" (assignment_expression "bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0" (identifier "bVar9") (= "=") (binary_expression "(int)((iVar5 - iVar8) - uVar7) < 0" (cast_expression "(int)((iVar5 - iVar8) - uVar7)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((iVar5 - iVar8) - uVar7)" (( "(") (binary_expression "(iVar5 - iVar8) - uVar7" (parenthesized_expression "(iVar5 - iVar8)" (( "(") (binary_expression "iVar5 - iVar8" (identifier "iVar5") (- "-") (identifier "iVar8")) () ")")) (- "-") (identifier "uVar7")) () ")"))) (< "<") (number_literal "0"))) (; ";")) (expression_statement "uVar7 = *(uint *)(iVar2 + 0x40);" (assignment_expression "uVar7 = *(uint *)(iVar2 + 0x40)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x40)" (* "*") (cast_expression "(uint *)(iVar2 + 0x40)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x40)" (( "(") (binary_expression "iVar2 + 0x40" (identifier "iVar2") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (if_statement "if (bVar10 != bVar9) {\n    uVar7 = uVar6;\n  }" (if "if") (parenthesized_expression "(bVar10 != bVar9)" (( "(") (binary_expression "bVar10 != bVar9" (identifier "bVar10") (!= "!=") (identifier "bVar9")) () ")")) (compound_statement "{\n    uVar7 = uVar6;\n  }" ({ "{") (expression_statement "uVar7 = uVar6;" (assignment_expression "uVar7 = uVar6" (identifier "uVar7") (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (if_statement "if (bVar10 != bVar9) {\n    iVar8 = iVar5;\n  }" (if "if") (parenthesized_expression "(bVar10 != bVar9)" (( "(") (binary_expression "bVar10 != bVar9" (identifier "bVar10") (!= "!=") (identifier "bVar9")) () ")")) (compound_statement "{\n    iVar8 = iVar5;\n  }" ({ "{") (expression_statement "iVar8 = iVar5;" (assignment_expression "iVar8 = iVar5" (identifier "iVar8") (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7)" (( "(") (binary_expression "*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7" (binary_expression "*(int *)(iVar2 + 0x34) == iVar8" (pointer_expression "*(int *)(iVar2 + 0x34)" (* "*") (cast_expression "(int *)(iVar2 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (== "==") (identifier "iVar8")) (&& "&&") (binary_expression "uVar1 == uVar7" (identifier "uVar1") (== "==") (identifier "uVar7"))) () ")")) (goto_statement "goto LAB_00071a9a;" (goto "goto") (statement_identifier "LAB_00071a9a") (; ";"))) (expression_statement "uVar3 = *(undefined4 *)(iVar2 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar2 + 0xc)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar2 + 0x48);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0x48)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar2 + 0x48)" (* "*") (cast_expression "(int *)(iVar2 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x48)" (( "(") (binary_expression "iVar2 + 0x48" (identifier "iVar2") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (if_statement "if (iVar5 == 0) {\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }\n  else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);\n  }" ({ "{") (labeled_statement "LAB_00071b89:\n    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);" (statement_identifier "LAB_00071b89") (: ":") (expression_statement "iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);" (assignment_expression "iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be05))" (( "(") (pointer_expression "**(code **)(unaff_EDI + 0x10be05)" (* "*") (pointer_expression "*(code **)(unaff_EDI + 0x10be05)" (* "*") (cast_expression "(code **)(unaff_EDI + 0x10be05)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x10be05)" (( "(") (binary_expression "unaff_EDI + 0x10be05" (identifier "unaff_EDI") (+ "+") (number_literal "0x10be05")) () ")"))))) () ")")) (argument_list "(0,uVar7,1,1,uVar3,0,0)" (( "(") (number_literal "0") (, ",") (identifier "uVar7") (, ",") (number_literal "1") (, ",") (number_literal "1") (, ",") (identifier "uVar3") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";"))) (} "}")) (else_clause "else {\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" (else "else") (compound_statement "{\n    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }\n    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);\n    if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }\n    if (iVar4 == 0) goto LAB_00071b89;\n  }" ({ "{") (if_statement "if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38))" (( "(") (binary_expression "*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)" (binary_expression "*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c)" (pointer_expression "*(int *)(iVar2 + 0x34)" (* "*") (cast_expression "(int *)(iVar2 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (pointer_expression "*(int *)(iVar2 + 0x3c)" (* "*") (cast_expression "(int *)(iVar2 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3c)" (( "(") (binary_expression "iVar2 + 0x3c" (identifier "iVar2") (+ "+") (number_literal "0x3c")) () ")"))))) (|| "||") (binary_expression "uVar1 != *(uint *)(iVar2 + 0x38)" (identifier "uVar1") (!= "!=") (pointer_expression "*(uint *)(iVar2 + 0x38)" (* "*") (cast_expression "(uint *)(iVar2 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))))) () ")")) (compound_statement "{\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);\n    }" ({ "{") (expression_statement "(**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);" (call_expression "(**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be11))" (( "(") (pointer_expression "**(code **)(unaff_EDI + 0x10be11)" (* "*") (pointer_expression "*(code **)(unaff_EDI + 0x10be11)" (* "*") (cast_expression "(code **)(unaff_EDI + 0x10be11)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x10be11)" (( "(") (binary_expression "unaff_EDI + 0x10be11" (identifier "unaff_EDI") (+ "+") (number_literal "0x10be11")) () ")"))))) () ")")) (argument_list "(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1)" (( "(") (binary_expression "iVar5 + uVar1" (identifier "iVar5") (+ "+") (identifier "uVar1")) (, ",") (binary_expression "*(uint *)(iVar2 + 0x38) - uVar1" (pointer_expression "*(uint *)(iVar2 + 0x38)" (* "*") (cast_expression "(uint *)(iVar2 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) (- "-") (identifier "uVar1")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);" (assignment_expression "iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be1d))" (( "(") (pointer_expression "**(code **)(unaff_EDI + 0x10be1d)" (* "*") (pointer_expression "*(code **)(unaff_EDI + 0x10be1d)" (* "*") (cast_expression "(code **)(unaff_EDI + 0x10be1d)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x10be1d)" (( "(") (binary_expression "unaff_EDI + 0x10be1d" (identifier "unaff_EDI") (+ "+") (number_literal "0x10be1d")) () ")"))))) () ")")) (argument_list "(iVar5,uVar1,uVar7,1)" (( "(") (identifier "iVar5") (, ",") (identifier "uVar1") (, ",") (identifier "uVar7") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (0xfffffffd < iVar4 - 1U) {\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }" (if "if") (parenthesized_expression "(0xfffffffd < iVar4 - 1U)" (( "(") (binary_expression "0xfffffffd < iVar4 - 1U" (number_literal "0xfffffffd") (< "<") (binary_expression "iVar4 - 1U" (identifier "iVar4") (- "-") (number_literal "1U"))) () ")")) (compound_statement "{\n      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);\n    }" ({ "{") (expression_statement "(**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);" (call_expression "(**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x10be11))" (( "(") (pointer_expression "**(code **)(unaff_EDI + 0x10be11)" (* "*") (pointer_expression "*(code **)(unaff_EDI + 0x10be11)" (* "*") (cast_expression "(code **)(unaff_EDI + 0x10be11)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x10be11)" (( "(") (binary_expression "unaff_EDI + 0x10be11" (identifier "unaff_EDI") (+ "+") (number_literal "0x10be11")) () ")"))))) () ")")) (argument_list "(iVar5,uVar1)" (( "(") (identifier "iVar5") (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar4 == 0) goto LAB_00071b89;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00071b89;" (goto "goto") (statement_identifier "LAB_00071b89") (; ";"))) (} "}")))) (if_statement "if (iVar4 == -1) {\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    iVar4 = 0;\n    uVar7 = 0;\n    iVar8 = 0;\n    FUN_000719e0(0x924b);\n    *(undefined4 *)(iVar2 + 0x40) = 0;\n    *(undefined4 *)(iVar2 + 0x44) = 0;\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_000719e0(0x924b);" (call_expression "FUN_000719e0(0x924b)" (identifier "FUN_000719e0") (argument_list "(0x924b)" (( "(") (number_literal "0x924b") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x40) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x40)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x40)" (( "(") (binary_expression "iVar2 + 0x40" (identifier "iVar2") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar2 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 0x44) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 0x44)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x44)" (( "(") (binary_expression "iVar2 + 0x44" (identifier "iVar2") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar2 + 0x48) = iVar4;" (assignment_expression "*(int *)(iVar2 + 0x48) = iVar4" (pointer_expression "*(int *)(iVar2 + 0x48)" (* "*") (cast_expression "(int *)(iVar2 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x48)" (( "(") (binary_expression "iVar2 + 0x48" (identifier "iVar2") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x38) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x38) = uVar7" (pointer_expression "*(uint *)(iVar2 + 0x38)" (* "*") (cast_expression "(uint *)(iVar2 + 0x38)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "*(int *)(iVar2 + 0x3c) = iVar8;" (assignment_expression "*(int *)(iVar2 + 0x3c) = iVar8" (pointer_expression "*(int *)(iVar2 + 0x3c)" (* "*") (cast_expression "(int *)(iVar2 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x3c)" (( "(") (binary_expression "iVar2 + 0x3c" (identifier "iVar2") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x30) = uVar7;" (assignment_expression "*(uint *)(iVar2 + 0x30) = uVar7" (pointer_expression "*(uint *)(iVar2 + 0x30)" (* "*") (cast_expression "(uint *)(iVar2 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "*(int *)(iVar2 + 0x34) = iVar8;" (assignment_expression "*(int *)(iVar2 + 0x34) = iVar8" (pointer_expression "*(int *)(iVar2 + 0x34)" (* "*") (cast_expression "(int *)(iVar2 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x34)" (( "(") (binary_expression "iVar2 + 0x34" (identifier "iVar2") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (identifier "iVar8")) (; ";")) (labeled_statement "LAB_00071a9a:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }" (statement_identifier "LAB_00071a9a") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00116110();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00116110();\n  }" ({ "{") (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" (identifier "FUN_00116110") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

int function_1(type_1 *pFd,type_2 nMap)

{
  int var_16;
  type_3 var_13;
  type_4 uVar3;
  int var_5;
  int var_9;
  int var_14;
  int var_3;
  type_3 var_7;
  char *zFunc;
  type_3 var_10;
  int var_4;
  int var_6;
  int var_2;
  bool var_12;
  bool var_11;
  type_5 uVar12;
  type_6 statbuf;
  
  uVar12 = var_1();
  var_5 = (int)uVar12;
  var_16 = *(int *)(var_2 + 0x14);
  var_9 = var_3;
  var_7 = (type_3)((type_7)uVar12 >> 0x20);
  if ((var_3 < 0) &&
     (var_6 = (**(type_8 **)(var_4 + 0x10bd39))(*(type_4 *)(var_5 + 0xc),&statbuf),
     var_9 = statbuf.st_size._4_4_, var_7 = (type_3)statbuf.st_size, var_6 != 0)) {
    var_9 = 0x70a;
    goto LAB_00071a9a;
  }
  var_6 = *(int *)(var_5 + 0x44);
  var_13 = *(type_3 *)(var_5 + 0x30);
  var_10 = (type_3)(var_7 < *(type_3 *)(var_5 + 0x40));
  var_11 = var_8(var_9,var_6) != var_8(var_9 - var_6,var_10);
  var_12 = (int)((var_9 - var_6) - var_10) < 0;
  var_10 = *(type_3 *)(var_5 + 0x40);
  if (var_11 != var_12) {
    var_10 = var_7;
  }
  if (var_11 != var_12) {
    var_6 = var_9;
  }
  var_9 = 0;
  if (*(int *)(var_5 + 0x34) == var_6 && var_13 == var_10) goto LAB_00071a9a;
  uVar3 = *(type_4 *)(var_5 + 0xc);
  var_9 = *(int *)(var_5 + 0x48);
  if (var_9 == 0) {
    zFunc = (char *)(var_4 + 0xa708f);
LAB_00071b89:
    var_14 = (**(type_8 **)(var_4 + 0x10be05))(0,var_10,1,1,uVar3,0,0);
  }
  else {
    if (*(int *)(var_5 + 0x34) != *(int *)(var_5 + 0x3c) || var_13 != *(type_3 *)(var_5 + 0x38)) {
      (**(type_8 **)(var_4 + 0x10be11))(var_9 + var_13,*(type_3 *)(var_5 + 0x38) - var_13);
    }
    var_14 = (**(type_8 **)(var_4 + 0x10be1d))(var_9,var_13,var_10,1);
    if (0xfffffffd < var_14 - 1U) {
      (**(type_8 **)(var_4 + 0x10be11))(var_9,var_13);
    }
    zFunc = (char *)(var_4 + 0xae004);
    if (var_14 == 0) goto LAB_00071b89;
  }
  if (var_14 == -1) {
    var_14 = 0;
    var_10 = 0;
    var_6 = 0;
    var_15(0,zFunc,*(char **)(var_5 + 0x20),0x924b);
    *(type_4 *)(var_5 + 0x40) = 0;
    *(type_4 *)(var_5 + 0x44) = 0;
  }
  *(int *)(var_5 + 0x48) = var_14;
  var_9 = 0;
  *(type_3 *)(var_5 + 0x38) = var_10;
  *(int *)(var_5 + 0x3c) = var_6;
  *(type_3 *)(var_5 + 0x30) = var_10;
  *(int *)(var_5 + 0x34) = var_6;
LAB_00071a9a:
  if (var_16 != *(int *)(var_2 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_17();
  }
  return var_9;
}


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

undefined4 MASKED(void)

{
  uint uVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  int extraout_ECX;
  int iVar5;
  uint uVar6;
  uint uVar7;
  int unaff_EDI;
  int iVar8;
  int in_GS_OFFSET;
  bool bVar9;
  bool bVar10;
  undefined8 uVar11;
  undefined1 local_80 [44];
  uint local_54;
  int local_50;
  int local_20;
  
  uVar11 = FUN_00036ac5();
  iVar2 = (int)uVar11;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar5 = extraout_ECX;
  uVar6 = (uint)((ulonglong)uVar11 >> 0x20);
  if ((extraout_ECX < 0) &&
     (iVar8 = (**(code **)(unaff_EDI + 0x10bd39))(*(undefined4 *)(iVar2 + 0xc),local_80),
     iVar5 = local_50, uVar6 = local_54, iVar8 != 0)) {
    uVar3 = 0x70a;
    goto LAB_00071a9a;
  }
  iVar8 = *(int *)(iVar2 + 0x44);
  uVar1 = *(uint *)(iVar2 + 0x30);
  uVar7 = (uint)(uVar6 < *(uint *)(iVar2 + 0x40));
  bVar10 = SBORROW4(iVar5,iVar8) != SBORROW4(iVar5 - iVar8,uVar7);
  bVar9 = (int)((iVar5 - iVar8) - uVar7) < 0;
  uVar7 = *(uint *)(iVar2 + 0x40);
  if (bVar10 != bVar9) {
    uVar7 = uVar6;
  }
  if (bVar10 != bVar9) {
    iVar8 = iVar5;
  }
  uVar3 = 0;
  if (*(int *)(iVar2 + 0x34) == iVar8 && uVar1 == uVar7) goto LAB_00071a9a;
  uVar3 = *(undefined4 *)(iVar2 + 0xc);
  iVar5 = *(int *)(iVar2 + 0x48);
  if (iVar5 == 0) {
LAB_00071b89:
    iVar4 = (**(code **)(unaff_EDI + 0x10be05))(0,uVar7,1,1,uVar3,0,0);
  }
  else {
    if (*(int *)(iVar2 + 0x34) != *(int *)(iVar2 + 0x3c) || uVar1 != *(uint *)(iVar2 + 0x38)) {
      (**(code **)(unaff_EDI + 0x10be11))(iVar5 + uVar1,*(uint *)(iVar2 + 0x38) - uVar1);
    }
    iVar4 = (**(code **)(unaff_EDI + 0x10be1d))(iVar5,uVar1,uVar7,1);
    if (0xfffffffd < iVar4 - 1U) {
      (**(code **)(unaff_EDI + 0x10be11))(iVar5,uVar1);
    }
    if (iVar4 == 0) goto LAB_00071b89;
  }
  if (iVar4 == -1) {
    iVar4 = 0;
    uVar7 = 0;
    iVar8 = 0;
    FUN_000719e0(0x924b);
    *(undefined4 *)(iVar2 + 0x40) = 0;
    *(undefined4 *)(iVar2 + 0x44) = 0;
  }
  *(int *)(iVar2 + 0x48) = iVar4;
  uVar3 = 0;
  *(uint *)(iVar2 + 0x38) = uVar7;
  *(int *)(iVar2 + 0x3c) = iVar8;
  *(uint *)(iVar2 + 0x30) = uVar7;
  *(int *)(iVar2 + 0x34) = iVar8;
LAB_00071a9a:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00116110();
  }
  return uVar3;
}

