
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::istream::get(char*, int, char) */

void std::istream::get(char *param_1,int param_2,char param_3)

{
}



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

int * FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)

{
  int *piVar1;
  uint uVar2;
  byte *pbVar3;
  byte *pbVar4;
  int iVar5;
  undefined1 *puVar6;
  char local_1d [9];
  undefined4 uStack_14;
  
  uStack_14 = 0x26c44b;
  param_1[1] = 0;
  FUN_0026bb10(local_1d,param_1,1);
  if (local_1d[0] == '\0') {
    if (0 < param_3) {
      *param_2 = 0;
      iVar5 = param_1[1];
      goto joined_r0x0026c51c;
    }
    iVar5 = param_1[1];
LAB_0026c5db:
    if (iVar5 != 0) {
      return param_1;
    }
  }
  else {
    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);
    pbVar3 = (byte *)piVar1[2];
    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;
LAB_0026c4e0:
                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */
    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);
    iVar5 = param_1[1];
    puVar6 = param_2;
    if (iVar5 + 1 < param_3) {
      do {
        param_2 = puVar6;
        if (uVar2 == 0xffffffff) {
LAB_0026c577:
          uVar2 = 2;
          puVar6 = param_2;
LAB_0026c57c:
          if (0 < param_3) {
            *puVar6 = 0;
          }
          if (param_1[1] == 0) {
            uVar2 = uVar2 | 4;
          }
          else if (uVar2 == 0) {
            return param_1;
          }
          goto LAB_0026c499;
        }
        if ((param_4 & 0xff) == uVar2) {
          uVar2 = 0;
          goto LAB_0026c57c;
        }
        param_2 = puVar6 + 1;
        *puVar6 = (char)uVar2;
        pbVar3 = (byte *)piVar1[2];
        pbVar4 = (byte *)piVar1[3];
        param_1[1] = param_1[1] + 1;
        if (pbVar3 < pbVar4) {
          pbVar3 = pbVar3 + 1;
          piVar1[2] = (int)pbVar3;
        }
        else {
          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);
          if (iVar5 == -1) goto LAB_0026c577;
          pbVar3 = (byte *)piVar1[2];
          pbVar4 = (byte *)piVar1[3];
        }
        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;
LAB_0026c532:
        iVar5 = param_1[1];
        uVar2 = (uint)*pbVar3;
        puVar6 = param_2;
        if (param_3 <= iVar5 + 1) break;
      } while( true );
    }
    if (uVar2 == 0xffffffff) {
      if (0 < param_3) {
        *param_2 = 0;
        iVar5 = param_1[1];
      }
      if (iVar5 == 0) {
        uVar2 = 6;
      }
      else {
        uVar2 = 2;
      }
      goto LAB_0026c499;
    }
    if (param_3 < 1) goto LAB_0026c5db;
    *param_2 = 0;
    iVar5 = param_1[1];
joined_r0x0026c51c:
    if (iVar5 != 0) {
      return param_1;
    }
  }
  uVar2 = 4;
LAB_0026c499:
  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;
  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x1a7bb5
