
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::time_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::_M_extract_num(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, int&, int, int, unsigned int,
   std::ios_base&, std::_Ios_Iostate&) const */

void std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::
     _M_extract_num(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,
                   int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,
                   uint *param_12)

{
  int *piVar1;
  char cVar2;
  ctype *pcVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  bool bVar7;
  bool bVar8;
  bool bVar9;
  int local_30;
  uint local_2c;
  int *local_28;
  bool local_20;
  
  local_28 = param_5;
  pcVar3 = use_facet<std::ctype<wchar_t>>((locale *)(param_11 + 0x6c));
  uVar5 = 10;
  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {
    uVar5 = 1;
  }
  bVar7 = param_6 == -1;
  local_30 = param_4;
  iVar6 = 0;
  local_2c = 0;
  while( true ) {
    bVar8 = local_30 == -1;
    bVar9 = param_3 != (int *)0x0;
    if (!bVar9 || !bVar8) break;
    if ((int *)param_3[2] < (int *)param_3[3]) {
      iVar4 = *(int *)param_3[2];
    }
    else {
      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
    }
    if (iVar4 == -1) {
      param_3 = (int *)0x0;
    }
    local_20 = iVar4 == -1 && (bVar9 && bVar8);
    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;
LAB_0026c103:
    bVar9 = local_28 != (int *)0x0;
    if ((int *)local_28[2] < (int *)local_28[3]) {
      iVar4 = *(int *)local_28[2];
    }
    else {
      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);
    }
    piVar1 = (int *)0x0;
    if (iVar4 != -1) {
      piVar1 = local_28;
    }
    local_28 = piVar1;
    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;
LAB_0026c01e:
    if (param_10 <= local_2c) goto LAB_0026c140;
    iVar4 = local_30;
    if ((param_3 != (int *)0x0) && (bVar8)) {
      if ((int *)param_3[2] < (int *)param_3[3]) {
        iVar4 = *(int *)param_3[2];
      }
      else {
        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
      }
      if (iVar4 == -1) {
        param_3 = (int *)0x0;
      }
    }
    cVar2 = (**(code **)(*(int *)pcVar3 + 0x30))(pcVar3,iVar4,0x2a);
    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;
    iVar6 = cVar2 + -0x30 + iVar6 * 10;
    iVar4 = uVar5 * iVar6;
    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))
    goto LAB_0026c18c;
    uVar5 = uVar5 / 10;
    if ((uint)param_3[2] < (uint)param_3[3]) {
      param_3[2] = param_3[2] + 4;
    }
    else {
      (**(code **)(*param_3 + 0x28))(param_3);
    }
    local_2c = local_2c + 1;
    local_30 = -1;
  }
  local_20 = bVar8;
  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;
LAB_0026c00f:
  if (bVar7 != local_20) goto LAB_0026c01e;
LAB_0026c140:
  if (local_2c == param_10) goto LAB_0026c19d;
LAB_0026c18c:
  if ((param_10 == 4) && (local_2c == 2)) {
    iVar6 = iVar6 + -100;
LAB_0026c19d:
    *param_7 = iVar6;
  }
  else {
    *param_12 = *param_12 | 4;
  }
  *param_1 = param_3;
  param_1[1] = local_30;
  return;
}



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

void FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,
                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,
                 uint *param_12)

{
  int *piVar1;
  char cVar2;
  int *piVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  bool bVar7;
  bool bVar8;
  bool bVar9;
  int local_30;
  uint local_2c;
  int *local_28;
  bool local_20;
  
  local_28 = param_5;
  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);
  uVar5 = 10;
  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {
    uVar5 = 1;
  }
  bVar7 = param_6 == -1;
  local_30 = param_4;
  iVar6 = 0;
  local_2c = 0;
  while( true ) {
    bVar8 = local_30 == -1;
    bVar9 = param_3 != (int *)0x0;
    if (!bVar9 || !bVar8) break;
    if ((int *)param_3[2] < (int *)param_3[3]) {
      iVar4 = *(int *)param_3[2];
    }
    else {
      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
    }
    if (iVar4 == -1) {
      param_3 = (int *)0x0;
    }
    local_20 = iVar4 == -1 && (bVar9 && bVar8);
    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;
LAB_0026c103:
    bVar9 = local_28 != (int *)0x0;
    if ((int *)local_28[2] < (int *)local_28[3]) {
      iVar4 = *(int *)local_28[2];
    }
    else {
      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);
    }
    piVar1 = (int *)0x0;
    if (iVar4 != -1) {
      piVar1 = local_28;
    }
    local_28 = piVar1;
    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;
LAB_0026c01e:
    if (param_10 <= local_2c) goto LAB_0026c140;
    iVar4 = local_30;
    if ((param_3 != (int *)0x0) && (bVar8)) {
      if ((int *)param_3[2] < (int *)param_3[3]) {
        iVar4 = *(int *)param_3[2];
      }
      else {
        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
      }
      if (iVar4 == -1) {
        param_3 = (int *)0x0;
      }
    }
    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);
    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;
    iVar6 = cVar2 + -0x30 + iVar6 * 10;
    iVar4 = uVar5 * iVar6;
    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))
    goto LAB_0026c18c;
    uVar5 = uVar5 / 10;
    if ((uint)param_3[2] < (uint)param_3[3]) {
      param_3[2] = param_3[2] + 4;
    }
    else {
      (**(code **)(*param_3 + 0x28))(param_3);
    }
    local_2c = local_2c + 1;
    local_30 = -1;
  }
  local_20 = bVar8;
  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;
LAB_0026c00f:
  if (bVar7 != local_20) goto LAB_0026c01e;
LAB_0026c140:
  if (local_2c == param_10) goto LAB_0026c19d;
LAB_0026c18c:
  if ((param_10 == 4) && (local_2c == 2)) {
    iVar6 = iVar6 + -100;
LAB_0026c19d:
    *param_7 = iVar6;
  }
  else {
    *param_12 = *param_12 | 4;
  }
  *param_1 = param_3;
  param_1[1] = local_30;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036f20
