
/* std::istream::get(std::streambuf&, char) */

istream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  _Ios_Iostate _Var4;
  byte bVar5;
  byte *pbVar6;
  int *piVar7;
  sentry local_28 [16];
  
  *(undefined4 *)(this + 4) = 0;
  sentry::sentry(local_28,this,true);
  if (local_28[0] == (sentry)0x0) {
LAB_002e2a58:
    iVar2 = *(int *)(this + 4);
  }
  else {
    piVar7 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);
    if ((byte *)piVar7[2] < (byte *)piVar7[3]) {
      bVar5 = *(byte *)piVar7[2];
      uVar1 = (uint)bVar5;
    }
    else {
      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);
      bVar5 = (byte)uVar1;
      if (uVar1 == 0xffffffff) {
        iVar2 = *(int *)(this + 4);
LAB_002e2ac8:
        _Var4 = _S_eofbit;
        if (iVar2 == 0) {
          _Var4 = _S_failbit|_S_eofbit;
        }
        goto LAB_002e2a68;
      }
    }
    if ((byte)param_2 != uVar1) {
      do {
        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {
          **(byte **)(param_1 + 0x14) = bVar5;
          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;
        }
        else {
                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */
          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);
          if (iVar2 == -1) break;
        }
        pbVar3 = (byte *)piVar7[2];
        pbVar6 = (byte *)piVar7[3];
        *(int *)(this + 4) = *(int *)(this + 4) + 1;
        if (pbVar3 < pbVar6) {
          pbVar3 = pbVar3 + 1;
          piVar7[2] = (int)pbVar3;
        }
        else {
                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */
          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);
          if (iVar2 == -1) {
            iVar2 = *(int *)(this + 4);
            goto LAB_002e2ac8;
          }
          pbVar3 = (byte *)piVar7[2];
          pbVar6 = (byte *)piVar7[3];
        }
        if (pbVar3 < pbVar6) {
          bVar5 = *pbVar3;
          uVar1 = (uint)bVar5;
        }
        else {
          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);
          bVar5 = (byte)uVar1;
          if (uVar1 == 0xffffffff) {
            iVar2 = *(int *)(this + 4);
            goto LAB_002e2ac8;
          }
        }
      } while ((byte)param_2 != uVar1);
      goto LAB_002e2a58;
    }
    iVar2 = *(int *)(this + 4);
  }
  if (iVar2 != 0) {
    return this;
  }
  _Var4 = _S_failbit;
LAB_002e2a68:
  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),
             _Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));
  return this;
}



/* std::istream::get(std::streambuf&, char) */

istream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  byte bVar4;
  byte *pbVar5;
  int *piVar6;
  sentry local_28 [16];
  
  *(undefined4 *)(this + 4) = 0;
  sentry::sentry(local_28,this,true);
  if (local_28[0] == (sentry)0x0) {
LAB_002e2a58:
    iVar2 = *(int *)(this + 4);
  }
  else {
    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);
    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {
      bVar4 = *(byte *)piVar6[2];
      uVar1 = (uint)bVar4;
    }
    else {
      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);
      bVar4 = (byte)uVar1;
      if (uVar1 == 0xffffffff) {
        iVar2 = *(int *)(this + 4);
LAB_002e2ac8:
        uVar1 = 2;
        if (iVar2 == 0) {
          uVar1 = 6;
        }
        goto LAB_002e2a68;
      }
    }
    if ((byte)param_2 != uVar1) {
      do {
        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {
          **(byte **)(param_1 + 0x14) = bVar4;
          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;
        }
        else {
                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */
          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);
          if (iVar2 == -1) break;
        }
        pbVar3 = (byte *)piVar6[2];
        pbVar5 = (byte *)piVar6[3];
        *(int *)(this + 4) = *(int *)(this + 4) + 1;
        if (pbVar3 < pbVar5) {
          pbVar3 = pbVar3 + 1;
          piVar6[2] = (int)pbVar3;
        }
        else {
                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */
          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);
          if (iVar2 == -1) {
            iVar2 = *(int *)(this + 4);
            goto LAB_002e2ac8;
          }
          pbVar3 = (byte *)piVar6[2];
          pbVar5 = (byte *)piVar6[3];
        }
        if (pbVar3 < pbVar5) {
          bVar4 = *pbVar3;
          uVar1 = (uint)bVar4;
        }
        else {
          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);
          bVar4 = (byte)uVar1;
          if (uVar1 == 0xffffffff) {
            iVar2 = *(int *)(this + 4);
            goto LAB_002e2ac8;
          }
        }
      } while ((byte)param_2 != uVar1);
      goto LAB_002e2a58;
    }
    iVar2 = *(int *)(this + 4);
  }
  if (iVar2 != 0) {
    return this;
  }
  uVar1 = 4;
LAB_002e2a68:
  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),
             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));
  return this;
}