SUB ESP,0x30
MOV EAX,dword ptr [EBP + 0x14]
MOV ESI,dword ptr [EBP + 0x8]
MOV EDI,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x2c],EAX
LEA EAX,[EBP + -0x19]
MOV dword ptr [ESI + 0x4],0x0
PUSH 0x1
PUSH ESI
PUSH EAX
MOV dword ptr [EBP + -0x30],EBX
CALL 0x0026bb10
ADD ESP,0x10
CMP byte ptr [EBP + -0x19],0x0
JNZ 0x0026c4c0
MOV EAX,dword ptr [EBP + 0x10]
TEST EAX,EAX
JLE 0x0026c5d8
MOV byte ptr [EDI],0x0
MOV EDI,dword ptr [ESI + 0x4]
TEST EDI,EDI
JNZ 0x0026c4b3
MOV EAX,0x4
MOV EDX,dword ptr [ESI]
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x30]
MOV EDI,dword ptr [EDX + -0xc]
ADD EDI,ESI
OR EAX,dword ptr [EDI + 0x14]
PUSH EAX
PUSH EDI
CALL 0x00272070
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOVZX EAX,byte ptr [EBP + -0x2c]
MOV dword ptr [EBP + -0x2c],EAX
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + -0xc]
MOV EBX,dword ptr [ESI + EAX*0x1 + 0x78]
MOV EAX,dword ptr [EBX + 0x8]
CMP dword ptr [EBX + 0xc],EAX
JA 0x0026c532
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EBX]
SUB ESP,0xc
PUSH EBX
CALL dword ptr [EAX + 0x24]
MOV EDX,dword ptr [ESI + 0x4]
ADD ESP,0x10
LEA ECX,[EDX + 0x1]
CMP ECX,dword ptr [EBP + 0x10]
JL 0x0026c540
LEA ESI,[ESI]
NOP
CMP EAX,-0x1
JZ 0x0026c60f
MOV EBX,dword ptr [EBP + 0x10]
TEST EBX,EBX
JLE 0x0026c5db
MOV byte ptr [EDI],0x0
MOV EDI,dword ptr [ESI + 0x4]
TEST EDI,EDI
JNZ 0x0026c4b3
JMP 0x0026c494
ADD EAX,0x1
MOV dword ptr [EBX + 0x8],EAX
CMP EAX,EDX
JNC 0x0026c4e0
MOV EDX,dword ptr [ESI + 0x4]
MOVZX EAX,byte ptr [EAX]
LEA ECX,[EDX + 0x1]
CMP ECX,dword ptr [EBP + 0x10]
JGE 0x0026c500
CMP EAX,-0x1
JZ 0x0026c577
CMP dword ptr [EBP + -0x2c],EAX
JZ 0x0026c608
ADD EDI,0x1
MOV byte ptr [EDI + -0x1],AL
MOV EAX,dword ptr [EBX + 0x8]
MOV EDX,dword ptr [EBX + 0xc]
ADD dword ptr [ESI + 0x4],0x1
CMP EAX,EDX
JC 0x0026c528
MOV EAX,dword ptr [EBX]
SUB ESP,0xc
PUSH EBX
CALL dword ptr [EAX + 0x28]
ADD ESP,0x10
CMP EAX,-0x1
JNZ 0x0026c628
MOV EAX,0x2
MOV ECX,dword ptr [EBP + 0x10]
TEST ECX,ECX
JLE 0x0026c586
MOV byte ptr [EDI],0x0
MOV EDX,dword ptr [ESI + 0x4]
TEST EDX,EDX
JNZ 0x0026c5f0
OR EAX,0x4
JMP 0x0026c499
MOV EDX,dword ptr [ESI + 0x4]
TEST EDX,EDX
JZ 0x0026c494
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EAX,EAX
JNZ 0x0026c499
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EAX,EAX
JMP 0x0026c57c
CMP dword ptr [EBP + 0x10],0x0
JLE 0x0026c633
MOV byte ptr [EDI],0x0
CMP dword ptr [ESI + 0x4],0x0
JZ 0x0026c637
MOV EAX,0x2
JMP 0x0026c499
MOV EAX,dword ptr [EBX + 0x8]
MOV EDX,dword ptr [EBX + 0xc]
JMP 0x0026c52e
TEST EDX,EDX
JNZ 0x0026c61e
MOV EAX,0x6
JMP 0x0026c499
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x26c44b;\n  param_1[1] = 0;\n  FUN_0026bb10(local_1d,param_1,1);\n  if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */\n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  uVar2 = 4;\nLAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x26c44b;\n  param_1[1] = 0;\n  FUN_0026bb10(local_1d,param_1,1);\n  if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */\n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  uVar2 = 4;\nLAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)" * (function_declarator "FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)" identifier (parameter_list "(int *param_1,undefined1 *param_2,int param_3,uint param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x26c44b;\n  param_1[1] = 0;\n  FUN_0026bb10(local_1d,param_1,1);\n  if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */\n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  uVar2 = 4;\nLAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));\n  return param_1;\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 "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "char local_1d [9];" primitive_type (array_declarator "local_1d [9]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x26c44b;" (assignment_expression "uStack_14 = 0x26c44b" identifier = number_literal) ;) (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_0026bb10(local_1d,param_1,1);" (call_expression "FUN_0026bb10(local_1d,param_1,1)" identifier (argument_list "(local_1d,param_1,1)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */\n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" if (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    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" { (if_statement "if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (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_r0x0026c51c;" goto statement_identifier ;) })) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }" statement_identifier : (if_statement "if (iVar5 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) }))) }) (else_clause "else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */\n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" else (compound_statement "{\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */\n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" { (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar1 = *(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) ))))) ;) (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 ]))) ;) (if_statement "if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;" if (parenthesized_expression "(pbVar3 < (byte *)piVar1[3])" ( (binary_expression "pbVar3 < (byte *)piVar1[3]" identifier < (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) )) (goto_statement "goto LAB_0026c532;" goto statement_identifier ;)) (labeled_statement "LAB_0026c4e0:\n                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */\n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);" 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 "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (if_statement "if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }" if (parenthesized_expression "(iVar5 + 1 < param_3)" ( (binary_expression "iVar5 + 1 < param_3" (binary_expression "iVar5 + 1" identifier + number_literal) < identifier) )) (compound_statement "{\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }" { (do_statement "do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );" do (compound_statement "{\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      }" { (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" identifier = identifier) ;) (if_statement "if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }" { (labeled_statement "LAB_0026c577:\n          uVar2 = 2;" statement_identifier : (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;)) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (labeled_statement "LAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }" statement_identifier : (if_statement "if (0 < param_3) {\n            *puVar6 = 0;\n          }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n            *puVar6 = 0;\n          }" { (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) }))) (if_statement "if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }" if (parenthesized_expression "(param_1[1] == 0)" ( (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n            uVar2 = uVar2 | 4;\n          }" { (expression_statement "uVar2 = uVar2 | 4;" (assignment_expression "uVar2 = uVar2 | 4" identifier = (binary_expression "uVar2 | 4" identifier | number_literal)) ;) }) (else_clause "else if (uVar2 == 0) {\n            return param_1;\n          }" else (if_statement "if (uVar2 == 0) {\n            return param_1;\n          }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            return param_1;\n          }" { (return_statement "return param_1;" return identifier ;) })))) (goto_statement "goto LAB_0026c499;" goto statement_identifier ;) })) (if_statement "if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }" if (parenthesized_expression "((param_4 & 0xff) == uVar2)" ( (binary_expression "(param_4 & 0xff) == uVar2" (parenthesized_expression "(param_4 & 0xff)" ( (binary_expression "param_4 & 0xff" identifier & number_literal) )) == identifier) )) (compound_statement "{\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0026c57c;" goto statement_identifier ;) })) (expression_statement "param_2 = puVar6 + 1;" (assignment_expression "param_2 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar6 = (char)uVar2;" (assignment_expression "*puVar6 = (char)uVar2" (pointer_expression "*puVar6" * identifier) = (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) 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 "pbVar4 = (byte *)piVar1[3];" (assignment_expression "pbVar4 = (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 "param_1[1] = param_1[1] + 1;" (assignment_expression "param_1[1] = param_1[1] + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" if (parenthesized_expression "(pbVar3 < pbVar4)" ( (binary_expression "pbVar3 < pbVar4" 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          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" else (compound_statement "{\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" { (expression_statement "iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);" (assignment_expression "iVar5 = (**(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 (iVar5 == -1) goto LAB_0026c577;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0026c577;" 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 "pbVar4 = (byte *)piVar1[3];" (assignment_expression "pbVar4 = (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 (pbVar4 <= pbVar3) goto LAB_0026c4e0;" if (parenthesized_expression "(pbVar4 <= pbVar3)" ( (binary_expression "pbVar4 <= pbVar3" identifier <= identifier) )) (goto_statement "goto LAB_0026c4e0;" goto statement_identifier ;)) (labeled_statement "LAB_0026c532:\n        iVar5 = param_1[1];" statement_identifier : (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (expression_statement "uVar2 = (uint)*pbVar3;" (assignment_expression "uVar2 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (if_statement "if (param_3 <= iVar5 + 1) break;" if (parenthesized_expression "(param_3 <= iVar5 + 1)" ( (binary_expression "param_3 <= iVar5 + 1" identifier <= (binary_expression "iVar5 + 1" identifier + number_literal)) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }" { (if_statement "if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (if_statement "if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar2 = 6;\n      }" { (expression_statement "uVar2 = 6;" (assignment_expression "uVar2 = 6" identifier = number_literal) ;) }) (else_clause "else {\n        uVar2 = 2;\n      }" else (compound_statement "{\n        uVar2 = 2;\n      }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }))) (goto_statement "goto LAB_0026c499;" goto statement_identifier ;) })) (if_statement "if (param_3 < 1) goto LAB_0026c5db;" if (parenthesized_expression "(param_3 < 1)" ( (binary_expression "param_3 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0026c5db;" goto statement_identifier ;)) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }" statement_identifier : (if_statement "if (iVar5 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) }))) }))) (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0026c499:\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_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));" (call_expression "FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14))" identifier (argument_list "(iVar5,uVar2 | *(uint *)(iVar5 + 0x14))" ( identifier , (binary_expression "uVar2 | *(uint *)(iVar5 + 0x14)" identifier | (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) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::istream::get(char*, int, char) */\n\nvoid std::istream::get(char *param_1,int param_2,char param_3)\n\n{\n}\n\n" comment comment (function_definition "void std::istream::get(char *param_1,int param_2,char param_3)\n\n{\n}" primitive_type (ERROR "std::istream::" identifier : : identifier : :) (function_declarator "get(char *param_1,int param_2,char param_3)" identifier (parameter_list "(char *param_1,int param_2,char param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "int * FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x26c44b;\n  param_1[1] = 0;\n  FUN_0026bb10(local_1d,param_1,1);\n  if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  uVar2 = 4;\nLAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));\n  return param_1;\n}\n\n" (function_definition "int * FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x26c44b;\n  param_1[1] = 0;\n  FUN_0026bb10(local_1d,param_1,1);\n  if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  uVar2 = 4;\nLAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)" * (function_declarator "FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)" identifier (parameter_list "(int *param_1,undefined1 *param_2,int param_3,uint param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "uint param_4" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x26c44b;\n  param_1[1] = 0;\n  FUN_0026bb10(local_1d,param_1,1);\n  if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  uVar2 = 4;\nLAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));\n  return param_1;\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 "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "char local_1d [9];" primitive_type (array_declarator "local_1d [9]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x26c44b;" (assignment_expression "uStack_14 = 0x26c44b" identifier = number_literal) ;) (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_0026bb10(local_1d,param_1,1);" (call_expression "FUN_0026bb10(local_1d,param_1,1)" identifier (argument_list "(local_1d,param_1,1)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" if (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    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" { (if_statement "if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (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_r0x0026c51c;" goto statement_identifier ;) })) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }" statement_identifier : (if_statement "if (iVar5 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) }))) }) (else_clause "else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" else (compound_statement "{\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" { (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar1 = *(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) ))))) ;) (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 ]))) ;) (if_statement "if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;" if (parenthesized_expression "(pbVar3 < (byte *)piVar1[3])" ( (binary_expression "pbVar3 < (byte *)piVar1[3]" identifier < (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) )) (goto_statement "goto LAB_0026c532;" goto statement_identifier ;)) (labeled_statement "LAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);" statement_identifier : (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 "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (if_statement "if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }" if (parenthesized_expression "(iVar5 + 1 < param_3)" ( (binary_expression "iVar5 + 1 < param_3" (binary_expression "iVar5 + 1" identifier + number_literal) < identifier) )) (compound_statement "{\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }" { (do_statement "do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );" do (compound_statement "{\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      }" { (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" identifier = identifier) ;) (if_statement "if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }" { (labeled_statement "LAB_0026c577:\n          uVar2 = 2;" statement_identifier : (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;)) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (labeled_statement "LAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }" statement_identifier : (if_statement "if (0 < param_3) {\n            *puVar6 = 0;\n          }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n            *puVar6 = 0;\n          }" { (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" * identifier) = number_literal) ;) }))) (if_statement "if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }" if (parenthesized_expression "(param_1[1] == 0)" ( (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n            uVar2 = uVar2 | 4;\n          }" { (expression_statement "uVar2 = uVar2 | 4;" (assignment_expression "uVar2 = uVar2 | 4" identifier = (binary_expression "uVar2 | 4" identifier | number_literal)) ;) }) (else_clause "else if (uVar2 == 0) {\n            return param_1;\n          }" else (if_statement "if (uVar2 == 0) {\n            return param_1;\n          }" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (compound_statement "{\n            return param_1;\n          }" { (return_statement "return param_1;" return identifier ;) })))) (goto_statement "goto LAB_0026c499;" goto statement_identifier ;) })) (if_statement "if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }" if (parenthesized_expression "((param_4 & 0xff) == uVar2)" ( (binary_expression "(param_4 & 0xff) == uVar2" (parenthesized_expression "(param_4 & 0xff)" ( (binary_expression "param_4 & 0xff" identifier & number_literal) )) == identifier) )) (compound_statement "{\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0026c57c;" goto statement_identifier ;) })) (expression_statement "param_2 = puVar6 + 1;" (assignment_expression "param_2 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "*puVar6 = (char)uVar2;" (assignment_expression "*puVar6 = (char)uVar2" (pointer_expression "*puVar6" * identifier) = (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) 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 "pbVar4 = (byte *)piVar1[3];" (assignment_expression "pbVar4 = (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 "param_1[1] = param_1[1] + 1;" (assignment_expression "param_1[1] = param_1[1] + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "param_1[1] + 1" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" if (parenthesized_expression "(pbVar3 < pbVar4)" ( (binary_expression "pbVar3 < pbVar4" 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          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" else (compound_statement "{\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" { (expression_statement "iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);" (assignment_expression "iVar5 = (**(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 (iVar5 == -1) goto LAB_0026c577;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0026c577;" 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 "pbVar4 = (byte *)piVar1[3];" (assignment_expression "pbVar4 = (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 (pbVar4 <= pbVar3) goto LAB_0026c4e0;" if (parenthesized_expression "(pbVar4 <= pbVar3)" ( (binary_expression "pbVar4 <= pbVar3" identifier <= identifier) )) (goto_statement "goto LAB_0026c4e0;" goto statement_identifier ;)) (labeled_statement "LAB_0026c532:\n        iVar5 = param_1[1];" statement_identifier : (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (expression_statement "uVar2 = (uint)*pbVar3;" (assignment_expression "uVar2 = (uint)*pbVar3" identifier = (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" identifier = identifier) ;) (if_statement "if (param_3 <= iVar5 + 1) break;" if (parenthesized_expression "(param_3 <= iVar5 + 1)" ( (binary_expression "param_3 <= iVar5 + 1" identifier <= (binary_expression "iVar5 + 1" identifier + number_literal)) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (if_statement "if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }" { (if_statement "if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) })) (if_statement "if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar2 = 6;\n      }" { (expression_statement "uVar2 = 6;" (assignment_expression "uVar2 = 6" identifier = number_literal) ;) }) (else_clause "else {\n        uVar2 = 2;\n      }" else (compound_statement "{\n        uVar2 = 2;\n      }" { (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }))) (goto_statement "goto LAB_0026c499;" goto statement_identifier ;) })) (if_statement "if (param_3 < 1) goto LAB_0026c5db;" if (parenthesized_expression "(param_3 < 1)" ( (binary_expression "param_3 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0026c5db;" goto statement_identifier ;)) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar5 = param_1[1];" (assignment_expression "iVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }" statement_identifier : (if_statement "if (iVar5 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) }))) }))) (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0026c499:\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_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));" (call_expression "FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14))" identifier (argument_list "(iVar5,uVar2 | *(uint *)(iVar5 + 0x14))" ( identifier , (binary_expression "uVar2 | *(uint *)(iVar5 + 0x14)" identifier | (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) ))))) ))) ;) (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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) }))) }) (else_clause else (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) ))))) ;) (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 < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) }) (else_clause else (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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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 (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + 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) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT + LIT)) )) (break_statement break ;)) }) while (parenthesized_expression ( BOOL )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) }))) }))) (expression_statement (assignment_expression IDENT = 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 IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)\n\n{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x26c44b;\n  param_1[1] = 0;\n  FUN_0026bb10(local_1d,param_1,1);\n  if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  uVar2 = 4;\nLAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)" (* "*") (function_declarator "FUN_0026c440(int *param_1,undefined1 *param_2,int param_3,uint param_4)" (identifier "FUN_0026c440") (parameter_list "(int *param_1,undefined1 *param_2,int param_3,uint param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")")))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte *pbVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x26c44b;\n  param_1[1] = 0;\n  FUN_0026bb10(local_1d,param_1,1);\n  if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  uVar2 = 4;\nLAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));\n  return param_1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "char local_1d [9];" (primitive_type "char") (array_declarator "local_1d [9]" (identifier "local_1d") ([ "[") (number_literal "9") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x26c44b;" (assignment_expression "uStack_14 = 0x26c44b" (identifier "uStack_14") (= "=") (number_literal "0x26c44b")) (; ";")) (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_0026bb10(local_1d,param_1,1);" (call_expression "FUN_0026bb10(local_1d,param_1,1)" (identifier "FUN_0026bb10") (argument_list "(local_1d,param_1,1)" (( "(") (identifier "local_1d") (, ",") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (if_statement "if (local_1d[0] == '\0') {\n    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }\n  else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" (if "if") (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    if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }\n    iVar5 = param_1[1];\nLAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" ({ "{") (if_statement "if (0 < param_3) {\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n      *param_2 = 0;\n      iVar5 = param_1[1];\n      goto joined_r0x0026c51c;\n    }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "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") (] "]"))) (; ";")) (goto_statement "goto joined_r0x0026c51c;" (goto "goto") (statement_identifier "joined_r0x0026c51c") (; ";")) (} "}"))) (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 "LAB_0026c5db:\n    if (iVar5 != 0) {\n      return param_1;\n    }" (statement_identifier "LAB_0026c5db") (: ":") (if_statement "if (iVar5 != 0) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" (else "else") (compound_statement "{\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar3 = (byte *)piVar1[2];\n    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;\nLAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    iVar5 = param_1[1];\n    puVar6 = param_2;\n    if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }\n    if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }\n    if (param_3 < 1) goto LAB_0026c5db;\n    *param_2 = 0;\n    iVar5 = param_1[1];\njoined_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }\n  }" ({ "{") (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (identifier "piVar1") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "pbVar3 = (byte *)piVar1[2];" (assignment_expression "pbVar3 = (byte *)piVar1[2]" (identifier "pbVar3") (= "=") (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;" (if "if") (parenthesized_expression "(pbVar3 < (byte *)piVar1[3])" (( "(") (binary_expression "pbVar3 < (byte *)piVar1[3]" (identifier "pbVar3") (< "<") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) () ")")) (goto_statement "goto LAB_0026c532;" (goto "goto") (statement_identifier "LAB_0026c532") (; ";"))) (labeled_statement "LAB_0026c4e0:\n                    \n    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);" (statement_identifier "LAB_0026c4e0") (: ":") (expression_statement "uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1)" (identifier "uVar2") (= "=") (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 "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x24)" (( "(") (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";"))) (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") (] "]"))) (; ";")) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" (identifier "puVar6") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (iVar5 + 1 < param_3) {\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }" (if "if") (parenthesized_expression "(iVar5 + 1 < param_3)" (( "(") (binary_expression "iVar5 + 1 < param_3" (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1")) (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n      do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );\n    }" ({ "{") (do_statement "do {\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      } while( true );" (do "do") (compound_statement "{\n        param_2 = puVar6;\n        if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }\n        if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }\n        param_2 = puVar6 + 1;\n        *puVar6 = (char)uVar2;\n        pbVar3 = (byte *)piVar1[2];\n        pbVar4 = (byte *)piVar1[3];\n        param_1[1] = param_1[1] + 1;\n        if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }\n        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;\nLAB_0026c532:\n        iVar5 = param_1[1];\n        uVar2 = (uint)*pbVar3;\n        puVar6 = param_2;\n        if (param_3 <= iVar5 + 1) break;\n      }" ({ "{") (expression_statement "param_2 = puVar6;" (assignment_expression "param_2 = puVar6" (identifier "param_2") (= "=") (identifier "puVar6")) (; ";")) (if_statement "if (uVar2 == 0xffffffff) {\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }" (if "if") (parenthesized_expression "(uVar2 == 0xffffffff)" (( "(") (binary_expression "uVar2 == 0xffffffff" (identifier "uVar2") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\nLAB_0026c577:\n          uVar2 = 2;\n          puVar6 = param_2;\nLAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }\n          if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }\n          goto LAB_0026c499;\n        }" ({ "{") (labeled_statement "LAB_0026c577:\n          uVar2 = 2;" (statement_identifier "LAB_0026c577") (: ":") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";"))) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" (identifier "puVar6") (= "=") (identifier "param_2")) (; ";")) (labeled_statement "LAB_0026c57c:\n          if (0 < param_3) {\n            *puVar6 = 0;\n          }" (statement_identifier "LAB_0026c57c") (: ":") (if_statement "if (0 < param_3) {\n            *puVar6 = 0;\n          }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n            *puVar6 = 0;\n          }" ({ "{") (expression_statement "*puVar6 = 0;" (assignment_expression "*puVar6 = 0" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (if_statement "if (param_1[1] == 0) {\n            uVar2 = uVar2 | 4;\n          }\n          else if (uVar2 == 0) {\n            return param_1;\n          }" (if "if") (parenthesized_expression "(param_1[1] == 0)" (( "(") (binary_expression "param_1[1] == 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            uVar2 = uVar2 | 4;\n          }" ({ "{") (expression_statement "uVar2 = uVar2 | 4;" (assignment_expression "uVar2 = uVar2 | 4" (identifier "uVar2") (= "=") (binary_expression "uVar2 | 4" (identifier "uVar2") (| "|") (number_literal "4"))) (; ";")) (} "}")) (else_clause "else if (uVar2 == 0) {\n            return param_1;\n          }" (else "else") (if_statement "if (uVar2 == 0) {\n            return param_1;\n          }" (if "if") (parenthesized_expression "(uVar2 == 0)" (( "(") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            return param_1;\n          }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))))) (goto_statement "goto LAB_0026c499;" (goto "goto") (statement_identifier "LAB_0026c499") (; ";")) (} "}"))) (if_statement "if ((param_4 & 0xff) == uVar2) {\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }" (if "if") (parenthesized_expression "((param_4 & 0xff) == uVar2)" (( "(") (binary_expression "(param_4 & 0xff) == uVar2" (parenthesized_expression "(param_4 & 0xff)" (( "(") (binary_expression "param_4 & 0xff" (identifier "param_4") (& "&") (number_literal "0xff")) () ")")) (== "==") (identifier "uVar2")) () ")")) (compound_statement "{\n          uVar2 = 0;\n          goto LAB_0026c57c;\n        }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0026c57c;" (goto "goto") (statement_identifier "LAB_0026c57c") (; ";")) (} "}"))) (expression_statement "param_2 = puVar6 + 1;" (assignment_expression "param_2 = puVar6 + 1" (identifier "param_2") (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar6 = (char)uVar2;" (assignment_expression "*puVar6 = (char)uVar2" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (cast_expression "(char)uVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar2"))) (; ";")) (expression_statement "pbVar3 = (byte *)piVar1[2];" (assignment_expression "pbVar3 = (byte *)piVar1[2]" (identifier "pbVar3") (= "=") (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar4 = (byte *)piVar1[3];" (assignment_expression "pbVar4 = (byte *)piVar1[3]" (identifier "pbVar4") (= "=") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "param_1[1] = param_1[1] + 1;" (assignment_expression "param_1[1] = param_1[1] + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "param_1[1] + 1" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pbVar3 < pbVar4) {\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }\n        else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" (if "if") (parenthesized_expression "(pbVar3 < pbVar4)" (( "(") (binary_expression "pbVar3 < pbVar4" (identifier "pbVar3") (< "<") (identifier "pbVar4")) () ")")) (compound_statement "{\n          pbVar3 = pbVar3 + 1;\n          piVar1[2] = (int)pbVar3;\n        }" ({ "{") (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1[2] = (int)pbVar3;" (assignment_expression "piVar1[2] = (int)pbVar3" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pbVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar3"))) (; ";")) (} "}")) (else_clause "else {\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" (else "else") (compound_statement "{\n          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);\n          if (iVar5 == -1) goto LAB_0026c577;\n          pbVar3 = (byte *)piVar1[2];\n          pbVar4 = (byte *)piVar1[3];\n        }" ({ "{") (expression_statement "iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);" (assignment_expression "iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1)" (identifier "iVar5") (= "=") (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 "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x28)" (( "(") (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if (iVar5 == -1) goto LAB_0026c577;" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0026c577;" (goto "goto") (statement_identifier "LAB_0026c577") (; ";"))) (expression_statement "pbVar3 = (byte *)piVar1[2];" (assignment_expression "pbVar3 = (byte *)piVar1[2]" (identifier "pbVar3") (= "=") (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar4 = (byte *)piVar1[3];" (assignment_expression "pbVar4 = (byte *)piVar1[3]" (identifier "pbVar4") (= "=") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (} "}")))) (if_statement "if (pbVar4 <= pbVar3) goto LAB_0026c4e0;" (if "if") (parenthesized_expression "(pbVar4 <= pbVar3)" (( "(") (binary_expression "pbVar4 <= pbVar3" (identifier "pbVar4") (<= "<=") (identifier "pbVar3")) () ")")) (goto_statement "goto LAB_0026c4e0;" (goto "goto") (statement_identifier "LAB_0026c4e0") (; ";"))) (labeled_statement "LAB_0026c532:\n        iVar5 = param_1[1];" (statement_identifier "LAB_0026c532") (: ":") (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") (] "]"))) (; ";"))) (expression_statement "uVar2 = (uint)*pbVar3;" (assignment_expression "uVar2 = (uint)*pbVar3" (identifier "uVar2") (= "=") (binary_expression "(uint)*pbVar3" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar3"))) (; ";")) (expression_statement "puVar6 = param_2;" (assignment_expression "puVar6 = param_2" (identifier "puVar6") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_3 <= iVar5 + 1) break;" (if "if") (parenthesized_expression "(param_3 <= iVar5 + 1)" (( "(") (binary_expression "param_3 <= iVar5 + 1" (identifier "param_3") (<= "<=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (if_statement "if (uVar2 == 0xffffffff) {\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }" (if "if") (parenthesized_expression "(uVar2 == 0xffffffff)" (( "(") (binary_expression "uVar2 == 0xffffffff" (identifier "uVar2") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }\n      if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }\n      goto LAB_0026c499;\n    }" ({ "{") (if_statement "if (0 < param_3) {\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n        *param_2 = 0;\n        iVar5 = param_1[1];\n      }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "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") (] "]"))) (; ";")) (} "}"))) (if_statement "if (iVar5 == 0) {\n        uVar2 = 6;\n      }\n      else {\n        uVar2 = 2;\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar2 = 6;\n      }" ({ "{") (expression_statement "uVar2 = 6;" (assignment_expression "uVar2 = 6" (identifier "uVar2") (= "=") (number_literal "6")) (; ";")) (} "}")) (else_clause "else {\n        uVar2 = 2;\n      }" (else "else") (compound_statement "{\n        uVar2 = 2;\n      }" ({ "{") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (} "}")))) (goto_statement "goto LAB_0026c499;" (goto "goto") (statement_identifier "LAB_0026c499") (; ";")) (} "}"))) (if_statement "if (param_3 < 1) goto LAB_0026c5db;" (if "if") (parenthesized_expression "(param_3 < 1)" (( "(") (binary_expression "param_3 < 1" (identifier "param_3") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_0026c5db;" (goto "goto") (statement_identifier "LAB_0026c5db") (; ";"))) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "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_r0x0026c51c:\n    if (iVar5 != 0) {\n      return param_1;\n    }" (statement_identifier "joined_r0x0026c51c") (: ":") (if_statement "if (iVar5 != 0) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))) (} "}")))) (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" (identifier "uVar2") (= "=") (number_literal "4")) (; ";")) (labeled_statement "LAB_0026c499:\n  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;" (statement_identifier "LAB_0026c499") (: ":") (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_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));" (call_expression "FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14))" (identifier "FUN_00272070") (argument_list "(iVar5,uVar2 | *(uint *)(iVar5 + 0x14))" (( "(") (identifier "iVar5") (, ",") (binary_expression "uVar2 | *(uint *)(iVar5 + 0x14)" (identifier "uVar2") (| "|") (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")) () ")"))))) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::istream::get(char*, int, char) */

void std::istream::function_1(char *param_1,int param_2,char param_3)

{
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator 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))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))))) alternative: (else_clause (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))))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (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)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (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: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (break_statement))) condition: (parenthesized_expression (true))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (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: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))))))) (expression_statement (assignment_expression left: (identifier) 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: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (identifier)))))

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

