
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* std::istream::ignore(int) */

istream * __thiscall std::istream::ignore(istream *this,int param_1)

{
  int *piVar1;
  uint uVar2;
  byte *pbVar3;
  istream *piVar4;
  int iVar5;
  int iVar6;
  sentry local_3a;
  byte *local_34;
  sentry local_1d [13];
  
  if (param_1 == 1) {
    piVar4 = (istream *)ignore(this);
    return piVar4;
  }
  *(undefined4 *)(this + 4) = 0;
  sentry::sentry(local_1d,this,true);
  if ((0 < param_1) && (local_1d[0] != (sentry)0x0)) {
    piVar1 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);
    if ((byte *)piVar1[2] < (byte *)piVar1[3]) {
      uVar2 = (uint)*(byte *)piVar1[2];
    }
    else {
      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);
    }
    local_3a = (sentry)0x0;
    iVar6 = *(int *)(this + 4);
joined_r0x0026f8b2:
    while (param_1 <= iVar6) {
      if (param_1 != 0x7fffffff) {
        if (local_3a != (sentry)0x0) {
          *(undefined4 *)(this + 4) = 0x7fffffff;
        }
        if (uVar2 != 0xffffffff) {
          return this;
        }
        goto LAB_0026f995;
      }
      if (uVar2 == 0xffffffff) goto LAB_0026f988;
      local_3a = local_1d[0];
      *(undefined4 *)(this + 4) = 0x80000000;
      iVar6 = -0x80000000;
    }
    if (uVar2 != 0xffffffff) {
      local_34 = (byte *)piVar1[3];
      pbVar3 = (byte *)piVar1[2];
      iVar5 = (int)local_34 - (int)pbVar3;
      if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {
        iVar5 = param_1 - iVar6;
      }
      if (iVar5 < 2) {
        *(int *)(this + 4) = iVar6 + 1;
        if (pbVar3 < local_34) {
          pbVar3 = pbVar3 + 1;
          piVar1[2] = (int)pbVar3;
        }
        else {
          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);
          if (iVar6 == -1) goto LAB_0026f988;
          pbVar3 = (byte *)piVar1[2];
          local_34 = (byte *)piVar1[3];
        }
        if (pbVar3 < local_34) {
          uVar2 = (uint)*pbVar3;
          iVar6 = *(int *)(this + 4);
          goto joined_r0x0026f8b2;
        }
      }
      else {
        pbVar3 = pbVar3 + iVar5;
        iVar6 = iVar6 + iVar5;
        piVar1[2] = (int)pbVar3;
        *(int *)(this + 4) = iVar6;
        if (pbVar3 < local_34) {
          uVar2 = (uint)*pbVar3;
          goto joined_r0x0026f8b2;
        }
      }
                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */
      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);
      iVar6 = *(int *)(this + 4);
      goto joined_r0x0026f8b2;
    }
LAB_0026f988:
    if (local_3a != (sentry)0x0) {
      *(undefined4 *)(this + 4) = 0x7fffffff;
    }
LAB_0026f995:
    ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),
               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);
  }
  return this;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int * FUN_0026f830(int *param_1,int param_2)

{
  uint uVar1;
  byte *pbVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  char local_3a;
  byte *local_34;
  char local_1d [13];
  
  if (param_2 == 1) {
    piVar3 = (int *)FUN_0020b520(param_1);
    return piVar3;
  }
  param_1[1] = 0;
  FUN_0020a6a0(local_1d,param_1,1);
  if ((0 < param_2) && (local_1d[0] != '\0')) {
    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);
    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {
      uVar1 = (uint)*(byte *)piVar3[2];
    }
    else {
      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);
    }
    local_3a = '\0';
    iVar5 = param_1[1];
joined_r0x0026f8b2:
    while (param_2 <= iVar5) {
      if (param_2 != 0x7fffffff) {
        if (local_3a != '\0') {
          param_1[1] = 0x7fffffff;
        }
        if (uVar1 != 0xffffffff) {
          return param_1;
        }
        goto LAB_0026f995;
      }
      if (uVar1 == 0xffffffff) goto LAB_0026f988;
      local_3a = local_1d[0];
      param_1[1] = -0x80000000;
      iVar5 = -0x80000000;
    }
    if (uVar1 != 0xffffffff) {
      local_34 = (byte *)piVar3[3];
      pbVar2 = (byte *)piVar3[2];
      iVar4 = (int)local_34 - (int)pbVar2;
      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {
        iVar4 = param_2 - iVar5;
      }
      if (iVar4 < 2) {
        param_1[1] = iVar5 + 1;
        if (pbVar2 < local_34) {
          pbVar2 = pbVar2 + 1;
          piVar3[2] = (int)pbVar2;
        }
        else {
          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);
          if (iVar5 == -1) goto LAB_0026f988;
          pbVar2 = (byte *)piVar3[2];
          local_34 = (byte *)piVar3[3];
        }
        if (pbVar2 < local_34) {
          uVar1 = (uint)*pbVar2;
          iVar5 = param_1[1];
          goto joined_r0x0026f8b2;
        }
      }
      else {
        pbVar2 = pbVar2 + iVar4;
        iVar5 = iVar5 + iVar4;
        piVar3[2] = (int)pbVar2;
        param_1[1] = iVar5;
        if (pbVar2 < local_34) {
          uVar1 = (uint)*pbVar2;
          goto joined_r0x0026f8b2;
        }
      }
                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */
      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);
      iVar5 = param_1[1];
      goto joined_r0x0026f8b2;
    }
LAB_0026f988:
    if (local_3a != '\0') {
      param_1[1] = 0x7fffffff;
    }
LAB_0026f995:
    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;
    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);
  }
  return param_1;
}