ADD EBX,0x143077
SUB ESP,0x38
MOV EAX,dword ptr [ESP + 0x5c]
MOV EDI,dword ptr [ESP + 0x60]
MOV ESI,dword ptr [ESP + 0x54]
MOV EBP,dword ptr [ESP + 0x58]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x74]
ADD EAX,0x6c
PUSH EAX
CALL 0x00254450
MOV EBX,0xa
MOV dword ptr [ESP + 0x28],EAX
ADD ESP,0x10
CMP dword ptr [ESP + 0x64],0x2
JZ 0x0026bfd8
CMP dword ptr [ESP + 0x64],0x4
MOV EBX,0x3e8
MOV EAX,0x1
CMOVNZ EBX,EAX
CMP EDI,-0x1
MOV dword ptr [ESP + 0xc],EBP
MOV EBP,EBX
SETZ byte ptr [ESP + 0x1d]
XOR EDI,EDI
MOV dword ptr [ESP + 0x10],0x0
JMP 0x0026c0ad
MOV EAX,dword ptr [ESP + 0x14]
MOV byte ptr [ESP + 0x1c],DL
TEST EAX,EAX
SETNZ CL
AND CL,byte ptr [ESP + 0x1d]
JNZ 0x0026c103
MOVZX ECX,byte ptr [ESP + 0x1d]
CMP CL,byte ptr [ESP + 0x1c]
JZ 0x0026c140
MOV EAX,dword ptr [ESP + 0x10]
CMP EAX,dword ptr [ESP + 0x64]
JNC 0x0026c140
TEST ESI,ESI
JZ 0x0026c038
TEST DL,DL
JNZ 0x0026c150
MOV EDX,dword ptr [ESP + 0xc]
SUB ESP,0x4
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ECX]
PUSH 0x2a
PUSH EDX
PUSH ECX
CALL dword ptr [EAX + 0x30]
LEA EDX,[EAX + -0x30]
ADD ESP,0x10
CMP DL,0x9
JA 0x0026c188
MOVSX EAX,AL
LEA EDX,[EDI + EDI*0x4]
LEA EDI,[EAX + EDX*0x2 + -0x30]
MOV EAX,EBP
IMUL EAX,EDI
CMP EAX,dword ptr [ESP + 0x60]
JG 0x0026c188
ADD EAX,EBP
CMP EAX,dword ptr [ESP + 0x5c]
JLE 0x0026c188
MOV EAX,EBP
MOV EDX,0xcccccccd
MUL EDX
MOV EAX,dword ptr [ESI + 0x8]
SHR EDX,0x3
MOV EBP,EDX
CMP EAX,dword ptr [ESI + 0xc]
JNC 0x0026c170
ADD EAX,0x4
MOV dword ptr [ESI + 0x8],EAX
ADD dword ptr [ESP + 0x10],0x1
MOV dword ptr [ESP + 0xc],0xffffffff
CMP dword ptr [ESP + 0xc],-0x1
SETZ DL
TEST ESI,ESI
SETNZ BL
AND BL,DL
MOV byte ptr [ESP + 0x1c],BL
JZ 0x0026bff8
MOV EAX,dword ptr [ESI + 0x8]
CMP EAX,dword ptr [ESI + 0xc]
JNC 0x0026c1d0
MOV EAX,dword ptr [EAX]
CMP EAX,-0x1
MOV EBX,0x0
MOV EAX,0x0
CMOVZ ESI,EBX
MOVZX EBX,byte ptr [ESP + 0x1c]
CMOVNZ EBX,EAX
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
MOV byte ptr [ESP + 0x1c],BL
SETNZ CL
AND CL,byte ptr [ESP + 0x1d]
JZ 0x0026c00f
MOV EBX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EBX + 0x8]
CMP EAX,dword ptr [EBX + 0xc]
JNC 0x0026c1f0
MOV EAX,dword ptr [EAX]
CMP EAX,-0x1
MOV EBX,0x0
CMOVNZ EBX,dword ptr [ESP + 0x14]
MOV EAX,0x0
CMOVNZ ECX,EAX
MOV dword ptr [ESP + 0x14],EBX
CMP CL,byte ptr [ESP + 0x1c]
JNZ 0x0026c01e
LEA ESI,[ESI]
NOP
MOV EBP,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x10]
CMP EAX,dword ptr [ESP + 0x64]
JZ 0x0026c19d
JMP 0x0026c18c
MOV EAX,dword ptr [ESI + 0x8]
CMP EAX,dword ptr [ESI + 0xc]
JNC 0x0026c220
MOV EDX,dword ptr [EAX]
MOV EAX,EDX
CMP EAX,-0x1
MOV EAX,0x0
CMOVZ ESI,EAX
JMP 0x0026c03c
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x28]
ADD ESP,0x10
JMP 0x0026c0a0
MOV EBP,dword ptr [ESP + 0xc]
CMP dword ptr [ESP + 0x64],0x4
JNZ 0x0026c1c0
CMP dword ptr [ESP + 0x10],0x2
JNZ 0x0026c1c0
SUB EDI,0x64
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [EAX],EDI
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0x4],EBP
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,dword ptr [ESP + 0x6c]
OR dword ptr [EAX],0x4
JMP 0x0026c1a3
MOV byte ptr [ESP + 0x1e],DL
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x24]
MOVZX EDX,byte ptr [ESP + 0x2e]
ADD ESP,0x10
JMP 0x0026c0d4
MOV byte ptr [ESP + 0x1f],DL
SUB ESP,0xc
MOV byte ptr [ESP + 0x2a],CL
MOV EBX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EBX]
PUSH EBX
CALL dword ptr [EAX + 0x24]
MOVZX EDX,byte ptr [ESP + 0x2f]
MOVZX ECX,byte ptr [ESP + 0x2e]
ADD ESP,0x10
JMP 0x0026c115
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x24]
MOV EDX,EAX
ADD ESP,0x10
JMP 0x0026c160
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}\n\n" comment (function_definition "void FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}" primitive_type (function_declarator "FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "uint param_10" type_identifier identifier) , (parameter_declaration "int param_11" primitive_type identifier) , (parameter_declaration "uint *param_12" type_identifier (pointer_declarator "*param_12" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "bool local_20;" primitive_type identifier ;) (expression_statement "local_28 = param_5;" (assignment_expression "local_28 = param_5" identifier = identifier) ;) (expression_statement "piVar3 = (int *)FUN_00254450(param_11 + 0x6c);" (assignment_expression "piVar3 = (int *)FUN_00254450(param_11 + 0x6c)" identifier = (cast_expression "(int *)FUN_00254450(param_11 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00254450(param_11 + 0x6c)" identifier (argument_list "(param_11 + 0x6c)" ( (binary_expression "param_11 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = 10;" (assignment_expression "uVar5 = 10" identifier = number_literal) ;) (if_statement "if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }" if (parenthesized_expression "((param_10 != 2) && (uVar5 = 1000, param_10 != 4))" ( (binary_expression "(param_10 != 2) && (uVar5 = 1000, param_10 != 4)" (parenthesized_expression "(param_10 != 2)" ( (binary_expression "param_10 != 2" identifier != number_literal) )) && (parenthesized_expression "(uVar5 = 1000, param_10 != 4)" ( (comma_expression "uVar5 = 1000, param_10 != 4" (assignment_expression "uVar5 = 1000" identifier = number_literal) , (binary_expression "param_10 != 4" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar5 = 1;\n  }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) })) (expression_statement "bVar7 = param_6 == -1;" (assignment_expression "bVar7 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;) (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" identifier = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }" { (expression_statement "bVar8 = local_30 == -1;" (assignment_expression "bVar8 = local_30 == -1" identifier = (binary_expression "local_30 == -1" identifier == number_literal)) ;) (expression_statement "bVar9 = param_3 != (int *)0x0;" (assignment_expression "bVar9 = param_3 != (int *)0x0" identifier = (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar9 || !bVar8) break;" if (parenthesized_expression "(!bVar9 || !bVar8)" ( (binary_expression "!bVar9 || !bVar8" (unary_expression "!bVar9" ! identifier) || (unary_expression "!bVar8" ! identifier)) )) (break_statement "break;" break ;)) (if_statement "if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" if (parenthesized_expression "((int *)param_3[2] < (int *)param_3[3])" ( (binary_expression "(int *)param_3[2] < (int *)param_3[3]" (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_3[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar4 = *(int *)param_3[2];\n    }" { (expression_statement "iVar4 = *(int *)param_3[2];" (assignment_expression "iVar4 = *(int *)param_3[2]" identifier = (pointer_expression "*(int *)param_3[2]" * (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" else (compound_statement "{\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" { (expression_statement "iVar4 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "iVar4 = (**(code **)(*param_3 + 0x24))(param_3)" identifier = (call_expression "(**(code **)(*param_3 + 0x24))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x24))" ( (pointer_expression "**(code **)(*param_3 + 0x24)" * (pointer_expression "*(code **)(*param_3 + 0x24)" * (cast_expression "(code **)(*param_3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier )))) ;) }))) (if_statement "if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      param_3 = (int *)0x0;\n    }" { (expression_statement "param_3 = (int *)0x0;" (assignment_expression "param_3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "local_20 = iVar4 == -1 && (bVar9 && bVar8);" (assignment_expression "local_20 = iVar4 == -1 && (bVar9 && bVar8)" identifier = (binary_expression "iVar4 == -1 && (bVar9 && bVar8)" (binary_expression "iVar4 == -1" identifier == number_literal) && (parenthesized_expression "(bVar9 && bVar8)" ( (binary_expression "bVar9 && bVar8" identifier && identifier) )))) ;) (if_statement "if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;" if (parenthesized_expression "(local_28 == (int *)0x0 || !bVar7)" ( (binary_expression "local_28 == (int *)0x0 || !bVar7" (binary_expression "local_28 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar7" ! identifier)) )) (goto_statement "goto LAB_0026c00f;" goto statement_identifier ;)) (labeled_statement "LAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;" statement_identifier : (expression_statement "bVar9 = local_28 != (int *)0x0;" (assignment_expression "bVar9 = local_28 != (int *)0x0" identifier = (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;)) (if_statement "if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" if (parenthesized_expression "((int *)local_28[2] < (int *)local_28[3])" ( (binary_expression "(int *)local_28[2] < (int *)local_28[3]" (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) < (cast_expression "(int *)local_28[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar4 = *(int *)local_28[2];\n    }" { (expression_statement "iVar4 = *(int *)local_28[2];" (assignment_expression "iVar4 = *(int *)local_28[2]" identifier = (pointer_expression "*(int *)local_28[2]" * (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" else (compound_statement "{\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" { (expression_statement "iVar4 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar4 = (**(code **)(*local_28 + 0x24))(local_28)" identifier = (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" ( (pointer_expression "**(code **)(*local_28 + 0x24)" * (pointer_expression "*(code **)(*local_28 + 0x24)" * (cast_expression "(code **)(*local_28 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_28 + 0x24)" ( (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" * identifier) + number_literal) ))))) )) (argument_list "(local_28)" ( identifier )))) ;) }))) (expression_statement "piVar1 = (int *)0x0;" (assignment_expression "piVar1 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar4 != -1) {\n      piVar1 = local_28;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      piVar1 = local_28;\n    }" { (expression_statement "piVar1 = local_28;" (assignment_expression "piVar1 = local_28" identifier = identifier) ;) })) (expression_statement "local_28 = piVar1;" (assignment_expression "local_28 = piVar1" identifier = identifier) ;) (if_statement "if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;" if (parenthesized_expression "((iVar4 == -1 && (bVar9 && bVar7)) == local_20)" ( (binary_expression "(iVar4 == -1 && (bVar9 && bVar7)) == local_20" (parenthesized_expression "(iVar4 == -1 && (bVar9 && bVar7))" ( (binary_expression "iVar4 == -1 && (bVar9 && bVar7)" (binary_expression "iVar4 == -1" identifier == number_literal) && (parenthesized_expression "(bVar9 && bVar7)" ( (binary_expression "bVar9 && bVar7" identifier && identifier) ))) )) == identifier) )) (goto_statement "goto LAB_0026c140;" goto statement_identifier ;)) (labeled_statement "LAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;" statement_identifier : (if_statement "if (param_10 <= local_2c) goto LAB_0026c140;" if (parenthesized_expression "(param_10 <= local_2c)" ( (binary_expression "param_10 <= local_2c" identifier <= identifier) )) (goto_statement "goto LAB_0026c140;" goto statement_identifier ;))) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) (if_statement "if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }" if (parenthesized_expression "((param_3 != (int *)0x0) && (bVar8))" ( (binary_expression "(param_3 != (int *)0x0) && (bVar8)" (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar8)" ( identifier ))) )) (compound_statement "{\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }" { (if_statement "if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" if (parenthesized_expression "((int *)param_3[2] < (int *)param_3[3])" ( (binary_expression "(int *)param_3[2] < (int *)param_3[3]" (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_3[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n        iVar4 = *(int *)param_3[2];\n      }" { (expression_statement "iVar4 = *(int *)param_3[2];" (assignment_expression "iVar4 = *(int *)param_3[2]" identifier = (pointer_expression "*(int *)param_3[2]" * (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" else (compound_statement "{\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" { (expression_statement "iVar4 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "iVar4 = (**(code **)(*param_3 + 0x24))(param_3)" identifier = (call_expression "(**(code **)(*param_3 + 0x24))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x24))" ( (pointer_expression "**(code **)(*param_3 + 0x24)" * (pointer_expression "*(code **)(*param_3 + 0x24)" * (cast_expression "(code **)(*param_3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier )))) ;) }))) (if_statement "if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n        param_3 = (int *)0x0;\n      }" { (expression_statement "param_3 = (int *)0x0;" (assignment_expression "param_3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a)" identifier = (call_expression "(**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a)" (parenthesized_expression "(**(code **)(*piVar3 + 0x30))" ( (pointer_expression "**(code **)(*piVar3 + 0x30)" * (pointer_expression "*(code **)(*piVar3 + 0x30)" * (cast_expression "(code **)(*piVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x30)" ( (binary_expression "*piVar3 + 0x30" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3,iVar4,0x2a)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;" if (parenthesized_expression "(9 < (byte)(cVar2 - 0x30U))" ( (binary_expression "9 < (byte)(cVar2 - 0x30U)" number_literal < (call_expression "(byte)(cVar2 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar2 - 0x30U)" ( (binary_expression "cVar2 - 0x30U" identifier - number_literal) )))) )) (goto_statement "goto LAB_0026c18c;" goto statement_identifier ;)) (expression_statement "iVar6 = cVar2 + -0x30 + iVar6 * 10;" (assignment_expression "iVar6 = cVar2 + -0x30 + iVar6 * 10" identifier = (binary_expression "cVar2 + -0x30 + iVar6 * 10" (binary_expression "cVar2 + -0x30" identifier + number_literal) + (binary_expression "iVar6 * 10" identifier * number_literal))) ;) (expression_statement "iVar4 = uVar5 * iVar6;" (assignment_expression "iVar4 = uVar5 * iVar6" identifier = (binary_expression "uVar5 * iVar6" identifier * identifier)) ;) (if_statement "if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;" if (parenthesized_expression "((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))" ( (binary_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8)" (parenthesized_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4)" ( (binary_expression "iVar4 - param_9 != 0 && param_9 <= iVar4" (binary_expression "iVar4 - param_9 != 0" (binary_expression "iVar4 - param_9" identifier - identifier) != number_literal) && (binary_expression "param_9 <= iVar4" identifier <= identifier)) )) || (parenthesized_expression "((int)(iVar4 + uVar5) <= param_8)" ( (binary_expression "(int)(iVar4 + uVar5) <= param_8" (cast_expression "(int)(iVar4 + uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 + uVar5)" ( (binary_expression "iVar4 + uVar5" identifier + identifier) ))) <= identifier) ))) )) (goto_statement "goto LAB_0026c18c;" goto statement_identifier ;)) (expression_statement "uVar5 = uVar5 / 10;" (assignment_expression "uVar5 = uVar5 / 10" identifier = (binary_expression "uVar5 / 10" identifier / number_literal)) ;) (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" if (parenthesized_expression "((uint)param_3[2] < (uint)param_3[3])" ( (binary_expression "(uint)param_3[2] < (uint)param_3[3]" (cast_expression "(uint)param_3[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(uint)param_3[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      param_3[2] = param_3[2] + 4;\n    }" { (expression_statement "param_3[2] = param_3[2] + 4;" (assignment_expression "param_3[2] = param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" else (compound_statement "{\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" { (expression_statement "(**(code **)(*param_3 + 0x28))(param_3);" (call_expression "(**(code **)(*param_3 + 0x28))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x28))" ( (pointer_expression "**(code **)(*param_3 + 0x28)" * (pointer_expression "*(code **)(*param_3 + 0x28)" * (cast_expression "(code **)(*param_3 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x28)" ( (binary_expression "*param_3 + 0x28" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier ))) ;) }))) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "local_30 = -1;" (assignment_expression "local_30 = -1" identifier = number_literal) ;) })) (expression_statement "local_20 = bVar8;" (assignment_expression "local_20 = bVar8" identifier = identifier) ;) (if_statement "if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;" if (parenthesized_expression "(local_28 != (int *)0x0 && bVar7)" ( (binary_expression "local_28 != (int *)0x0 && bVar7" (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier) )) (goto_statement "goto LAB_0026c103;" goto statement_identifier ;)) (labeled_statement "LAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;" statement_identifier : (if_statement "if (bVar7 != local_20) goto LAB_0026c01e;" if (parenthesized_expression "(bVar7 != local_20)" ( (binary_expression "bVar7 != local_20" identifier != identifier) )) (goto_statement "goto LAB_0026c01e;" goto statement_identifier ;))) (labeled_statement "LAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;" statement_identifier : (if_statement "if (local_2c == param_10) goto LAB_0026c19d;" if (parenthesized_expression "(local_2c == param_10)" ( (binary_expression "local_2c == param_10" identifier == identifier) )) (goto_statement "goto LAB_0026c19d;" goto statement_identifier ;))) (labeled_statement "LAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" statement_identifier : (if_statement "if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" if (parenthesized_expression "((param_10 == 4) && (local_2c == 2))" ( (binary_expression "(param_10 == 4) && (local_2c == 2)" (parenthesized_expression "(param_10 == 4)" ( (binary_expression "param_10 == 4" identifier == number_literal) )) && (parenthesized_expression "(local_2c == 2)" ( (binary_expression "local_2c == 2" identifier == number_literal) ))) )) (compound_statement "{\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }" { (expression_statement "iVar6 = iVar6 + -100;" (assignment_expression "iVar6 = iVar6 + -100" identifier = (binary_expression "iVar6 + -100" identifier + number_literal)) ;) (labeled_statement "LAB_0026c19d:\n    *param_7 = iVar6;" statement_identifier : (expression_statement "*param_7 = iVar6;" (assignment_expression "*param_7 = iVar6" (pointer_expression "*param_7" * identifier) = identifier) ;)) }) (else_clause "else {\n    *param_12 = *param_12 | 4;\n  }" else (compound_statement "{\n    *param_12 = *param_12 | 4;\n  }" { (expression_statement "*param_12 = *param_12 | 4;" (assignment_expression "*param_12 = *param_12 | 4" (pointer_expression "*param_12" * identifier) = (binary_expression "*param_12 | 4" (pointer_expression "*param_12" * identifier) | number_literal)) ;) })))) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::time_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::_M_extract_num(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,\n   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, int&, int, int, unsigned int,\n   std::ios_base&, std::_Ios_Iostate&) const */\n\nvoid std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::\n     _M_extract_num(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                   int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                   uint *param_12)\n\n{\n  int *piVar1;\n  char cVar2;\n  ctype *pcVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  pcVar3 = use_facet<std::ctype<wchar_t>>((locale *)(param_11 + 0x6c));\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*(int *)pcVar3 + 0x30))(pcVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}\n\n" comment comment (declaration "void std::time_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::\n     _M_extract_num(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                   int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                   uint *param_12)\n\n{\n  int *piVar1;" primitive_type (ERROR "std::time_get<" identifier : : identifier <) identifier , (ERROR "std::istreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::\n     _M_extract_num(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                   int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                   uint *param_12)\n\n{\n  int" identifier : : identifier < identifier >> > : : (function_declarator "_M_extract_num(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                   int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                   uint *param_12)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                   int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                   uint *param_12)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "uint param_10" type_identifier identifier) , (parameter_declaration "int param_11" primitive_type identifier) , (parameter_declaration "uint *param_12" type_identifier (pointer_declarator "*param_12" * identifier)) ))) { primitive_type) (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "ctype *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "bool local_20;" primitive_type identifier ;) (expression_statement "local_28 = param_5;" (assignment_expression "local_28 = param_5" identifier = identifier) ;) (expression_statement "pcVar3 = use_facet<std::ctype<wchar_t>>((locale *)(param_11 + 0x6c));" (update_expression "pcVar3 = use_facet<std::ctype<wchar_t>>((locale *)(param_11 + 0x6c))" (binary_expression "pcVar3 = use_facet<std::ctype<wchar_t>>((locale *)(param_11 + 0x6c))" (assignment_expression "pcVar3 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "wchar_t>>((locale *)(param_11 + 0x6c))" identifier >> (parenthesized_expression "((locale *)(param_11 + 0x6c))" ( (cast_expression "(locale *)(param_11 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_11 + 0x6c)" ( (binary_expression "param_11 + 0x6c" identifier + number_literal) ))) )))) --) ;) (expression_statement "uVar5 = 10;" (assignment_expression "uVar5 = 10" identifier = number_literal) ;) (if_statement "if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }" if (parenthesized_expression "((param_10 != 2) && (uVar5 = 1000, param_10 != 4))" ( (binary_expression "(param_10 != 2) && (uVar5 = 1000, param_10 != 4)" (parenthesized_expression "(param_10 != 2)" ( (binary_expression "param_10 != 2" identifier != number_literal) )) && (parenthesized_expression "(uVar5 = 1000, param_10 != 4)" ( (comma_expression "uVar5 = 1000, param_10 != 4" (assignment_expression "uVar5 = 1000" identifier = number_literal) , (binary_expression "param_10 != 4" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar5 = 1;\n  }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) })) (expression_statement "bVar7 = param_6 == -1;" (assignment_expression "bVar7 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;) (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" identifier = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*(int *)pcVar3 + 0x30))(pcVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*(int *)pcVar3 + 0x30))(pcVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }" { (expression_statement "bVar8 = local_30 == -1;" (assignment_expression "bVar8 = local_30 == -1" identifier = (binary_expression "local_30 == -1" identifier == number_literal)) ;) (expression_statement "bVar9 = param_3 != (int *)0x0;" (assignment_expression "bVar9 = param_3 != (int *)0x0" identifier = (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar9 || !bVar8) break;" if (parenthesized_expression "(!bVar9 || !bVar8)" ( (binary_expression "!bVar9 || !bVar8" (unary_expression "!bVar9" ! identifier) || (unary_expression "!bVar8" ! identifier)) )) (break_statement "break;" break ;)) (if_statement "if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" if (parenthesized_expression "((int *)param_3[2] < (int *)param_3[3])" ( (binary_expression "(int *)param_3[2] < (int *)param_3[3]" (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_3[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar4 = *(int *)param_3[2];\n    }" { (expression_statement "iVar4 = *(int *)param_3[2];" (assignment_expression "iVar4 = *(int *)param_3[2]" identifier = (pointer_expression "*(int *)param_3[2]" * (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" else (compound_statement "{\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" { (expression_statement "iVar4 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "iVar4 = (**(code **)(*param_3 + 0x24))(param_3)" identifier = (call_expression "(**(code **)(*param_3 + 0x24))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x24))" ( (pointer_expression "**(code **)(*param_3 + 0x24)" * (pointer_expression "*(code **)(*param_3 + 0x24)" * (cast_expression "(code **)(*param_3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier )))) ;) }))) (if_statement "if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      param_3 = (int *)0x0;\n    }" { (expression_statement "param_3 = (int *)0x0;" (assignment_expression "param_3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "local_20 = iVar4 == -1 && (bVar9 && bVar8);" (assignment_expression "local_20 = iVar4 == -1 && (bVar9 && bVar8)" identifier = (binary_expression "iVar4 == -1 && (bVar9 && bVar8)" (binary_expression "iVar4 == -1" identifier == number_literal) && (parenthesized_expression "(bVar9 && bVar8)" ( (binary_expression "bVar9 && bVar8" identifier && identifier) )))) ;) (if_statement "if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;" if (parenthesized_expression "(local_28 == (int *)0x0 || !bVar7)" ( (binary_expression "local_28 == (int *)0x0 || !bVar7" (binary_expression "local_28 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar7" ! identifier)) )) (goto_statement "goto LAB_0026c00f;" goto statement_identifier ;)) (labeled_statement "LAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;" statement_identifier : (expression_statement "bVar9 = local_28 != (int *)0x0;" (assignment_expression "bVar9 = local_28 != (int *)0x0" identifier = (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;)) (if_statement "if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" if (parenthesized_expression "((int *)local_28[2] < (int *)local_28[3])" ( (binary_expression "(int *)local_28[2] < (int *)local_28[3]" (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) < (cast_expression "(int *)local_28[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar4 = *(int *)local_28[2];\n    }" { (expression_statement "iVar4 = *(int *)local_28[2];" (assignment_expression "iVar4 = *(int *)local_28[2]" identifier = (pointer_expression "*(int *)local_28[2]" * (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" else (compound_statement "{\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" { (expression_statement "iVar4 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar4 = (**(code **)(*local_28 + 0x24))(local_28)" identifier = (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" ( (pointer_expression "**(code **)(*local_28 + 0x24)" * (pointer_expression "*(code **)(*local_28 + 0x24)" * (cast_expression "(code **)(*local_28 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_28 + 0x24)" ( (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" * identifier) + number_literal) ))))) )) (argument_list "(local_28)" ( identifier )))) ;) }))) (expression_statement "piVar1 = (int *)0x0;" (assignment_expression "piVar1 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar4 != -1) {\n      piVar1 = local_28;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      piVar1 = local_28;\n    }" { (expression_statement "piVar1 = local_28;" (assignment_expression "piVar1 = local_28" identifier = identifier) ;) })) (expression_statement "local_28 = piVar1;" (assignment_expression "local_28 = piVar1" identifier = identifier) ;) (if_statement "if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;" if (parenthesized_expression "((iVar4 == -1 && (bVar9 && bVar7)) == local_20)" ( (binary_expression "(iVar4 == -1 && (bVar9 && bVar7)) == local_20" (parenthesized_expression "(iVar4 == -1 && (bVar9 && bVar7))" ( (binary_expression "iVar4 == -1 && (bVar9 && bVar7)" (binary_expression "iVar4 == -1" identifier == number_literal) && (parenthesized_expression "(bVar9 && bVar7)" ( (binary_expression "bVar9 && bVar7" identifier && identifier) ))) )) == identifier) )) (goto_statement "goto LAB_0026c140;" goto statement_identifier ;)) (labeled_statement "LAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;" statement_identifier : (if_statement "if (param_10 <= local_2c) goto LAB_0026c140;" if (parenthesized_expression "(param_10 <= local_2c)" ( (binary_expression "param_10 <= local_2c" identifier <= identifier) )) (goto_statement "goto LAB_0026c140;" goto statement_identifier ;))) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) (if_statement "if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }" if (parenthesized_expression "((param_3 != (int *)0x0) && (bVar8))" ( (binary_expression "(param_3 != (int *)0x0) && (bVar8)" (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar8)" ( identifier ))) )) (compound_statement "{\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }" { (if_statement "if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" if (parenthesized_expression "((int *)param_3[2] < (int *)param_3[3])" ( (binary_expression "(int *)param_3[2] < (int *)param_3[3]" (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_3[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n        iVar4 = *(int *)param_3[2];\n      }" { (expression_statement "iVar4 = *(int *)param_3[2];" (assignment_expression "iVar4 = *(int *)param_3[2]" identifier = (pointer_expression "*(int *)param_3[2]" * (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" else (compound_statement "{\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" { (expression_statement "iVar4 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "iVar4 = (**(code **)(*param_3 + 0x24))(param_3)" identifier = (call_expression "(**(code **)(*param_3 + 0x24))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x24))" ( (pointer_expression "**(code **)(*param_3 + 0x24)" * (pointer_expression "*(code **)(*param_3 + 0x24)" * (cast_expression "(code **)(*param_3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier )))) ;) }))) (if_statement "if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n        param_3 = (int *)0x0;\n      }" { (expression_statement "param_3 = (int *)0x0;" (assignment_expression "param_3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (expression_statement "cVar2 = (**(code **)(*(int *)pcVar3 + 0x30))(pcVar3,iVar4,0x2a);" (assignment_expression "cVar2 = (**(code **)(*(int *)pcVar3 + 0x30))(pcVar3,iVar4,0x2a)" identifier = (call_expression "(**(code **)(*(int *)pcVar3 + 0x30))(pcVar3,iVar4,0x2a)" (parenthesized_expression "(**(code **)(*(int *)pcVar3 + 0x30))" ( (pointer_expression "**(code **)(*(int *)pcVar3 + 0x30)" * (pointer_expression "*(code **)(*(int *)pcVar3 + 0x30)" * (cast_expression "(code **)(*(int *)pcVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)pcVar3 + 0x30)" ( (binary_expression "*(int *)pcVar3 + 0x30" (pointer_expression "*(int *)pcVar3" * (cast_expression "(int *)pcVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pcVar3,iVar4,0x2a)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;" if (parenthesized_expression "(9 < (byte)(cVar2 - 0x30U))" ( (binary_expression "9 < (byte)(cVar2 - 0x30U)" number_literal < (call_expression "(byte)(cVar2 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar2 - 0x30U)" ( (binary_expression "cVar2 - 0x30U" identifier - number_literal) )))) )) (goto_statement "goto LAB_0026c18c;" goto statement_identifier ;)) (expression_statement "iVar6 = cVar2 + -0x30 + iVar6 * 10;" (assignment_expression "iVar6 = cVar2 + -0x30 + iVar6 * 10" identifier = (binary_expression "cVar2 + -0x30 + iVar6 * 10" (binary_expression "cVar2 + -0x30" identifier + number_literal) + (binary_expression "iVar6 * 10" identifier * number_literal))) ;) (expression_statement "iVar4 = uVar5 * iVar6;" (assignment_expression "iVar4 = uVar5 * iVar6" identifier = (binary_expression "uVar5 * iVar6" identifier * identifier)) ;) (if_statement "if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;" if (parenthesized_expression "((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))" ( (binary_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8)" (parenthesized_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4)" ( (binary_expression "iVar4 - param_9 != 0 && param_9 <= iVar4" (binary_expression "iVar4 - param_9 != 0" (binary_expression "iVar4 - param_9" identifier - identifier) != number_literal) && (binary_expression "param_9 <= iVar4" identifier <= identifier)) )) || (parenthesized_expression "((int)(iVar4 + uVar5) <= param_8)" ( (binary_expression "(int)(iVar4 + uVar5) <= param_8" (cast_expression "(int)(iVar4 + uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 + uVar5)" ( (binary_expression "iVar4 + uVar5" identifier + identifier) ))) <= identifier) ))) )) (goto_statement "goto LAB_0026c18c;" goto statement_identifier ;)) (expression_statement "uVar5 = uVar5 / 10;" (assignment_expression "uVar5 = uVar5 / 10" identifier = (binary_expression "uVar5 / 10" identifier / number_literal)) ;) (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" if (parenthesized_expression "((uint)param_3[2] < (uint)param_3[3])" ( (binary_expression "(uint)param_3[2] < (uint)param_3[3]" (cast_expression "(uint)param_3[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(uint)param_3[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      param_3[2] = param_3[2] + 4;\n    }" { (expression_statement "param_3[2] = param_3[2] + 4;" (assignment_expression "param_3[2] = param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" else (compound_statement "{\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" { (expression_statement "(**(code **)(*param_3 + 0x28))(param_3);" (call_expression "(**(code **)(*param_3 + 0x28))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x28))" ( (pointer_expression "**(code **)(*param_3 + 0x28)" * (pointer_expression "*(code **)(*param_3 + 0x28)" * (cast_expression "(code **)(*param_3 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x28)" ( (binary_expression "*param_3 + 0x28" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier ))) ;) }))) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "local_30 = -1;" (assignment_expression "local_30 = -1" identifier = number_literal) ;) })) (expression_statement "local_20 = bVar8;" (assignment_expression "local_20 = bVar8" identifier = identifier) ;) (if_statement "if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;" if (parenthesized_expression "(local_28 != (int *)0x0 && bVar7)" ( (binary_expression "local_28 != (int *)0x0 && bVar7" (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier) )) (goto_statement "goto LAB_0026c103;" goto statement_identifier ;)) (labeled_statement "LAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;" statement_identifier : (if_statement "if (bVar7 != local_20) goto LAB_0026c01e;" if (parenthesized_expression "(bVar7 != local_20)" ( (binary_expression "bVar7 != local_20" identifier != identifier) )) (goto_statement "goto LAB_0026c01e;" goto statement_identifier ;))) (labeled_statement "LAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;" statement_identifier : (if_statement "if (local_2c == param_10) goto LAB_0026c19d;" if (parenthesized_expression "(local_2c == param_10)" ( (binary_expression "local_2c == param_10" identifier == identifier) )) (goto_statement "goto LAB_0026c19d;" goto statement_identifier ;))) (labeled_statement "LAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" statement_identifier : (if_statement "if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" if (parenthesized_expression "((param_10 == 4) && (local_2c == 2))" ( (binary_expression "(param_10 == 4) && (local_2c == 2)" (parenthesized_expression "(param_10 == 4)" ( (binary_expression "param_10 == 4" identifier == number_literal) )) && (parenthesized_expression "(local_2c == 2)" ( (binary_expression "local_2c == 2" identifier == number_literal) ))) )) (compound_statement "{\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }" { (expression_statement "iVar6 = iVar6 + -100;" (assignment_expression "iVar6 = iVar6 + -100" identifier = (binary_expression "iVar6 + -100" identifier + number_literal)) ;) (labeled_statement "LAB_0026c19d:\n    *param_7 = iVar6;" statement_identifier : (expression_statement "*param_7 = iVar6;" (assignment_expression "*param_7 = iVar6" (pointer_expression "*param_7" * identifier) = identifier) ;)) }) (else_clause "else {\n    *param_12 = *param_12 | 4;\n  }" else (compound_statement "{\n    *param_12 = *param_12 | 4;\n  }" { (expression_statement "*param_12 = *param_12 | 4;" (assignment_expression "*param_12 = *param_12 | 4" (pointer_expression "*param_12" * identifier) = (binary_expression "*param_12 | 4" (pointer_expression "*param_12" * identifier) | number_literal)) ;) })))) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}\n\n" (function_definition "void FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}" primitive_type (function_declarator "FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "int param_9" primitive_type identifier) , (parameter_declaration "uint param_10" type_identifier identifier) , (parameter_declaration "int param_11" primitive_type identifier) , (parameter_declaration "uint *param_12" type_identifier (pointer_declarator "*param_12" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "bool bVar9;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "uint local_2c;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "bool local_20;" primitive_type identifier ;) (expression_statement "local_28 = param_5;" (assignment_expression "local_28 = param_5" identifier = identifier) ;) (expression_statement "piVar3 = (int *)FUN_00254450(param_11 + 0x6c);" (assignment_expression "piVar3 = (int *)FUN_00254450(param_11 + 0x6c)" identifier = (cast_expression "(int *)FUN_00254450(param_11 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00254450(param_11 + 0x6c)" identifier (argument_list "(param_11 + 0x6c)" ( (binary_expression "param_11 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = 10;" (assignment_expression "uVar5 = 10" identifier = number_literal) ;) (if_statement "if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }" if (parenthesized_expression "((param_10 != 2) && (uVar5 = 1000, param_10 != 4))" ( (binary_expression "(param_10 != 2) && (uVar5 = 1000, param_10 != 4)" (parenthesized_expression "(param_10 != 2)" ( (binary_expression "param_10 != 2" identifier != number_literal) )) && (parenthesized_expression "(uVar5 = 1000, param_10 != 4)" ( (comma_expression "uVar5 = 1000, param_10 != 4" (assignment_expression "uVar5 = 1000" identifier = number_literal) , (binary_expression "param_10 != 4" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar5 = 1;\n  }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) })) (expression_statement "bVar7 = param_6 == -1;" (assignment_expression "bVar7 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;) (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" identifier = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }" { (expression_statement "bVar8 = local_30 == -1;" (assignment_expression "bVar8 = local_30 == -1" identifier = (binary_expression "local_30 == -1" identifier == number_literal)) ;) (expression_statement "bVar9 = param_3 != (int *)0x0;" (assignment_expression "bVar9 = param_3 != (int *)0x0" identifier = (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar9 || !bVar8) break;" if (parenthesized_expression "(!bVar9 || !bVar8)" ( (binary_expression "!bVar9 || !bVar8" (unary_expression "!bVar9" ! identifier) || (unary_expression "!bVar8" ! identifier)) )) (break_statement "break;" break ;)) (if_statement "if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" if (parenthesized_expression "((int *)param_3[2] < (int *)param_3[3])" ( (binary_expression "(int *)param_3[2] < (int *)param_3[3]" (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_3[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar4 = *(int *)param_3[2];\n    }" { (expression_statement "iVar4 = *(int *)param_3[2];" (assignment_expression "iVar4 = *(int *)param_3[2]" identifier = (pointer_expression "*(int *)param_3[2]" * (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" else (compound_statement "{\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" { (expression_statement "iVar4 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "iVar4 = (**(code **)(*param_3 + 0x24))(param_3)" identifier = (call_expression "(**(code **)(*param_3 + 0x24))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x24))" ( (pointer_expression "**(code **)(*param_3 + 0x24)" * (pointer_expression "*(code **)(*param_3 + 0x24)" * (cast_expression "(code **)(*param_3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier )))) ;) }))) (if_statement "if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n      param_3 = (int *)0x0;\n    }" { (expression_statement "param_3 = (int *)0x0;" (assignment_expression "param_3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "local_20 = iVar4 == -1 && (bVar9 && bVar8);" (assignment_expression "local_20 = iVar4 == -1 && (bVar9 && bVar8)" identifier = (binary_expression "iVar4 == -1 && (bVar9 && bVar8)" (binary_expression "iVar4 == -1" identifier == number_literal) && (parenthesized_expression "(bVar9 && bVar8)" ( (binary_expression "bVar9 && bVar8" identifier && identifier) )))) ;) (if_statement "if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;" if (parenthesized_expression "(local_28 == (int *)0x0 || !bVar7)" ( (binary_expression "local_28 == (int *)0x0 || !bVar7" (binary_expression "local_28 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (unary_expression "!bVar7" ! identifier)) )) (goto_statement "goto LAB_0026c00f;" goto statement_identifier ;)) (labeled_statement "LAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;" statement_identifier : (expression_statement "bVar9 = local_28 != (int *)0x0;" (assignment_expression "bVar9 = local_28 != (int *)0x0" identifier = (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;)) (if_statement "if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" if (parenthesized_expression "((int *)local_28[2] < (int *)local_28[3])" ( (binary_expression "(int *)local_28[2] < (int *)local_28[3]" (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) < (cast_expression "(int *)local_28[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar4 = *(int *)local_28[2];\n    }" { (expression_statement "iVar4 = *(int *)local_28[2];" (assignment_expression "iVar4 = *(int *)local_28[2]" identifier = (pointer_expression "*(int *)local_28[2]" * (cast_expression "(int *)local_28[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_28[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" else (compound_statement "{\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" { (expression_statement "iVar4 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar4 = (**(code **)(*local_28 + 0x24))(local_28)" identifier = (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" ( (pointer_expression "**(code **)(*local_28 + 0x24)" * (pointer_expression "*(code **)(*local_28 + 0x24)" * (cast_expression "(code **)(*local_28 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_28 + 0x24)" ( (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" * identifier) + number_literal) ))))) )) (argument_list "(local_28)" ( identifier )))) ;) }))) (expression_statement "piVar1 = (int *)0x0;" (assignment_expression "piVar1 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar4 != -1) {\n      piVar1 = local_28;\n    }" if (parenthesized_expression "(iVar4 != -1)" ( (binary_expression "iVar4 != -1" identifier != number_literal) )) (compound_statement "{\n      piVar1 = local_28;\n    }" { (expression_statement "piVar1 = local_28;" (assignment_expression "piVar1 = local_28" identifier = identifier) ;) })) (expression_statement "local_28 = piVar1;" (assignment_expression "local_28 = piVar1" identifier = identifier) ;) (if_statement "if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;" if (parenthesized_expression "((iVar4 == -1 && (bVar9 && bVar7)) == local_20)" ( (binary_expression "(iVar4 == -1 && (bVar9 && bVar7)) == local_20" (parenthesized_expression "(iVar4 == -1 && (bVar9 && bVar7))" ( (binary_expression "iVar4 == -1 && (bVar9 && bVar7)" (binary_expression "iVar4 == -1" identifier == number_literal) && (parenthesized_expression "(bVar9 && bVar7)" ( (binary_expression "bVar9 && bVar7" identifier && identifier) ))) )) == identifier) )) (goto_statement "goto LAB_0026c140;" goto statement_identifier ;)) (labeled_statement "LAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;" statement_identifier : (if_statement "if (param_10 <= local_2c) goto LAB_0026c140;" if (parenthesized_expression "(param_10 <= local_2c)" ( (binary_expression "param_10 <= local_2c" identifier <= identifier) )) (goto_statement "goto LAB_0026c140;" goto statement_identifier ;))) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) (if_statement "if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }" if (parenthesized_expression "((param_3 != (int *)0x0) && (bVar8))" ( (binary_expression "(param_3 != (int *)0x0) && (bVar8)" (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar8)" ( identifier ))) )) (compound_statement "{\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }" { (if_statement "if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" if (parenthesized_expression "((int *)param_3[2] < (int *)param_3[3])" ( (binary_expression "(int *)param_3[2] < (int *)param_3[3]" (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(int *)param_3[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n        iVar4 = *(int *)param_3[2];\n      }" { (expression_statement "iVar4 = *(int *)param_3[2];" (assignment_expression "iVar4 = *(int *)param_3[2]" identifier = (pointer_expression "*(int *)param_3[2]" * (cast_expression "(int *)param_3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" else (compound_statement "{\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" { (expression_statement "iVar4 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "iVar4 = (**(code **)(*param_3 + 0x24))(param_3)" identifier = (call_expression "(**(code **)(*param_3 + 0x24))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x24))" ( (pointer_expression "**(code **)(*param_3 + 0x24)" * (pointer_expression "*(code **)(*param_3 + 0x24)" * (cast_expression "(code **)(*param_3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x24)" ( (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier )))) ;) }))) (if_statement "if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n        param_3 = (int *)0x0;\n      }" { (expression_statement "param_3 = (int *)0x0;" (assignment_expression "param_3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a)" identifier = (call_expression "(**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a)" (parenthesized_expression "(**(code **)(*piVar3 + 0x30))" ( (pointer_expression "**(code **)(*piVar3 + 0x30)" * (pointer_expression "*(code **)(*piVar3 + 0x30)" * (cast_expression "(code **)(*piVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x30)" ( (binary_expression "*piVar3 + 0x30" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3,iVar4,0x2a)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;" if (parenthesized_expression "(9 < (byte)(cVar2 - 0x30U))" ( (binary_expression "9 < (byte)(cVar2 - 0x30U)" number_literal < (call_expression "(byte)(cVar2 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar2 - 0x30U)" ( (binary_expression "cVar2 - 0x30U" identifier - number_literal) )))) )) (goto_statement "goto LAB_0026c18c;" goto statement_identifier ;)) (expression_statement "iVar6 = cVar2 + -0x30 + iVar6 * 10;" (assignment_expression "iVar6 = cVar2 + -0x30 + iVar6 * 10" identifier = (binary_expression "cVar2 + -0x30 + iVar6 * 10" (binary_expression "cVar2 + -0x30" identifier + number_literal) + (binary_expression "iVar6 * 10" identifier * number_literal))) ;) (expression_statement "iVar4 = uVar5 * iVar6;" (assignment_expression "iVar4 = uVar5 * iVar6" identifier = (binary_expression "uVar5 * iVar6" identifier * identifier)) ;) (if_statement "if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;" if (parenthesized_expression "((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))" ( (binary_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8)" (parenthesized_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4)" ( (binary_expression "iVar4 - param_9 != 0 && param_9 <= iVar4" (binary_expression "iVar4 - param_9 != 0" (binary_expression "iVar4 - param_9" identifier - identifier) != number_literal) && (binary_expression "param_9 <= iVar4" identifier <= identifier)) )) || (parenthesized_expression "((int)(iVar4 + uVar5) <= param_8)" ( (binary_expression "(int)(iVar4 + uVar5) <= param_8" (cast_expression "(int)(iVar4 + uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 + uVar5)" ( (binary_expression "iVar4 + uVar5" identifier + identifier) ))) <= identifier) ))) )) (goto_statement "goto LAB_0026c18c;" goto statement_identifier ;)) (expression_statement "uVar5 = uVar5 / 10;" (assignment_expression "uVar5 = uVar5 / 10" identifier = (binary_expression "uVar5 / 10" identifier / number_literal)) ;) (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" if (parenthesized_expression "((uint)param_3[2] < (uint)param_3[3])" ( (binary_expression "(uint)param_3[2] < (uint)param_3[3]" (cast_expression "(uint)param_3[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(uint)param_3[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      param_3[2] = param_3[2] + 4;\n    }" { (expression_statement "param_3[2] = param_3[2] + 4;" (assignment_expression "param_3[2] = param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "param_3[2] + 4" (subscript_expression "param_3[2]" identifier [ number_literal ]) + number_literal)) ;) }) (else_clause "else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" else (compound_statement "{\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" { (expression_statement "(**(code **)(*param_3 + 0x28))(param_3);" (call_expression "(**(code **)(*param_3 + 0x28))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x28))" ( (pointer_expression "**(code **)(*param_3 + 0x28)" * (pointer_expression "*(code **)(*param_3 + 0x28)" * (cast_expression "(code **)(*param_3 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x28)" ( (binary_expression "*param_3 + 0x28" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3)" ( identifier ))) ;) }))) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "local_30 = -1;" (assignment_expression "local_30 = -1" identifier = number_literal) ;) })) (expression_statement "local_20 = bVar8;" (assignment_expression "local_20 = bVar8" identifier = identifier) ;) (if_statement "if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;" if (parenthesized_expression "(local_28 != (int *)0x0 && bVar7)" ( (binary_expression "local_28 != (int *)0x0 && bVar7" (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier) )) (goto_statement "goto LAB_0026c103;" goto statement_identifier ;)) (labeled_statement "LAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;" statement_identifier : (if_statement "if (bVar7 != local_20) goto LAB_0026c01e;" if (parenthesized_expression "(bVar7 != local_20)" ( (binary_expression "bVar7 != local_20" identifier != identifier) )) (goto_statement "goto LAB_0026c01e;" goto statement_identifier ;))) (labeled_statement "LAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;" statement_identifier : (if_statement "if (local_2c == param_10) goto LAB_0026c19d;" if (parenthesized_expression "(local_2c == param_10)" ( (binary_expression "local_2c == param_10" identifier == identifier) )) (goto_statement "goto LAB_0026c19d;" goto statement_identifier ;))) (labeled_statement "LAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" statement_identifier : (if_statement "if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" if (parenthesized_expression "((param_10 == 4) && (local_2c == 2))" ( (binary_expression "(param_10 == 4) && (local_2c == 2)" (parenthesized_expression "(param_10 == 4)" ( (binary_expression "param_10 == 4" identifier == number_literal) )) && (parenthesized_expression "(local_2c == 2)" ( (binary_expression "local_2c == 2" identifier == number_literal) ))) )) (compound_statement "{\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }" { (expression_statement "iVar6 = iVar6 + -100;" (assignment_expression "iVar6 = iVar6 + -100" identifier = (binary_expression "iVar6 + -100" identifier + number_literal)) ;) (labeled_statement "LAB_0026c19d:\n    *param_7 = iVar6;" statement_identifier : (expression_statement "*param_7 = iVar6;" (assignment_expression "*param_7 = iVar6" (pointer_expression "*param_7" * identifier) = identifier) ;)) }) (else_clause "else {\n    *param_12 = *param_12 | 4;\n  }" else (compound_statement "{\n    *param_12 = *param_12 | 4;\n  }" { (expression_statement "*param_12 = *param_12 | 4;" (assignment_expression "*param_12 = *param_12 | 4" (pointer_expression "*param_12" * identifier) = (binary_expression "*param_12 | 4" (pointer_expression "*param_12" * identifier) | number_literal)) ;) })))) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) || (unary_expression ! IDENT)) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (compound_statement { (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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT == LIT) && (parenthesized_expression ( (binary_expression IDENT && IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (unary_expression ! IDENT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (compound_statement { (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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (parenthesized_expression ( (binary_expression IDENT && IDENT) ))) )) == IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( IDENT ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (compound_statement { (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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) })) (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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT - IDENT) != LIT) && (binary_expression IDENT <= IDENT)) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) <= IDENT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) }) (else_clause else (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 (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0026bf80(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)" (identifier "FUN_0026bf80") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,\n                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,\n                 uint *param_12)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "int *param_7" (primitive_type "int") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) (, ",") (parameter_declaration "int param_9" (primitive_type "int") (identifier "param_9")) (, ",") (parameter_declaration "uint param_10" (type_identifier "uint") (identifier "param_10")) (, ",") (parameter_declaration "int param_11" (primitive_type "int") (identifier "param_11")) (, ",") (parameter_declaration "uint *param_12" (type_identifier "uint") (pointer_declarator "*param_12" (* "*") (identifier "param_12"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  bool bVar8;\n  bool bVar9;\n  int local_30;\n  uint local_2c;\n  int *local_28;\n  bool local_20;\n  \n  local_28 = param_5;\n  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);\n  uVar5 = 10;\n  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }\n  bVar7 = param_6 == -1;\n  local_30 = param_4;\n  iVar6 = 0;\n  local_2c = 0;\n  while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }\n  local_20 = bVar8;\n  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;\nLAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;\nLAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;\nLAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = local_30;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "bool bVar8;" (primitive_type "bool") (identifier "bVar8") (; ";")) (declaration "bool bVar9;" (primitive_type "bool") (identifier "bVar9") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "uint local_2c;" (type_identifier "uint") (identifier "local_2c") (; ";")) (declaration "int *local_28;" (primitive_type "int") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "bool local_20;" (primitive_type "bool") (identifier "local_20") (; ";")) (expression_statement "local_28 = param_5;" (assignment_expression "local_28 = param_5" (identifier "local_28") (= "=") (identifier "param_5")) (; ";")) (expression_statement "piVar3 = (int *)FUN_00254450(param_11 + 0x6c);" (assignment_expression "piVar3 = (int *)FUN_00254450(param_11 + 0x6c)" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_00254450(param_11 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00254450(param_11 + 0x6c)" (identifier "FUN_00254450") (argument_list "(param_11 + 0x6c)" (( "(") (binary_expression "param_11 + 0x6c" (identifier "param_11") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (expression_statement "uVar5 = 10;" (assignment_expression "uVar5 = 10" (identifier "uVar5") (= "=") (number_literal "10")) (; ";")) (if_statement "if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {\n    uVar5 = 1;\n  }" (if "if") (parenthesized_expression "((param_10 != 2) && (uVar5 = 1000, param_10 != 4))" (( "(") (binary_expression "(param_10 != 2) && (uVar5 = 1000, param_10 != 4)" (parenthesized_expression "(param_10 != 2)" (( "(") (binary_expression "param_10 != 2" (identifier "param_10") (!= "!=") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(uVar5 = 1000, param_10 != 4)" (( "(") (comma_expression "uVar5 = 1000, param_10 != 4" (assignment_expression "uVar5 = 1000" (identifier "uVar5") (= "=") (number_literal "1000")) (, ",") (binary_expression "param_10 != 4" (identifier "param_10") (!= "!=") (number_literal "4"))) () ")"))) () ")")) (compound_statement "{\n    uVar5 = 1;\n  }" ({ "{") (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "bVar7 = param_6 == -1;" (assignment_expression "bVar7 = param_6 == -1" (identifier "bVar7") (= "=") (binary_expression "param_6 == -1" (identifier "param_6") (== "==") (number_literal "-1"))) (; ";")) (expression_statement "local_30 = param_4;" (assignment_expression "local_30 = param_4" (identifier "local_30") (= "=") (identifier "param_4")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    bVar8 = local_30 == -1;\n    bVar9 = param_3 != (int *)0x0;\n    if (!bVar9 || !bVar8) break;\n    if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }\n    if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }\n    local_20 = iVar4 == -1 && (bVar9 && bVar8);\n    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;\nLAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;\n    if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }\n    piVar1 = (int *)0x0;\n    if (iVar4 != -1) {\n      piVar1 = local_28;\n    }\n    local_28 = piVar1;\n    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;\nLAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;\n    iVar4 = local_30;\n    if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }\n    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);\n    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;\n    iVar6 = cVar2 + -0x30 + iVar6 * 10;\n    iVar4 = uVar5 * iVar6;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;\n    uVar5 = uVar5 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    local_2c = local_2c + 1;\n    local_30 = -1;\n  }" ({ "{") (expression_statement "bVar8 = local_30 == -1;" (assignment_expression "bVar8 = local_30 == -1" (identifier "bVar8") (= "=") (binary_expression "local_30 == -1" (identifier "local_30") (== "==") (number_literal "-1"))) (; ";")) (expression_statement "bVar9 = param_3 != (int *)0x0;" (assignment_expression "bVar9 = param_3 != (int *)0x0" (identifier "bVar9") (= "=") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (if_statement "if (!bVar9 || !bVar8) break;" (if "if") (parenthesized_expression "(!bVar9 || !bVar8)" (( "(") (binary_expression "!bVar9 || !bVar8" (unary_expression "!bVar9" (! "!") (identifier "bVar9")) (|| "||") (unary_expression "!bVar8" (! "!") (identifier "bVar8"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((int *)param_3[2] < (int *)param_3[3]) {\n      iVar4 = *(int *)param_3[2];\n    }\n    else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" (if "if") (parenthesized_expression "((int *)param_3[2] < (int *)param_3[3])" (( "(") (binary_expression "(int *)param_3[2] < (int *)param_3[3]" (cast_expression "(int *)param_3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(int *)param_3[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      iVar4 = *(int *)param_3[2];\n    }" ({ "{") (expression_statement "iVar4 = *(int *)param_3[2];" (assignment_expression "iVar4 = *(int *)param_3[2]" (identifier "iVar4") (= "=") (pointer_expression "*(int *)param_3[2]" (* "*") (cast_expression "(int *)param_3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" (else "else") (compound_statement "{\n      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n    }" ({ "{") (expression_statement "iVar4 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "iVar4 = (**(code **)(*param_3 + 0x24))(param_3)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(*param_3 + 0x24))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x24))" (( "(") (pointer_expression "**(code **)(*param_3 + 0x24)" (* "*") (pointer_expression "*(code **)(*param_3 + 0x24)" (* "*") (cast_expression "(code **)(*param_3 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_3 + 0x24)" (( "(") (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar4 == -1) {\n      param_3 = (int *)0x0;\n    }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      param_3 = (int *)0x0;\n    }" ({ "{") (expression_statement "param_3 = (int *)0x0;" (assignment_expression "param_3 = (int *)0x0" (identifier "param_3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (expression_statement "local_20 = iVar4 == -1 && (bVar9 && bVar8);" (assignment_expression "local_20 = iVar4 == -1 && (bVar9 && bVar8)" (identifier "local_20") (= "=") (binary_expression "iVar4 == -1 && (bVar9 && bVar8)" (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) (&& "&&") (parenthesized_expression "(bVar9 && bVar8)" (( "(") (binary_expression "bVar9 && bVar8" (identifier "bVar9") (&& "&&") (identifier "bVar8")) () ")")))) (; ";")) (if_statement "if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;" (if "if") (parenthesized_expression "(local_28 == (int *)0x0 || !bVar7)" (( "(") (binary_expression "local_28 == (int *)0x0 || !bVar7" (binary_expression "local_28 == (int *)0x0" (identifier "local_28") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (|| "||") (unary_expression "!bVar7" (! "!") (identifier "bVar7"))) () ")")) (goto_statement "goto LAB_0026c00f;" (goto "goto") (statement_identifier "LAB_0026c00f") (; ";"))) (labeled_statement "LAB_0026c103:\n    bVar9 = local_28 != (int *)0x0;" (statement_identifier "LAB_0026c103") (: ":") (expression_statement "bVar9 = local_28 != (int *)0x0;" (assignment_expression "bVar9 = local_28 != (int *)0x0" (identifier "bVar9") (= "=") (binary_expression "local_28 != (int *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";"))) (if_statement "if ((int *)local_28[2] < (int *)local_28[3]) {\n      iVar4 = *(int *)local_28[2];\n    }\n    else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" (if "if") (parenthesized_expression "((int *)local_28[2] < (int *)local_28[3])" (( "(") (binary_expression "(int *)local_28[2] < (int *)local_28[3]" (cast_expression "(int *)local_28[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_28[2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(int *)local_28[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_28[3]" (identifier "local_28") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      iVar4 = *(int *)local_28[2];\n    }" ({ "{") (expression_statement "iVar4 = *(int *)local_28[2];" (assignment_expression "iVar4 = *(int *)local_28[2]" (identifier "iVar4") (= "=") (pointer_expression "*(int *)local_28[2]" (* "*") (cast_expression "(int *)local_28[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_28[2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" (else "else") (compound_statement "{\n      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);\n    }" ({ "{") (expression_statement "iVar4 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar4 = (**(code **)(*local_28 + 0x24))(local_28)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" (( "(") (pointer_expression "**(code **)(*local_28 + 0x24)" (* "*") (pointer_expression "*(code **)(*local_28 + 0x24)" (* "*") (cast_expression "(code **)(*local_28 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_28 + 0x24)" (( "(") (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(local_28)" (( "(") (identifier "local_28") () ")")))) (; ";")) (} "}")))) (expression_statement "piVar1 = (int *)0x0;" (assignment_expression "piVar1 = (int *)0x0" (identifier "piVar1") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (iVar4 != -1) {\n      piVar1 = local_28;\n    }" (if "if") (parenthesized_expression "(iVar4 != -1)" (( "(") (binary_expression "iVar4 != -1" (identifier "iVar4") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      piVar1 = local_28;\n    }" ({ "{") (expression_statement "piVar1 = local_28;" (assignment_expression "piVar1 = local_28" (identifier "piVar1") (= "=") (identifier "local_28")) (; ";")) (} "}"))) (expression_statement "local_28 = piVar1;" (assignment_expression "local_28 = piVar1" (identifier "local_28") (= "=") (identifier "piVar1")) (; ";")) (if_statement "if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;" (if "if") (parenthesized_expression "((iVar4 == -1 && (bVar9 && bVar7)) == local_20)" (( "(") (binary_expression "(iVar4 == -1 && (bVar9 && bVar7)) == local_20" (parenthesized_expression "(iVar4 == -1 && (bVar9 && bVar7))" (( "(") (binary_expression "iVar4 == -1 && (bVar9 && bVar7)" (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) (&& "&&") (parenthesized_expression "(bVar9 && bVar7)" (( "(") (binary_expression "bVar9 && bVar7" (identifier "bVar9") (&& "&&") (identifier "bVar7")) () ")"))) () ")")) (== "==") (identifier "local_20")) () ")")) (goto_statement "goto LAB_0026c140;" (goto "goto") (statement_identifier "LAB_0026c140") (; ";"))) (labeled_statement "LAB_0026c01e:\n    if (param_10 <= local_2c) goto LAB_0026c140;" (statement_identifier "LAB_0026c01e") (: ":") (if_statement "if (param_10 <= local_2c) goto LAB_0026c140;" (if "if") (parenthesized_expression "(param_10 <= local_2c)" (( "(") (binary_expression "param_10 <= local_2c" (identifier "param_10") (<= "<=") (identifier "local_2c")) () ")")) (goto_statement "goto LAB_0026c140;" (goto "goto") (statement_identifier "LAB_0026c140") (; ";")))) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" (identifier "iVar4") (= "=") (identifier "local_30")) (; ";")) (if_statement "if ((param_3 != (int *)0x0) && (bVar8)) {\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }" (if "if") (parenthesized_expression "((param_3 != (int *)0x0) && (bVar8))" (( "(") (binary_expression "(param_3 != (int *)0x0) && (bVar8)" (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar8)" (( "(") (identifier "bVar8") () ")"))) () ")")) (compound_statement "{\n      if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }\n      if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }\n    }" ({ "{") (if_statement "if ((int *)param_3[2] < (int *)param_3[3]) {\n        iVar4 = *(int *)param_3[2];\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" (if "if") (parenthesized_expression "((int *)param_3[2] < (int *)param_3[3])" (( "(") (binary_expression "(int *)param_3[2] < (int *)param_3[3]" (cast_expression "(int *)param_3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(int *)param_3[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n        iVar4 = *(int *)param_3[2];\n      }" ({ "{") (expression_statement "iVar4 = *(int *)param_3[2];" (assignment_expression "iVar4 = *(int *)param_3[2]" (identifier "iVar4") (= "=") (pointer_expression "*(int *)param_3[2]" (* "*") (cast_expression "(int *)param_3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" (else "else") (compound_statement "{\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n      }" ({ "{") (expression_statement "iVar4 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "iVar4 = (**(code **)(*param_3 + 0x24))(param_3)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(*param_3 + 0x24))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x24))" (( "(") (pointer_expression "**(code **)(*param_3 + 0x24)" (* "*") (pointer_expression "*(code **)(*param_3 + 0x24)" (* "*") (cast_expression "(code **)(*param_3 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_3 + 0x24)" (( "(") (binary_expression "*param_3 + 0x24" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar4 == -1) {\n        param_3 = (int *)0x0;\n      }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        param_3 = (int *)0x0;\n      }" ({ "{") (expression_statement "param_3 = (int *)0x0;" (assignment_expression "param_3 = (int *)0x0" (identifier "param_3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a)" (identifier "cVar2") (= "=") (call_expression "(**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a)" (parenthesized_expression "(**(code **)(*piVar3 + 0x30))" (( "(") (pointer_expression "**(code **)(*piVar3 + 0x30)" (* "*") (pointer_expression "*(code **)(*piVar3 + 0x30)" (* "*") (cast_expression "(code **)(*piVar3 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 0x30)" (( "(") (binary_expression "*piVar3 + 0x30" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "(piVar3,iVar4,0x2a)" (( "(") (identifier "piVar3") (, ",") (identifier "iVar4") (, ",") (number_literal "0x2a") () ")")))) (; ";")) (if_statement "if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;" (if "if") (parenthesized_expression "(9 < (byte)(cVar2 - 0x30U))" (( "(") (binary_expression "9 < (byte)(cVar2 - 0x30U)" (number_literal "9") (< "<") (call_expression "(byte)(cVar2 - 0x30U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar2 - 0x30U)" (( "(") (binary_expression "cVar2 - 0x30U" (identifier "cVar2") (- "-") (number_literal "0x30U")) () ")")))) () ")")) (goto_statement "goto LAB_0026c18c;" (goto "goto") (statement_identifier "LAB_0026c18c") (; ";"))) (expression_statement "iVar6 = cVar2 + -0x30 + iVar6 * 10;" (assignment_expression "iVar6 = cVar2 + -0x30 + iVar6 * 10" (identifier "iVar6") (= "=") (binary_expression "cVar2 + -0x30 + iVar6 * 10" (binary_expression "cVar2 + -0x30" (identifier "cVar2") (+ "+") (number_literal "-0x30")) (+ "+") (binary_expression "iVar6 * 10" (identifier "iVar6") (* "*") (number_literal "10")))) (; ";")) (expression_statement "iVar4 = uVar5 * iVar6;" (assignment_expression "iVar4 = uVar5 * iVar6" (identifier "iVar4") (= "=") (binary_expression "uVar5 * iVar6" (identifier "uVar5") (* "*") (identifier "iVar6"))) (; ";")) (if_statement "if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))\n    goto LAB_0026c18c;" (if "if") (parenthesized_expression "((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))" (( "(") (binary_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8)" (parenthesized_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4)" (( "(") (binary_expression "iVar4 - param_9 != 0 && param_9 <= iVar4" (binary_expression "iVar4 - param_9 != 0" (binary_expression "iVar4 - param_9" (identifier "iVar4") (- "-") (identifier "param_9")) (!= "!=") (number_literal "0")) (&& "&&") (binary_expression "param_9 <= iVar4" (identifier "param_9") (<= "<=") (identifier "iVar4"))) () ")")) (|| "||") (parenthesized_expression "((int)(iVar4 + uVar5) <= param_8)" (( "(") (binary_expression "(int)(iVar4 + uVar5) <= param_8" (cast_expression "(int)(iVar4 + uVar5)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar4 + uVar5)" (( "(") (binary_expression "iVar4 + uVar5" (identifier "iVar4") (+ "+") (identifier "uVar5")) () ")"))) (<= "<=") (identifier "param_8")) () ")"))) () ")")) (goto_statement "goto LAB_0026c18c;" (goto "goto") (statement_identifier "LAB_0026c18c") (; ";"))) (expression_statement "uVar5 = uVar5 / 10;" (assignment_expression "uVar5 = uVar5 / 10" (identifier "uVar5") (= "=") (binary_expression "uVar5 / 10" (identifier "uVar5") (/ "/") (number_literal "10"))) (; ";")) (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 4;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" (if "if") (parenthesized_expression "((uint)param_3[2] < (uint)param_3[3])" (( "(") (binary_expression "(uint)param_3[2] < (uint)param_3[3]" (cast_expression "(uint)param_3[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(uint)param_3[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      param_3[2] = param_3[2] + 4;\n    }" ({ "{") (expression_statement "param_3[2] = param_3[2] + 4;" (assignment_expression "param_3[2] = param_3[2] + 4" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_3[2] + 4" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "4"))) (; ";")) (} "}")) (else_clause "else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" (else "else") (compound_statement "{\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }" ({ "{") (expression_statement "(**(code **)(*param_3 + 0x28))(param_3);" (call_expression "(**(code **)(*param_3 + 0x28))(param_3)" (parenthesized_expression "(**(code **)(*param_3 + 0x28))" (( "(") (pointer_expression "**(code **)(*param_3 + 0x28)" (* "*") (pointer_expression "*(code **)(*param_3 + 0x28)" (* "*") (cast_expression "(code **)(*param_3 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_3 + 0x28)" (( "(") (binary_expression "*param_3 + 0x28" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (} "}")))) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" (identifier "local_2c") (= "=") (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_30 = -1;" (assignment_expression "local_30 = -1" (identifier "local_30") (= "=") (number_literal "-1")) (; ";")) (} "}"))) (expression_statement "local_20 = bVar8;" (assignment_expression "local_20 = bVar8" (identifier "local_20") (= "=") (identifier "bVar8")) (; ";")) (if_statement "if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;" (if "if") (parenthesized_expression "(local_28 != (int *)0x0 && bVar7)" (( "(") (binary_expression "local_28 != (int *)0x0 && bVar7" (binary_expression "local_28 != (int *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (identifier "bVar7")) () ")")) (goto_statement "goto LAB_0026c103;" (goto "goto") (statement_identifier "LAB_0026c103") (; ";"))) (labeled_statement "LAB_0026c00f:\n  if (bVar7 != local_20) goto LAB_0026c01e;" (statement_identifier "LAB_0026c00f") (: ":") (if_statement "if (bVar7 != local_20) goto LAB_0026c01e;" (if "if") (parenthesized_expression "(bVar7 != local_20)" (( "(") (binary_expression "bVar7 != local_20" (identifier "bVar7") (!= "!=") (identifier "local_20")) () ")")) (goto_statement "goto LAB_0026c01e;" (goto "goto") (statement_identifier "LAB_0026c01e") (; ";")))) (labeled_statement "LAB_0026c140:\n  if (local_2c == param_10) goto LAB_0026c19d;" (statement_identifier "LAB_0026c140") (: ":") (if_statement "if (local_2c == param_10) goto LAB_0026c19d;" (if "if") (parenthesized_expression "(local_2c == param_10)" (( "(") (binary_expression "local_2c == param_10" (identifier "local_2c") (== "==") (identifier "param_10")) () ")")) (goto_statement "goto LAB_0026c19d;" (goto "goto") (statement_identifier "LAB_0026c19d") (; ";")))) (labeled_statement "LAB_0026c18c:\n  if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" (statement_identifier "LAB_0026c18c") (: ":") (if_statement "if ((param_10 == 4) && (local_2c == 2)) {\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" (if "if") (parenthesized_expression "((param_10 == 4) && (local_2c == 2))" (( "(") (binary_expression "(param_10 == 4) && (local_2c == 2)" (parenthesized_expression "(param_10 == 4)" (( "(") (binary_expression "param_10 == 4" (identifier "param_10") (== "==") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(local_2c == 2)" (( "(") (binary_expression "local_2c == 2" (identifier "local_2c") (== "==") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    iVar6 = iVar6 + -100;\nLAB_0026c19d:\n    *param_7 = iVar6;\n  }" ({ "{") (expression_statement "iVar6 = iVar6 + -100;" (assignment_expression "iVar6 = iVar6 + -100" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -100" (identifier "iVar6") (+ "+") (number_literal "-100"))) (; ";")) (labeled_statement "LAB_0026c19d:\n    *param_7 = iVar6;" (statement_identifier "LAB_0026c19d") (: ":") (expression_statement "*param_7 = iVar6;" (assignment_expression "*param_7 = iVar6" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "iVar6")) (; ";"))) (} "}")) (else_clause "else {\n    *param_12 = *param_12 | 4;\n  }" (else "else") (compound_statement "{\n    *param_12 = *param_12 | 4;\n  }" ({ "{") (expression_statement "*param_12 = *param_12 | 4;" (assignment_expression "*param_12 = *param_12 | 4" (pointer_expression "*param_12" (* "*") (identifier "param_12")) (= "=") (binary_expression "*param_12 | 4" (pointer_expression "*param_12" (* "*") (identifier "param_12")) (| "|") (number_literal "4"))) (; ";")) (} "}"))))) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::time_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::_M_extract_num(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, int&, int, int, unsigned int,
   std::ios_base&, std::_Ios_Iostate&) const */

void var_2::time_get<var_3,var_2::istreambuf_iterator<var_3,var_2::char_traits<var_3>>>::
     _M_extract_num(undefined4 *param_1,undefined4 param_2,int *var_8,int param_4,int *param_5,
                   int var_6,int *param_7,int var_20,int var_19,type_2 var_5,int var_4,
                   type_2 *param_12)

{
  int *piVar1;
  char var_16;
  type_1 *pcVar3;
  int var_9;
  type_2 var_18;
  int var_17;
  bool var_13;
  bool var_11;
  bool var_10;
  int var_7;
  type_2 var_15;
  int *var_12;
  bool var_14;
  
  var_12 = param_5;
  pcVar3 = var_1<var_2::type_1<var_3>>((type_3 *)(var_4 + 0x6c));
  var_18 = 10;
  if ((var_5 != 2) && (var_18 = 1000, var_5 != 4)) {
    var_18 = 1;
  }
  var_13 = var_6 == -1;
  var_7 = param_4;
  var_17 = 0;
  var_15 = 0;
  while( true ) {
    var_11 = var_7 == -1;
    var_10 = var_8 != (int *)0x0;
    if (!var_10 || !var_11) break;
    if ((int *)var_8[2] < (int *)var_8[3]) {
      var_9 = *(int *)var_8[2];
    }
    else {
      var_9 = (**(type_4 **)(*var_8 + 0x24))(var_8);
    }
    if (var_9 == -1) {
      var_8 = (int *)0x0;
    }
    var_14 = var_9 == -1 && (var_10 && var_11);
    if (var_12 == (int *)0x0 || !var_13) goto LAB_0026c00f;
LAB_0026c103:
    var_10 = var_12 != (int *)0x0;
    if ((int *)var_12[2] < (int *)var_12[3]) {
      var_9 = *(int *)var_12[2];
    }
    else {
      var_9 = (**(type_4 **)(*var_12 + 0x24))(var_12);
    }
    piVar1 = (int *)0x0;
    if (var_9 != -1) {
      piVar1 = var_12;
    }
    var_12 = piVar1;
    if ((var_9 == -1 && (var_10 && var_13)) == var_14) goto LAB_0026c140;
LAB_0026c01e:
    if (var_5 <= var_15) goto LAB_0026c140;
    var_9 = var_7;
    if ((var_8 != (int *)0x0) && (var_11)) {
      if ((int *)var_8[2] < (int *)var_8[3]) {
        var_9 = *(int *)var_8[2];
      }
      else {
        var_9 = (**(type_4 **)(*var_8 + 0x24))(var_8);
      }
      if (var_9 == -1) {
        var_8 = (int *)0x0;
      }
    }
    var_16 = (**(type_4 **)(*(int *)pcVar3 + 0x30))(pcVar3,var_9,0x2a);
    if (9 < (byte)(var_16 - 0x30U)) goto LAB_0026c18c;
    var_17 = var_16 + -0x30 + var_17 * 10;
    var_9 = var_18 * var_17;
    if ((var_9 - var_19 != 0 && var_19 <= var_9) || ((int)(var_9 + var_18) <= var_20))
    goto LAB_0026c18c;
    var_18 = var_18 / 10;
    if ((type_2)var_8[2] < (type_2)var_8[3]) {
      var_8[2] = var_8[2] + 4;
    }
    else {
      (**(type_4 **)(*var_8 + 0x28))(var_8);
    }
    var_15 = var_15 + 1;
    var_7 = -1;
  }
  var_14 = var_11;
  if (var_12 != (int *)0x0 && var_13) goto LAB_0026c103;
LAB_0026c00f:
  if (var_13 != var_14) goto LAB_0026c01e;
LAB_0026c140:
  if (var_15 == var_5) goto LAB_0026c19d;
LAB_0026c18c:
  if ((var_5 == 4) && (var_15 == 2)) {
    var_17 = var_17 + -100;
LAB_0026c19d:
    *param_7 = var_17;
  }
  else {
    *param_12 = *param_12 | 4;
  }
  *param_1 = var_8;
  param_1[1] = var_7;
  return;
}


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

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

void MASKED(undefined4 *param_1,undefined4 param_2,int *param_3,int param_4,int *param_5,
                 int param_6,int *param_7,int param_8,int param_9,uint param_10,int param_11,
                 uint *param_12)

{
  int *piVar1;
  char cVar2;
  int *piVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  bool bVar7;
  bool bVar8;
  bool bVar9;
  int local_30;
  uint local_2c;
  int *local_28;
  bool local_20;
  
  local_28 = param_5;
  piVar3 = (int *)FUN_00254450(param_11 + 0x6c);
  uVar5 = 10;
  if ((param_10 != 2) && (uVar5 = 1000, param_10 != 4)) {
    uVar5 = 1;
  }
  bVar7 = param_6 == -1;
  local_30 = param_4;
  iVar6 = 0;
  local_2c = 0;
  while( true ) {
    bVar8 = local_30 == -1;
    bVar9 = param_3 != (int *)0x0;
    if (!bVar9 || !bVar8) break;
    if ((int *)param_3[2] < (int *)param_3[3]) {
      iVar4 = *(int *)param_3[2];
    }
    else {
      iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
    }
    if (iVar4 == -1) {
      param_3 = (int *)0x0;
    }
    local_20 = iVar4 == -1 && (bVar9 && bVar8);
    if (local_28 == (int *)0x0 || !bVar7) goto LAB_0026c00f;
LAB_0026c103:
    bVar9 = local_28 != (int *)0x0;
    if ((int *)local_28[2] < (int *)local_28[3]) {
      iVar4 = *(int *)local_28[2];
    }
    else {
      iVar4 = (**(code **)(*local_28 + 0x24))(local_28);
    }
    piVar1 = (int *)0x0;
    if (iVar4 != -1) {
      piVar1 = local_28;
    }
    local_28 = piVar1;
    if ((iVar4 == -1 && (bVar9 && bVar7)) == local_20) goto LAB_0026c140;
LAB_0026c01e:
    if (param_10 <= local_2c) goto LAB_0026c140;
    iVar4 = local_30;
    if ((param_3 != (int *)0x0) && (bVar8)) {
      if ((int *)param_3[2] < (int *)param_3[3]) {
        iVar4 = *(int *)param_3[2];
      }
      else {
        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
      }
      if (iVar4 == -1) {
        param_3 = (int *)0x0;
      }
    }
    cVar2 = (**(code **)(*piVar3 + 0x30))(piVar3,iVar4,0x2a);
    if (9 < (byte)(cVar2 - 0x30U)) goto LAB_0026c18c;
    iVar6 = cVar2 + -0x30 + iVar6 * 10;
    iVar4 = uVar5 * iVar6;
    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar5) <= param_8))
    goto LAB_0026c18c;
    uVar5 = uVar5 / 10;
    if ((uint)param_3[2] < (uint)param_3[3]) {
      param_3[2] = param_3[2] + 4;
    }
    else {
      (**(code **)(*param_3 + 0x28))(param_3);
    }
    local_2c = local_2c + 1;
    local_30 = -1;
  }
  local_20 = bVar8;
  if (local_28 != (int *)0x0 && bVar7) goto LAB_0026c103;
LAB_0026c00f:
  if (bVar7 != local_20) goto LAB_0026c01e;
LAB_0026c140:
  if (local_2c == param_10) goto LAB_0026c19d;
LAB_0026c18c:
  if ((param_10 == 4) && (local_2c == 2)) {
    iVar6 = iVar6 + -100;
LAB_0026c19d:
    *param_7 = iVar6;
  }
  else {
    *param_12 = *param_12 | 4;
  }
  *param_1 = param_3;
  param_1[1] = local_30;
  return;
}

