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

void std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::_M_extract_num
               (undefined4 *param_1,undefined4 param_2,int *param_3,uint 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)

{
  ctype cVar1;
  ctype cVar2;
  ctype *pcVar3;
  int iVar4;
  bool bVar5;
  bool bVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  bool bVar10;
  int local_3c;
  uint local_38;
  int *local_30;
  
  uVar9 = 10;
  local_30 = param_5;
  pcVar3 = use_facet<std::ctype<char>>((locale *)(param_11 + 0x6c));
  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {
    uVar9 = 1;
  }
  bVar10 = param_4 == 0xffffffff;
  local_38 = 0;
  local_3c = 0;
  bVar5 = param_3 != (int *)0x0 && bVar10;
  bVar6 = bVar10;
  if (bVar5) goto LAB_001fc039;
  while( true ) {
    if ((local_30 == (int *)0x0) || (param_6 != -1)) {
      bVar6 = (bool)(bVar6 ^ param_6 == -1);
    }
    else if (((uint)local_30[3] <= (uint)local_30[2]) &&
            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {
      bVar6 = (bool)(bVar6 ^ 1);
      local_30 = (int *)0x0;
    }
    if ((param_10 <= local_38) || (!bVar6)) break;
    if ((param_3 == (int *)0x0) || (!bVar10)) {
      uVar7 = param_4;
      uVar8 = param_4 & 0xff;
    }
    else if ((byte *)param_3[2] < (byte *)param_3[3]) {
      uVar7 = (uint)*(byte *)param_3[2];
      uVar8 = uVar7;
    }
    else {
      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);
      if (uVar7 == 0xffffffff) {
        uVar8 = 0xff;
        uVar7 = 0xffffffff;
        param_3 = (int *)0x0;
      }
      else {
        uVar8 = uVar7 & 0xff;
      }
    }
    cVar2 = SUB41(uVar7,0);
    cVar1 = pcVar3[uVar8 + 0x11d];
    if (pcVar3[uVar8 + 0x11d] == (ctype)0x0) {
      if (*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow) {
        cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);
      }
      if (cVar2 == (ctype)0x2a) goto LAB_001fc0a3;
      pcVar3[uVar8 + 0x11d] = cVar2;
      cVar1 = cVar2;
    }
    if (9 < (byte)((char)cVar1 - 0x30U)) goto LAB_001fc0a3;
    local_3c = (char)cVar1 + -0x30 + local_3c * 10;
    iVar4 = uVar9 * local_3c;
    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))
    goto LAB_001fc0a3;
    uVar9 = uVar9 / 10;
    if ((uint)param_3[2] < (uint)param_3[3]) {
      param_3[2] = param_3[2] + 1;
    }
    else {
      (**(code **)(*param_3 + 0x28))(param_3);
    }
    param_4 = 0xffffffff;
    local_38 = local_38 + 1;
    bVar10 = true;
    bVar5 = param_3 != (int *)0x0;
    bVar6 = bVar10;
    if (bVar5) {
LAB_001fc039:
      if ((uint)param_3[2] < (uint)param_3[3]) {
        bVar6 = false;
      }
      else {
        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
        bVar6 = false;
        if (iVar4 == -1) {
          param_3 = (int *)0x0;
          bVar6 = bVar5;
        }
      }
    }
  }
  if (local_38 == param_10) goto LAB_001fc0b4;
LAB_001fc0a3:
  if ((param_10 == 4) && (local_38 == 2)) {
    local_3c = local_3c + -100;
LAB_001fc0b4:
    *param_7 = local_3c;
  }
  else {
    *param_12 = *param_12 | 4;
  }
  *param_1 = param_3;
  param_1[1] = param_4;
  return;
}



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

void FUN_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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)

{
  char cVar1;
  char cVar2;
  int *piVar3;
  int iVar4;
  bool bVar5;
  bool bVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  bool bVar10;
  int local_3c;
  uint local_38;
  int *local_30;
  
  uVar9 = 10;
  local_30 = param_5;
  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);
  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {
    uVar9 = 1;
  }
  bVar10 = param_4 == 0xffffffff;
  local_38 = 0;
  local_3c = 0;
  bVar5 = param_3 != (int *)0x0 && bVar10;
  bVar6 = bVar10;
  if (bVar5) goto LAB_001fc039;
  while( true ) {
    if ((local_30 == (int *)0x0) || (param_6 != -1)) {
      bVar6 = (bool)(bVar6 ^ param_6 == -1);
    }
    else if (((uint)local_30[3] <= (uint)local_30[2]) &&
            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {
      bVar6 = (bool)(bVar6 ^ 1);
      local_30 = (int *)0x0;
    }
    if ((param_10 <= local_38) || (!bVar6)) break;
    if ((param_3 == (int *)0x0) || (!bVar10)) {
      uVar7 = param_4;
      uVar8 = param_4 & 0xff;
    }
    else if ((byte *)param_3[2] < (byte *)param_3[3]) {
      uVar7 = (uint)*(byte *)param_3[2];
      uVar8 = uVar7;
    }
    else {
      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);
      if (uVar7 == 0xffffffff) {
        uVar8 = 0xff;
        uVar7 = 0xffffffff;
        param_3 = (int *)0x0;
      }
      else {
        uVar8 = uVar7 & 0xff;
      }
    }
    cVar2 = (char)uVar7;
    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);
    if (cVar1 == '\0') {
      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {
        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);
      }
      if (cVar2 == '*') goto LAB_001fc0a3;
      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;
      cVar1 = cVar2;
    }
    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;
    local_3c = cVar1 + -0x30 + local_3c * 10;
    iVar4 = uVar9 * local_3c;
    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))
    goto LAB_001fc0a3;
    uVar9 = uVar9 / 10;
    if ((uint)param_3[2] < (uint)param_3[3]) {
      param_3[2] = param_3[2] + 1;
    }
    else {
      (**(code **)(*param_3 + 0x28))(param_3);
    }
    param_4 = 0xffffffff;
    local_38 = local_38 + 1;
    bVar10 = true;
    bVar5 = param_3 != (int *)0x0;
    bVar6 = bVar10;
    if (bVar5) {
LAB_001fc039:
      if ((uint)param_3[2] < (uint)param_3[3]) {
        bVar6 = false;
      }
      else {
        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
        bVar6 = false;
        if (iVar4 == -1) {
          param_3 = (int *)0x0;
          bVar6 = bVar5;
        }
      }
    }
  }
  if (local_38 == param_10) goto LAB_001fc0b4;
LAB_001fc0a3:
  if ((param_10 == 4) && (local_38 == 2)) {
    local_3c = local_3c + -100;
LAB_001fc0b4:
    *param_7 = local_3c;
  }
  else {
    *param_12 = *param_12 | 4;
  }
  *param_1 = param_3;
  param_1[1] = param_4;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,0xa