CALL 0x000559e6
ADD EAX,0x11f7cb
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV EDI,dword ptr [EBP + 0xc]
MOV ESI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x34],EAX
CMP EDI,0x1
JZ 0x0026f948
SUB ESP,0x4
LEA EAX,[EBP + -0x19]
MOV dword ptr [ESI + 0x4],0x0
MOV EBX,dword ptr [EBP + -0x34]
PUSH 0x1
PUSH ESI
PUSH EAX
CALL 0x0020a6a0
ADD ESP,0x10
TEST EDI,EDI
JLE 0x0026f938
MOVZX EAX,byte ptr [EBP + -0x19]
MOV byte ptr [EBP + -0x35],AL
TEST AL,AL
JZ 0x0026f938
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + -0xc]
MOV EBX,dword ptr [ESI + EAX*0x1 + 0x78]
MOV dword ptr [EBP + -0x2c],EBX
MOV EAX,dword ptr [EBX + 0x8]
CMP dword ptr [EBX + 0xc],EAX
JBE 0x0026fa00
MOVZX EAX,byte ptr [EAX]
MOV byte ptr [EBP + -0x36],0x0
MOV EDX,dword ptr [ESI + 0x4]
LEA ESI,[ESI]
CMP EDI,EDX
JLE 0x0026f8ff
CMP EAX,-0x1
JZ 0x0026f988
MOV EAX,dword ptr [EBP + -0x2c]
MOV ECX,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [EBP + -0x30],ECX
MOV ECX,EDI
SUB ECX,EDX
MOV EBX,ECX
MOV ECX,dword ptr [EBP + -0x30]
SUB ECX,EAX
CMP EBX,ECX
CMOVLE ECX,EBX
CMP ECX,0x1
JLE 0x0026f960
MOV EBX,dword ptr [EBP + -0x2c]
ADD EAX,ECX
ADD EDX,ECX
MOV dword ptr [EBX + 0x8],EAX
MOV dword ptr [ESI + 0x4],EDX
CMP dword ptr [EBP + -0x30],EAX
JBE 0x0026f9c0
MOVZX EAX,byte ptr [EAX]
CMP EDI,EDX
JG 0x0026f8b4
CMP EDI,0x7fffffff
JNZ 0x0026f921
CMP EAX,-0x1
JZ 0x0026f988
MOVZX EBX,byte ptr [EBP + -0x35]
MOV dword ptr [ESI + 0x4],0x80000000
MOV EDX,0x80000000
MOV byte ptr [EBP + -0x36],BL
JMP 0x0026f8b0
CMP byte ptr [EBP + -0x36],0x0
JZ 0x0026f92e
MOV dword ptr [ESI + 0x4],0x7fffffff
ADD EAX,0x1
JZ 0x0026f995
LEA ESI,[ESI]
NOP
MOV EAX,ESI
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EBX,EAX
PUSH ESI
CALL 0x0020b520
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EDX,0x1
MOV dword ptr [ESI + 0x4],EDX
CMP dword ptr [EBP + -0x30],EAX
JBE 0x0026f9d7
MOV EDX,dword ptr [EBP + -0x2c]
ADD EAX,0x1
MOV dword ptr [EDX + 0x8],EAX
CMP EAX,dword ptr [EBP + -0x30]
JNC 0x0026f9c0
MOVZX EAX,byte ptr [EAX]
MOV EDX,dword ptr [ESI + 0x4]
JMP 0x0026f8b0
CMP byte ptr [EBP + -0x36],0x0
JZ 0x0026f995
MOV dword ptr [ESI + 0x4],0x7fffffff
MOV EAX,dword ptr [ESI]
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x34]
MOV EDX,dword ptr [EAX + -0xc]
ADD EDX,ESI
MOV EAX,dword ptr [EDX + 0x14]
OR EAX,0x2
PUSH EAX
PUSH EDX
CALL 0x00210c00
ADD ESP,0x10
MOV EAX,ESI
JMP 0x0026f93a
MOV EBX,dword ptr [EBP + -0x2c]
SUB ESP,0xc
MOV EAX,dword ptr [EBX]
PUSH EBX
CALL dword ptr [EAX + 0x24]
ADD ESP,0x10
MOV EDX,dword ptr [ESI + 0x4]
JMP 0x0026f8b0
MOV EBX,dword ptr [EBP + -0x2c]
SUB ESP,0xc
MOV EAX,dword ptr [EBX]
PUSH EBX
CALL dword ptr [EAX + 0x28]
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x0026f988
MOV EDX,dword ptr [EBP + -0x2c]
MOV EAX,dword ptr [EDX + 0x8]
MOV EDX,dword ptr [EDX + 0xc]
MOV dword ptr [EBP + -0x30],EDX
JMP 0x0026f974
MOV EDX,dword ptr [EBP + -0x2c]
SUB ESP,0xc
MOV EAX,dword ptr [EDX]
PUSH EDX
CALL dword ptr [EAX + 0x24]
ADD ESP,0x10
JMP 0x0026f8a3
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint * FUN_0026f830(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  char local_3a;\n  byte *local_34;\n  char local_1d [13];\n  \n  if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }\n  param_1[1] = 0;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_0026f830(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  char local_3a;\n  byte *local_34;\n  char local_1d [13];\n  \n  if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }\n  param_1[1] = 0;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0026f830(int *param_1,int param_2)" * (function_declarator "FUN_0026f830(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  char local_3a;\n  byte *local_34;\n  char local_1d [13];\n  \n  if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }\n  param_1[1] = 0;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char local_3a;" primitive_type identifier ;) (declaration "byte *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "char local_1d [13];" primitive_type (array_declarator "local_1d [13]" identifier [ number_literal ]) ;) (if_statement "if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }" { (expression_statement "piVar3 = (int *)FUN_0020b520(param_1);" (assignment_expression "piVar3 = (int *)FUN_0020b520(param_1)" identifier = (cast_expression "(int *)FUN_0020b520(param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0020b520(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (return_statement "return piVar3;" return identifier ;) })) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0020a6a0(local_1d,param_1,1);" (call_expression "FUN_0020a6a0(local_1d,param_1,1)" identifier (argument_list "(local_1d,param_1,1)" ( identifier , identifier , number_literal ))) ;) (if_statement "if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }" if (parenthesized_expression "((0 < param_2) && (local_1d[0] != '\0'))" ( (binary_expression "(0 < param_2) && (local_1d[0] != '\0')" (parenthesized_expression "(0 < param_2)" ( (binary_expression "0 < param_2" number_literal < identifier) )) && (parenthesized_expression "(local_1d[0] != '\0')" ( (binary_expression "local_1d[0] != '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }" { (expression_statement "piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" if (parenthesized_expression "((byte *)piVar3[2] < (byte *)piVar3[3])" ( (binary_expression "(byte *)piVar3[2] < (byte *)piVar3[3]" (cast_expression "(byte *)piVar3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) < (cast_expression "(byte *)piVar3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }" { (expression_statement "uVar1 = (uint)*(byte *)piVar3[2];" (assignment_expression "uVar1 = (uint)*(byte *)piVar3[2]" identifier = (binary_expression "(uint)*(byte *)piVar3[2]" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)piVar3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" else (compound_statement "{\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" { (expression_statement "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);" (assignment_expression "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3)" identifier = (call_expression "(**(code **)(*piVar3 + 0x24))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x24))" ( (pointer_expression "**(code **)(*piVar3 + 0x24)" * (pointer_expression "*(code **)(*piVar3 + 0x24)" * (cast_expression "(code **)(*piVar3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x24)" ( (binary_expression "*piVar3 + 0x24" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier )))) ;) }))) (expression_statement "local_3a = '\0';" (assignment_expression "local_3a = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" statement_identifier : (while_statement "while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" while (parenthesized_expression "(param_2 <= iVar5)" ( (binary_expression "param_2 <= iVar5" identifier <= identifier) )) (compound_statement "{\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" { (if_statement "if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }" if (parenthesized_expression "(param_2 != 0x7fffffff)" ( (binary_expression "param_2 != 0x7fffffff" identifier != number_literal) )) (compound_statement "{\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }" { (if_statement "if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }" if (parenthesized_expression "(local_3a != '\0')" ( (binary_expression "local_3a != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          param_1[1] = 0x7fffffff;\n        }" { (expression_statement "param_1[1] = 0x7fffffff;" (assignment_expression "param_1[1] = 0x7fffffff" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (uVar1 != 0xffffffff) {\n          return param_1;\n        }" if (parenthesized_expression "(uVar1 != 0xffffffff)" ( (binary_expression "uVar1 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n          return param_1;\n        }" { (return_statement "return param_1;" return identifier ;) })) (goto_statement "goto LAB_0026f995;" goto statement_identifier ;) })) (if_statement "if (uVar1 == 0xffffffff) goto LAB_0026f988;" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (goto_statement "goto LAB_0026f988;" goto statement_identifier ;)) (expression_statement "local_3a = local_1d[0];" (assignment_expression "local_3a = local_1d[0]" identifier = (subscript_expression "local_1d[0]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = -0x80000000;" (assignment_expression "param_1[1] = -0x80000000" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar5 = -0x80000000;" (assignment_expression "iVar5 = -0x80000000" identifier = number_literal) ;) }))) (if_statement "if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }" if (parenthesized_expression "(uVar1 != 0xffffffff)" ( (binary_expression "uVar1 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }" { (expression_statement "local_34 = (byte *)piVar3[3];" (assignment_expression "local_34 = (byte *)piVar3[3]" identifier = (cast_expression "(byte *)piVar3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ]))) ;) (expression_statement "pbVar2 = (byte *)piVar3[2];" (assignment_expression "pbVar2 = (byte *)piVar3[2]" identifier = (cast_expression "(byte *)piVar3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = (int)local_34 - (int)pbVar2;" (assignment_expression "iVar4 = (int)local_34 - (int)pbVar2" identifier = (binary_expression "(int)local_34 - (int)pbVar2" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }" if (parenthesized_expression "(param_2 - iVar5 <= (int)local_34 - (int)pbVar2)" ( (binary_expression "param_2 - iVar5 <= (int)local_34 - (int)pbVar2" (binary_expression "param_2 - iVar5" identifier - identifier) <= (binary_expression "(int)local_34 - (int)pbVar2" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n        iVar4 = param_2 - iVar5;\n      }" { (expression_statement "iVar4 = param_2 - iVar5;" (assignment_expression "iVar4 = param_2 - iVar5" identifier = (binary_expression "param_2 - iVar5" identifier - identifier)) ;) })) (if_statement "if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" if (parenthesized_expression "(iVar4 < 2)" ( (binary_expression "iVar4 < 2" identifier < number_literal) )) (compound_statement "{\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }" { (expression_statement "param_1[1] = iVar5 + 1;" (assignment_expression "param_1[1] = iVar5 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" if (parenthesized_expression "(pbVar2 < local_34)" ( (binary_expression "pbVar2 < local_34" identifier < identifier) )) (compound_statement "{\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }" { (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar3[2] = (int)pbVar2;" (assignment_expression "piVar3[2] = (int)pbVar2" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" else (compound_statement "{\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" { (expression_statement "iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);" (assignment_expression "iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3)" identifier = (call_expression "(**(code **)(*piVar3 + 0x28))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x28))" ( (pointer_expression "**(code **)(*piVar3 + 0x28)" * (pointer_expression "*(code **)(*piVar3 + 0x28)" * (cast_expression "(code **)(*piVar3 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x28)" ( (binary_expression "*piVar3 + 0x28" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier )))) ;) (if_statement "if (iVar5 == -1) goto LAB_0026f988;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0026f988;" goto statement_identifier ;)) (expression_statement "pbVar2 = (byte *)piVar3[2];" (assignment_expression "pbVar2 = (byte *)piVar3[2]" identifier = (cast_expression "(byte *)piVar3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "local_34 = (byte *)piVar3[3];" (assignment_expression "local_34 = (byte *)piVar3[3]" identifier = (cast_expression "(byte *)piVar3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }" if (parenthesized_expression "(pbVar2 < local_34)" ( (binary_expression "pbVar2 < local_34" identifier < identifier) )) (compound_statement "{\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }" { (expression_statement "uVar1 = (uint)*pbVar2;" (assignment_expression "uVar1 = (uint)*pbVar2" identifier = (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) }) (else_clause "else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" else (compound_statement "{\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" { (expression_statement "pbVar2 = pbVar2 + iVar4;" (assignment_expression "pbVar2 = pbVar2 + iVar4" identifier = (binary_expression "pbVar2 + iVar4" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + iVar4;" (assignment_expression "iVar5 = iVar5 + iVar4" identifier = (binary_expression "iVar5 + iVar4" identifier + identifier)) ;) (expression_statement "piVar3[2] = (int)pbVar2;" (assignment_expression "piVar3[2] = (int)pbVar2" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }" if (parenthesized_expression "(pbVar2 < local_34)" ( (binary_expression "pbVar2 < local_34" identifier < identifier) )) (compound_statement "{\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }" { (expression_statement "uVar1 = (uint)*pbVar2;" (assignment_expression "uVar1 = (uint)*pbVar2" identifier = (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) }))) comment (expression_statement "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);" (assignment_expression "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3)" identifier = (call_expression "(**(code **)(*piVar3 + 0x24))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x24))" ( (pointer_expression "**(code **)(*piVar3 + 0x24)" * (pointer_expression "*(code **)(*piVar3 + 0x24)" * (cast_expression "(code **)(*piVar3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x24)" ( (binary_expression "*piVar3 + 0x24" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier )))) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) (labeled_statement "LAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }" statement_identifier : (if_statement "if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }" if (parenthesized_expression "(local_3a != '\0')" ( (binary_expression "local_3a != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      param_1[1] = 0x7fffffff;\n    }" { (expression_statement "param_1[1] = 0x7fffffff;" (assignment_expression "param_1[1] = 0x7fffffff" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) }))) (labeled_statement "LAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;" statement_identifier : (expression_statement "iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);" (call_expression "FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2)" identifier (argument_list "(iVar5,*(uint *)(iVar5 + 0x14) | 2)" ( identifier , (binary_expression "*(uint *)(iVar5 + 0x14) | 2" (pointer_expression "*(uint *)(iVar5 + 0x14)" * (cast_expression "(uint *)(iVar5 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* std::istream::ignore(int) */\n\nistream * __thiscall std::istream::ignore(istream *this,int param_1)\n\n{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  istream *piVar4;\n  int iVar5;\n  int iVar6;\n  sentry local_3a;\n  byte *local_34;\n  sentry local_1d [13];\n  \n  if (param_1 == 1) {\n    piVar4 = (istream *)ignore(this);\n    return piVar4;\n  }\n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_1d,this,true);\n  if ((0 < param_1) && (local_1d[0] != (sentry)0x0)) {\n    piVar1 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar1[2] < (byte *)piVar1[3]) {\n      uVar2 = (uint)*(byte *)piVar1[2];\n    }\n    else {\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    }\n    local_3a = (sentry)0x0;\n    iVar6 = *(int *)(this + 4);\njoined_r0x0026f8b2:\n    while (param_1 <= iVar6) {\n      if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar2 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      *(undefined4 *)(this + 4) = 0x80000000;\n      iVar6 = -0x80000000;\n    }\n    if (uVar2 != 0xffffffff) {\n      local_34 = (byte *)piVar1[3];\n      pbVar3 = (byte *)piVar1[2];\n      iVar5 = (int)local_34 - (int)pbVar3;\n      if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {\n        iVar5 = param_1 - iVar6;\n      }\n      if (iVar5 < 2) {\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n      iVar6 = *(int *)(this + 4);\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != (sentry)0x0) {\n      *(undefined4 *)(this + 4) = 0x7fffffff;\n    }\nLAB_0026f995:\n    ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);\n  }\n  return this;\n}\n\n" comment comment (ERROR "istream * __thiscall std::istream::ignore(istream *this," (binary_expression "istream * __thiscall std::istream::ignore(istream *this" (binary_expression "istream * __thiscall" identifier * identifier) (ERROR "std::istream::ignore(istream" identifier : : identifier : : identifier ( identifier) * identifier) ,) (function_definition "int param_1)\n\n{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  istream *piVar4;\n  int iVar5;\n  int iVar6;\n  sentry local_3a;\n  byte *local_34;\n  sentry local_1d [13];\n  \n  if (param_1 == 1) {\n    piVar4 = (istream *)ignore(this);\n    return piVar4;\n  }\n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_1d,this,true);\n  if ((0 < param_1) && (local_1d[0] != (sentry)0x0)) {\n    piVar1 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar1[2] < (byte *)piVar1[3]) {\n      uVar2 = (uint)*(byte *)piVar1[2];\n    }\n    else {\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    }\n    local_3a = (sentry)0x0;\n    iVar6 = *(int *)(this + 4);\njoined_r0x0026f8b2:\n    while (param_1 <= iVar6) {\n      if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar2 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      *(undefined4 *)(this + 4) = 0x80000000;\n      iVar6 = -0x80000000;\n    }\n    if (uVar2 != 0xffffffff) {\n      local_34 = (byte *)piVar1[3];\n      pbVar3 = (byte *)piVar1[2];\n      iVar5 = (int)local_34 - (int)pbVar3;\n      if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {\n        iVar5 = param_1 - iVar6;\n      }\n      if (iVar5 < 2) {\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n      iVar6 = *(int *)(this + 4);\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != (sentry)0x0) {\n      *(undefined4 *)(this + 4) = 0x7fffffff;\n    }\nLAB_0026f995:\n    ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);\n  }\n  return this;\n}" primitive_type identifier (ERROR ")" )) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  istream *piVar4;\n  int iVar5;\n  int iVar6;\n  sentry local_3a;\n  byte *local_34;\n  sentry local_1d [13];\n  \n  if (param_1 == 1) {\n    piVar4 = (istream *)ignore(this);\n    return piVar4;\n  }\n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_1d,this,true);\n  if ((0 < param_1) && (local_1d[0] != (sentry)0x0)) {\n    piVar1 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar1[2] < (byte *)piVar1[3]) {\n      uVar2 = (uint)*(byte *)piVar1[2];\n    }\n    else {\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    }\n    local_3a = (sentry)0x0;\n    iVar6 = *(int *)(this + 4);\njoined_r0x0026f8b2:\n    while (param_1 <= iVar6) {\n      if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar2 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      *(undefined4 *)(this + 4) = 0x80000000;\n      iVar6 = -0x80000000;\n    }\n    if (uVar2 != 0xffffffff) {\n      local_34 = (byte *)piVar1[3];\n      pbVar3 = (byte *)piVar1[2];\n      iVar5 = (int)local_34 - (int)pbVar3;\n      if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {\n        iVar5 = param_1 - iVar6;\n      }\n      if (iVar5 < 2) {\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n      iVar6 = *(int *)(this + 4);\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != (sentry)0x0) {\n      *(undefined4 *)(this + 4) = 0x7fffffff;\n    }\nLAB_0026f995:\n    ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);\n  }\n  return this;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "istream *piVar4;" type_identifier (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "sentry local_3a;" type_identifier identifier ;) (declaration "byte *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "sentry local_1d [13];" type_identifier (array_declarator "local_1d [13]" identifier [ number_literal ]) ;) (if_statement "if (param_1 == 1) {\n    piVar4 = (istream *)ignore(this);\n    return piVar4;\n  }" if (parenthesized_expression "(param_1 == 1)" ( (binary_expression "param_1 == 1" identifier == number_literal) )) (compound_statement "{\n    piVar4 = (istream *)ignore(this);\n    return piVar4;\n  }" { (expression_statement "piVar4 = (istream *)ignore(this);" (assignment_expression "piVar4 = (istream *)ignore(this)" identifier = (cast_expression "(istream *)ignore(this)" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ignore(this)" identifier (argument_list "(this)" ( identifier ))))) ;) (return_statement "return piVar4;" return identifier ;) })) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "sentry::sentry(local_1d,this,true);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_1d,this,true);" (call_expression "sentry(local_1d,this,true)" identifier (argument_list "(local_1d,this,true)" ( identifier , identifier , true ))) ;)) (if_statement "if ((0 < param_1) && (local_1d[0] != (sentry)0x0)) {\n    piVar1 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar1[2] < (byte *)piVar1[3]) {\n      uVar2 = (uint)*(byte *)piVar1[2];\n    }\n    else {\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    }\n    local_3a = (sentry)0x0;\n    iVar6 = *(int *)(this + 4);\njoined_r0x0026f8b2:\n    while (param_1 <= iVar6) {\n      if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar2 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      *(undefined4 *)(this + 4) = 0x80000000;\n      iVar6 = -0x80000000;\n    }\n    if (uVar2 != 0xffffffff) {\n      local_34 = (byte *)piVar1[3];\n      pbVar3 = (byte *)piVar1[2];\n      iVar5 = (int)local_34 - (int)pbVar3;\n      if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {\n        iVar5 = param_1 - iVar6;\n      }\n      if (iVar5 < 2) {\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n      iVar6 = *(int *)(this + 4);\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != (sentry)0x0) {\n      *(undefined4 *)(this + 4) = 0x7fffffff;\n    }\nLAB_0026f995:\n    ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);\n  }" if (parenthesized_expression "((0 < param_1) && (local_1d[0] != (sentry)0x0))" ( (binary_expression "(0 < param_1) && (local_1d[0] != (sentry)0x0)" (parenthesized_expression "(0 < param_1)" ( (binary_expression "0 < param_1" number_literal < identifier) )) && (parenthesized_expression "(local_1d[0] != (sentry)0x0)" ( (binary_expression "local_1d[0] != (sentry)0x0" (subscript_expression "local_1d[0]" identifier [ number_literal ]) != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) ))) )) (compound_statement "{\n    piVar1 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar1[2] < (byte *)piVar1[3]) {\n      uVar2 = (uint)*(byte *)piVar1[2];\n    }\n    else {\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    }\n    local_3a = (sentry)0x0;\n    iVar6 = *(int *)(this + 4);\njoined_r0x0026f8b2:\n    while (param_1 <= iVar6) {\n      if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar2 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      *(undefined4 *)(this + 4) = 0x80000000;\n      iVar6 = -0x80000000;\n    }\n    if (uVar2 != 0xffffffff) {\n      local_34 = (byte *)piVar1[3];\n      pbVar3 = (byte *)piVar1[2];\n      iVar5 = (int)local_34 - (int)pbVar3;\n      if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {\n        iVar5 = param_1 - iVar6;\n      }\n      if (iVar5 < 2) {\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n      iVar6 = *(int *)(this + 4);\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != (sentry)0x0) {\n      *(undefined4 *)(this + 4) = 0x7fffffff;\n    }\nLAB_0026f995:\n    ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);\n  }" { (expression_statement "piVar1 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);" (assignment_expression "piVar1 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" * (cast_expression "(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x78" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)piVar1[2] < (byte *)piVar1[3]) {\n      uVar2 = (uint)*(byte *)piVar1[2];\n    }\n    else {\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    }" if (parenthesized_expression "((byte *)piVar1[2] < (byte *)piVar1[3])" ( (binary_expression "(byte *)piVar1[2] < (byte *)piVar1[3]" (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) < (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      uVar2 = (uint)*(byte *)piVar1[2];\n    }" { (expression_statement "uVar2 = (uint)*(byte *)piVar1[2];" (assignment_expression "uVar2 = (uint)*(byte *)piVar1[2]" identifier = (binary_expression "(uint)*(byte *)piVar1[2]" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    }" else (compound_statement "{\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    }" { (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" ( (pointer_expression "**(code **)(*piVar1 + 0x24)" * (pointer_expression "*(code **)(*piVar1 + 0x24)" * (cast_expression "(code **)(*piVar1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x24)" ( (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) }))) (expression_statement "local_3a = (sentry)0x0;" (assignment_expression "local_3a = (sentry)0x0" identifier = (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) ;) (expression_statement "iVar6 = *(int *)(this + 4);" (assignment_expression "iVar6 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x0026f8b2:\n    while (param_1 <= iVar6) {\n      if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar2 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      *(undefined4 *)(this + 4) = 0x80000000;\n      iVar6 = -0x80000000;\n    }" statement_identifier : (while_statement "while (param_1 <= iVar6) {\n      if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar2 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      *(undefined4 *)(this + 4) = 0x80000000;\n      iVar6 = -0x80000000;\n    }" while (parenthesized_expression "(param_1 <= iVar6)" ( (binary_expression "param_1 <= iVar6" identifier <= identifier) )) (compound_statement "{\n      if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar2 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      *(undefined4 *)(this + 4) = 0x80000000;\n      iVar6 = -0x80000000;\n    }" { (if_statement "if (param_1 != 0x7fffffff) {\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }" if (parenthesized_expression "(param_1 != 0x7fffffff)" ( (binary_expression "param_1 != 0x7fffffff" identifier != number_literal) )) (compound_statement "{\n        if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }\n        if (uVar2 != 0xffffffff) {\n          return this;\n        }\n        goto LAB_0026f995;\n      }" { (if_statement "if (local_3a != (sentry)0x0) {\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }" if (parenthesized_expression "(local_3a != (sentry)0x0)" ( (binary_expression "local_3a != (sentry)0x0" identifier != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)(this + 4) = 0x7fffffff;\n        }" { (expression_statement "*(undefined4 *)(this + 4) = 0x7fffffff;" (assignment_expression "*(undefined4 *)(this + 4) = 0x7fffffff" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (uVar2 != 0xffffffff) {\n          return this;\n        }" if (parenthesized_expression "(uVar2 != 0xffffffff)" ( (binary_expression "uVar2 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n          return this;\n        }" { (return_statement "return this;" return identifier ;) })) (goto_statement "goto LAB_0026f995;" goto statement_identifier ;) })) (if_statement "if (uVar2 == 0xffffffff) goto LAB_0026f988;" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (goto_statement "goto LAB_0026f988;" goto statement_identifier ;)) (expression_statement "local_3a = local_1d[0];" (assignment_expression "local_3a = local_1d[0]" identifier = (subscript_expression "local_1d[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(this + 4) = 0x80000000;" (assignment_expression "*(undefined4 *)(this + 4) = 0x80000000" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = -0x80000000;" (assignment_expression "iVar6 = -0x80000000" identifier = number_literal) ;) }))) (if_statement "if (uVar2 != 0xffffffff) {\n      local_34 = (byte *)piVar1[3];\n      pbVar3 = (byte *)piVar1[2];\n      iVar5 = (int)local_34 - (int)pbVar3;\n      if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {\n        iVar5 = param_1 - iVar6;\n      }\n      if (iVar5 < 2) {\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n      iVar6 = *(int *)(this + 4);\n      goto joined_r0x0026f8b2;\n    }" if (parenthesized_expression "(uVar2 != 0xffffffff)" ( (binary_expression "uVar2 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      local_34 = (byte *)piVar1[3];\n      pbVar3 = (byte *)piVar1[2];\n      iVar5 = (int)local_34 - (int)pbVar3;\n      if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {\n        iVar5 = param_1 - iVar6;\n      }\n      if (iVar5 < 2) {\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */\n      uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n      iVar6 = *(int *)(this + 4);\n      goto joined_r0x0026f8b2;\n    }" { (expression_statement "local_34 = (byte *)piVar1[3];" (assignment_expression "local_34 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "pbVar3 = (byte *)piVar1[2];" (assignment_expression "pbVar3 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = (int)local_34 - (int)pbVar3;" (assignment_expression "iVar5 = (int)local_34 - (int)pbVar3" identifier = (binary_expression "(int)local_34 - (int)pbVar3" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (param_1 - iVar6 <= (int)local_34 - (int)pbVar3) {\n        iVar5 = param_1 - iVar6;\n      }" if (parenthesized_expression "(param_1 - iVar6 <= (int)local_34 - (int)pbVar3)" ( (binary_expression "param_1 - iVar6 <= (int)local_34 - (int)pbVar3" (binary_expression "param_1 - iVar6" identifier - identifier) <= (binary_expression "(int)local_34 - (int)pbVar3" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n        iVar5 = param_1 - iVar6;\n      }" { (expression_statement "iVar5 = param_1 - iVar6;" (assignment_expression "iVar5 = param_1 - iVar6" identifier = (binary_expression "param_1 - iVar6" identifier - identifier)) ;) })) (if_statement "if (iVar5 < 2) {\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }" if (parenthesized_expression "(iVar5 < 2)" ( (binary_expression "iVar5 < 2" identifier < number_literal) )) (compound_statement "{\n        *(int *)(this + 4) = iVar6 + 1;\n        if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }\n      }" { (expression_statement "*(int *)(this + 4) = iVar6 + 1;" (assignment_expression "*(int *)(this + 4) = iVar6 + 1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar3 < local_34) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }" if (parenthesized_expression "(pbVar3 < local_34)" ( (binary_expression "pbVar3 < local_34" identifier < identifier) )) (compound_statement "{\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[2] = (int)pbVar3;" (assignment_expression "piVar1[2] = (int)pbVar3" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }" else (compound_statement "{\n          iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar6 == -1) goto LAB_0026f988;\n          pbVar3 = (byte *)piVar1[2];\n          local_34 = (byte *)piVar1[3];\n        }" { (expression_statement "iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1);" (assignment_expression "iVar6 = (**(code **)(*piVar1 + 0x28))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) goto LAB_0026f988;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0026f988;" goto statement_identifier ;)) (expression_statement "pbVar3 = (byte *)piVar1[2];" (assignment_expression "pbVar3 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "local_34 = (byte *)piVar1[3];" (assignment_expression "local_34 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }" if (parenthesized_expression "(pbVar3 < local_34)" ( (binary_expression "pbVar3 < local_34" identifier < identifier) )) (compound_statement "{\n          uVar2 = (uint)*pbVar3;\n          iVar6 = *(int *)(this + 4);\n          goto joined_r0x0026f8b2;\n        }" { (expression_statement "uVar2 = (uint)*pbVar3;" (assignment_expression "uVar2 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "iVar6 = *(int *)(this + 4);" (assignment_expression "iVar6 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) }) (else_clause "else {\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }" else (compound_statement "{\n        pbVar3 = pbVar3 + iVar5;\n        iVar6 = iVar6 + iVar5;\n        piVar1[2] = (int)pbVar3;\n        *(int *)(this + 4) = iVar6;\n        if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }\n      }" { (expression_statement "pbVar3 = pbVar3 + iVar5;" (assignment_expression "pbVar3 = pbVar3 + iVar5" identifier = (binary_expression "pbVar3 + iVar5" identifier + identifier)) ;) (expression_statement "iVar6 = iVar6 + iVar5;" (assignment_expression "iVar6 = iVar6 + iVar5" identifier = (binary_expression "iVar6 + iVar5" identifier + identifier)) ;) (expression_statement "piVar1[2] = (int)pbVar3;" (assignment_expression "piVar1[2] = (int)pbVar3" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(int *)(this + 4) = iVar6;" (assignment_expression "*(int *)(this + 4) = iVar6" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pbVar3 < local_34) {\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }" if (parenthesized_expression "(pbVar3 < local_34)" ( (binary_expression "pbVar3 < local_34" identifier < identifier) )) (compound_statement "{\n          uVar2 = (uint)*pbVar3;\n          goto joined_r0x0026f8b2;\n        }" { (expression_statement "uVar2 = (uint)*pbVar3;" (assignment_expression "uVar2 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) }))) comment (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" ( (pointer_expression "**(code **)(*piVar1 + 0x24)" * (pointer_expression "*(code **)(*piVar1 + 0x24)" * (cast_expression "(code **)(*piVar1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x24)" ( (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "iVar6 = *(int *)(this + 4);" (assignment_expression "iVar6 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) (labeled_statement "LAB_0026f988:\n    if (local_3a != (sentry)0x0) {\n      *(undefined4 *)(this + 4) = 0x7fffffff;\n    }" statement_identifier : (if_statement "if (local_3a != (sentry)0x0) {\n      *(undefined4 *)(this + 4) = 0x7fffffff;\n    }" if (parenthesized_expression "(local_3a != (sentry)0x0)" ( (binary_expression "local_3a != (sentry)0x0" identifier != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)(this + 4) = 0x7fffffff;\n    }" { (expression_statement "*(undefined4 *)(this + 4) = 0x7fffffff;" (assignment_expression "*(undefined4 *)(this + 4) = 0x7fffffff" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) }))) (labeled_statement "LAB_0026f995:\n    ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);" statement_identifier : (labeled_statement "ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit);" (call_expression "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit)" identifier (argument_list "((ios *)(this + *(int *)(*(int *)this + -0xc)),\n               *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit)" ( (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "*(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14) | _S_eofbit" (pointer_expression "*(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" * (cast_expression "(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (binary_expression "(ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) )))) | identifier) ))) ;))) })) (return_statement "return this;" return identifier ;) })))
(translation_unit "int * FUN_0026f830(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  char local_3a;\n  byte *local_34;\n  char local_1d [13];\n  \n  if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }\n  param_1[1] = 0;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }\n  return param_1;\n}\n\n" (function_definition "int * FUN_0026f830(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  char local_3a;\n  byte *local_34;\n  char local_1d [13];\n  \n  if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }\n  param_1[1] = 0;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0026f830(int *param_1,int param_2)" * (function_declarator "FUN_0026f830(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  char local_3a;\n  byte *local_34;\n  char local_1d [13];\n  \n  if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }\n  param_1[1] = 0;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char local_3a;" primitive_type identifier ;) (declaration "byte *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "char local_1d [13];" primitive_type (array_declarator "local_1d [13]" identifier [ number_literal ]) ;) (if_statement "if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }" if (parenthesized_expression "(param_2 == 1)" ( (binary_expression "param_2 == 1" identifier == number_literal) )) (compound_statement "{\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }" { (expression_statement "piVar3 = (int *)FUN_0020b520(param_1);" (assignment_expression "piVar3 = (int *)FUN_0020b520(param_1)" identifier = (cast_expression "(int *)FUN_0020b520(param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0020b520(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (return_statement "return piVar3;" return identifier ;) })) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0020a6a0(local_1d,param_1,1);" (call_expression "FUN_0020a6a0(local_1d,param_1,1)" identifier (argument_list "(local_1d,param_1,1)" ( identifier , identifier , number_literal ))) ;) (if_statement "if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }" if (parenthesized_expression "((0 < param_2) && (local_1d[0] != '\0'))" ( (binary_expression "(0 < param_2) && (local_1d[0] != '\0')" (parenthesized_expression "(0 < param_2)" ( (binary_expression "0 < param_2" number_literal < identifier) )) && (parenthesized_expression "(local_1d[0] != '\0')" ( (binary_expression "local_1d[0] != '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }" { (expression_statement "piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" if (parenthesized_expression "((byte *)piVar3[2] < (byte *)piVar3[3])" ( (binary_expression "(byte *)piVar3[2] < (byte *)piVar3[3]" (cast_expression "(byte *)piVar3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) < (cast_expression "(byte *)piVar3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }" { (expression_statement "uVar1 = (uint)*(byte *)piVar3[2];" (assignment_expression "uVar1 = (uint)*(byte *)piVar3[2]" identifier = (binary_expression "(uint)*(byte *)piVar3[2]" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)piVar3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" else (compound_statement "{\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" { (expression_statement "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);" (assignment_expression "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3)" identifier = (call_expression "(**(code **)(*piVar3 + 0x24))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x24))" ( (pointer_expression "**(code **)(*piVar3 + 0x24)" * (pointer_expression "*(code **)(*piVar3 + 0x24)" * (cast_expression "(code **)(*piVar3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x24)" ( (binary_expression "*piVar3 + 0x24" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier )))) ;) }))) (expression_statement "local_3a = '\0';" (assignment_expression "local_3a = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" statement_identifier : (while_statement "while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" while (parenthesized_expression "(param_2 <= iVar5)" ( (binary_expression "param_2 <= iVar5" identifier <= identifier) )) (compound_statement "{\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" { (if_statement "if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }" if (parenthesized_expression "(param_2 != 0x7fffffff)" ( (binary_expression "param_2 != 0x7fffffff" identifier != number_literal) )) (compound_statement "{\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }" { (if_statement "if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }" if (parenthesized_expression "(local_3a != '\0')" ( (binary_expression "local_3a != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          param_1[1] = 0x7fffffff;\n        }" { (expression_statement "param_1[1] = 0x7fffffff;" (assignment_expression "param_1[1] = 0x7fffffff" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (uVar1 != 0xffffffff) {\n          return param_1;\n        }" if (parenthesized_expression "(uVar1 != 0xffffffff)" ( (binary_expression "uVar1 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n          return param_1;\n        }" { (return_statement "return param_1;" return identifier ;) })) (goto_statement "goto LAB_0026f995;" goto statement_identifier ;) })) (if_statement "if (uVar1 == 0xffffffff) goto LAB_0026f988;" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (goto_statement "goto LAB_0026f988;" goto statement_identifier ;)) (expression_statement "local_3a = local_1d[0];" (assignment_expression "local_3a = local_1d[0]" identifier = (subscript_expression "local_1d[0]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = -0x80000000;" (assignment_expression "param_1[1] = -0x80000000" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar5 = -0x80000000;" (assignment_expression "iVar5 = -0x80000000" identifier = number_literal) ;) }))) (if_statement "if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }" if (parenthesized_expression "(uVar1 != 0xffffffff)" ( (binary_expression "uVar1 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }" { (expression_statement "local_34 = (byte *)piVar3[3];" (assignment_expression "local_34 = (byte *)piVar3[3]" identifier = (cast_expression "(byte *)piVar3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ]))) ;) (expression_statement "pbVar2 = (byte *)piVar3[2];" (assignment_expression "pbVar2 = (byte *)piVar3[2]" identifier = (cast_expression "(byte *)piVar3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = (int)local_34 - (int)pbVar2;" (assignment_expression "iVar4 = (int)local_34 - (int)pbVar2" identifier = (binary_expression "(int)local_34 - (int)pbVar2" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }" if (parenthesized_expression "(param_2 - iVar5 <= (int)local_34 - (int)pbVar2)" ( (binary_expression "param_2 - iVar5 <= (int)local_34 - (int)pbVar2" (binary_expression "param_2 - iVar5" identifier - identifier) <= (binary_expression "(int)local_34 - (int)pbVar2" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n        iVar4 = param_2 - iVar5;\n      }" { (expression_statement "iVar4 = param_2 - iVar5;" (assignment_expression "iVar4 = param_2 - iVar5" identifier = (binary_expression "param_2 - iVar5" identifier - identifier)) ;) })) (if_statement "if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" if (parenthesized_expression "(iVar4 < 2)" ( (binary_expression "iVar4 < 2" identifier < number_literal) )) (compound_statement "{\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }" { (expression_statement "param_1[1] = iVar5 + 1;" (assignment_expression "param_1[1] = iVar5 + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" if (parenthesized_expression "(pbVar2 < local_34)" ( (binary_expression "pbVar2 < local_34" identifier < identifier) )) (compound_statement "{\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }" { (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) (expression_statement "piVar3[2] = (int)pbVar2;" (assignment_expression "piVar3[2] = (int)pbVar2" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" else (compound_statement "{\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" { (expression_statement "iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);" (assignment_expression "iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3)" identifier = (call_expression "(**(code **)(*piVar3 + 0x28))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x28))" ( (pointer_expression "**(code **)(*piVar3 + 0x28)" * (pointer_expression "*(code **)(*piVar3 + 0x28)" * (cast_expression "(code **)(*piVar3 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x28)" ( (binary_expression "*piVar3 + 0x28" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier )))) ;) (if_statement "if (iVar5 == -1) goto LAB_0026f988;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0026f988;" goto statement_identifier ;)) (expression_statement "pbVar2 = (byte *)piVar3[2];" (assignment_expression "pbVar2 = (byte *)piVar3[2]" identifier = (cast_expression "(byte *)piVar3[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) ;) (expression_statement "local_34 = (byte *)piVar3[3];" (assignment_expression "local_34 = (byte *)piVar3[3]" identifier = (cast_expression "(byte *)piVar3[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }" if (parenthesized_expression "(pbVar2 < local_34)" ( (binary_expression "pbVar2 < local_34" identifier < identifier) )) (compound_statement "{\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }" { (expression_statement "uVar1 = (uint)*pbVar2;" (assignment_expression "uVar1 = (uint)*pbVar2" identifier = (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) }) (else_clause "else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" else (compound_statement "{\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" { (expression_statement "pbVar2 = pbVar2 + iVar4;" (assignment_expression "pbVar2 = pbVar2 + iVar4" identifier = (binary_expression "pbVar2 + iVar4" identifier + identifier)) ;) (expression_statement "iVar5 = iVar5 + iVar4;" (assignment_expression "iVar5 = iVar5 + iVar4" identifier = (binary_expression "iVar5 + iVar4" identifier + identifier)) ;) (expression_statement "piVar3[2] = (int)pbVar2;" (assignment_expression "piVar3[2] = (int)pbVar2" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }" if (parenthesized_expression "(pbVar2 < local_34)" ( (binary_expression "pbVar2 < local_34" identifier < identifier) )) (compound_statement "{\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }" { (expression_statement "uVar1 = (uint)*pbVar2;" (assignment_expression "uVar1 = (uint)*pbVar2" identifier = (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) }))) (expression_statement "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);" (assignment_expression "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3)" identifier = (call_expression "(**(code **)(*piVar3 + 0x24))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x24))" ( (pointer_expression "**(code **)(*piVar3 + 0x24)" * (pointer_expression "*(code **)(*piVar3 + 0x24)" * (cast_expression "(code **)(*piVar3 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x24)" ( (binary_expression "*piVar3 + 0x24" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier )))) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (goto_statement "goto joined_r0x0026f8b2;" goto statement_identifier ;) })) (labeled_statement "LAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }" statement_identifier : (if_statement "if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }" if (parenthesized_expression "(local_3a != '\0')" ( (binary_expression "local_3a != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      param_1[1] = 0x7fffffff;\n    }" { (expression_statement "param_1[1] = 0x7fffffff;" (assignment_expression "param_1[1] = 0x7fffffff" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) }))) (labeled_statement "LAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;" statement_identifier : (expression_statement "iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);" (call_expression "FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2)" identifier (argument_list "(iVar5,*(uint *)(iVar5 + 0x14) | 2)" ( identifier , (binary_expression "*(uint *)(iVar5 + 0x14) | 2" (pointer_expression "*(uint *)(iVar5 + 0x14)" * (cast_expression "(uint *)(iVar5 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }))) (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (while_statement while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) <= (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) 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) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT) ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0026f830(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  byte *pbVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  char local_3a;\n  byte *local_34;\n  char local_1d [13];\n  \n  if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }\n  param_1[1] = 0;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0026f830(int *param_1,int param_2)" (* "*") (function_declarator "FUN_0026f830(int *param_1,int param_2)" (identifier "FUN_0026f830") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  uint uVar1;\n  byte *pbVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  char local_3a;\n  byte *local_34;\n  char local_1d [13];\n  \n  if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }\n  param_1[1] = 0;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "char local_3a;" (primitive_type "char") (identifier "local_3a") (; ";")) (declaration "byte *local_34;" (type_identifier "byte") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "char local_1d [13];" (primitive_type "char") (array_declarator "local_1d [13]" (identifier "local_1d") ([ "[") (number_literal "13") (] "]")) (; ";")) (if_statement "if (param_2 == 1) {\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }" (if "if") (parenthesized_expression "(param_2 == 1)" (( "(") (binary_expression "param_2 == 1" (identifier "param_2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    piVar3 = (int *)FUN_0020b520(param_1);\n    return piVar3;\n  }" ({ "{") (expression_statement "piVar3 = (int *)FUN_0020b520(param_1);" (assignment_expression "piVar3 = (int *)FUN_0020b520(param_1)" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_0020b520(param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0020b520(param_1)" (identifier "FUN_0020b520") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (return_statement "return piVar3;" (return "return") (identifier "piVar3") (; ";")) (} "}"))) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0020a6a0(local_1d,param_1,1);" (call_expression "FUN_0020a6a0(local_1d,param_1,1)" (identifier "FUN_0020a6a0") (argument_list "(local_1d,param_1,1)" (( "(") (identifier "local_1d") (, ",") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (if_statement "if ((0 < param_2) && (local_1d[0] != '\0')) {\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }" (if "if") (parenthesized_expression "((0 < param_2) && (local_1d[0] != '\0'))" (( "(") (binary_expression "(0 < param_2) && (local_1d[0] != '\0')" (parenthesized_expression "(0 < param_2)" (( "(") (binary_expression "0 < param_2" (number_literal "0") (< "<") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(local_1d[0] != '\0')" (( "(") (binary_expression "local_1d[0] != '\0'" (subscript_expression "local_1d[0]" (identifier "local_1d") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }\n    local_3a = '\0';\n    iVar5 = param_1[1];\njoined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }\n    if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }\nLAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }\nLAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);\n  }" ({ "{") (expression_statement "piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (if_statement "if ((byte *)piVar3[2] < (byte *)piVar3[3]) {\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }\n    else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" (if "if") (parenthesized_expression "((byte *)piVar3[2] < (byte *)piVar3[3])" (( "(") (binary_expression "(byte *)piVar3[2] < (byte *)piVar3[3]" (cast_expression "(byte *)piVar3[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(byte *)piVar3[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      uVar1 = (uint)*(byte *)piVar3[2];\n    }" ({ "{") (expression_statement "uVar1 = (uint)*(byte *)piVar3[2];" (assignment_expression "uVar1 = (uint)*(byte *)piVar3[2]" (identifier "uVar1") (= "=") (binary_expression "(uint)*(byte *)piVar3[2]" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)piVar3[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" (else "else") (compound_statement "{\n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n    }" ({ "{") (expression_statement "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);" (assignment_expression "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3)" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*piVar3 + 0x24))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar3 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar3 + 0x24)" (* "*") (cast_expression "(code **)(*piVar3 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 0x24)" (( "(") (binary_expression "*piVar3 + 0x24" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")")))) (; ";")) (} "}")))) (expression_statement "local_3a = '\0';" (assignment_expression "local_3a = '\0'" (identifier "local_3a") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" (identifier "iVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (labeled_statement "joined_r0x0026f8b2:\n    while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" (statement_identifier "joined_r0x0026f8b2") (: ":") (while_statement "while (param_2 <= iVar5) {\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" (while "while") (parenthesized_expression "(param_2 <= iVar5)" (( "(") (binary_expression "param_2 <= iVar5" (identifier "param_2") (<= "<=") (identifier "iVar5")) () ")")) (compound_statement "{\n      if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }\n      if (uVar1 == 0xffffffff) goto LAB_0026f988;\n      local_3a = local_1d[0];\n      param_1[1] = -0x80000000;\n      iVar5 = -0x80000000;\n    }" ({ "{") (if_statement "if (param_2 != 0x7fffffff) {\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }" (if "if") (parenthesized_expression "(param_2 != 0x7fffffff)" (( "(") (binary_expression "param_2 != 0x7fffffff" (identifier "param_2") (!= "!=") (number_literal "0x7fffffff")) () ")")) (compound_statement "{\n        if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }\n        if (uVar1 != 0xffffffff) {\n          return param_1;\n        }\n        goto LAB_0026f995;\n      }" ({ "{") (if_statement "if (local_3a != '\0') {\n          param_1[1] = 0x7fffffff;\n        }" (if "if") (parenthesized_expression "(local_3a != '\0')" (( "(") (binary_expression "local_3a != '\0'" (identifier "local_3a") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          param_1[1] = 0x7fffffff;\n        }" ({ "{") (expression_statement "param_1[1] = 0x7fffffff;" (assignment_expression "param_1[1] = 0x7fffffff" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x7fffffff")) (; ";")) (} "}"))) (if_statement "if (uVar1 != 0xffffffff) {\n          return param_1;\n        }" (if "if") (parenthesized_expression "(uVar1 != 0xffffffff)" (( "(") (binary_expression "uVar1 != 0xffffffff" (identifier "uVar1") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n          return param_1;\n        }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (goto_statement "goto LAB_0026f995;" (goto "goto") (statement_identifier "LAB_0026f995") (; ";")) (} "}"))) (if_statement "if (uVar1 == 0xffffffff) goto LAB_0026f988;" (if "if") (parenthesized_expression "(uVar1 == 0xffffffff)" (( "(") (binary_expression "uVar1 == 0xffffffff" (identifier "uVar1") (== "==") (number_literal "0xffffffff")) () ")")) (goto_statement "goto LAB_0026f988;" (goto "goto") (statement_identifier "LAB_0026f988") (; ";"))) (expression_statement "local_3a = local_1d[0];" (assignment_expression "local_3a = local_1d[0]" (identifier "local_3a") (= "=") (subscript_expression "local_1d[0]" (identifier "local_1d") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "param_1[1] = -0x80000000;" (assignment_expression "param_1[1] = -0x80000000" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "-0x80000000")) (; ";")) (expression_statement "iVar5 = -0x80000000;" (assignment_expression "iVar5 = -0x80000000" (identifier "iVar5") (= "=") (number_literal "-0x80000000")) (; ";")) (} "}")))) (if_statement "if (uVar1 != 0xffffffff) {\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }" (if "if") (parenthesized_expression "(uVar1 != 0xffffffff)" (( "(") (binary_expression "uVar1 != 0xffffffff" (identifier "uVar1") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      local_34 = (byte *)piVar3[3];\n      pbVar2 = (byte *)piVar3[2];\n      iVar4 = (int)local_34 - (int)pbVar2;\n      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }\n      if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }\n                    \n      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);\n      iVar5 = param_1[1];\n      goto joined_r0x0026f8b2;\n    }" ({ "{") (expression_statement "local_34 = (byte *)piVar3[3];" (assignment_expression "local_34 = (byte *)piVar3[3]" (identifier "local_34") (= "=") (cast_expression "(byte *)piVar3[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "pbVar2 = (byte *)piVar3[2];" (assignment_expression "pbVar2 = (byte *)piVar3[2]" (identifier "pbVar2") (= "=") (cast_expression "(byte *)piVar3[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar4 = (int)local_34 - (int)pbVar2;" (assignment_expression "iVar4 = (int)local_34 - (int)pbVar2" (identifier "iVar4") (= "=") (binary_expression "(int)local_34 - (int)pbVar2" (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34")) (- "-") (cast_expression "(int)pbVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar2")))) (; ";")) (if_statement "if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {\n        iVar4 = param_2 - iVar5;\n      }" (if "if") (parenthesized_expression "(param_2 - iVar5 <= (int)local_34 - (int)pbVar2)" (( "(") (binary_expression "param_2 - iVar5 <= (int)local_34 - (int)pbVar2" (binary_expression "param_2 - iVar5" (identifier "param_2") (- "-") (identifier "iVar5")) (<= "<=") (binary_expression "(int)local_34 - (int)pbVar2" (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34")) (- "-") (cast_expression "(int)pbVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar2")))) () ")")) (compound_statement "{\n        iVar4 = param_2 - iVar5;\n      }" ({ "{") (expression_statement "iVar4 = param_2 - iVar5;" (assignment_expression "iVar4 = param_2 - iVar5" (identifier "iVar4") (= "=") (binary_expression "param_2 - iVar5" (identifier "param_2") (- "-") (identifier "iVar5"))) (; ";")) (} "}"))) (if_statement "if (iVar4 < 2) {\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }\n      else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" (if "if") (parenthesized_expression "(iVar4 < 2)" (( "(") (binary_expression "iVar4 < 2" (identifier "iVar4") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        param_1[1] = iVar5 + 1;\n        if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }\n      }" ({ "{") (expression_statement "param_1[1] = iVar5 + 1;" (assignment_expression "param_1[1] = iVar5 + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pbVar2 < local_34) {\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" (if "if") (parenthesized_expression "(pbVar2 < local_34)" (( "(") (binary_expression "pbVar2 < local_34" (identifier "pbVar2") (< "<") (identifier "local_34")) () ")")) (compound_statement "{\n          pbVar2 = pbVar2 + 1;\n          piVar3[2] = (int)pbVar2;\n        }" ({ "{") (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" (identifier "pbVar2") (= "=") (binary_expression "pbVar2 + 1" (identifier "pbVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3[2] = (int)pbVar2;" (assignment_expression "piVar3[2] = (int)pbVar2" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pbVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar2"))) (; ";")) (} "}")) (else_clause "else {\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" (else "else") (compound_statement "{\n          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);\n          if (iVar5 == -1) goto LAB_0026f988;\n          pbVar2 = (byte *)piVar3[2];\n          local_34 = (byte *)piVar3[3];\n        }" ({ "{") (expression_statement "iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);" (assignment_expression "iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*piVar3 + 0x28))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar3 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar3 + 0x28)" (* "*") (cast_expression "(code **)(*piVar3 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 0x28)" (( "(") (binary_expression "*piVar3 + 0x28" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")")))) (; ";")) (if_statement "if (iVar5 == -1) goto LAB_0026f988;" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0026f988;" (goto "goto") (statement_identifier "LAB_0026f988") (; ";"))) (expression_statement "pbVar2 = (byte *)piVar3[2];" (assignment_expression "pbVar2 = (byte *)piVar3[2]" (identifier "pbVar2") (= "=") (cast_expression "(byte *)piVar3[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "local_34 = (byte *)piVar3[3];" (assignment_expression "local_34 = (byte *)piVar3[3]" (identifier "local_34") (= "=") (cast_expression "(byte *)piVar3[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")))) (; ";")) (} "}")))) (if_statement "if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }" (if "if") (parenthesized_expression "(pbVar2 < local_34)" (( "(") (binary_expression "pbVar2 < local_34" (identifier "pbVar2") (< "<") (identifier "local_34")) () ")")) (compound_statement "{\n          uVar1 = (uint)*pbVar2;\n          iVar5 = param_1[1];\n          goto joined_r0x0026f8b2;\n        }" ({ "{") (expression_statement "uVar1 = (uint)*pbVar2;" (assignment_expression "uVar1 = (uint)*pbVar2" (identifier "uVar1") (= "=") (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar2"))) (; ";")) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" (identifier "iVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (goto_statement "goto joined_r0x0026f8b2;" (goto "goto") (statement_identifier "joined_r0x0026f8b2") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" (else "else") (compound_statement "{\n        pbVar2 = pbVar2 + iVar4;\n        iVar5 = iVar5 + iVar4;\n        piVar3[2] = (int)pbVar2;\n        param_1[1] = iVar5;\n        if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }\n      }" ({ "{") (expression_statement "pbVar2 = pbVar2 + iVar4;" (assignment_expression "pbVar2 = pbVar2 + iVar4" (identifier "pbVar2") (= "=") (binary_expression "pbVar2 + iVar4" (identifier "pbVar2") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "iVar5 = iVar5 + iVar4;" (assignment_expression "iVar5 = iVar5 + iVar4" (identifier "iVar5") (= "=") (binary_expression "iVar5 + iVar4" (identifier "iVar5") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "piVar3[2] = (int)pbVar2;" (assignment_expression "piVar3[2] = (int)pbVar2" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pbVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar2"))) (; ";")) (expression_statement "param_1[1] = iVar5;" (assignment_expression "param_1[1] = iVar5" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (pbVar2 < local_34) {\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }" (if "if") (parenthesized_expression "(pbVar2 < local_34)" (( "(") (binary_expression "pbVar2 < local_34" (identifier "pbVar2") (< "<") (identifier "local_34")) () ")")) (compound_statement "{\n          uVar1 = (uint)*pbVar2;\n          goto joined_r0x0026f8b2;\n        }" ({ "{") (expression_statement "uVar1 = (uint)*pbVar2;" (assignment_expression "uVar1 = (uint)*pbVar2" (identifier "uVar1") (= "=") (binary_expression "(uint)*pbVar2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar2"))) (; ";")) (goto_statement "goto joined_r0x0026f8b2;" (goto "goto") (statement_identifier "joined_r0x0026f8b2") (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);" (assignment_expression "uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3)" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*piVar3 + 0x24))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar3 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar3 + 0x24)" (* "*") (cast_expression "(code **)(*piVar3 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 0x24)" (( "(") (binary_expression "*piVar3 + 0x24" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")")))) (; ";")) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" (identifier "iVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (goto_statement "goto joined_r0x0026f8b2;" (goto "goto") (statement_identifier "joined_r0x0026f8b2") (; ";")) (} "}"))) (labeled_statement "LAB_0026f988:\n    if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }" (statement_identifier "LAB_0026f988") (: ":") (if_statement "if (local_3a != '\0') {\n      param_1[1] = 0x7fffffff;\n    }" (if "if") (parenthesized_expression "(local_3a != '\0')" (( "(") (binary_expression "local_3a != '\0'" (identifier "local_3a") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      param_1[1] = 0x7fffffff;\n    }" ({ "{") (expression_statement "param_1[1] = 0x7fffffff;" (assignment_expression "param_1[1] = 0x7fffffff" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x7fffffff")) (; ";")) (} "}")))) (labeled_statement "LAB_0026f995:\n    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;" (statement_identifier "LAB_0026f995") (: ":") (expression_statement "iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1" (identifier "iVar5") (= "=") (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";"))) (expression_statement "FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);" (call_expression "FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2)" (identifier "FUN_00210c00") (argument_list "(iVar5,*(uint *)(iVar5 + 0x14) | 2)" (( "(") (identifier "iVar5") (, ",") (binary_expression "*(uint *)(iVar5 + 0x14) | 2" (pointer_expression "*(uint *)(iVar5 + 0x14)" (* "*") (cast_expression "(uint *)(iVar5 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")")))) (| "|") (number_literal "2")) () ")"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* std::istream::ignore(int) */

type_3 * __thiscall std::type_3::var_1(type_3 *var_2,int function_1)

{
  int *piVar1;
  type_1 var_5;
  type_2 *var_7;
  type_3 *piVar4;
  int var_6;
  int var_3;
  type_4 var_4;
  type_2 *var_8;
  type_4 local_1d [13];
  
  if (function_1 == 1) {
    piVar4 = (type_3 *)var_1(var_2);
    return piVar4;
  }
  *(type_5 *)(var_2 + 4) = 0;
  sentry::type_4(local_1d,var_2,true);
  if ((0 < function_1) && (local_1d[0] != (type_4)0x0)) {
    piVar1 = *(int **)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 0x78);
    if ((type_2 *)piVar1[2] < (type_2 *)piVar1[3]) {
      var_5 = (type_1)*(type_2 *)piVar1[2];
    }
    else {
      var_5 = (**(type_6 **)(*piVar1 + 0x24))(piVar1);
    }
    var_4 = (type_4)0x0;
    var_3 = *(int *)(var_2 + 4);
joined_r0x0026f8b2:
    while (function_1 <= var_3) {
      if (function_1 != 0x7fffffff) {
        if (var_4 != (type_4)0x0) {
          *(type_5 *)(var_2 + 4) = 0x7fffffff;
        }
        if (var_5 != 0xffffffff) {
          return var_2;
        }
        goto LAB_0026f995;
      }
      if (var_5 == 0xffffffff) goto LAB_0026f988;
      var_4 = local_1d[0];
      *(type_5 *)(var_2 + 4) = 0x80000000;
      var_3 = -0x80000000;
    }
    if (var_5 != 0xffffffff) {
      var_8 = (type_2 *)piVar1[3];
      var_7 = (type_2 *)piVar1[2];
      var_6 = (int)var_8 - (int)var_7;
      if (function_1 - var_3 <= (int)var_8 - (int)var_7) {
        var_6 = function_1 - var_3;
      }
      if (var_6 < 2) {
        *(int *)(var_2 + 4) = var_3 + 1;
        if (var_7 < var_8) {
          var_7 = var_7 + 1;
          piVar1[2] = (int)var_7;
        }
        else {
          var_3 = (**(type_6 **)(*piVar1 + 0x28))(piVar1);
          if (var_3 == -1) goto LAB_0026f988;
          var_7 = (type_2 *)piVar1[2];
          var_8 = (type_2 *)piVar1[3];
        }
        if (var_7 < var_8) {
          var_5 = (type_1)*var_7;
          var_3 = *(int *)(var_2 + 4);
          goto joined_r0x0026f8b2;
        }
      }
      else {
        var_7 = var_7 + var_6;
        var_3 = var_3 + var_6;
        piVar1[2] = (int)var_7;
        *(int *)(var_2 + 4) = var_3;
        if (var_7 < var_8) {
          var_5 = (type_1)*var_7;
          goto joined_r0x0026f8b2;
        }
      }
                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */
      var_5 = (**(type_6 **)(*piVar1 + 0x24))(piVar1);
      var_3 = *(int *)(var_2 + 4);
      goto joined_r0x0026f8b2;
    }
LAB_0026f988:
    if (var_4 != (type_4)0x0) {
      *(type_5 *)(var_2 + 4) = 0x7fffffff;
    }
LAB_0026f995:
    ios::var_9((type_7 *)(var_2 + *(int *)(*(int *)var_2 + -0xc)),
               *(type_8 *)((type_7 *)(var_2 + *(int *)(*(int *)var_2 + -0xc)) + 0x14) | var_10);
  }
  return var_2;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int * MASKED(int *param_1,int param_2)

{
  uint uVar1;
  byte *pbVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  char local_3a;
  byte *local_34;
  char local_1d [13];
  
  if (param_2 == 1) {
    piVar3 = (int *)FUN_0020b520(param_1);
    return piVar3;
  }
  param_1[1] = 0;
  FUN_0020a6a0(local_1d,param_1,1);
  if ((0 < param_2) && (local_1d[0] != '\0')) {
    piVar3 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);
    if ((byte *)piVar3[2] < (byte *)piVar3[3]) {
      uVar1 = (uint)*(byte *)piVar3[2];
    }
    else {
      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);
    }
    local_3a = '\0';
    iVar5 = param_1[1];
joined_r0x0026f8b2:
    while (param_2 <= iVar5) {
      if (param_2 != 0x7fffffff) {
        if (local_3a != '\0') {
          param_1[1] = 0x7fffffff;
        }
        if (uVar1 != 0xffffffff) {
          return param_1;
        }
        goto LAB_0026f995;
      }
      if (uVar1 == 0xffffffff) goto LAB_0026f988;
      local_3a = local_1d[0];
      param_1[1] = -0x80000000;
      iVar5 = -0x80000000;
    }
    if (uVar1 != 0xffffffff) {
      local_34 = (byte *)piVar3[3];
      pbVar2 = (byte *)piVar3[2];
      iVar4 = (int)local_34 - (int)pbVar2;
      if (param_2 - iVar5 <= (int)local_34 - (int)pbVar2) {
        iVar4 = param_2 - iVar5;
      }
      if (iVar4 < 2) {
        param_1[1] = iVar5 + 1;
        if (pbVar2 < local_34) {
          pbVar2 = pbVar2 + 1;
          piVar3[2] = (int)pbVar2;
        }
        else {
          iVar5 = (**(code **)(*piVar3 + 0x28))(piVar3);
          if (iVar5 == -1) goto LAB_0026f988;
          pbVar2 = (byte *)piVar3[2];
          local_34 = (byte *)piVar3[3];
        }
        if (pbVar2 < local_34) {
          uVar1 = (uint)*pbVar2;
          iVar5 = param_1[1];
          goto joined_r0x0026f8b2;
        }
      }
      else {
        pbVar2 = pbVar2 + iVar4;
        iVar5 = iVar5 + iVar4;
        piVar3[2] = (int)pbVar2;
        param_1[1] = iVar5;
        if (pbVar2 < local_34) {
          uVar1 = (uint)*pbVar2;
          goto joined_r0x0026f8b2;
        }
      }
                    /* try { // try from 0026f9c9 to 0026fa0b has its CatchHandler @ 0026fa14 */
      uVar1 = (**(code **)(*piVar3 + 0x24))(piVar3);
      iVar5 = param_1[1];
      goto joined_r0x0026f8b2;
    }
LAB_0026f988:
    if (local_3a != '\0') {
      param_1[1] = 0x7fffffff;
    }
LAB_0026f995:
    iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;
    FUN_00210c00(iVar5,*(uint *)(iVar5 + 0x14) | 2);
  }
  return param_1;
}