lui gp,0x15
addiu gp,gp,0x7890
addu gp,gp,t9
addiu sp,sp,-0x40
lw t9,-0x4458(gp)
sw s2,0x30(sp)
or s2,a0,zero
sw gp,0x10(sp)
addiu a0,sp,0x18
sw s3,0x34(sp)
or s3,a2,zero
li a2,0x1
sw s0,0x28(sp)
sw ra,0x3c(sp)
or s0,a1,zero
sw s4,0x38(sp)
or a1,s2,zero
sw s1,0x2c(sp)
bal 0x002e1748
_sw zero,0x4(s2)
lbu v0,0x18(sp)
beq v0,zero,0x002e2a58
_lw gp,0x10(sp)
lw v0,0x0(s2)
lw v0,-0xc(v0)
addu v0,s2,v0
lw s1,0x78(v0)
lw v1,0x8(s1)
lw v0,0xc(s1)
sltu v0,v1,v0
beq v0,zero,0x002e2b00
_andi s3,s3,0xff
lb a1,0x0(v1)
andi v0,a1,0xff
bne s3,v0,0x002e2a28
_li s4,-0x1
b 0x002e2a5c
_lw v0,0x4(s2)
sb a1,0x0(v1)
lw v0,0x14(s0)
addiu v0,v0,0x1
sw v0,0x14(s0)
lw a0,0x4(s2)
lw v0,0x8(s1)
lw v1,0xc(s1)
addiu a0,a0,0x1
sltu a1,v0,v1
beq a1,zero,0x002e2aac
_sw a0,0x4(s2)
addiu v0,v0,0x1
sw v0,0x8(s1)
sltu v1,v0,v1
beq v1,zero,0x002e2adc
_nop
lb a1,0x0(v0)
andi v0,a1,0xff
beq s3,v0,0x002e2a58
_nop
lw v1,0x14(s0)
lw v0,0x18(s0)
sltu v0,v1,v0
bne v0,zero,0x002e29d8
_nop
lw v0,0x0(s0)
andi a1,a1,0xff
lw t9,0x34(v0)
jalr t9
_or a0,s0,zero
bne v0,s4,0x002e29e8
_lw gp,0x10(sp)
lw v0,0x4(s2)
bne v0,zero,0x002e2a8c
_lw ra,0x3c(sp)
li v0,0x4
lw v1,0x0(s2)
lw t9,-0x7184(gp)
lw v1,-0xc(v1)
addu v1,s2,v1
or a0,v1,zero
lw a1,0x14(v1)
bal 0x002eaa98
_or a1,v0,a1
lw ra,0x3c(sp)
or v0,s2,zero
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x40
lw v0,0x0(s1)
lw t9,0x28(v0)
jalr t9
_or a0,s1,zero
bne v0,s4,0x002e2b28
_lw gp,0x10(sp)
lw v0,0x4(s2)
li v1,0x6
li a1,0x2
movz a1,v1,v0
b 0x002e2a68
_or v0,a1,zero
lw v0,0x0(s1)
lw t9,0x24(v0)
jalr t9
_or a0,s1,zero
lw gp,0x10(sp)
bne v0,s4,0x002e2a20
_seb a1,v0
b 0x002e2ac8
_lw v0,0x4(s2)
lw v0,0x0(s1)
lw t9,0x24(v0)
jalr t9
_or a0,s1,zero
li v1,-0x1
lw gp,0x10(sp)
bne v0,v1,0x002e29c8
_seb a1,v0
b 0x002e2ac8
_lw v0,0x4(s2)
lw v0,0x8(s1)
b 0x002e2a0c
_lw v1,0xc(s1)
(translation_unit "/* std::istream::get(std::streambuf&, char) */\n\nistream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte bVar4;\n  byte *pbVar5;\n  int *piVar6;\n  sentry local_28 [16];\n  \n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_28,this,true);\n  if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }\n  if (iVar2 != 0) {\n    return this;\n  }\n  uVar1 = 4;\nLAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}\n\n" comment (ERROR "istream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)" (binary_expression "istream * __thiscall std::istream::get(istream *this" (binary_expression "istream * __thiscall" identifier * identifier) (ERROR "std::istream::get(istream" identifier : : identifier : : identifier ( identifier) * identifier) , type_identifier (pointer_declarator "*param_1" * identifier) , identifier identifier )) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte bVar4;\n  byte *pbVar5;\n  int *piVar6;\n  sentry local_28 [16];\n  \n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_28,this,true);\n  if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }\n  if (iVar2 != 0) {\n    return this;\n  }\n  uVar1 = 4;\nLAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "sentry local_28 [16];" type_identifier (array_declarator "local_28 [16]" identifier [ number_literal ]) ;) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "sentry::sentry(local_28,this,true);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_28,this,true);" (call_expression "sentry(local_28,this,true)" identifier (argument_list "(local_28,this,true)" ( identifier , identifier , true ))) ;)) (if_statement "if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" if (parenthesized_expression "(local_28[0] == (sentry)0x0)" ( (binary_expression "local_28[0] == (sentry)0x0" (subscript_expression "local_28[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }" { (labeled_statement "LAB_002e2a58:\n    iVar2 = *(int *)(this + 4);" statement_identifier : (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" else (compound_statement "{\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" { (expression_statement "piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);" (assignment_expression "piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" * (cast_expression "(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x78" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" if (parenthesized_expression "((byte *)piVar6[2] < (byte *)piVar6[3])" ( (binary_expression "(byte *)piVar6[2] < (byte *)piVar6[3]" (cast_expression "(byte *)piVar6[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])) < (cast_expression "(byte *)piVar6[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }" { (expression_statement "bVar4 = *(byte *)piVar6[2];" (assignment_expression "bVar4 = *(byte *)piVar6[2]" identifier = (pointer_expression "*(byte *)piVar6[2]" * (cast_expression "(byte *)piVar6[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar1 = (uint)bVar4;" (assignment_expression "uVar1 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" else (compound_statement "{\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" { (expression_statement "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);" (assignment_expression "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6)" identifier = (call_expression "(**(code **)(*piVar6 + 0x24))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x24))" ( (pointer_expression "**(code **)(*piVar6 + 0x24)" * (pointer_expression "*(code **)(*piVar6 + 0x24)" * (cast_expression "(code **)(*piVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x24)" ( (binary_expression "*piVar6 + 0x24" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(piVar6)" ( identifier )))) ;) (expression_statement "bVar4 = (byte)uVar1;" (assignment_expression "bVar4 = (byte)uVar1" identifier = (cast_expression "(byte)uVar1" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (labeled_statement "LAB_002e2ac8:\n        uVar1 = 2;" statement_identifier : (expression_statement "uVar1 = 2;" (assignment_expression "uVar1 = 2" identifier = number_literal) ;)) (if_statement "if (iVar2 == 0) {\n          uVar1 = 6;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar1 = 6;\n        }" { (expression_statement "uVar1 = 6;" (assignment_expression "uVar1 = 6" identifier = number_literal) ;) })) (goto_statement "goto LAB_002e2a68;" goto statement_identifier ;) })) }))) (if_statement "if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }" if (parenthesized_expression "((byte)param_2 != uVar1)" ( (binary_expression "(byte)param_2 != uVar1" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) != identifier) )) (compound_statement "{\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }" { (do_statement "do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);" do (compound_statement "{\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      }" { (if_statement "if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" if (parenthesized_expression "(*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18))" ( (binary_expression "*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)" (pointer_expression "*(byte **)(param_1 + 0x14)" * (cast_expression "(byte **)(param_1 + 0x14)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) < (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }" { (expression_statement "**(byte **)(param_1 + 0x14) = bVar4;" (assignment_expression "**(byte **)(param_1 + 0x14) = bVar4" (pointer_expression "**(byte **)(param_1 + 0x14)" * (pointer_expression "*(byte **)(param_1 + 0x14)" * (cast_expression "(byte **)(param_1 + 0x14)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x14) + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" else (compound_statement "{\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" { comment (expression_statement "iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);" (assignment_expression "iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4)" identifier = (call_expression "(**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4)" (parenthesized_expression "(**(code **)(*(int *)param_1 + 0x34))" ( (pointer_expression "**(code **)(*(int *)param_1 + 0x34)" * (pointer_expression "*(code **)(*(int *)param_1 + 0x34)" * (cast_expression "(code **)(*(int *)param_1 + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1 + 0x34)" ( (binary_expression "*(int *)param_1 + 0x34" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(param_1,bVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == -1) break;" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "pbVar3 = (byte *)piVar6[2];" (assignment_expression "pbVar3 = (byte *)piVar6[2]" identifier = (cast_expression "(byte *)piVar6[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar5 = (byte *)piVar6[3];" (assignment_expression "pbVar5 = (byte *)piVar6[3]" identifier = (cast_expression "(byte *)piVar6[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[3]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(this + 4) = *(int *)(this + 4) + 1;" (assignment_expression "*(int *)(this + 4) = *(int *)(this + 4) + 1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(this + 4) + 1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" if (parenthesized_expression "(pbVar3 < pbVar5)" ( (binary_expression "pbVar3 < pbVar5" identifier < identifier) )) (compound_statement "{\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "piVar6[2] = (int)pbVar3;" (assignment_expression "piVar6[2] = (int)pbVar3" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" else (compound_statement "{\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" { comment (expression_statement "iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);" (assignment_expression "iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6)" identifier = (call_expression "(**(code **)(*piVar6 + 0x28))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x28))" ( (pointer_expression "**(code **)(*piVar6 + 0x28)" * (pointer_expression "*(code **)(*piVar6 + 0x28)" * (cast_expression "(code **)(*piVar6 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x28)" ( (binary_expression "*piVar6 + 0x28" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(piVar6)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_002e2ac8;" goto statement_identifier ;) })) (expression_statement "pbVar3 = (byte *)piVar6[2];" (assignment_expression "pbVar3 = (byte *)piVar6[2]" identifier = (cast_expression "(byte *)piVar6[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar5 = (byte *)piVar6[3];" (assignment_expression "pbVar5 = (byte *)piVar6[3]" identifier = (cast_expression "(byte *)piVar6[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" if (parenthesized_expression "(pbVar3 < pbVar5)" ( (binary_expression "pbVar3 < pbVar5" identifier < identifier) )) (compound_statement "{\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }" { (expression_statement "bVar4 = *pbVar3;" (assignment_expression "bVar4 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "uVar1 = (uint)bVar4;" (assignment_expression "uVar1 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" else (compound_statement "{\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" { (expression_statement "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);" (assignment_expression "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6)" identifier = (call_expression "(**(code **)(*piVar6 + 0x24))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x24))" ( (pointer_expression "**(code **)(*piVar6 + 0x24)" * (pointer_expression "*(code **)(*piVar6 + 0x24)" * (cast_expression "(code **)(*piVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x24)" ( (binary_expression "*piVar6 + 0x24" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(piVar6)" ( identifier )))) ;) (expression_statement "bVar4 = (byte)uVar1;" (assignment_expression "bVar4 = (byte)uVar1" identifier = (cast_expression "(byte)uVar1" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_002e2ac8;" goto statement_identifier ;) })) }))) }) while (parenthesized_expression "((byte)param_2 != uVar1)" ( (binary_expression "(byte)param_2 != uVar1" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) != identifier) )) ;) (goto_statement "goto LAB_002e2a58;" goto statement_identifier ;) })) (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar2 != 0) {\n    return this;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return this;\n  }" { (return_statement "return this;" return identifier ;) })) (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" identifier = number_literal) ;) (labeled_statement "LAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (labeled_statement "ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" identifier (argument_list "((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" ( (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" identifier | (pointer_expression "*(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" * (cast_expression "(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (binary_expression "(ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) ))))) ))) ;))) (return_statement "return this;" return identifier ;) }))
(translation_unit "/* std::istream::get(std::streambuf&, char) */\n\nistream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  _Ios_Iostate _Var4;\n  byte bVar5;\n  byte *pbVar6;\n  int *piVar7;\n  sentry local_28 [16];\n  \n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_28,this,true);\n  if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar7 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar7[2] < (byte *)piVar7[3]) {\n      bVar5 = *(byte *)piVar7[2];\n      uVar1 = (uint)bVar5;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n      bVar5 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }\n  if (iVar2 != 0) {\n    return this;\n  }\n  _Var4 = _S_failbit;\nLAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}\n\n" comment (ERROR "istream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)" (binary_expression "istream * __thiscall std::istream::get(istream *this" (binary_expression "istream * __thiscall" identifier * identifier) (ERROR "std::istream::get(istream" identifier : : identifier : : identifier ( identifier) * identifier) , type_identifier (pointer_declarator "*param_1" * identifier) , identifier identifier )) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  _Ios_Iostate _Var4;\n  byte bVar5;\n  byte *pbVar6;\n  int *piVar7;\n  sentry local_28 [16];\n  \n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_28,this,true);\n  if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar7 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar7[2] < (byte *)piVar7[3]) {\n      bVar5 = *(byte *)piVar7[2];\n      uVar1 = (uint)bVar5;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n      bVar5 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }\n  if (iVar2 != 0) {\n    return this;\n  }\n  _Var4 = _S_failbit;\nLAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "_Ios_Iostate _Var4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "sentry local_28 [16];" type_identifier (array_declarator "local_28 [16]" identifier [ number_literal ]) ;) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "sentry::sentry(local_28,this,true);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_28,this,true);" (call_expression "sentry(local_28,this,true)" identifier (argument_list "(local_28,this,true)" ( identifier , identifier , true ))) ;)) (if_statement "if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar7 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar7[2] < (byte *)piVar7[3]) {\n      bVar5 = *(byte *)piVar7[2];\n      uVar1 = (uint)bVar5;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n      bVar5 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" if (parenthesized_expression "(local_28[0] == (sentry)0x0)" ( (binary_expression "local_28[0] == (sentry)0x0" (subscript_expression "local_28[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }" { (labeled_statement "LAB_002e2a58:\n    iVar2 = *(int *)(this + 4);" statement_identifier : (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    piVar7 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar7[2] < (byte *)piVar7[3]) {\n      bVar5 = *(byte *)piVar7[2];\n      uVar1 = (uint)bVar5;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n      bVar5 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" else (compound_statement "{\n    piVar7 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar7[2] < (byte *)piVar7[3]) {\n      bVar5 = *(byte *)piVar7[2];\n      uVar1 = (uint)bVar5;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n      bVar5 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" { (expression_statement "piVar7 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);" (assignment_expression "piVar7 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" * (cast_expression "(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x78" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)piVar7[2] < (byte *)piVar7[3]) {\n      bVar5 = *(byte *)piVar7[2];\n      uVar1 = (uint)bVar5;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n      bVar5 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }\n    }" if (parenthesized_expression "((byte *)piVar7[2] < (byte *)piVar7[3])" ( (binary_expression "(byte *)piVar7[2] < (byte *)piVar7[3]" (cast_expression "(byte *)piVar7[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ])) < (cast_expression "(byte *)piVar7[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      bVar5 = *(byte *)piVar7[2];\n      uVar1 = (uint)bVar5;\n    }" { (expression_statement "bVar5 = *(byte *)piVar7[2];" (assignment_expression "bVar5 = *(byte *)piVar7[2]" identifier = (pointer_expression "*(byte *)piVar7[2]" * (cast_expression "(byte *)piVar7[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar1 = (uint)bVar5;" (assignment_expression "uVar1 = (uint)bVar5" identifier = (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n      bVar5 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }\n    }" else (compound_statement "{\n      uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n      bVar5 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }\n    }" { (expression_statement "uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);" (assignment_expression "uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7)" identifier = (call_expression "(**(code **)(*piVar7 + 0x24))(piVar7)" (parenthesized_expression "(**(code **)(*piVar7 + 0x24))" ( (pointer_expression "**(code **)(*piVar7 + 0x24)" * (pointer_expression "*(code **)(*piVar7 + 0x24)" * (cast_expression "(code **)(*piVar7 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar7 + 0x24)" ( (binary_expression "*piVar7 + 0x24" (pointer_expression "*piVar7" * identifier) + number_literal) ))))) )) (argument_list "(piVar7)" ( identifier )))) ;) (expression_statement "bVar5 = (byte)uVar1;" (assignment_expression "bVar5 = (byte)uVar1" identifier = (cast_expression "(byte)uVar1" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        _Var4 = _S_eofbit;\n        if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }\n        goto LAB_002e2a68;\n      }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (labeled_statement "LAB_002e2ac8:\n        _Var4 = _S_eofbit;" statement_identifier : (expression_statement "_Var4 = _S_eofbit;" (assignment_expression "_Var4 = _S_eofbit" identifier = identifier) ;)) (if_statement "if (iVar2 == 0) {\n          _Var4 = _S_failbit|_S_eofbit;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          _Var4 = _S_failbit|_S_eofbit;\n        }" { (expression_statement "_Var4 = _S_failbit|_S_eofbit;" (assignment_expression "_Var4 = _S_failbit|_S_eofbit" identifier = (binary_expression "_S_failbit|_S_eofbit" identifier | identifier)) ;) })) (goto_statement "goto LAB_002e2a68;" goto statement_identifier ;) })) }))) (if_statement "if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }" if (parenthesized_expression "((byte)param_2 != uVar1)" ( (binary_expression "(byte)param_2 != uVar1" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) != identifier) )) (compound_statement "{\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }" { (do_statement "do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);" do (compound_statement "{\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar7[2];\n        pbVar6 = (byte *)piVar7[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }\n        if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      }" { (if_statement "if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }" if (parenthesized_expression "(*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18))" ( (binary_expression "*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)" (pointer_expression "*(byte **)(param_1 + 0x14)" * (cast_expression "(byte **)(param_1 + 0x14)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) < (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n          **(byte **)(param_1 + 0x14) = bVar5;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }" { (expression_statement "**(byte **)(param_1 + 0x14) = bVar5;" (assignment_expression "**(byte **)(param_1 + 0x14) = bVar5" (pointer_expression "**(byte **)(param_1 + 0x14)" * (pointer_expression "*(byte **)(param_1 + 0x14)" * (cast_expression "(byte **)(param_1 + 0x14)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x14) + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }" else (compound_statement "{\n                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);\n          if (iVar2 == -1) break;\n        }" { comment (expression_statement "iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5);" (assignment_expression "iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5)" identifier = (call_expression "(**(code **)(*(int *)param_1 + 0x34))(param_1,bVar5)" (parenthesized_expression "(**(code **)(*(int *)param_1 + 0x34))" ( (pointer_expression "**(code **)(*(int *)param_1 + 0x34)" * (pointer_expression "*(code **)(*(int *)param_1 + 0x34)" * (cast_expression "(code **)(*(int *)param_1 + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1 + 0x34)" ( (binary_expression "*(int *)param_1 + 0x34" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(param_1,bVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == -1) break;" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "pbVar3 = (byte *)piVar7[2];" (assignment_expression "pbVar3 = (byte *)piVar7[2]" identifier = (cast_expression "(byte *)piVar7[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar6 = (byte *)piVar7[3];" (assignment_expression "pbVar6 = (byte *)piVar7[3]" identifier = (cast_expression "(byte *)piVar7[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[3]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(this + 4) = *(int *)(this + 4) + 1;" (assignment_expression "*(int *)(this + 4) = *(int *)(this + 4) + 1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(this + 4) + 1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (pbVar3 < pbVar6) {\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }\n        else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }" if (parenthesized_expression "(pbVar3 < pbVar6)" ( (binary_expression "pbVar3 < pbVar6" identifier < identifier) )) (compound_statement "{\n          pbVar3 = pbVar3 + 1;\n          piVar7[2] = (int)pbVar3;\n        }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "piVar7[2] = (int)pbVar3;" (assignment_expression "piVar7[2] = (int)pbVar3" (subscript_expression "piVar7[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }" else (compound_statement "{\n                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */\n          iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar7[2];\n          pbVar6 = (byte *)piVar7[3];\n        }" { comment (expression_statement "iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7);" (assignment_expression "iVar2 = (**(code **)(*piVar7 + 0x28))(piVar7)" identifier = (call_expression "(**(code **)(*piVar7 + 0x28))(piVar7)" (parenthesized_expression "(**(code **)(*piVar7 + 0x28))" ( (pointer_expression "**(code **)(*piVar7 + 0x28)" * (pointer_expression "*(code **)(*piVar7 + 0x28)" * (cast_expression "(code **)(*piVar7 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar7 + 0x28)" ( (binary_expression "*piVar7 + 0x28" (pointer_expression "*piVar7" * identifier) + number_literal) ))))) )) (argument_list "(piVar7)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_002e2ac8;" goto statement_identifier ;) })) (expression_statement "pbVar3 = (byte *)piVar7[2];" (assignment_expression "pbVar3 = (byte *)piVar7[2]" identifier = (cast_expression "(byte *)piVar7[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar6 = (byte *)piVar7[3];" (assignment_expression "pbVar6 = (byte *)piVar7[3]" identifier = (cast_expression "(byte *)piVar7[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar3 < pbVar6) {\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" if (parenthesized_expression "(pbVar3 < pbVar6)" ( (binary_expression "pbVar3 < pbVar6" identifier < identifier) )) (compound_statement "{\n          bVar5 = *pbVar3;\n          uVar1 = (uint)bVar5;\n        }" { (expression_statement "bVar5 = *pbVar3;" (assignment_expression "bVar5 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "uVar1 = (uint)bVar5;" (assignment_expression "uVar1 = (uint)bVar5" identifier = (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" else (compound_statement "{\n          uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);\n          bVar5 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" { (expression_statement "uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7);" (assignment_expression "uVar1 = (**(code **)(*piVar7 + 0x24))(piVar7)" identifier = (call_expression "(**(code **)(*piVar7 + 0x24))(piVar7)" (parenthesized_expression "(**(code **)(*piVar7 + 0x24))" ( (pointer_expression "**(code **)(*piVar7 + 0x24)" * (pointer_expression "*(code **)(*piVar7 + 0x24)" * (cast_expression "(code **)(*piVar7 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar7 + 0x24)" ( (binary_expression "*piVar7 + 0x24" (pointer_expression "*piVar7" * identifier) + number_literal) ))))) )) (argument_list "(piVar7)" ( identifier )))) ;) (expression_statement "bVar5 = (byte)uVar1;" (assignment_expression "bVar5 = (byte)uVar1" identifier = (cast_expression "(byte)uVar1" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_002e2ac8;" goto statement_identifier ;) })) }))) }) while (parenthesized_expression "((byte)param_2 != uVar1)" ( (binary_expression "(byte)param_2 != uVar1" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) != identifier) )) ;) (goto_statement "goto LAB_002e2a58;" goto statement_identifier ;) })) (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar2 != 0) {\n    return this;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return this;\n  }" { (return_statement "return this;" return identifier ;) })) (expression_statement "_Var4 = _S_failbit;" (assignment_expression "_Var4 = _S_failbit" identifier = identifier) ;) (labeled_statement "LAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (labeled_statement "ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" identifier (argument_list "((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" ( (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "_Var4 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" identifier | (pointer_expression "*(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" * (cast_expression "(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (binary_expression "(ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) ))))) ))) ;))) (return_statement "return this;" return identifier ;) }))
(translation_unit "istream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte bVar4;\n  byte *pbVar5;\n  int *piVar6;\n  sentry local_28 [16];\n  \n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_28,this,true);\n  if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }\n  if (iVar2 != 0) {\n    return this;\n  }\n  uVar1 = 4;\nLAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}\n\n" (ERROR "istream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)" (binary_expression "istream * __thiscall std::istream::get(istream *this" (binary_expression "istream * __thiscall" identifier * identifier) (ERROR "std::istream::get(istream" identifier : : identifier : : identifier ( identifier) * identifier) , type_identifier (pointer_declarator "*param_1" * identifier) , identifier identifier )) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte bVar4;\n  byte *pbVar5;\n  int *piVar6;\n  sentry local_28 [16];\n  \n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_28,this,true);\n  if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }\n  if (iVar2 != 0) {\n    return this;\n  }\n  uVar1 = 4;\nLAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "sentry local_28 [16];" type_identifier (array_declarator "local_28 [16]" identifier [ number_literal ]) ;) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "sentry::sentry(local_28,this,true);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_28,this,true);" (call_expression "sentry(local_28,this,true)" identifier (argument_list "(local_28,this,true)" ( identifier , identifier , true ))) ;)) (if_statement "if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" if (parenthesized_expression "(local_28[0] == (sentry)0x0)" ( (binary_expression "local_28[0] == (sentry)0x0" (subscript_expression "local_28[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }" { (labeled_statement "LAB_002e2a58:\n    iVar2 = *(int *)(this + 4);" statement_identifier : (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;)) }) (else_clause "else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" else (compound_statement "{\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" { (expression_statement "piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);" (assignment_expression "piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" * (cast_expression "(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x78" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" if (parenthesized_expression "((byte *)piVar6[2] < (byte *)piVar6[3])" ( (binary_expression "(byte *)piVar6[2] < (byte *)piVar6[3]" (cast_expression "(byte *)piVar6[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])) < (cast_expression "(byte *)piVar6[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }" { (expression_statement "bVar4 = *(byte *)piVar6[2];" (assignment_expression "bVar4 = *(byte *)piVar6[2]" identifier = (pointer_expression "*(byte *)piVar6[2]" * (cast_expression "(byte *)piVar6[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar1 = (uint)bVar4;" (assignment_expression "uVar1 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" else (compound_statement "{\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" { (expression_statement "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);" (assignment_expression "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6)" identifier = (call_expression "(**(code **)(*piVar6 + 0x24))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x24))" ( (pointer_expression "**(code **)(*piVar6 + 0x24)" * (pointer_expression "*(code **)(*piVar6 + 0x24)" * (cast_expression "(code **)(*piVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x24)" ( (binary_expression "*piVar6 + 0x24" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(piVar6)" ( identifier )))) ;) (expression_statement "bVar4 = (byte)uVar1;" (assignment_expression "bVar4 = (byte)uVar1" identifier = (cast_expression "(byte)uVar1" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (labeled_statement "LAB_002e2ac8:\n        uVar1 = 2;" statement_identifier : (expression_statement "uVar1 = 2;" (assignment_expression "uVar1 = 2" identifier = number_literal) ;)) (if_statement "if (iVar2 == 0) {\n          uVar1 = 6;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar1 = 6;\n        }" { (expression_statement "uVar1 = 6;" (assignment_expression "uVar1 = 6" identifier = number_literal) ;) })) (goto_statement "goto LAB_002e2a68;" goto statement_identifier ;) })) }))) (if_statement "if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }" if (parenthesized_expression "((byte)param_2 != uVar1)" ( (binary_expression "(byte)param_2 != uVar1" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) != identifier) )) (compound_statement "{\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }" { (do_statement "do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);" do (compound_statement "{\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      }" { (if_statement "if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" if (parenthesized_expression "(*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18))" ( (binary_expression "*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)" (pointer_expression "*(byte **)(param_1 + 0x14)" * (cast_expression "(byte **)(param_1 + 0x14)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) < (pointer_expression "*(byte **)(param_1 + 0x18)" * (cast_expression "(byte **)(param_1 + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }" { (expression_statement "**(byte **)(param_1 + 0x14) = bVar4;" (assignment_expression "**(byte **)(param_1 + 0x14) = bVar4" (pointer_expression "**(byte **)(param_1 + 0x14)" * (pointer_expression "*(byte **)(param_1 + 0x14)" * (cast_expression "(byte **)(param_1 + 0x14)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x14) + 1" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" else (compound_statement "{\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" { (expression_statement "iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);" (assignment_expression "iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4)" identifier = (call_expression "(**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4)" (parenthesized_expression "(**(code **)(*(int *)param_1 + 0x34))" ( (pointer_expression "**(code **)(*(int *)param_1 + 0x34)" * (pointer_expression "*(code **)(*(int *)param_1 + 0x34)" * (cast_expression "(code **)(*(int *)param_1 + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1 + 0x34)" ( (binary_expression "*(int *)param_1 + 0x34" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(param_1,bVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == -1) break;" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "pbVar3 = (byte *)piVar6[2];" (assignment_expression "pbVar3 = (byte *)piVar6[2]" identifier = (cast_expression "(byte *)piVar6[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar5 = (byte *)piVar6[3];" (assignment_expression "pbVar5 = (byte *)piVar6[3]" identifier = (cast_expression "(byte *)piVar6[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[3]" identifier [ number_literal ]))) ;) (expression_statement "*(int *)(this + 4) = *(int *)(this + 4) + 1;" (assignment_expression "*(int *)(this + 4) = *(int *)(this + 4) + 1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (binary_expression "*(int *)(this + 4) + 1" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" if (parenthesized_expression "(pbVar3 < pbVar5)" ( (binary_expression "pbVar3 < pbVar5" identifier < identifier) )) (compound_statement "{\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (expression_statement "piVar6[2] = (int)pbVar3;" (assignment_expression "piVar6[2] = (int)pbVar3" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" else (compound_statement "{\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" { (expression_statement "iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);" (assignment_expression "iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6)" identifier = (call_expression "(**(code **)(*piVar6 + 0x28))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x28))" ( (pointer_expression "**(code **)(*piVar6 + 0x28)" * (pointer_expression "*(code **)(*piVar6 + 0x28)" * (cast_expression "(code **)(*piVar6 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x28)" ( (binary_expression "*piVar6 + 0x28" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(piVar6)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_002e2ac8;" goto statement_identifier ;) })) (expression_statement "pbVar3 = (byte *)piVar6[2];" (assignment_expression "pbVar3 = (byte *)piVar6[2]" identifier = (cast_expression "(byte *)piVar6[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar5 = (byte *)piVar6[3];" (assignment_expression "pbVar5 = (byte *)piVar6[3]" identifier = (cast_expression "(byte *)piVar6[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" if (parenthesized_expression "(pbVar3 < pbVar5)" ( (binary_expression "pbVar3 < pbVar5" identifier < identifier) )) (compound_statement "{\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }" { (expression_statement "bVar4 = *pbVar3;" (assignment_expression "bVar4 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "uVar1 = (uint)bVar4;" (assignment_expression "uVar1 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }) (else_clause "else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" else (compound_statement "{\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" { (expression_statement "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);" (assignment_expression "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6)" identifier = (call_expression "(**(code **)(*piVar6 + 0x24))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x24))" ( (pointer_expression "**(code **)(*piVar6 + 0x24)" * (pointer_expression "*(code **)(*piVar6 + 0x24)" * (cast_expression "(code **)(*piVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0x24)" ( (binary_expression "*piVar6 + 0x24" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(piVar6)" ( identifier )))) ;) (expression_statement "bVar4 = (byte)uVar1;" (assignment_expression "bVar4 = (byte)uVar1" identifier = (cast_expression "(byte)uVar1" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" { (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_002e2ac8;" goto statement_identifier ;) })) }))) }) while (parenthesized_expression "((byte)param_2 != uVar1)" ( (binary_expression "(byte)param_2 != uVar1" (cast_expression "(byte)param_2" ( (type_descriptor "byte" type_identifier) ) identifier) != identifier) )) ;) (goto_statement "goto LAB_002e2a58;" goto statement_identifier ;) })) (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) }))) (if_statement "if (iVar2 != 0) {\n    return this;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    return this;\n  }" { (return_statement "return this;" return identifier ;) })) (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" identifier = number_literal) ;) (labeled_statement "LAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (labeled_statement "ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" identifier (argument_list "((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" ( (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" identifier | (pointer_expression "*(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" * (cast_expression "(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (binary_expression "(ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) ))))) ))) ;))) (return_statement "return this;" return identifier ;) }))
(translation_unit (ERROR (binary_expression (binary_expression IDENT * IDENT) (ERROR IDENT : : IDENT : : IDENT ( IDENT) * IDENT) , TYPE (pointer_declarator * IDENT) , IDENT IDENT )) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , BOOL ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (cast_expression ( (type_descriptor TYPE) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) }) (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 IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (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 )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (goto_statement goto statement_identifier ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) }))) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (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 )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) }))) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != IDENT) )) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (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 : (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) ))) , (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) ))) + LIT) ))))) ))) ;))) (return_statement return IDENT ;) }))
(ERROR "istream * __thiscall std::istream::get(istream *this,streambuf *param_1,char param_2)" (binary_expression "istream * __thiscall std::istream::get(istream *this" (binary_expression "istream * __thiscall" (identifier "istream") (* "*") (identifier "__thiscall")) (ERROR "std::istream::get(istream" (identifier "std") (: ":") (: ":") (identifier "istream") (: ":") (: ":") (identifier "get") (( "(") (identifier "istream")) (* "*") (identifier "this")) (, ",") (type_identifier "streambuf") (pointer_declarator "*param_1" (* "*") (identifier "param_1")) (, ",") (identifier "char") (identifier "param_2") () ")")) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  byte *pbVar3;\n  byte bVar4;\n  byte *pbVar5;\n  int *piVar6;\n  sentry local_28 [16];\n  \n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_28,this,true);\n  if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }\n  if (iVar2 != 0) {\n    return this;\n  }\n  uVar1 = 4;\nLAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "sentry local_28 [16];" (type_identifier "sentry") (array_declarator "local_28 [16]" (identifier "local_28") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" (* "*") (cast_expression "(undefined4 *)(this + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (labeled_statement "sentry::sentry(local_28,this,true);" (statement_identifier "sentry") (: ":") (ERROR ":" (: ":")) (expression_statement "sentry(local_28,this,true);" (call_expression "sentry(local_28,this,true)" (identifier "sentry") (argument_list "(local_28,this,true)" (( "(") (identifier "local_28") (, ",") (identifier "this") (, ",") (true "true") () ")"))) (; ";"))) (if_statement "if (local_28[0] == (sentry)0x0) {\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }\n  else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" (if "if") (parenthesized_expression "(local_28[0] == (sentry)0x0)" (( "(") (binary_expression "local_28[0] == (sentry)0x0" (subscript_expression "local_28[0]" (identifier "local_28") ([ "[") (number_literal "0") (] "]")) (== "==") (cast_expression "(sentry)0x0" (( "(") (type_descriptor "sentry" (type_identifier "sentry")) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_002e2a58:\n    iVar2 = *(int *)(this + 4);\n  }" ({ "{") (labeled_statement "LAB_002e2a58:\n    iVar2 = *(int *)(this + 4);" (statement_identifier "LAB_002e2a58") (: ":") (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" (else "else") (compound_statement "{\n    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);\n    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }\n    if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }\n    iVar2 = *(int *)(this + 4);\n  }" ({ "{") (expression_statement "piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);" (assignment_expression "piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" (* "*") (cast_expression "(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x78)" (( "(") (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x78" (binary_expression "this + *(int *)(*(int *)this + -0xc)" (identifier "this") (+ "+") (pointer_expression "*(int *)(*(int *)this + -0xc)" (* "*") (cast_expression "(int *)(*(int *)this + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)this + -0xc)" (( "(") (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (if_statement "if ((byte *)piVar6[2] < (byte *)piVar6[3]) {\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }\n    else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" (if "if") (parenthesized_expression "((byte *)piVar6[2] < (byte *)piVar6[3])" (( "(") (binary_expression "(byte *)piVar6[2] < (byte *)piVar6[3]" (cast_expression "(byte *)piVar6[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(byte *)piVar6[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      bVar4 = *(byte *)piVar6[2];\n      uVar1 = (uint)bVar4;\n    }" ({ "{") (expression_statement "bVar4 = *(byte *)piVar6[2];" (assignment_expression "bVar4 = *(byte *)piVar6[2]" (identifier "bVar4") (= "=") (pointer_expression "*(byte *)piVar6[2]" (* "*") (cast_expression "(byte *)piVar6[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (expression_statement "uVar1 = (uint)bVar4;" (assignment_expression "uVar1 = (uint)bVar4" (identifier "uVar1") (= "=") (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4"))) (; ";")) (} "}")) (else_clause "else {\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" (else "else") (compound_statement "{\n      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n      bVar4 = (byte)uVar1;\n      if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }\n    }" ({ "{") (expression_statement "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);" (assignment_expression "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6)" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*piVar6 + 0x24))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar6 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar6 + 0x24)" (* "*") (cast_expression "(code **)(*piVar6 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar6 + 0x24)" (( "(") (binary_expression "*piVar6 + 0x24" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar6)" (( "(") (identifier "piVar6") () ")")))) (; ";")) (expression_statement "bVar4 = (byte)uVar1;" (assignment_expression "bVar4 = (byte)uVar1" (identifier "bVar4") (= "=") (cast_expression "(byte)uVar1" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar1"))) (; ";")) (if_statement "if (uVar1 == 0xffffffff) {\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }" (if "if") (parenthesized_expression "(uVar1 == 0xffffffff)" (( "(") (binary_expression "uVar1 == 0xffffffff" (identifier "uVar1") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n        iVar2 = *(int *)(this + 4);\nLAB_002e2ac8:\n        uVar1 = 2;\n        if (iVar2 == 0) {\n          uVar1 = 6;\n        }\n        goto LAB_002e2a68;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (labeled_statement "LAB_002e2ac8:\n        uVar1 = 2;" (statement_identifier "LAB_002e2ac8") (: ":") (expression_statement "uVar1 = 2;" (assignment_expression "uVar1 = 2" (identifier "uVar1") (= "=") (number_literal "2")) (; ";"))) (if_statement "if (iVar2 == 0) {\n          uVar1 = 6;\n        }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar1 = 6;\n        }" ({ "{") (expression_statement "uVar1 = 6;" (assignment_expression "uVar1 = 6" (identifier "uVar1") (= "=") (number_literal "6")) (; ";")) (} "}"))) (goto_statement "goto LAB_002e2a68;" (goto "goto") (statement_identifier "LAB_002e2a68") (; ";")) (} "}"))) (} "}")))) (if_statement "if ((byte)param_2 != uVar1) {\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }" (if "if") (parenthesized_expression "((byte)param_2 != uVar1)" (( "(") (binary_expression "(byte)param_2 != uVar1" (cast_expression "(byte)param_2" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_2")) (!= "!=") (identifier "uVar1")) () ")")) (compound_statement "{\n      do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);\n      goto LAB_002e2a58;\n    }" ({ "{") (do_statement "do {\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      } while ((byte)param_2 != uVar1);" (do "do") (compound_statement "{\n        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }\n        pbVar3 = (byte *)piVar6[2];\n        pbVar5 = (byte *)piVar6[3];\n        *(int *)(this + 4) = *(int *)(this + 4) + 1;\n        if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }\n        if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }\n      }" ({ "{") (if_statement "if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" (if "if") (parenthesized_expression "(*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18))" (( "(") (binary_expression "*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)" (pointer_expression "*(byte **)(param_1 + 0x14)" (* "*") (cast_expression "(byte **)(param_1 + 0x14)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (< "<") (pointer_expression "*(byte **)(param_1 + 0x18)" (* "*") (cast_expression "(byte **)(param_1 + 0x18)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n          **(byte **)(param_1 + 0x14) = bVar4;\n          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;\n        }" ({ "{") (expression_statement "**(byte **)(param_1 + 0x14) = bVar4;" (assignment_expression "**(byte **)(param_1 + 0x14) = bVar4" (pointer_expression "**(byte **)(param_1 + 0x14)" (* "*") (pointer_expression "*(byte **)(param_1 + 0x14)" (* "*") (cast_expression "(byte **)(param_1 + 0x14)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (= "=") (identifier "bVar4")) (; ";")) (expression_statement "*(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;" (assignment_expression "*(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x14) + 1" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" (else "else") (compound_statement "{\n                    \n          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);\n          if (iVar2 == -1) break;\n        }" ({ "{") (expression_statement "iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);" (assignment_expression "iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4)" (parenthesized_expression "(**(code **)(*(int *)param_1 + 0x34))" (( "(") (pointer_expression "**(code **)(*(int *)param_1 + 0x34)" (* "*") (pointer_expression "*(code **)(*(int *)param_1 + 0x34)" (* "*") (cast_expression "(code **)(*(int *)param_1 + 0x34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)param_1 + 0x34)" (( "(") (binary_expression "*(int *)param_1 + 0x34" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "0x34")) () ")"))))) () ")")) (argument_list "(param_1,bVar4)" (( "(") (identifier "param_1") (, ",") (identifier "bVar4") () ")")))) (; ";")) (if_statement "if (iVar2 == -1) break;" (if "if") (parenthesized_expression "(iVar2 == -1)" (( "(") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")))) (expression_statement "pbVar3 = (byte *)piVar6[2];" (assignment_expression "pbVar3 = (byte *)piVar6[2]" (identifier "pbVar3") (= "=") (cast_expression "(byte *)piVar6[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar5 = (byte *)piVar6[3];" (assignment_expression "pbVar5 = (byte *)piVar6[3]" (identifier "pbVar5") (= "=") (cast_expression "(byte *)piVar6[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "*(int *)(this + 4) = *(int *)(this + 4) + 1;" (assignment_expression "*(int *)(this + 4) = *(int *)(this + 4) + 1" (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "*(int *)(this + 4) + 1" (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pbVar3 < pbVar5) {\n          pbVar3 = pbVar3 + 1;\n          piVar6[2] = (int)pbVar3;\n        }\n        else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" (if "if") (parenthesized_expression "(pbVar3 < pbVar5)" (( "(") (binary_expression "pbVar3 < pbVar5" (identifier "pbVar3") (< "<") (identifier "pbVar5")) () ")")) (compound_statement "{\n          pbVar3 = pbVar3 + 1;\n          piVar6[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 "piVar6[2] = (int)pbVar3;" (assignment_expression "piVar6[2] = (int)pbVar3" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pbVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar3"))) (; ";")) (} "}")) (else_clause "else {\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" (else "else") (compound_statement "{\n                    \n          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);\n          if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n          pbVar3 = (byte *)piVar6[2];\n          pbVar5 = (byte *)piVar6[3];\n        }" ({ "{") (expression_statement "iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);" (assignment_expression "iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*piVar6 + 0x28))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar6 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar6 + 0x28)" (* "*") (cast_expression "(code **)(*piVar6 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar6 + 0x28)" (( "(") (binary_expression "*piVar6 + 0x28" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar6)" (( "(") (identifier "piVar6") () ")")))) (; ";")) (if_statement "if (iVar2 == -1) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" (if "if") (parenthesized_expression "(iVar2 == -1)" (( "(") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" ({ "{") (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (goto_statement "goto LAB_002e2ac8;" (goto "goto") (statement_identifier "LAB_002e2ac8") (; ";")) (} "}"))) (expression_statement "pbVar3 = (byte *)piVar6[2];" (assignment_expression "pbVar3 = (byte *)piVar6[2]" (identifier "pbVar3") (= "=") (cast_expression "(byte *)piVar6[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar5 = (byte *)piVar6[3];" (assignment_expression "pbVar5 = (byte *)piVar6[3]" (identifier "pbVar5") (= "=") (cast_expression "(byte *)piVar6[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]")))) (; ";")) (} "}")))) (if_statement "if (pbVar3 < pbVar5) {\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }\n        else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" (if "if") (parenthesized_expression "(pbVar3 < pbVar5)" (( "(") (binary_expression "pbVar3 < pbVar5" (identifier "pbVar3") (< "<") (identifier "pbVar5")) () ")")) (compound_statement "{\n          bVar4 = *pbVar3;\n          uVar1 = (uint)bVar4;\n        }" ({ "{") (expression_statement "bVar4 = *pbVar3;" (assignment_expression "bVar4 = *pbVar3" (identifier "bVar4") (= "=") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3"))) (; ";")) (expression_statement "uVar1 = (uint)bVar4;" (assignment_expression "uVar1 = (uint)bVar4" (identifier "uVar1") (= "=") (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4"))) (; ";")) (} "}")) (else_clause "else {\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" (else "else") (compound_statement "{\n          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);\n          bVar4 = (byte)uVar1;\n          if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }\n        }" ({ "{") (expression_statement "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);" (assignment_expression "uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6)" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*piVar6 + 0x24))(piVar6)" (parenthesized_expression "(**(code **)(*piVar6 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar6 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar6 + 0x24)" (* "*") (cast_expression "(code **)(*piVar6 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar6 + 0x24)" (( "(") (binary_expression "*piVar6 + 0x24" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar6)" (( "(") (identifier "piVar6") () ")")))) (; ";")) (expression_statement "bVar4 = (byte)uVar1;" (assignment_expression "bVar4 = (byte)uVar1" (identifier "bVar4") (= "=") (cast_expression "(byte)uVar1" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar1"))) (; ";")) (if_statement "if (uVar1 == 0xffffffff) {\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" (if "if") (parenthesized_expression "(uVar1 == 0xffffffff)" (( "(") (binary_expression "uVar1 == 0xffffffff" (identifier "uVar1") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n            iVar2 = *(int *)(this + 4);\n            goto LAB_002e2ac8;\n          }" ({ "{") (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (goto_statement "goto LAB_002e2ac8;" (goto "goto") (statement_identifier "LAB_002e2ac8") (; ";")) (} "}"))) (} "}")))) (} "}")) (while "while") (parenthesized_expression "((byte)param_2 != uVar1)" (( "(") (binary_expression "(byte)param_2 != uVar1" (cast_expression "(byte)param_2" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_2")) (!= "!=") (identifier "uVar1")) () ")")) (; ";")) (goto_statement "goto LAB_002e2a58;" (goto "goto") (statement_identifier "LAB_002e2a58") (; ";")) (} "}"))) (expression_statement "iVar2 = *(int *)(this + 4);" (assignment_expression "iVar2 = *(int *)(this + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (iVar2 != 0) {\n    return this;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return this;\n  }" ({ "{") (return_statement "return this;" (return "return") (identifier "this") (; ";")) (} "}"))) (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" (identifier "uVar1") (= "=") (number_literal "4")) (; ";")) (labeled_statement "LAB_002e2a68:\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (statement_identifier "LAB_002e2a68") (: ":") (labeled_statement "ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (statement_identifier "ios") (: ":") (ERROR ":" (: ":")) (expression_statement "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" (identifier "clear") (argument_list "((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" (( "(") (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" (( "(") (binary_expression "this + *(int *)(*(int *)this + -0xc)" (identifier "this") (+ "+") (pointer_expression "*(int *)(*(int *)this + -0xc)" (* "*") (cast_expression "(int *)(*(int *)this + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)this + -0xc)" (( "(") (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")"))) (, ",") (binary_expression "uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" (identifier "uVar1") (| "|") (pointer_expression "*(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" (* "*") (cast_expression "(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" (( "(") (binary_expression "(ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" (( "(") (binary_expression "this + *(int *)(*(int *)this + -0xc)" (identifier "this") (+ "+") (pointer_expression "*(int *)(*(int *)this + -0xc)" (* "*") (cast_expression "(int *)(*(int *)this + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)this + -0xc)" (( "(") (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")"))) (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) (; ";")))) (return_statement "return this;" (return "return") (identifier "this") (; ";")) (} "}"))
(translation_unit (ERROR (binary_expression left: (binary_expression left: (identifier) right: (identifier)) (ERROR (identifier) (identifier) (identifier) (identifier)) right: (identifier)) type: (type_identifier) (pointer_declarator declarator: (identifier)) (identifier) (identifier)) (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (true))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) 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: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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)) 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))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (goto_statement label: (statement_identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) 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))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (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) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)))))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)))))))) right: (number_literal))))))))))) (return_statement (identifier))))

/* std::istream::MASKED(std::streambuf&, char) */

istream * __thiscall std::istream::MASKED(istream *this,streambuf *param_1,char param_2)

{
  uint uVar1;
  int iVar2;
  byte *pbVar3;
  byte bVar4;
  byte *pbVar5;
  int *piVar6;
  sentry local_28 [16];
  
  *(undefined4 *)(this + 4) = 0;
  sentry::sentry(local_28,this,true);
  if (local_28[0] == (sentry)0x0) {
LAB_002e2a58:
    iVar2 = *(int *)(this + 4);
  }
  else {
    piVar6 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x78);
    if ((byte *)piVar6[2] < (byte *)piVar6[3]) {
      bVar4 = *(byte *)piVar6[2];
      uVar1 = (uint)bVar4;
    }
    else {
      uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);
      bVar4 = (byte)uVar1;
      if (uVar1 == 0xffffffff) {
        iVar2 = *(int *)(this + 4);
LAB_002e2ac8:
        uVar1 = 2;
        if (iVar2 == 0) {
          uVar1 = 6;
        }
        goto LAB_002e2a68;
      }
    }
    if ((byte)param_2 != uVar1) {
      do {
        if (*(byte **)(param_1 + 0x14) < *(byte **)(param_1 + 0x18)) {
          **(byte **)(param_1 + 0x14) = bVar4;
          *(int *)(param_1 + 0x14) = *(int *)(param_1 + 0x14) + 1;
        }
        else {
                    /* try { // try from 002e2a48 to 002e2a4f has its CatchHandler @ 002e2b34 */
          iVar2 = (**(code **)(*(int *)param_1 + 0x34))(param_1,bVar4);
          if (iVar2 == -1) break;
        }
        pbVar3 = (byte *)piVar6[2];
        pbVar5 = (byte *)piVar6[3];
        *(int *)(this + 4) = *(int *)(this + 4) + 1;
        if (pbVar3 < pbVar5) {
          pbVar3 = pbVar3 + 1;
          piVar6[2] = (int)pbVar3;
        }
        else {
                    /* try { // try from 002e2ab4 to 002e2b0f has its CatchHandler @ 002e2b34 */
          iVar2 = (**(code **)(*piVar6 + 0x28))(piVar6);
          if (iVar2 == -1) {
            iVar2 = *(int *)(this + 4);
            goto LAB_002e2ac8;
          }
          pbVar3 = (byte *)piVar6[2];
          pbVar5 = (byte *)piVar6[3];
        }
        if (pbVar3 < pbVar5) {
          bVar4 = *pbVar3;
          uVar1 = (uint)bVar4;
        }
        else {
          uVar1 = (**(code **)(*piVar6 + 0x24))(piVar6);
          bVar4 = (byte)uVar1;
          if (uVar1 == 0xffffffff) {
            iVar2 = *(int *)(this + 4);
            goto LAB_002e2ac8;
          }
        }
      } while ((byte)param_2 != uVar1);
      goto LAB_002e2a58;
    }
    iVar2 = *(int *)(this + 4);
  }
  if (iVar2 != 0) {
    return this;
  }
  uVar1 = 4;
LAB_002e2a68:
  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),
             uVar1 | *(uint *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));
  return this;
}