PUSH EBX
CALL 0x00032730
ADD EBX,0x106132
SUB ESP,0x38
MOV EAX,dword ptr [ESP + 0x60]
MOV EDX,dword ptr [ESP + 0x58]
MOV EDI,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x74]
ADD EAX,0x6c
PUSH EAX
CALL 0x001957d0
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
MOV EDX,dword ptr [ESP]
CMP dword ptr [ESP + 0x64],0x2
JZ 0x001fbf23
CMP dword ptr [ESP + 0x64],0x4
MOV ESI,0x3e8
MOV EAX,0x1
CMOVNZ ESI,EAX
XOR EBP,EBP
CMP EDX,-0x1
LEA EAX,[EBX + 0xffe8fb90]
MOV dword ptr [ESP + 0x4],0x0
SETZ CL
TEST EDI,EDI
MOV dword ptr [ESP],EBP
SETNZ BL
MOV dword ptr [ESP + 0x14],EAX
AND BL,CL
JNZ 0x001fc039
LEA ESI,[ESI]
MOV EBX,ECX
MOV EBP,dword ptr [ESP + 0xc]
CMP dword ptr [ESP + 0x10],-0x1
SETZ AL
TEST EBP,EBP
JZ 0x001fbf6a
TEST AL,AL
JNZ 0x001fc050
XOR EBX,EAX
MOV EAX,dword ptr [ESP + 0x4]
CMP EAX,dword ptr [ESP + 0x64]
JNC 0x001fc138
TEST BL,BL
JZ 0x001fc138
TEST EDI,EDI
JZ 0x001fbf8e
TEST CL,CL
JNZ 0x001fc0d0
MOV EAX,EDX
MOVZX EBX,DL
MOV EBP,dword ptr [ESP + 0x8]
MOVSX ECX,byte ptr [EBP + EBX*0x1 + 0x11d]
TEST CL,CL
JNZ 0x001fbfc9
MOV ECX,dword ptr [EBP]
MOV ECX,dword ptr [ECX + 0x20]
CMP ECX,dword ptr [ESP + 0x14]
JNZ 0x001fc0f0
CMP AL,0x2a
JZ 0x001fc0a0
MOV ECX,dword ptr [ESP + 0x8]
MOV byte ptr [ECX + EBX*0x1 + 0x11d],AL
MOVSX ECX,AL
LEA EAX,[ECX + -0x30]
CMP AL,0x9
JA 0x001fc0a0
MOV EAX,dword ptr [ESP]
LEA EAX,[EAX + EAX*0x4]
LEA EBX,[ECX + EAX*0x2 + -0x30]
MOV EAX,ESI
MOV dword ptr [ESP],EBX
IMUL EAX,EBX
CMP EAX,dword ptr [ESP + 0x60]
JG 0x001fc0a0
ADD EAX,ESI
CMP EAX,dword ptr [ESP + 0x5c]
JLE 0x001fc0a0
MOV EAX,ESI
MOV EDX,0xcccccccd
MUL EDX
MOV EAX,dword ptr [EDI + 0x8]
MOV ESI,EDX
SHR ESI,0x3
CMP EAX,dword ptr [EDI + 0xc]
JNC 0x001fc110
ADD EAX,0x1
MOV dword ptr [EDI + 0x8],EAX
MOV EDX,0xffffffff
ADD dword ptr [ESP + 0x4],0x1
CMP EDX,-0x1
SETZ CL
TEST EDI,EDI
SETNZ BL
AND BL,CL
JZ 0x001fbf50
MOV EAX,dword ptr [EDI + 0xc]
CMP dword ptr [EDI + 0x8],EAX
JNC 0x001fc150
XOR EBX,EBX
JMP 0x001fbf52
MOV EAX,dword ptr [ESP + 0xc]
MOV EBP,dword ptr [EAX + 0xc]
CMP dword ptr [EAX + 0x8],EBP
JC 0x001fbf6c
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0xc
MOV byte ptr [ESP + 0x24],CL
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EDX]
PUSH EDX
CALL dword ptr [EAX + 0x24]
MOVZX ECX,byte ptr [ESP + 0x28]
MOV EDX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
CMP EAX,-0x1
JNZ 0x001fbf6c
XOR EBX,0x1
MOV dword ptr [ESP + 0xc],0x0
JMP 0x001fbf6c
MOV EBP,dword ptr [ESP]
CMP dword ptr [ESP + 0x64],0x4
JNZ 0x001fc128
CMP dword ptr [ESP + 0x4],0x2
JNZ 0x001fc128
SUB EBP,0x64
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [EAX],EBP
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX],EDI
MOV dword ptr [EAX + 0x4],EDX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,dword ptr [EDI + 0x8]
CMP EAX,dword ptr [EDI + 0xc]
JNC 0x001fc188
MOVZX EBX,byte ptr [EAX]
MOV EAX,EBX
JMP 0x001fbf93
MOV dword ptr [ESP + 0x18],EDX
MOVSX EAX,AL
SUB ESP,0x4
PUSH 0x2a
PUSH EAX
PUSH dword ptr [ESP + 0x14]
CALL ECX
MOV EDX,dword ptr [ESP + 0x28]
ADD ESP,0x10
JMP 0x001fbfb3
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
PUSH EDI
CALL dword ptr [EAX + 0x28]
ADD ESP,0x10
JMP 0x001fc01c
MOV EAX,dword ptr [ESP + 0x6c]
OR dword ptr [EAX],0x4
JMP 0x001fc0ba
MOV EBP,dword ptr [ESP]
MOV EAX,dword ptr [ESP + 0x4]
CMP EAX,dword ptr [ESP + 0x64]
JZ 0x001fc0b4
JMP 0x001fc0a3
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
MOV byte ptr [ESP + 0x24],CL
PUSH EDI
CALL dword ptr [EAX + 0x24]
MOV EDX,0x0
MOVZX ECX,byte ptr [ESP + 0x28]
ADD ESP,0x10
CMP EAX,-0x1
MOV EAX,0x0
CMOVNZ EBX,EDX
CMOVZ EDI,EAX
MOV EDX,dword ptr [ESP + 0x1c]
JMP 0x001fbf52
MOV dword ptr [ESP + 0x18],EDX
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
PUSH EDI
CALL dword ptr [EAX + 0x24]
MOV EDX,dword ptr [ESP + 0x28]
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x001fc1a9
MOVZX EBX,AL
JMP 0x001fbf93
MOV EBX,0xff
MOV EAX,0xffffffff
XOR EDI,EDI
JMP 0x001fbf93
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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  char cVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}\n\n" comment (function_definition "void FUN_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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  char cVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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,uint 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 "uint param_4" type_identifier 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  char cVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (expression_statement "uVar9 = 10;" (assignment_expression "uVar9 = 10" identifier = number_literal) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);" (assignment_expression "piVar3 = (int *)FUN_001957d0(param_11 + 0x6c)" identifier = (cast_expression "(int *)FUN_001957d0(param_11 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001957d0(param_11 + 0x6c)" identifier (argument_list "(param_11 + 0x6c)" ( (binary_expression "param_11 + 0x6c" identifier + number_literal) ))))) ;) (if_statement "if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }" if (parenthesized_expression "((param_10 != 2) && (uVar9 = 1000, param_10 != 4))" ( (binary_expression "(param_10 != 2) && (uVar9 = 1000, param_10 != 4)" (parenthesized_expression "(param_10 != 2)" ( (binary_expression "param_10 != 2" identifier != number_literal) )) && (parenthesized_expression "(uVar9 = 1000, param_10 != 4)" ( (comma_expression "uVar9 = 1000, param_10 != 4" (assignment_expression "uVar9 = 1000" identifier = number_literal) , (binary_expression "param_10 != 4" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar9 = 1;\n  }" { (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) })) (expression_statement "bVar10 = param_4 == 0xffffffff;" (assignment_expression "bVar10 = param_4 == 0xffffffff" identifier = (binary_expression "param_4 == 0xffffffff" identifier == number_literal)) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "bVar5 = param_3 != (int *)0x0 && bVar10;" (assignment_expression "bVar5 = param_3 != (int *)0x0 && bVar10" identifier = (binary_expression "param_3 != (int *)0x0 && bVar10" (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (expression_statement "bVar6 = bVar10;" (assignment_expression "bVar6 = bVar10" identifier = identifier) ;) (if_statement "if (bVar5) goto LAB_001fc039;" if (parenthesized_expression "(bVar5)" ( identifier )) (goto_statement "goto LAB_001fc039;" goto statement_identifier ;)) (while_statement "while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }" { (if_statement "if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" if (parenthesized_expression "((local_30 == (int *)0x0) || (param_6 != -1))" ( (binary_expression "(local_30 == (int *)0x0) || (param_6 != -1)" (parenthesized_expression "(local_30 == (int *)0x0)" ( (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_6 != -1)" ( (binary_expression "param_6 != -1" identifier != number_literal) ))) )) (compound_statement "{\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }" { (expression_statement "bVar6 = (bool)(bVar6 ^ param_6 == -1);" (assignment_expression "bVar6 = (bool)(bVar6 ^ param_6 == -1)" identifier = (cast_expression "(bool)(bVar6 ^ param_6 == -1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar6 ^ param_6 == -1)" ( (binary_expression "bVar6 ^ param_6 == -1" identifier ^ (binary_expression "param_6 == -1" identifier == number_literal)) )))) ;) }) (else_clause "else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" else (if_statement "if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" if (parenthesized_expression "(((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1))" ( (binary_expression "((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)" (parenthesized_expression "((uint)local_30[3] <= (uint)local_30[2])" ( (binary_expression "(uint)local_30[3] <= (uint)local_30[2]" (cast_expression "(uint)local_30[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_30[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_30[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_30[2]" identifier [ number_literal ]))) )) && (parenthesized_expression "(iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)" ( (comma_expression "iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1" (assignment_expression "iVar4 = (**(code **)(*local_30 + 0x24))(local_30)" identifier = (call_expression "(**(code **)(*local_30 + 0x24))(local_30)" (parenthesized_expression "(**(code **)(*local_30 + 0x24))" ( (pointer_expression "**(code **)(*local_30 + 0x24)" * (pointer_expression "*(code **)(*local_30 + 0x24)" * (cast_expression "(code **)(*local_30 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_30 + 0x24)" ( (binary_expression "*local_30 + 0x24" (pointer_expression "*local_30" * identifier) + number_literal) ))))) )) (argument_list "(local_30)" ( identifier )))) , (binary_expression "iVar4 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" { (expression_statement "bVar6 = (bool)(bVar6 ^ 1);" (assignment_expression "bVar6 = (bool)(bVar6 ^ 1)" identifier = (cast_expression "(bool)(bVar6 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar6 ^ 1)" ( (binary_expression "bVar6 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })))) (if_statement "if ((param_10 <= local_38) || (!bVar6)) break;" if (parenthesized_expression "((param_10 <= local_38) || (!bVar6))" ( (binary_expression "(param_10 <= local_38) || (!bVar6)" (parenthesized_expression "(param_10 <= local_38)" ( (binary_expression "param_10 <= local_38" identifier <= identifier) )) || (parenthesized_expression "(!bVar6)" ( (unary_expression "!bVar6" ! identifier) ))) )) (break_statement "break;" break ;)) (if_statement "if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" if (parenthesized_expression "((param_3 == (int *)0x0) || (!bVar10))" ( (binary_expression "(param_3 == (int *)0x0) || (!bVar10)" (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 "(!bVar10)" ( (unary_expression "!bVar10" ! identifier) ))) )) (compound_statement "{\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }" { (expression_statement "uVar7 = param_4;" (assignment_expression "uVar7 = param_4" identifier = identifier) ;) (expression_statement "uVar8 = param_4 & 0xff;" (assignment_expression "uVar8 = param_4 & 0xff" identifier = (binary_expression "param_4 & 0xff" identifier & number_literal)) ;) }) (else_clause "else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" else (if_statement "if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" if (parenthesized_expression "((byte *)param_3[2] < (byte *)param_3[3])" ( (binary_expression "(byte *)param_3[2] < (byte *)param_3[3]" (cast_expression "(byte *)param_3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(byte *)param_3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }" { (expression_statement "uVar7 = (uint)*(byte *)param_3[2];" (assignment_expression "uVar7 = (uint)*(byte *)param_3[2]" identifier = (binary_expression "(uint)*(byte *)param_3[2]" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)param_3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) (else_clause "else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" else (compound_statement "{\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" { (expression_statement "uVar7 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "uVar7 = (**(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 (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }" { (expression_statement "uVar8 = 0xff;" (assignment_expression "uVar8 = 0xff" identifier = number_literal) ;) (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) (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)) ;) }) (else_clause "else {\n        uVar8 = uVar7 & 0xff;\n      }" else (compound_statement "{\n        uVar8 = uVar7 & 0xff;\n      }" { (expression_statement "uVar8 = uVar7 & 0xff;" (assignment_expression "uVar8 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) }))) }))))) (expression_statement "cVar2 = (char)uVar7;" (assignment_expression "cVar2 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);" (assignment_expression "cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d)" identifier = (pointer_expression "*(char *)((int)piVar3 + uVar8 + 0x11d)" * (cast_expression "(char *)((int)piVar3 + uVar8 + 0x11d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + uVar8 + 0x11d)" ( (binary_expression "(int)piVar3 + uVar8 + 0x11d" (binary_expression "(int)piVar3 + uVar8" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }" { (if_statement "if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }" if (parenthesized_expression "(*(code **)(*piVar3 + 0x20) != FUN_00191b90)" ( (binary_expression "*(code **)(*piVar3 + 0x20) != FUN_00191b90" (pointer_expression "*(code **)(*piVar3 + 0x20)" * (cast_expression "(code **)(*piVar3 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x20)" ( (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" * identifier) + number_literal) )))) != identifier) )) (compound_statement "{\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }" { (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a)" identifier = (call_expression "(**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a)" (parenthesized_expression "(**(code **)(*piVar3 + 0x20))" ( (pointer_expression "**(code **)(*piVar3 + 0x20)" * (pointer_expression "*(code **)(*piVar3 + 0x20)" * (cast_expression "(code **)(*piVar3 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x20)" ( (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3,(int)cVar2,0x2a)" ( identifier , (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal )))) ;) })) (if_statement "if (cVar2 == '*') goto LAB_001fc0a3;" if (parenthesized_expression "(cVar2 == '*')" ( (binary_expression "cVar2 == '*'" identifier == (char_literal "'*'" ' character ')) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "*(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;" (assignment_expression "*(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2" (pointer_expression "*(char *)((int)piVar3 + uVar8 + 0x11d)" * (cast_expression "(char *)((int)piVar3 + uVar8 + 0x11d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + uVar8 + 0x11d)" ( (binary_expression "(int)piVar3 + uVar8 + 0x11d" (binary_expression "(int)piVar3 + uVar8" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "cVar1 = cVar2;" (assignment_expression "cVar1 = cVar2" identifier = identifier) ;) })) (if_statement "if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;" if (parenthesized_expression "(9 < (byte)(cVar1 - 0x30U))" ( (binary_expression "9 < (byte)(cVar1 - 0x30U)" number_literal < (call_expression "(byte)(cVar1 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar1 - 0x30U)" ( (binary_expression "cVar1 - 0x30U" identifier - number_literal) )))) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "local_3c = cVar1 + -0x30 + local_3c * 10;" (assignment_expression "local_3c = cVar1 + -0x30 + local_3c * 10" identifier = (binary_expression "cVar1 + -0x30 + local_3c * 10" (binary_expression "cVar1 + -0x30" identifier + number_literal) + (binary_expression "local_3c * 10" identifier * number_literal))) ;) (expression_statement "iVar4 = uVar9 * local_3c;" (assignment_expression "iVar4 = uVar9 * local_3c" identifier = (binary_expression "uVar9 * local_3c" identifier * identifier)) ;) (if_statement "if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;" if (parenthesized_expression "((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))" ( (binary_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= 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 + uVar9) <= param_8)" ( (binary_expression "(int)(iVar4 + uVar9) <= param_8" (cast_expression "(int)(iVar4 + uVar9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 + uVar9)" ( (binary_expression "iVar4 + uVar9" identifier + identifier) ))) <= identifier) ))) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "uVar9 = uVar9 / 10;" (assignment_expression "uVar9 = uVar9 / 10" identifier = (binary_expression "uVar9 / 10" identifier / number_literal)) ;) (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\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] + 1;\n    }" { (expression_statement "param_3[2] = param_3[2] + 1;" (assignment_expression "param_3[2] = param_3[2] + 1" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "param_3[2] + 1" (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 "param_4 = 0xffffffff;" (assignment_expression "param_4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) (expression_statement "bVar10 = true;" (assignment_expression "bVar10 = true" identifier = true) ;) (expression_statement "bVar5 = param_3 != (int *)0x0;" (assignment_expression "bVar5 = 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))) ;) (expression_statement "bVar6 = bVar10;" (assignment_expression "bVar6 = bVar10" identifier = identifier) ;) (if_statement "if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }" { (labeled_statement "LAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }" statement_identifier : (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\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        bVar6 = false;\n      }" { (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) }) (else_clause "else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }" else (compound_statement "{\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\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 )))) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (if_statement "if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\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 "bVar6 = bVar5;" (assignment_expression "bVar6 = bVar5" identifier = identifier) ;) })) })))) })) })) (if_statement "if (local_38 == param_10) goto LAB_001fc0b4;" if (parenthesized_expression "(local_38 == param_10)" ( (binary_expression "local_38 == param_10" identifier == identifier) )) (goto_statement "goto LAB_001fc0b4;" goto statement_identifier ;)) (labeled_statement "LAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" statement_identifier : (if_statement "if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" if (parenthesized_expression "((param_10 == 4) && (local_38 == 2))" ( (binary_expression "(param_10 == 4) && (local_38 == 2)" (parenthesized_expression "(param_10 == 4)" ( (binary_expression "param_10 == 4" identifier == number_literal) )) && (parenthesized_expression "(local_38 == 2)" ( (binary_expression "local_38 == 2" identifier == number_literal) ))) )) (compound_statement "{\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }" { (expression_statement "local_3c = local_3c + -100;" (assignment_expression "local_3c = local_3c + -100" identifier = (binary_expression "local_3c + -100" identifier + number_literal)) ;) (labeled_statement "LAB_001fc0b4:\n    *param_7 = local_3c;" statement_identifier : (expression_statement "*param_7 = local_3c;" (assignment_expression "*param_7 = local_3c" (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] = param_4;" (assignment_expression "param_1[1] = param_4" (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<char, std::istreambuf_iterator<char, std::char_traits<char> >\n   >::_M_extract_num(std::istreambuf_iterator<char, std::char_traits<char> >,\n   std::istreambuf_iterator<char, std::char_traits<char> >, int&, int, int, unsigned int,\n   std::ios_base&, std::_Ios_Iostate&) const */\n\nvoid std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::_M_extract_num\n               (undefined4 *param_1,undefined4 param_2,int *param_3,uint 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  ctype cVar1;\n  ctype cVar2;\n  ctype *pcVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  pcVar3 = use_facet<std::ctype<char>>((locale *)(param_11 + 0x6c));\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = SUB41(uVar7,0);\n    cVar1 = pcVar3[uVar8 + 0x11d];\n    if (pcVar3[uVar8 + 0x11d] == (ctype)0x0) {\n      if (*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow) {\n        cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);\n      }\n      if (cVar2 == (ctype)0x2a) goto LAB_001fc0a3;\n      pcVar3[uVar8 + 0x11d] = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)((char)cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = (char)cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}\n\n" comment comment (declaration "void std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::_M_extract_num\n               (undefined4 *param_1,undefined4 param_2,int *param_3,uint 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  ctype cVar1;" primitive_type (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>>::_M_extract_num\n               (undefined4 *param_1,undefined4 param_2,int *param_3,uint 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  ctype" identifier : : identifier < primitive_type >> > : : (function_declarator "_M_extract_num\n               (undefined4 *param_1,undefined4 param_2,int *param_3,uint 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,uint 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 "uint param_4" type_identifier 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)) ))) { identifier) identifier ;) (declaration "ctype cVar2;" type_identifier identifier ;) (declaration "ctype *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (expression_statement "uVar9 = 10;" (assignment_expression "uVar9 = 10" identifier = number_literal) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "pcVar3 = use_facet<std::ctype<char>>((locale *)(param_11 + 0x6c));" (update_expression "pcVar3 = use_facet<std::ctype<char>>((locale *)(param_11 + 0x6c))" (binary_expression "pcVar3 = use_facet<std::ctype<char>>((locale *)(param_11 + 0x6c))" (assignment_expression "pcVar3 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "char>>((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) ))) )))) --) ;) (if_statement "if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }" if (parenthesized_expression "((param_10 != 2) && (uVar9 = 1000, param_10 != 4))" ( (binary_expression "(param_10 != 2) && (uVar9 = 1000, param_10 != 4)" (parenthesized_expression "(param_10 != 2)" ( (binary_expression "param_10 != 2" identifier != number_literal) )) && (parenthesized_expression "(uVar9 = 1000, param_10 != 4)" ( (comma_expression "uVar9 = 1000, param_10 != 4" (assignment_expression "uVar9 = 1000" identifier = number_literal) , (binary_expression "param_10 != 4" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar9 = 1;\n  }" { (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) })) (expression_statement "bVar10 = param_4 == 0xffffffff;" (assignment_expression "bVar10 = param_4 == 0xffffffff" identifier = (binary_expression "param_4 == 0xffffffff" identifier == number_literal)) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "bVar5 = param_3 != (int *)0x0 && bVar10;" (assignment_expression "bVar5 = param_3 != (int *)0x0 && bVar10" identifier = (binary_expression "param_3 != (int *)0x0 && bVar10" (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (expression_statement "bVar6 = bVar10;" (assignment_expression "bVar6 = bVar10" identifier = identifier) ;) (if_statement "if (bVar5) goto LAB_001fc039;" if (parenthesized_expression "(bVar5)" ( identifier )) (goto_statement "goto LAB_001fc039;" goto statement_identifier ;)) (while_statement "while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = SUB41(uVar7,0);\n    cVar1 = pcVar3[uVar8 + 0x11d];\n    if (pcVar3[uVar8 + 0x11d] == (ctype)0x0) {\n      if (*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow) {\n        cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);\n      }\n      if (cVar2 == (ctype)0x2a) goto LAB_001fc0a3;\n      pcVar3[uVar8 + 0x11d] = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)((char)cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = (char)cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = SUB41(uVar7,0);\n    cVar1 = pcVar3[uVar8 + 0x11d];\n    if (pcVar3[uVar8 + 0x11d] == (ctype)0x0) {\n      if (*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow) {\n        cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);\n      }\n      if (cVar2 == (ctype)0x2a) goto LAB_001fc0a3;\n      pcVar3[uVar8 + 0x11d] = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)((char)cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = (char)cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }" { (if_statement "if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" if (parenthesized_expression "((local_30 == (int *)0x0) || (param_6 != -1))" ( (binary_expression "(local_30 == (int *)0x0) || (param_6 != -1)" (parenthesized_expression "(local_30 == (int *)0x0)" ( (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_6 != -1)" ( (binary_expression "param_6 != -1" identifier != number_literal) ))) )) (compound_statement "{\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }" { (expression_statement "bVar6 = (bool)(bVar6 ^ param_6 == -1);" (assignment_expression "bVar6 = (bool)(bVar6 ^ param_6 == -1)" identifier = (cast_expression "(bool)(bVar6 ^ param_6 == -1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar6 ^ param_6 == -1)" ( (binary_expression "bVar6 ^ param_6 == -1" identifier ^ (binary_expression "param_6 == -1" identifier == number_literal)) )))) ;) }) (else_clause "else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" else (if_statement "if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" if (parenthesized_expression "(((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1))" ( (binary_expression "((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)" (parenthesized_expression "((uint)local_30[3] <= (uint)local_30[2])" ( (binary_expression "(uint)local_30[3] <= (uint)local_30[2]" (cast_expression "(uint)local_30[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_30[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_30[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_30[2]" identifier [ number_literal ]))) )) && (parenthesized_expression "(iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)" ( (comma_expression "iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1" (assignment_expression "iVar4 = (**(code **)(*local_30 + 0x24))(local_30)" identifier = (call_expression "(**(code **)(*local_30 + 0x24))(local_30)" (parenthesized_expression "(**(code **)(*local_30 + 0x24))" ( (pointer_expression "**(code **)(*local_30 + 0x24)" * (pointer_expression "*(code **)(*local_30 + 0x24)" * (cast_expression "(code **)(*local_30 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_30 + 0x24)" ( (binary_expression "*local_30 + 0x24" (pointer_expression "*local_30" * identifier) + number_literal) ))))) )) (argument_list "(local_30)" ( identifier )))) , (binary_expression "iVar4 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" { (expression_statement "bVar6 = (bool)(bVar6 ^ 1);" (assignment_expression "bVar6 = (bool)(bVar6 ^ 1)" identifier = (cast_expression "(bool)(bVar6 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar6 ^ 1)" ( (binary_expression "bVar6 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })))) (if_statement "if ((param_10 <= local_38) || (!bVar6)) break;" if (parenthesized_expression "((param_10 <= local_38) || (!bVar6))" ( (binary_expression "(param_10 <= local_38) || (!bVar6)" (parenthesized_expression "(param_10 <= local_38)" ( (binary_expression "param_10 <= local_38" identifier <= identifier) )) || (parenthesized_expression "(!bVar6)" ( (unary_expression "!bVar6" ! identifier) ))) )) (break_statement "break;" break ;)) (if_statement "if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" if (parenthesized_expression "((param_3 == (int *)0x0) || (!bVar10))" ( (binary_expression "(param_3 == (int *)0x0) || (!bVar10)" (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 "(!bVar10)" ( (unary_expression "!bVar10" ! identifier) ))) )) (compound_statement "{\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }" { (expression_statement "uVar7 = param_4;" (assignment_expression "uVar7 = param_4" identifier = identifier) ;) (expression_statement "uVar8 = param_4 & 0xff;" (assignment_expression "uVar8 = param_4 & 0xff" identifier = (binary_expression "param_4 & 0xff" identifier & number_literal)) ;) }) (else_clause "else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" else (if_statement "if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" if (parenthesized_expression "((byte *)param_3[2] < (byte *)param_3[3])" ( (binary_expression "(byte *)param_3[2] < (byte *)param_3[3]" (cast_expression "(byte *)param_3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(byte *)param_3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }" { (expression_statement "uVar7 = (uint)*(byte *)param_3[2];" (assignment_expression "uVar7 = (uint)*(byte *)param_3[2]" identifier = (binary_expression "(uint)*(byte *)param_3[2]" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)param_3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) (else_clause "else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" else (compound_statement "{\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" { (expression_statement "uVar7 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "uVar7 = (**(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 (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }" { (expression_statement "uVar8 = 0xff;" (assignment_expression "uVar8 = 0xff" identifier = number_literal) ;) (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) (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)) ;) }) (else_clause "else {\n        uVar8 = uVar7 & 0xff;\n      }" else (compound_statement "{\n        uVar8 = uVar7 & 0xff;\n      }" { (expression_statement "uVar8 = uVar7 & 0xff;" (assignment_expression "uVar8 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) }))) }))))) (expression_statement "cVar2 = SUB41(uVar7,0);" (assignment_expression "cVar2 = SUB41(uVar7,0)" identifier = (call_expression "SUB41(uVar7,0)" identifier (argument_list "(uVar7,0)" ( identifier , number_literal )))) ;) (expression_statement "cVar1 = pcVar3[uVar8 + 0x11d];" (assignment_expression "cVar1 = pcVar3[uVar8 + 0x11d]" identifier = (subscript_expression "pcVar3[uVar8 + 0x11d]" identifier [ (binary_expression "uVar8 + 0x11d" identifier + number_literal) ])) ;) (if_statement "if (pcVar3[uVar8 + 0x11d] == (ctype)0x0) {\n      if (*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow) {\n        cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);\n      }\n      if (cVar2 == (ctype)0x2a) goto LAB_001fc0a3;\n      pcVar3[uVar8 + 0x11d] = cVar2;\n      cVar1 = cVar2;\n    }" if (parenthesized_expression "(pcVar3[uVar8 + 0x11d] == (ctype)0x0)" ( (binary_expression "pcVar3[uVar8 + 0x11d] == (ctype)0x0" (subscript_expression "pcVar3[uVar8 + 0x11d]" identifier [ (binary_expression "uVar8 + 0x11d" identifier + number_literal) ]) == (cast_expression "(ctype)0x0" ( (type_descriptor "ctype" type_identifier) ) number_literal)) )) (compound_statement "{\n      if (*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow) {\n        cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);\n      }\n      if (cVar2 == (ctype)0x2a) goto LAB_001fc0a3;\n      pcVar3[uVar8 + 0x11d] = cVar2;\n      cVar1 = cVar2;\n    }" { (if_statement "if (*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow) {\n        cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);\n      }" if (parenthesized_expression "(*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow)" ( (binary_expression "*(code **)(*(int *)pcVar3 + 0x20) != ctype<char>::do_narrow" (pointer_expression "*(code **)(*(int *)pcVar3 + 0x20)" * (cast_expression "(code **)(*(int *)pcVar3 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)pcVar3 + 0x20)" ( (binary_expression "*(int *)pcVar3 + 0x20" (pointer_expression "*(int *)pcVar3" * (cast_expression "(int *)pcVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != (binary_expression "ctype<char>::do_narrow" (binary_expression "ctype<char" identifier < identifier) > (ERROR "::" : :) identifier)) )) (compound_statement "{\n        cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);\n      }" { (expression_statement "cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a);" (assignment_expression "cVar2 = (ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a)" identifier = (call_expression "(ctype)(**(code **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)cVar2,0x2a)" (call_expression "(ctype)(**(code **)(*(int *)pcVar3 + 0x20))" (parenthesized_expression "(ctype)" ( identifier )) (argument_list "(**(code **)(*(int *)pcVar3 + 0x20))" ( (pointer_expression "**(code **)(*(int *)pcVar3 + 0x20)" * (pointer_expression "*(code **)(*(int *)pcVar3 + 0x20)" * (cast_expression "(code **)(*(int *)pcVar3 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)pcVar3 + 0x20)" ( (binary_expression "*(int *)pcVar3 + 0x20" (pointer_expression "*(int *)pcVar3" * (cast_expression "(int *)pcVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) (argument_list "(pcVar3,(int)(char)cVar2,0x2a)" ( identifier , (cast_expression "(int)(char)cVar2" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)cVar2" ( (type_descriptor "char" primitive_type) ) identifier)) , number_literal )))) ;) })) (if_statement "if (cVar2 == (ctype)0x2a) goto LAB_001fc0a3;" if (parenthesized_expression "(cVar2 == (ctype)0x2a)" ( (binary_expression "cVar2 == (ctype)0x2a" identifier == (cast_expression "(ctype)0x2a" ( (type_descriptor "ctype" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "pcVar3[uVar8 + 0x11d] = cVar2;" (assignment_expression "pcVar3[uVar8 + 0x11d] = cVar2" (subscript_expression "pcVar3[uVar8 + 0x11d]" identifier [ (binary_expression "uVar8 + 0x11d" identifier + number_literal) ]) = identifier) ;) (expression_statement "cVar1 = cVar2;" (assignment_expression "cVar1 = cVar2" identifier = identifier) ;) })) (if_statement "if (9 < (byte)((char)cVar1 - 0x30U)) goto LAB_001fc0a3;" if (parenthesized_expression "(9 < (byte)((char)cVar1 - 0x30U))" ( (binary_expression "9 < (byte)((char)cVar1 - 0x30U)" number_literal < (call_expression "(byte)((char)cVar1 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((char)cVar1 - 0x30U)" ( (binary_expression "(char)cVar1 - 0x30U" (cast_expression "(char)cVar1" ( (type_descriptor "char" primitive_type) ) identifier) - number_literal) )))) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "local_3c = (char)cVar1 + -0x30 + local_3c * 10;" (assignment_expression "local_3c = (char)cVar1 + -0x30 + local_3c * 10" identifier = (binary_expression "(char)cVar1 + -0x30 + local_3c * 10" (binary_expression "(char)cVar1 + -0x30" (cast_expression "(char)cVar1" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal) + (binary_expression "local_3c * 10" identifier * number_literal))) ;) (expression_statement "iVar4 = uVar9 * local_3c;" (assignment_expression "iVar4 = uVar9 * local_3c" identifier = (binary_expression "uVar9 * local_3c" identifier * identifier)) ;) (if_statement "if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;" if (parenthesized_expression "((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))" ( (binary_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= 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 + uVar9) <= param_8)" ( (binary_expression "(int)(iVar4 + uVar9) <= param_8" (cast_expression "(int)(iVar4 + uVar9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 + uVar9)" ( (binary_expression "iVar4 + uVar9" identifier + identifier) ))) <= identifier) ))) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "uVar9 = uVar9 / 10;" (assignment_expression "uVar9 = uVar9 / 10" identifier = (binary_expression "uVar9 / 10" identifier / number_literal)) ;) (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\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] + 1;\n    }" { (expression_statement "param_3[2] = param_3[2] + 1;" (assignment_expression "param_3[2] = param_3[2] + 1" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "param_3[2] + 1" (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 "param_4 = 0xffffffff;" (assignment_expression "param_4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) (expression_statement "bVar10 = true;" (assignment_expression "bVar10 = true" identifier = true) ;) (expression_statement "bVar5 = param_3 != (int *)0x0;" (assignment_expression "bVar5 = 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))) ;) (expression_statement "bVar6 = bVar10;" (assignment_expression "bVar6 = bVar10" identifier = identifier) ;) (if_statement "if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }" { (labeled_statement "LAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }" statement_identifier : (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\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        bVar6 = false;\n      }" { (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) }) (else_clause "else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }" else (compound_statement "{\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\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 )))) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (if_statement "if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\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 "bVar6 = bVar5;" (assignment_expression "bVar6 = bVar5" identifier = identifier) ;) })) })))) })) })) (if_statement "if (local_38 == param_10) goto LAB_001fc0b4;" if (parenthesized_expression "(local_38 == param_10)" ( (binary_expression "local_38 == param_10" identifier == identifier) )) (goto_statement "goto LAB_001fc0b4;" goto statement_identifier ;)) (labeled_statement "LAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" statement_identifier : (if_statement "if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" if (parenthesized_expression "((param_10 == 4) && (local_38 == 2))" ( (binary_expression "(param_10 == 4) && (local_38 == 2)" (parenthesized_expression "(param_10 == 4)" ( (binary_expression "param_10 == 4" identifier == number_literal) )) && (parenthesized_expression "(local_38 == 2)" ( (binary_expression "local_38 == 2" identifier == number_literal) ))) )) (compound_statement "{\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }" { (expression_statement "local_3c = local_3c + -100;" (assignment_expression "local_3c = local_3c + -100" identifier = (binary_expression "local_3c + -100" identifier + number_literal)) ;) (labeled_statement "LAB_001fc0b4:\n    *param_7 = local_3c;" statement_identifier : (expression_statement "*param_7 = local_3c;" (assignment_expression "*param_7 = local_3c" (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] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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  char cVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}\n\n" (function_definition "void FUN_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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  char cVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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,uint 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 "uint param_4" type_identifier 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  char cVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "uint local_38;" type_identifier identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (expression_statement "uVar9 = 10;" (assignment_expression "uVar9 = 10" identifier = number_literal) ;) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" identifier = identifier) ;) (expression_statement "piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);" (assignment_expression "piVar3 = (int *)FUN_001957d0(param_11 + 0x6c)" identifier = (cast_expression "(int *)FUN_001957d0(param_11 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001957d0(param_11 + 0x6c)" identifier (argument_list "(param_11 + 0x6c)" ( (binary_expression "param_11 + 0x6c" identifier + number_literal) ))))) ;) (if_statement "if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }" if (parenthesized_expression "((param_10 != 2) && (uVar9 = 1000, param_10 != 4))" ( (binary_expression "(param_10 != 2) && (uVar9 = 1000, param_10 != 4)" (parenthesized_expression "(param_10 != 2)" ( (binary_expression "param_10 != 2" identifier != number_literal) )) && (parenthesized_expression "(uVar9 = 1000, param_10 != 4)" ( (comma_expression "uVar9 = 1000, param_10 != 4" (assignment_expression "uVar9 = 1000" identifier = number_literal) , (binary_expression "param_10 != 4" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar9 = 1;\n  }" { (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" identifier = number_literal) ;) })) (expression_statement "bVar10 = param_4 == 0xffffffff;" (assignment_expression "bVar10 = param_4 == 0xffffffff" identifier = (binary_expression "param_4 == 0xffffffff" identifier == number_literal)) ;) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "bVar5 = param_3 != (int *)0x0 && bVar10;" (assignment_expression "bVar5 = param_3 != (int *)0x0 && bVar10" identifier = (binary_expression "param_3 != (int *)0x0 && bVar10" (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (expression_statement "bVar6 = bVar10;" (assignment_expression "bVar6 = bVar10" identifier = identifier) ;) (if_statement "if (bVar5) goto LAB_001fc039;" if (parenthesized_expression "(bVar5)" ( identifier )) (goto_statement "goto LAB_001fc039;" goto statement_identifier ;)) (while_statement "while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }" { (if_statement "if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" if (parenthesized_expression "((local_30 == (int *)0x0) || (param_6 != -1))" ( (binary_expression "(local_30 == (int *)0x0) || (param_6 != -1)" (parenthesized_expression "(local_30 == (int *)0x0)" ( (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(param_6 != -1)" ( (binary_expression "param_6 != -1" identifier != number_literal) ))) )) (compound_statement "{\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }" { (expression_statement "bVar6 = (bool)(bVar6 ^ param_6 == -1);" (assignment_expression "bVar6 = (bool)(bVar6 ^ param_6 == -1)" identifier = (cast_expression "(bool)(bVar6 ^ param_6 == -1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar6 ^ param_6 == -1)" ( (binary_expression "bVar6 ^ param_6 == -1" identifier ^ (binary_expression "param_6 == -1" identifier == number_literal)) )))) ;) }) (else_clause "else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" else (if_statement "if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" if (parenthesized_expression "(((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1))" ( (binary_expression "((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)" (parenthesized_expression "((uint)local_30[3] <= (uint)local_30[2])" ( (binary_expression "(uint)local_30[3] <= (uint)local_30[2]" (cast_expression "(uint)local_30[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_30[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_30[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_30[2]" identifier [ number_literal ]))) )) && (parenthesized_expression "(iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)" ( (comma_expression "iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1" (assignment_expression "iVar4 = (**(code **)(*local_30 + 0x24))(local_30)" identifier = (call_expression "(**(code **)(*local_30 + 0x24))(local_30)" (parenthesized_expression "(**(code **)(*local_30 + 0x24))" ( (pointer_expression "**(code **)(*local_30 + 0x24)" * (pointer_expression "*(code **)(*local_30 + 0x24)" * (cast_expression "(code **)(*local_30 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_30 + 0x24)" ( (binary_expression "*local_30 + 0x24" (pointer_expression "*local_30" * identifier) + number_literal) ))))) )) (argument_list "(local_30)" ( identifier )))) , (binary_expression "iVar4 == -1" identifier == number_literal)) ))) )) (compound_statement "{\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" { (expression_statement "bVar6 = (bool)(bVar6 ^ 1);" (assignment_expression "bVar6 = (bool)(bVar6 ^ 1)" identifier = (cast_expression "(bool)(bVar6 ^ 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(bVar6 ^ 1)" ( (binary_expression "bVar6 ^ 1" identifier ^ number_literal) )))) ;) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })))) (if_statement "if ((param_10 <= local_38) || (!bVar6)) break;" if (parenthesized_expression "((param_10 <= local_38) || (!bVar6))" ( (binary_expression "(param_10 <= local_38) || (!bVar6)" (parenthesized_expression "(param_10 <= local_38)" ( (binary_expression "param_10 <= local_38" identifier <= identifier) )) || (parenthesized_expression "(!bVar6)" ( (unary_expression "!bVar6" ! identifier) ))) )) (break_statement "break;" break ;)) (if_statement "if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" if (parenthesized_expression "((param_3 == (int *)0x0) || (!bVar10))" ( (binary_expression "(param_3 == (int *)0x0) || (!bVar10)" (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 "(!bVar10)" ( (unary_expression "!bVar10" ! identifier) ))) )) (compound_statement "{\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }" { (expression_statement "uVar7 = param_4;" (assignment_expression "uVar7 = param_4" identifier = identifier) ;) (expression_statement "uVar8 = param_4 & 0xff;" (assignment_expression "uVar8 = param_4 & 0xff" identifier = (binary_expression "param_4 & 0xff" identifier & number_literal)) ;) }) (else_clause "else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" else (if_statement "if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" if (parenthesized_expression "((byte *)param_3[2] < (byte *)param_3[3])" ( (binary_expression "(byte *)param_3[2] < (byte *)param_3[3]" (cast_expression "(byte *)param_3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])) < (cast_expression "(byte *)param_3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }" { (expression_statement "uVar7 = (uint)*(byte *)param_3[2];" (assignment_expression "uVar7 = (uint)*(byte *)param_3[2]" identifier = (binary_expression "(uint)*(byte *)param_3[2]" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)param_3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) (else_clause "else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" else (compound_statement "{\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" { (expression_statement "uVar7 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "uVar7 = (**(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 (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }" { (expression_statement "uVar8 = 0xff;" (assignment_expression "uVar8 = 0xff" identifier = number_literal) ;) (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) (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)) ;) }) (else_clause "else {\n        uVar8 = uVar7 & 0xff;\n      }" else (compound_statement "{\n        uVar8 = uVar7 & 0xff;\n      }" { (expression_statement "uVar8 = uVar7 & 0xff;" (assignment_expression "uVar8 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) }))) }))))) (expression_statement "cVar2 = (char)uVar7;" (assignment_expression "cVar2 = (char)uVar7" identifier = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);" (assignment_expression "cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d)" identifier = (pointer_expression "*(char *)((int)piVar3 + uVar8 + 0x11d)" * (cast_expression "(char *)((int)piVar3 + uVar8 + 0x11d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + uVar8 + 0x11d)" ( (binary_expression "(int)piVar3 + uVar8 + 0x11d" (binary_expression "(int)piVar3 + uVar8" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;) (if_statement "if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }" { (if_statement "if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }" if (parenthesized_expression "(*(code **)(*piVar3 + 0x20) != FUN_00191b90)" ( (binary_expression "*(code **)(*piVar3 + 0x20) != FUN_00191b90" (pointer_expression "*(code **)(*piVar3 + 0x20)" * (cast_expression "(code **)(*piVar3 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x20)" ( (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" * identifier) + number_literal) )))) != identifier) )) (compound_statement "{\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }" { (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a)" identifier = (call_expression "(**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a)" (parenthesized_expression "(**(code **)(*piVar3 + 0x20))" ( (pointer_expression "**(code **)(*piVar3 + 0x20)" * (pointer_expression "*(code **)(*piVar3 + 0x20)" * (cast_expression "(code **)(*piVar3 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x20)" ( (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3,(int)cVar2,0x2a)" ( identifier , (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal )))) ;) })) (if_statement "if (cVar2 == '*') goto LAB_001fc0a3;" if (parenthesized_expression "(cVar2 == '*')" ( (binary_expression "cVar2 == '*'" identifier == (char_literal "'*'" ' character ')) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "*(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;" (assignment_expression "*(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2" (pointer_expression "*(char *)((int)piVar3 + uVar8 + 0x11d)" * (cast_expression "(char *)((int)piVar3 + uVar8 + 0x11d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + uVar8 + 0x11d)" ( (binary_expression "(int)piVar3 + uVar8 + 0x11d" (binary_expression "(int)piVar3 + uVar8" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "cVar1 = cVar2;" (assignment_expression "cVar1 = cVar2" identifier = identifier) ;) })) (if_statement "if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;" if (parenthesized_expression "(9 < (byte)(cVar1 - 0x30U))" ( (binary_expression "9 < (byte)(cVar1 - 0x30U)" number_literal < (call_expression "(byte)(cVar1 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar1 - 0x30U)" ( (binary_expression "cVar1 - 0x30U" identifier - number_literal) )))) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "local_3c = cVar1 + -0x30 + local_3c * 10;" (assignment_expression "local_3c = cVar1 + -0x30 + local_3c * 10" identifier = (binary_expression "cVar1 + -0x30 + local_3c * 10" (binary_expression "cVar1 + -0x30" identifier + number_literal) + (binary_expression "local_3c * 10" identifier * number_literal))) ;) (expression_statement "iVar4 = uVar9 * local_3c;" (assignment_expression "iVar4 = uVar9 * local_3c" identifier = (binary_expression "uVar9 * local_3c" identifier * identifier)) ;) (if_statement "if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;" if (parenthesized_expression "((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))" ( (binary_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= 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 + uVar9) <= param_8)" ( (binary_expression "(int)(iVar4 + uVar9) <= param_8" (cast_expression "(int)(iVar4 + uVar9)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar4 + uVar9)" ( (binary_expression "iVar4 + uVar9" identifier + identifier) ))) <= identifier) ))) )) (goto_statement "goto LAB_001fc0a3;" goto statement_identifier ;)) (expression_statement "uVar9 = uVar9 / 10;" (assignment_expression "uVar9 = uVar9 / 10" identifier = (binary_expression "uVar9 / 10" identifier / number_literal)) ;) (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\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] + 1;\n    }" { (expression_statement "param_3[2] = param_3[2] + 1;" (assignment_expression "param_3[2] = param_3[2] + 1" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (binary_expression "param_3[2] + 1" (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 "param_4 = 0xffffffff;" (assignment_expression "param_4 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) (expression_statement "bVar10 = true;" (assignment_expression "bVar10 = true" identifier = true) ;) (expression_statement "bVar5 = param_3 != (int *)0x0;" (assignment_expression "bVar5 = 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))) ;) (expression_statement "bVar6 = bVar10;" (assignment_expression "bVar6 = bVar10" identifier = identifier) ;) (if_statement "if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }" { (labeled_statement "LAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }" statement_identifier : (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\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        bVar6 = false;\n      }" { (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) }) (else_clause "else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }" else (compound_statement "{\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\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 )))) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (if_statement "if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (compound_statement "{\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\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 "bVar6 = bVar5;" (assignment_expression "bVar6 = bVar5" identifier = identifier) ;) })) })))) })) })) (if_statement "if (local_38 == param_10) goto LAB_001fc0b4;" if (parenthesized_expression "(local_38 == param_10)" ( (binary_expression "local_38 == param_10" identifier == identifier) )) (goto_statement "goto LAB_001fc0b4;" goto statement_identifier ;)) (labeled_statement "LAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" statement_identifier : (if_statement "if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" if (parenthesized_expression "((param_10 == 4) && (local_38 == 2))" ( (binary_expression "(param_10 == 4) && (local_38 == 2)" (parenthesized_expression "(param_10 == 4)" ( (binary_expression "param_10 == 4" identifier == number_literal) )) && (parenthesized_expression "(local_38 == 2)" ( (binary_expression "local_38 == 2" identifier == number_literal) ))) )) (compound_statement "{\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }" { (expression_statement "local_3c = local_3c + -100;" (assignment_expression "local_3c = local_3c + -100" identifier = (binary_expression "local_3c + -100" identifier + number_literal)) ;) (labeled_statement "LAB_001fc0b4:\n    *param_7 = local_3c;" statement_identifier : (expression_statement "*param_7 = local_3c;" (assignment_expression "*param_7 = local_3c" (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] = param_4;" (assignment_expression "param_1[1] = param_4" (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 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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) ))))) ;) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT ^ (binary_expression IDENT == LIT)) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT ^ LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) || (parenthesized_expression ( (unary_expression ! IDENT) ))) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (unary_expression ! IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }) (else_clause else (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 = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }))) }))))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != IDENT) )) (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 , (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (labeled_statement statement_identifier : (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 IDENT = BOOL) ;) }) (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 = BOOL) ;) (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 = IDENT) ;) })) })))) })) })) (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_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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  char cVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001fbec0(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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_001fbec0") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,uint 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 "uint param_4" (type_identifier "uint") (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  char cVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  bool bVar5;\n  bool bVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  bool bVar10;\n  int local_3c;\n  uint local_38;\n  int *local_30;\n  \n  uVar9 = 10;\n  local_30 = param_5;\n  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);\n  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }\n  bVar10 = param_4 == 0xffffffff;\n  local_38 = 0;\n  local_3c = 0;\n  bVar5 = param_3 != (int *)0x0 && bVar10;\n  bVar6 = bVar10;\n  if (bVar5) goto LAB_001fc039;\n  while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }\n  if (local_38 == param_10) goto LAB_001fc0b4;\nLAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }\n  *param_1 = param_3;\n  param_1[1] = param_4;\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (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 "bool bVar5;" (primitive_type "bool") (identifier "bVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "bool bVar10;" (primitive_type "bool") (identifier "bVar10") (; ";")) (declaration "int local_3c;" (primitive_type "int") (identifier "local_3c") (; ";")) (declaration "uint local_38;" (type_identifier "uint") (identifier "local_38") (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (expression_statement "uVar9 = 10;" (assignment_expression "uVar9 = 10" (identifier "uVar9") (= "=") (number_literal "10")) (; ";")) (expression_statement "local_30 = param_5;" (assignment_expression "local_30 = param_5" (identifier "local_30") (= "=") (identifier "param_5")) (; ";")) (expression_statement "piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);" (assignment_expression "piVar3 = (int *)FUN_001957d0(param_11 + 0x6c)" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_001957d0(param_11 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001957d0(param_11 + 0x6c)" (identifier "FUN_001957d0") (argument_list "(param_11 + 0x6c)" (( "(") (binary_expression "param_11 + 0x6c" (identifier "param_11") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (if_statement "if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {\n    uVar9 = 1;\n  }" (if "if") (parenthesized_expression "((param_10 != 2) && (uVar9 = 1000, param_10 != 4))" (( "(") (binary_expression "(param_10 != 2) && (uVar9 = 1000, param_10 != 4)" (parenthesized_expression "(param_10 != 2)" (( "(") (binary_expression "param_10 != 2" (identifier "param_10") (!= "!=") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(uVar9 = 1000, param_10 != 4)" (( "(") (comma_expression "uVar9 = 1000, param_10 != 4" (assignment_expression "uVar9 = 1000" (identifier "uVar9") (= "=") (number_literal "1000")) (, ",") (binary_expression "param_10 != 4" (identifier "param_10") (!= "!=") (number_literal "4"))) () ")"))) () ")")) (compound_statement "{\n    uVar9 = 1;\n  }" ({ "{") (expression_statement "uVar9 = 1;" (assignment_expression "uVar9 = 1" (identifier "uVar9") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "bVar10 = param_4 == 0xffffffff;" (assignment_expression "bVar10 = param_4 == 0xffffffff" (identifier "bVar10") (= "=") (binary_expression "param_4 == 0xffffffff" (identifier "param_4") (== "==") (number_literal "0xffffffff"))) (; ";")) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" (identifier "local_38") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar5 = param_3 != (int *)0x0 && bVar10;" (assignment_expression "bVar5 = param_3 != (int *)0x0 && bVar10" (identifier "bVar5") (= "=") (binary_expression "param_3 != (int *)0x0 && bVar10" (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"))) (&& "&&") (identifier "bVar10"))) (; ";")) (expression_statement "bVar6 = bVar10;" (assignment_expression "bVar6 = bVar10" (identifier "bVar6") (= "=") (identifier "bVar10")) (; ";")) (if_statement "if (bVar5) goto LAB_001fc039;" (if "if") (parenthesized_expression "(bVar5)" (( "(") (identifier "bVar5") () ")")) (goto_statement "goto LAB_001fc039;" (goto "goto") (statement_identifier "LAB_001fc039") (; ";"))) (while_statement "while( true ) {\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }\n    if ((param_10 <= local_38) || (!bVar6)) break;\n    if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }\n    cVar2 = (char)uVar7;\n    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);\n    if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }\n    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;\n    local_3c = cVar1 + -0x30 + local_3c * 10;\n    iVar4 = uVar9 * local_3c;\n    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;\n    uVar9 = uVar9 / 10;\n    if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\n    }\n    else {\n      (**(code **)(*param_3 + 0x28))(param_3);\n    }\n    param_4 = 0xffffffff;\n    local_38 = local_38 + 1;\n    bVar10 = true;\n    bVar5 = param_3 != (int *)0x0;\n    bVar6 = bVar10;\n    if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }\n  }" ({ "{") (if_statement "if ((local_30 == (int *)0x0) || (param_6 != -1)) {\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }\n    else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" (if "if") (parenthesized_expression "((local_30 == (int *)0x0) || (param_6 != -1))" (( "(") (binary_expression "(local_30 == (int *)0x0) || (param_6 != -1)" (parenthesized_expression "(local_30 == (int *)0x0)" (( "(") (binary_expression "local_30 == (int *)0x0" (identifier "local_30") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(param_6 != -1)" (( "(") (binary_expression "param_6 != -1" (identifier "param_6") (!= "!=") (number_literal "-1")) () ")"))) () ")")) (compound_statement "{\n      bVar6 = (bool)(bVar6 ^ param_6 == -1);\n    }" ({ "{") (expression_statement "bVar6 = (bool)(bVar6 ^ param_6 == -1);" (assignment_expression "bVar6 = (bool)(bVar6 ^ param_6 == -1)" (identifier "bVar6") (= "=") (cast_expression "(bool)(bVar6 ^ param_6 == -1)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(bVar6 ^ param_6 == -1)" (( "(") (binary_expression "bVar6 ^ param_6 == -1" (identifier "bVar6") (^ "^") (binary_expression "param_6 == -1" (identifier "param_6") (== "==") (number_literal "-1"))) () ")")))) (; ";")) (} "}")) (else_clause "else if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" (else "else") (if_statement "if (((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" (if "if") (parenthesized_expression "(((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1))" (( "(") (binary_expression "((uint)local_30[3] <= (uint)local_30[2]) &&\n            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)" (parenthesized_expression "((uint)local_30[3] <= (uint)local_30[2])" (( "(") (binary_expression "(uint)local_30[3] <= (uint)local_30[2]" (cast_expression "(uint)local_30[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_30[3]" (identifier "local_30") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(uint)local_30[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")))) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)" (( "(") (comma_expression "iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1" (assignment_expression "iVar4 = (**(code **)(*local_30 + 0x24))(local_30)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(*local_30 + 0x24))(local_30)" (parenthesized_expression "(**(code **)(*local_30 + 0x24))" (( "(") (pointer_expression "**(code **)(*local_30 + 0x24)" (* "*") (pointer_expression "*(code **)(*local_30 + 0x24)" (* "*") (cast_expression "(code **)(*local_30 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_30 + 0x24)" (( "(") (binary_expression "*local_30 + 0x24" (pointer_expression "*local_30" (* "*") (identifier "local_30")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(local_30)" (( "(") (identifier "local_30") () ")")))) (, ",") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1"))) () ")"))) () ")")) (compound_statement "{\n      bVar6 = (bool)(bVar6 ^ 1);\n      local_30 = (int *)0x0;\n    }" ({ "{") (expression_statement "bVar6 = (bool)(bVar6 ^ 1);" (assignment_expression "bVar6 = (bool)(bVar6 ^ 1)" (identifier "bVar6") (= "=") (cast_expression "(bool)(bVar6 ^ 1)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(bVar6 ^ 1)" (( "(") (binary_expression "bVar6 ^ 1" (identifier "bVar6") (^ "^") (number_literal "1")) () ")")))) (; ";")) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" (identifier "local_30") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))))) (if_statement "if ((param_10 <= local_38) || (!bVar6)) break;" (if "if") (parenthesized_expression "((param_10 <= local_38) || (!bVar6))" (( "(") (binary_expression "(param_10 <= local_38) || (!bVar6)" (parenthesized_expression "(param_10 <= local_38)" (( "(") (binary_expression "param_10 <= local_38" (identifier "param_10") (<= "<=") (identifier "local_38")) () ")")) (|| "||") (parenthesized_expression "(!bVar6)" (( "(") (unary_expression "!bVar6" (! "!") (identifier "bVar6")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if ((param_3 == (int *)0x0) || (!bVar10)) {\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }\n    else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" (if "if") (parenthesized_expression "((param_3 == (int *)0x0) || (!bVar10))" (( "(") (binary_expression "(param_3 == (int *)0x0) || (!bVar10)" (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 "(!bVar10)" (( "(") (unary_expression "!bVar10" (! "!") (identifier "bVar10")) () ")"))) () ")")) (compound_statement "{\n      uVar7 = param_4;\n      uVar8 = param_4 & 0xff;\n    }" ({ "{") (expression_statement "uVar7 = param_4;" (assignment_expression "uVar7 = param_4" (identifier "uVar7") (= "=") (identifier "param_4")) (; ";")) (expression_statement "uVar8 = param_4 & 0xff;" (assignment_expression "uVar8 = param_4 & 0xff" (identifier "uVar8") (= "=") (binary_expression "param_4 & 0xff" (identifier "param_4") (& "&") (number_literal "0xff"))) (; ";")) (} "}")) (else_clause "else if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" (else "else") (if_statement "if ((byte *)param_3[2] < (byte *)param_3[3]) {\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }\n    else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" (if "if") (parenthesized_expression "((byte *)param_3[2] < (byte *)param_3[3])" (( "(") (binary_expression "(byte *)param_3[2] < (byte *)param_3[3]" (cast_expression "(byte *)param_3[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(byte *)param_3[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      uVar7 = (uint)*(byte *)param_3[2];\n      uVar8 = uVar7;\n    }" ({ "{") (expression_statement "uVar7 = (uint)*(byte *)param_3[2];" (assignment_expression "uVar7 = (uint)*(byte *)param_3[2]" (identifier "uVar7") (= "=") (binary_expression "(uint)*(byte *)param_3[2]" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)param_3[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" (identifier "uVar8") (= "=") (identifier "uVar7")) (; ";")) (} "}")) (else_clause "else {\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" (else "else") (compound_statement "{\n      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);\n      if (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }\n    }" ({ "{") (expression_statement "uVar7 = (**(code **)(*param_3 + 0x24))(param_3);" (assignment_expression "uVar7 = (**(code **)(*param_3 + 0x24))(param_3)" (identifier "uVar7") (= "=") (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 (uVar7 == 0xffffffff) {\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }\n      else {\n        uVar8 = uVar7 & 0xff;\n      }" (if "if") (parenthesized_expression "(uVar7 == 0xffffffff)" (( "(") (binary_expression "uVar7 == 0xffffffff" (identifier "uVar7") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n        uVar8 = 0xff;\n        uVar7 = 0xffffffff;\n        param_3 = (int *)0x0;\n      }" ({ "{") (expression_statement "uVar8 = 0xff;" (assignment_expression "uVar8 = 0xff" (identifier "uVar8") (= "=") (number_literal "0xff")) (; ";")) (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" (identifier "uVar7") (= "=") (number_literal "0xffffffff")) (; ";")) (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"))) (; ";")) (} "}")) (else_clause "else {\n        uVar8 = uVar7 & 0xff;\n      }" (else "else") (compound_statement "{\n        uVar8 = uVar7 & 0xff;\n      }" ({ "{") (expression_statement "uVar8 = uVar7 & 0xff;" (assignment_expression "uVar8 = uVar7 & 0xff" (identifier "uVar8") (= "=") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff"))) (; ";")) (} "}")))) (} "}")))))) (expression_statement "cVar2 = (char)uVar7;" (assignment_expression "cVar2 = (char)uVar7" (identifier "cVar2") (= "=") (cast_expression "(char)uVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar7"))) (; ";")) (expression_statement "cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);" (assignment_expression "cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)((int)piVar3 + uVar8 + 0x11d)" (* "*") (cast_expression "(char *)((int)piVar3 + uVar8 + 0x11d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + uVar8 + 0x11d)" (( "(") (binary_expression "(int)piVar3 + uVar8 + 0x11d" (binary_expression "(int)piVar3 + uVar8" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (identifier "uVar8")) (+ "+") (number_literal "0x11d")) () ")"))))) (; ";")) (if_statement "if (cVar1 == '\0') {\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }\n      if (cVar2 == '*') goto LAB_001fc0a3;\n      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;\n      cVar1 = cVar2;\n    }" ({ "{") (if_statement "if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }" (if "if") (parenthesized_expression "(*(code **)(*piVar3 + 0x20) != FUN_00191b90)" (( "(") (binary_expression "*(code **)(*piVar3 + 0x20) != FUN_00191b90" (pointer_expression "*(code **)(*piVar3 + 0x20)" (* "*") (cast_expression "(code **)(*piVar3 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 0x20)" (( "(") (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (identifier "FUN_00191b90")) () ")")) (compound_statement "{\n        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);\n      }" ({ "{") (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a)" (identifier "cVar2") (= "=") (call_expression "(**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a)" (parenthesized_expression "(**(code **)(*piVar3 + 0x20))" (( "(") (pointer_expression "**(code **)(*piVar3 + 0x20)" (* "*") (pointer_expression "*(code **)(*piVar3 + 0x20)" (* "*") (cast_expression "(code **)(*piVar3 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 0x20)" (( "(") (binary_expression "*piVar3 + 0x20" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(piVar3,(int)cVar2,0x2a)" (( "(") (identifier "piVar3") (, ",") (cast_expression "(int)cVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar2")) (, ",") (number_literal "0x2a") () ")")))) (; ";")) (} "}"))) (if_statement "if (cVar2 == '*') goto LAB_001fc0a3;" (if "if") (parenthesized_expression "(cVar2 == '*')" (( "(") (binary_expression "cVar2 == '*'" (identifier "cVar2") (== "==") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (goto_statement "goto LAB_001fc0a3;" (goto "goto") (statement_identifier "LAB_001fc0a3") (; ";"))) (expression_statement "*(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;" (assignment_expression "*(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2" (pointer_expression "*(char *)((int)piVar3 + uVar8 + 0x11d)" (* "*") (cast_expression "(char *)((int)piVar3 + uVar8 + 0x11d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + uVar8 + 0x11d)" (( "(") (binary_expression "(int)piVar3 + uVar8 + 0x11d" (binary_expression "(int)piVar3 + uVar8" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (identifier "uVar8")) (+ "+") (number_literal "0x11d")) () ")")))) (= "=") (identifier "cVar2")) (; ";")) (expression_statement "cVar1 = cVar2;" (assignment_expression "cVar1 = cVar2" (identifier "cVar1") (= "=") (identifier "cVar2")) (; ";")) (} "}"))) (if_statement "if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;" (if "if") (parenthesized_expression "(9 < (byte)(cVar1 - 0x30U))" (( "(") (binary_expression "9 < (byte)(cVar1 - 0x30U)" (number_literal "9") (< "<") (call_expression "(byte)(cVar1 - 0x30U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar1 - 0x30U)" (( "(") (binary_expression "cVar1 - 0x30U" (identifier "cVar1") (- "-") (number_literal "0x30U")) () ")")))) () ")")) (goto_statement "goto LAB_001fc0a3;" (goto "goto") (statement_identifier "LAB_001fc0a3") (; ";"))) (expression_statement "local_3c = cVar1 + -0x30 + local_3c * 10;" (assignment_expression "local_3c = cVar1 + -0x30 + local_3c * 10" (identifier "local_3c") (= "=") (binary_expression "cVar1 + -0x30 + local_3c * 10" (binary_expression "cVar1 + -0x30" (identifier "cVar1") (+ "+") (number_literal "-0x30")) (+ "+") (binary_expression "local_3c * 10" (identifier "local_3c") (* "*") (number_literal "10")))) (; ";")) (expression_statement "iVar4 = uVar9 * local_3c;" (assignment_expression "iVar4 = uVar9 * local_3c" (identifier "iVar4") (= "=") (binary_expression "uVar9 * local_3c" (identifier "uVar9") (* "*") (identifier "local_3c"))) (; ";")) (if_statement "if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))\n    goto LAB_001fc0a3;" (if "if") (parenthesized_expression "((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))" (( "(") (binary_expression "(iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= 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 + uVar9) <= param_8)" (( "(") (binary_expression "(int)(iVar4 + uVar9) <= param_8" (cast_expression "(int)(iVar4 + uVar9)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar4 + uVar9)" (( "(") (binary_expression "iVar4 + uVar9" (identifier "iVar4") (+ "+") (identifier "uVar9")) () ")"))) (<= "<=") (identifier "param_8")) () ")"))) () ")")) (goto_statement "goto LAB_001fc0a3;" (goto "goto") (statement_identifier "LAB_001fc0a3") (; ";"))) (expression_statement "uVar9 = uVar9 / 10;" (assignment_expression "uVar9 = uVar9 / 10" (identifier "uVar9") (= "=") (binary_expression "uVar9 / 10" (identifier "uVar9") (/ "/") (number_literal "10"))) (; ";")) (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n      param_3[2] = param_3[2] + 1;\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] + 1;\n    }" ({ "{") (expression_statement "param_3[2] = param_3[2] + 1;" (assignment_expression "param_3[2] = param_3[2] + 1" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_3[2] + 1" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (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 "param_4 = 0xffffffff;" (assignment_expression "param_4 = 0xffffffff" (identifier "param_4") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" (identifier "local_38") (= "=") (binary_expression "local_38 + 1" (identifier "local_38") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar10 = true;" (assignment_expression "bVar10 = true" (identifier "bVar10") (= "=") (true "true")) (; ";")) (expression_statement "bVar5 = param_3 != (int *)0x0;" (assignment_expression "bVar5 = param_3 != (int *)0x0" (identifier "bVar5") (= "=") (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")))) (; ";")) (expression_statement "bVar6 = bVar10;" (assignment_expression "bVar6 = bVar10" (identifier "bVar6") (= "=") (identifier "bVar10")) (; ";")) (if_statement "if (bVar5) {\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(bVar5)" (( "(") (identifier "bVar5") () ")")) (compound_statement "{\nLAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }\n    }" ({ "{") (labeled_statement "LAB_001fc039:\n      if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }" (statement_identifier "LAB_001fc039") (: ":") (if_statement "if ((uint)param_3[2] < (uint)param_3[3]) {\n        bVar6 = false;\n      }\n      else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\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        bVar6 = false;\n      }" ({ "{") (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" (identifier "bVar6") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\n      }" (else "else") (compound_statement "{\n        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);\n        bVar6 = false;\n        if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }\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") () ")")))) (; ";")) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" (identifier "bVar6") (= "=") (false "false")) (; ";")) (if_statement "if (iVar4 == -1) {\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\n        }" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n          param_3 = (int *)0x0;\n          bVar6 = bVar5;\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 "bVar6 = bVar5;" (assignment_expression "bVar6 = bVar5" (identifier "bVar6") (= "=") (identifier "bVar5")) (; ";")) (} "}"))) (} "}"))))) (} "}"))) (} "}"))) (if_statement "if (local_38 == param_10) goto LAB_001fc0b4;" (if "if") (parenthesized_expression "(local_38 == param_10)" (( "(") (binary_expression "local_38 == param_10" (identifier "local_38") (== "==") (identifier "param_10")) () ")")) (goto_statement "goto LAB_001fc0b4;" (goto "goto") (statement_identifier "LAB_001fc0b4") (; ";"))) (labeled_statement "LAB_001fc0a3:\n  if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" (statement_identifier "LAB_001fc0a3") (: ":") (if_statement "if ((param_10 == 4) && (local_38 == 2)) {\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }\n  else {\n    *param_12 = *param_12 | 4;\n  }" (if "if") (parenthesized_expression "((param_10 == 4) && (local_38 == 2))" (( "(") (binary_expression "(param_10 == 4) && (local_38 == 2)" (parenthesized_expression "(param_10 == 4)" (( "(") (binary_expression "param_10 == 4" (identifier "param_10") (== "==") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(local_38 == 2)" (( "(") (binary_expression "local_38 == 2" (identifier "local_38") (== "==") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    local_3c = local_3c + -100;\nLAB_001fc0b4:\n    *param_7 = local_3c;\n  }" ({ "{") (expression_statement "local_3c = local_3c + -100;" (assignment_expression "local_3c = local_3c + -100" (identifier "local_3c") (= "=") (binary_expression "local_3c + -100" (identifier "local_3c") (+ "+") (number_literal "-100"))) (; ";")) (labeled_statement "LAB_001fc0b4:\n    *param_7 = local_3c;" (statement_identifier "LAB_001fc0b4") (: ":") (expression_statement "*param_7 = local_3c;" (assignment_expression "*param_7 = local_3c" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "local_3c")) (; ";"))) (} "}")) (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] = param_4;" (assignment_expression "param_1[1] = param_4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void var_2::time_get<char,var_2::istreambuf_iterator<char,var_2::char_traits<char>>>::_M_extract_num
               (undefined4 *param_1,undefined4 param_2,int *var_7,type_2 var_6,int *param_5,
               int var_10,int *param_7,int var_22,int var_21,type_2 var_5,int var_4,
               type_2 *param_12)

{
  type_1 cVar1;
  type_1 var_18;
  type_1 *pcVar3;
  int var_12;
  bool bVar5;
  bool var_11;
  type_2 var_14;
  type_2 var_16;
  type_2 var_20;
  bool var_8;
  int var_19;
  type_2 var_13;
  int *var_9;
  
  var_20 = 10;
  var_9 = param_5;
  pcVar3 = var_1<var_2::type_1<var_3>>((type_3 *)(var_4 + 0x6c));
  if ((var_5 != 2) && (var_20 = 1000, var_5 != 4)) {
    var_20 = 1;
  }
  var_8 = var_6 == 0xffffffff;
  var_13 = 0;
  var_19 = 0;
  bVar5 = var_7 != (int *)0x0 && var_8;
  var_11 = var_8;
  if (bVar5) goto LAB_001fc039;
  while( true ) {
    if ((var_9 == (int *)0x0) || (var_10 != -1)) {
      var_11 = (bool)(var_11 ^ var_10 == -1);
    }
    else if (((type_2)var_9[3] <= (type_2)var_9[2]) &&
            (var_12 = (**(type_4 **)(*var_9 + 0x24))(var_9), var_12 == -1)) {
      var_11 = (bool)(var_11 ^ 1);
      var_9 = (int *)0x0;
    }
    if ((var_5 <= var_13) || (!var_11)) break;
    if ((var_7 == (int *)0x0) || (!var_8)) {
      var_14 = var_6;
      var_16 = var_6 & 0xff;
    }
    else if ((type_5 *)var_7[2] < (type_5 *)var_7[3]) {
      var_14 = (type_2)*(type_5 *)var_7[2];
      var_16 = var_14;
    }
    else {
      var_14 = (**(type_4 **)(*var_7 + 0x24))(var_7);
      if (var_14 == 0xffffffff) {
        var_16 = 0xff;
        var_14 = 0xffffffff;
        var_7 = (int *)0x0;
      }
      else {
        var_16 = var_14 & 0xff;
      }
    }
    var_18 = var_15(var_14,0);
    cVar1 = pcVar3[var_16 + 0x11d];
    if (pcVar3[var_16 + 0x11d] == (type_1)0x0) {
      if (*(type_4 **)(*(int *)pcVar3 + 0x20) != type_1<var_3>::var_17) {
        var_18 = (type_1)(**(type_4 **)(*(int *)pcVar3 + 0x20))(pcVar3,(int)(char)var_18,0x2a);
      }
      if (var_18 == (type_1)0x2a) goto LAB_001fc0a3;
      pcVar3[var_16 + 0x11d] = var_18;
      cVar1 = var_18;
    }
    if (9 < (type_5)((char)cVar1 - 0x30U)) goto LAB_001fc0a3;
    var_19 = (char)cVar1 + -0x30 + var_19 * 10;
    var_12 = var_20 * var_19;
    if ((var_12 - var_21 != 0 && var_21 <= var_12) || ((int)(var_12 + var_20) <= var_22))
    goto LAB_001fc0a3;
    var_20 = var_20 / 10;
    if ((type_2)var_7[2] < (type_2)var_7[3]) {
      var_7[2] = var_7[2] + 1;
    }
    else {
      (**(type_4 **)(*var_7 + 0x28))(var_7);
    }
    var_6 = 0xffffffff;
    var_13 = var_13 + 1;
    var_8 = true;
    bVar5 = var_7 != (int *)0x0;
    var_11 = var_8;
    if (bVar5) {
LAB_001fc039:
      if ((type_2)var_7[2] < (type_2)var_7[3]) {
        var_11 = false;
      }
      else {
        var_12 = (**(type_4 **)(*var_7 + 0x24))(var_7);
        var_11 = false;
        if (var_12 == -1) {
          var_7 = (int *)0x0;
          var_11 = bVar5;
        }
      }
    }
  }
  if (var_13 == var_5) goto LAB_001fc0b4;
LAB_001fc0a3:
  if ((var_5 == 4) && (var_13 == 2)) {
    var_19 = var_19 + -100;
LAB_001fc0b4:
    *param_7 = var_19;
  }
  else {
    *param_12 = *param_12 | 4;
  }
  *param_1 = var_7;
  param_1[1] = var_6;
  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: (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: (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: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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))))))) (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (goto_statement label: (statement_identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (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 (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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier)))) right: (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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (unary_expression argument: (identifier))))) consequence: (break_statement)) (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 (unary_expression argument: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) 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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (identifier))) consequence: (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) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (true))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (labeled_statement label: (statement_identifier) (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: (identifier) right: (false)))) 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: (false))) (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: (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,uint 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)

{
  char cVar1;
  char cVar2;
  int *piVar3;
  int iVar4;
  bool bVar5;
  bool bVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  bool bVar10;
  int local_3c;
  uint local_38;
  int *local_30;
  
  uVar9 = 10;
  local_30 = param_5;
  piVar3 = (int *)FUN_001957d0(param_11 + 0x6c);
  if ((param_10 != 2) && (uVar9 = 1000, param_10 != 4)) {
    uVar9 = 1;
  }
  bVar10 = param_4 == 0xffffffff;
  local_38 = 0;
  local_3c = 0;
  bVar5 = param_3 != (int *)0x0 && bVar10;
  bVar6 = bVar10;
  if (bVar5) goto LAB_001fc039;
  while( true ) {
    if ((local_30 == (int *)0x0) || (param_6 != -1)) {
      bVar6 = (bool)(bVar6 ^ param_6 == -1);
    }
    else if (((uint)local_30[3] <= (uint)local_30[2]) &&
            (iVar4 = (**(code **)(*local_30 + 0x24))(local_30), iVar4 == -1)) {
      bVar6 = (bool)(bVar6 ^ 1);
      local_30 = (int *)0x0;
    }
    if ((param_10 <= local_38) || (!bVar6)) break;
    if ((param_3 == (int *)0x0) || (!bVar10)) {
      uVar7 = param_4;
      uVar8 = param_4 & 0xff;
    }
    else if ((byte *)param_3[2] < (byte *)param_3[3]) {
      uVar7 = (uint)*(byte *)param_3[2];
      uVar8 = uVar7;
    }
    else {
      uVar7 = (**(code **)(*param_3 + 0x24))(param_3);
      if (uVar7 == 0xffffffff) {
        uVar8 = 0xff;
        uVar7 = 0xffffffff;
        param_3 = (int *)0x0;
      }
      else {
        uVar8 = uVar7 & 0xff;
      }
    }
    cVar2 = (char)uVar7;
    cVar1 = *(char *)((int)piVar3 + uVar8 + 0x11d);
    if (cVar1 == '\0') {
      if (*(code **)(*piVar3 + 0x20) != FUN_00191b90) {
        cVar2 = (**(code **)(*piVar3 + 0x20))(piVar3,(int)cVar2,0x2a);
      }
      if (cVar2 == '*') goto LAB_001fc0a3;
      *(char *)((int)piVar3 + uVar8 + 0x11d) = cVar2;
      cVar1 = cVar2;
    }
    if (9 < (byte)(cVar1 - 0x30U)) goto LAB_001fc0a3;
    local_3c = cVar1 + -0x30 + local_3c * 10;
    iVar4 = uVar9 * local_3c;
    if ((iVar4 - param_9 != 0 && param_9 <= iVar4) || ((int)(iVar4 + uVar9) <= param_8))
    goto LAB_001fc0a3;
    uVar9 = uVar9 / 10;
    if ((uint)param_3[2] < (uint)param_3[3]) {
      param_3[2] = param_3[2] + 1;
    }
    else {
      (**(code **)(*param_3 + 0x28))(param_3);
    }
    param_4 = 0xffffffff;
    local_38 = local_38 + 1;
    bVar10 = true;
    bVar5 = param_3 != (int *)0x0;
    bVar6 = bVar10;
    if (bVar5) {
LAB_001fc039:
      if ((uint)param_3[2] < (uint)param_3[3]) {
        bVar6 = false;
      }
      else {
        iVar4 = (**(code **)(*param_3 + 0x24))(param_3);
        bVar6 = false;
        if (iVar4 == -1) {
          param_3 = (int *)0x0;
          bVar6 = bVar5;
        }
      }
    }
  }
  if (local_38 == param_10) goto LAB_001fc0b4;
LAB_001fc0a3:
  if ((param_10 == 4) && (local_38 == 2)) {
    local_3c = local_3c + -100;
LAB_001fc0b4:
    *param_7 = local_3c;
  }
  else {
    *param_12 = *param_12 | 4;
  }
  *param_1 = param_3;
  param_1[1] = param_4;
  return;
}