int * MASKED(int *param_1,undefined1 *param_2,int param_3,uint param_4)

{
  int *piVar1;
  uint uVar2;
  byte *pbVar3;
  byte *pbVar4;
  int iVar5;
  undefined1 *puVar6;
  char local_1d [9];
  undefined4 uStack_14;
  
  uStack_14 = 0x26c44b;
  param_1[1] = 0;
  FUN_0026bb10(local_1d,param_1,1);
  if (local_1d[0] == '\0') {
    if (0 < param_3) {
      *param_2 = 0;
      iVar5 = param_1[1];
      goto joined_r0x0026c51c;
    }
    iVar5 = param_1[1];
LAB_0026c5db:
    if (iVar5 != 0) {
      return param_1;
    }
  }
  else {
    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);
    pbVar3 = (byte *)piVar1[2];
    if (pbVar3 < (byte *)piVar1[3]) goto LAB_0026c532;
LAB_0026c4e0:
                    /* try { // try from 0026c4e6 to 0026c56a has its CatchHandler @ 0026c641 */
    uVar2 = (**(code **)(*piVar1 + 0x24))(piVar1);
    iVar5 = param_1[1];
    puVar6 = param_2;
    if (iVar5 + 1 < param_3) {
      do {
        param_2 = puVar6;
        if (uVar2 == 0xffffffff) {
LAB_0026c577:
          uVar2 = 2;
          puVar6 = param_2;
LAB_0026c57c:
          if (0 < param_3) {
            *puVar6 = 0;
          }
          if (param_1[1] == 0) {
            uVar2 = uVar2 | 4;
          }
          else if (uVar2 == 0) {
            return param_1;
          }
          goto LAB_0026c499;
        }
        if ((param_4 & 0xff) == uVar2) {
          uVar2 = 0;
          goto LAB_0026c57c;
        }
        param_2 = puVar6 + 1;
        *puVar6 = (char)uVar2;
        pbVar3 = (byte *)piVar1[2];
        pbVar4 = (byte *)piVar1[3];
        param_1[1] = param_1[1] + 1;
        if (pbVar3 < pbVar4) {
          pbVar3 = pbVar3 + 1;
          piVar1[2] = (int)pbVar3;
        }
        else {
          iVar5 = (**(code **)(*piVar1 + 0x28))(piVar1);
          if (iVar5 == -1) goto LAB_0026c577;
          pbVar3 = (byte *)piVar1[2];
          pbVar4 = (byte *)piVar1[3];
        }
        if (pbVar4 <= pbVar3) goto LAB_0026c4e0;
LAB_0026c532:
        iVar5 = param_1[1];
        uVar2 = (uint)*pbVar3;
        puVar6 = param_2;
        if (param_3 <= iVar5 + 1) break;
      } while( true );
    }
    if (uVar2 == 0xffffffff) {
      if (0 < param_3) {
        *param_2 = 0;
        iVar5 = param_1[1];
      }
      if (iVar5 == 0) {
        uVar2 = 6;
      }
      else {
        uVar2 = 2;
      }
      goto LAB_0026c499;
    }
    if (param_3 < 1) goto LAB_0026c5db;
    *param_2 = 0;
    iVar5 = param_1[1];
joined_r0x0026c51c:
    if (iVar5 != 0) {
      return param_1;
    }
  }
  uVar2 = 4;
LAB_0026c499:
  iVar5 = *(int *)(*param_1 + -0xc) + (int)param_1;
  FUN_00272070(iVar5,uVar2 | *(uint *)(iVar5 + 0x14));
  return param_1;
}

