
/* std::istream::TEMPNAMEPLACEHOLDERVALUE(int&) */

istream * __thiscall std::istream::operator>>(istream *this,int *param_1)

{
  istream *piVar1;
  int iVar2;
  int iVar3;
  _Ios_Iostate _Var4;
  sentry *psVar5;
  ios *this_00;
  int *piVar6;
  int in_t9;
  code *pcVar7;
  code *pcVar8;
  char acStack_90 [4];
  sentry asStack_8c [16];
  istream *piStack_7c;
  int *piStack_78;
  code *pcStack_74;
  undefined4 local_60;
  undefined4 local_5c;
  istream *local_58;
  _Ios_Iostate *local_54;
  int *local_50;
  int local_48;
  undefined4 local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined1 auStack_30 [8];
  int local_28;
  _Ios_Iostate local_24;
  sentry local_20 [8];
  sentry *local_18;
  
  local_48 = in_t9 + 0x16c4b0;
  psVar5 = local_20;
  sentry::sentry(psVar5,this,false);
  if (local_20[0] == (sentry)0x0) {
    return this;
  }
  local_24 = _S_goodbit;
  piVar1 = this + *(int *)(*(int *)this + -0xc);
  piVar6 = *(int **)(piVar1 + 0x84);
  if (piVar6 == (int *)0x0) {
                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */
    (**(code **)(local_48 + -0x6f84))();
                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac
                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac
                        */
    if (piVar6 == (int *)0x1) {
      (**(code **)(local_48 + -0x7774))();
      pcVar7 = *(code **)(local_48 + -0x7770);
      this = this + *(int *)(*(int *)this + -0xc);
      *(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1;
      if ((*(uint *)(this + 0x10) & 1) == 0) {
                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */
        (*pcVar7)();
      }
      (*pcVar7)();
                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44
                        */
      local_18 = psVar5;
      (**(code **)(local_48 + -0x776c))();
      iVar3 = local_48;
      psVar5 = local_18;
      (**(code **)(local_48 + -0x7f78))();
    }
    else {
      (**(code **)(local_48 + -0x7774))();
      iVar2 = *(int *)(*(int *)this + -0xc);
      psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);
      *(sentry **)(this + iVar2 + 0x14) = psVar5;
      iVar3 = local_48;
      if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {
        (**(code **)(local_48 + -0x776c))();
        goto LAB_0035ce48;
      }
    }
                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */
    (**(code **)(iVar3 + -0x7770))();
                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70
                        */
    local_18 = psVar5;
    (**(code **)(local_48 + -0x776c))();
    pcVar7 = *(code **)(local_48 + -0x7f78);
    pcVar8 = operator>>;
    psVar5 = local_18;
    (*pcVar7)();
    piStack_7c = this;
    piStack_78 = param_1;
    pcStack_74 = pcVar8;
    sentry::sentry(asStack_8c,(istream *)psVar5,false);
    if (asStack_8c[0] == (sentry)0x0) {
      if (piVar6 != (int *)0x0) {
        return (istream *)psVar5;
      }
      _Var4 = _S_failbit;
      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
    }
    else {
      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
      if (piVar6 == (int *)0x0) {
        _Var4 = _S_failbit;
      }
      else {
        iVar3 = (**(code **)(pcVar7 + 0x168358))
                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);
        if (iVar3 == 0) {
          _Var4 = _S_failbit;
          if (acStack_90[0] != '\0') {
            _Var4 = _S_failbit|_S_eofbit;
          }
          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
        }
        else {
          if (acStack_90[0] == '\0') {
            return (istream *)psVar5;
          }
          _Var4 = _S_eofbit;
          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
        }
      }
    }
    ios::clear(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14));
    return (istream *)psVar5;
  }
  local_38 = *(undefined4 *)(piVar1 + 0x78);
  local_50 = &local_28;
  local_60 = 0;
  local_54 = &local_24;
  local_5c = 0xffffffff;
  local_34 = 0xffffffff;
  local_40 = 0;
  local_3c = 0xffffffff;
  local_58 = piVar1;
                    /* try { // try from 0035ce34 to 0035ce3b has its CatchHandler @ 0035ceac */
  (**(code **)(*piVar6 + 0xc))(auStack_30,piVar6,local_38,0xffffffff);
  *param_1 = local_28;
LAB_0035ce48:
  if (local_24 == _S_goodbit) {
    return this;
  }
  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),
             local_24 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));
  return this;
}



istream * FUN_0035cd90(istream *param_1,undefined4 *param_2)

{
  istream *piVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  sentry *psVar5;
  ios *piVar6;
  int *piVar7;
  int in_t9;
  code *pcVar8;
  code *pcVar9;
  char acStack_90 [4];
  sentry asStack_8c [16];
  istream *piStack_7c;
  undefined4 *puStack_78;
  code *pcStack_74;
  undefined4 local_60;
  undefined4 local_5c;
  istream *local_58;
  uint *local_54;
  undefined4 *local_50;
  int local_48;
  undefined4 local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined1 auStack_30 [8];
  undefined4 local_28;
  uint local_24;
  sentry local_20 [8];
  sentry *local_18;
  
  local_48 = in_t9 + 0x16c4b0;
  psVar5 = local_20;
  std::istream::sentry::sentry(psVar5,param_1,false);
  if (local_20[0] == (sentry)0x0) {
    return param_1;
  }
  local_24 = 0;
  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);
  piVar7 = *(int **)(piVar1 + 0x84);
  if (piVar7 == (int *)0x0) {
                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */
    (**(code **)(local_48 + -0x6f84))();
                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac
                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac
                        */
    if (piVar7 == (int *)0x1) {
      (**(code **)(local_48 + -0x7774))();
      pcVar8 = *(code **)(local_48 + -0x7770);
      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);
      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;
      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {
                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */
        (*pcVar8)();
      }
      (*pcVar8)();
                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44
                        */
      local_18 = psVar5;
      (**(code **)(local_48 + -0x776c))();
      iVar3 = local_48;
      psVar5 = local_18;
      (**(code **)(local_48 + -0x7f78))();
    }
    else {
      (**(code **)(local_48 + -0x7774))();
      iVar2 = *(int *)(*(int *)param_1 + -0xc);
      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);
      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;
      iVar3 = local_48;
      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {
        (**(code **)(local_48 + -0x776c))();
        goto LAB_0035ce48;
      }
    }
                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */
    (**(code **)(iVar3 + -0x7770))();
                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70
                        */
    local_18 = psVar5;
    (**(code **)(local_48 + -0x776c))();
    pcVar8 = *(code **)(local_48 + -0x7f78);
    pcVar9 = FUN_0035cf90;
    psVar5 = local_18;
    (*pcVar8)();
    piStack_7c = param_1;
    puStack_78 = param_2;
    pcStack_74 = pcVar9;
    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);
    if (asStack_8c[0] == (sentry)0x0) {
      if (piVar7 != (int *)0x0) {
        return (istream *)psVar5;
      }
      uVar4 = 4;
      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
    }
    else {
      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
      if (piVar7 == (int *)0x0) {
        uVar4 = 4;
      }
      else {
        iVar3 = (**(code **)(pcVar8 + 0x168358))
                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);
        if (iVar3 == 0) {
          uVar4 = 4;
          if (acStack_90[0] != '\0') {
            uVar4 = 6;
          }
          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
        }
        else {
          if (acStack_90[0] == '\0') {
            return (istream *)psVar5;
          }
          uVar4 = 2;
          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
        }
      }
    }
    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));
    return (istream *)psVar5;
  }
  local_38 = *(undefined4 *)(piVar1 + 0x78);
  local_50 = &local_28;
  local_60 = 0;
  local_54 = &local_24;
  local_5c = 0xffffffff;
  local_34 = 0xffffffff;
  local_40 = 0;
  local_3c = 0xffffffff;
  local_58 = piVar1;
                    /* try { // try from 0035ce34 to 0035ce3b has its CatchHandler @ 0035ceac */
  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);
  *param_2 = local_28;
LAB_0035ce48:
  if (local_24 == 0) {
    return param_1;
  }
  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),
                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));
  return param_1;
}


lui gp,0x17
addiu gp,gp,-0x3b50
addu gp,gp,t9
addiu sp,sp,-0x70
lw t9,-0x40c8(gp)
or a2,zero,zero
sw s0,0x64(sp)
or s0,a0,zero
addiu a0,sp,0x50
sw gp,0x28(sp)
sw s1,0x68(sp)
or s1,a1,zero
sw ra,0x6c(sp)
bal 0x0035c7e8
_or a1,s0,zero
lbu v0,0x50(sp)
beq v0,zero,0x0035ce54
_lw gp,0x28(sp)
lw v0,0x0(s0)
sw zero,0x4c(sp)
lw v0,-0xc(v0)
addu v0,s0,v0
lw a1,0x84(v0)
beq a1,zero,0x0035cea0
_li v1,-0x1
lw t0,0x78(v0)
lw t1,0x0(a1)
li a3,-0x1
sw v0,0x18(sp)
addiu v0,sp,0x48
sw zero,0x10(sp)
addiu a0,sp,0x40
sw v0,0x20(sp)
addiu v0,sp,0x4c
sw v1,0x14(sp)
sw v0,0x1c(sp)
sw t0,0x38(sp)
sw v1,0x3c(sp)
sw zero,0x30(sp)
sw v1,0x34(sp)
lw t9,0xc(t1)
jalr t9
_or a2,t0,zero
lw v0,0x48(sp)
lw gp,0x28(sp)
sw v0,0x0(s1)
lw v0,0x4c(sp)
bne v0,zero,0x0035ce6c
_lw t9,-0x6f88(gp)
lw ra,0x6c(sp)
or v0,s0,zero
lw s1,0x68(sp)
lw s0,0x64(sp)
jr ra
_addiu sp,sp,0x70
lw v1,0x0(s0)
lw v1,-0xc(v1)
addu v1,s0,v1
or a0,v1,zero
lw a1,0x14(v1)
bal 0x00365b38
_or a1,v0,a1
or v0,s0,zero
lw ra,0x6c(sp)
lw s1,0x68(sp)
lw s0,0x64(sp)
jr ra
_addiu sp,sp,0x70
lw t9,-0x6f84(gp)
jalr t9
_nop
lw gp,0x28(sp)
li v0,0x1
beq a1,v0,0x0035cf00
_lw t9,-0x7774(gp)
jalr t9
_nop
lw v0,0x0(s0)
lw gp,0x28(sp)
lw v0,-0xc(v0)
addu v0,s0,v0
lw a0,0x14(v0)
lw v1,0x10(v0)
ori a0,a0,0x1
andi v1,v1,0x1
bne v1,zero,0x0035cf64
_sw a0,0x14(v0)
lw t9,-0x776c(gp)
jalr t9
_nop
b 0x0035ce48
_lw gp,0x28(sp)
jalr t9
_nop
lw v0,0x0(s0)
lw gp,0x28(sp)
lw v0,-0xc(v0)
lw t9,-0x7770(gp)
addu s0,s0,v0
lw v1,0x14(s0)
lw v0,0x10(s0)
ori v1,v1,0x1
andi v0,v0,0x1
bne v0,zero,0x0035cf3c
_sw v1,0x14(s0)
jalr t9
_nop
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x776c(gp)
jalr t9
_sw a0,0x58(sp)
lw gp,0x28(sp)
lw t9,-0x7f78(gp)
jalr t9
_lw a0,0x58(sp)
lw t9,-0x7770(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x776c(gp)
jalr t9
_sw a0,0x58(sp)
lw gp,0x28(sp)
lw t9,-0x7f78(gp)
jalr t9
_lw a0,0x58(sp)
(translation_unit "istream * FUN_0035cd90(istream *param_1,undefined4 *param_2)\n\n{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  sentry *psVar5;\n  ios *piVar6;\n  int *piVar7;\n  int in_t9;\n  code *pcVar8;\n  code *pcVar9;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  undefined4 *puStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  uint *local_54;\n  undefined4 *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  undefined4 local_28;\n  uint local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  std::istream::sentry::sentry(psVar5,param_1,false);\n  if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }\n  local_24 = 0;\n  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n  piVar7 = *(int **)(piVar1 + 0x84);\n  if (piVar7 == (int *)0x0) {\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    /* try { // try from 0035ce34 to 0035ce3b has its CatchHandler @ 0035ceac */\n  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);\n  *param_2 = local_28;\nLAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }\n  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}\n\n" (function_definition "istream * FUN_0035cd90(istream *param_1,undefined4 *param_2)\n\n{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  sentry *psVar5;\n  ios *piVar6;\n  int *piVar7;\n  int in_t9;\n  code *pcVar8;\n  code *pcVar9;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  undefined4 *puStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  uint *local_54;\n  undefined4 *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  undefined4 local_28;\n  uint local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  std::istream::sentry::sentry(psVar5,param_1,false);\n  if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }\n  local_24 = 0;\n  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n  piVar7 = *(int **)(piVar1 + 0x84);\n  if (piVar7 == (int *)0x0) {\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    /* try { // try from 0035ce34 to 0035ce3b has its CatchHandler @ 0035ceac */\n  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);\n  *param_2 = local_28;\nLAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }\n  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_0035cd90(istream *param_1,undefined4 *param_2)" * (function_declarator "FUN_0035cd90(istream *param_1,undefined4 *param_2)" identifier (parameter_list "(istream *param_1,undefined4 *param_2)" ( (parameter_declaration "istream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  sentry *psVar5;\n  ios *piVar6;\n  int *piVar7;\n  int in_t9;\n  code *pcVar8;\n  code *pcVar9;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  undefined4 *puStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  uint *local_54;\n  undefined4 *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  undefined4 local_28;\n  uint local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  std::istream::sentry::sentry(psVar5,param_1,false);\n  if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }\n  local_24 = 0;\n  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n  piVar7 = *(int **)(piVar1 + 0x84);\n  if (piVar7 == (int *)0x0) {\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    /* try { // try from 0035ce34 to 0035ce3b has its CatchHandler @ 0035ceac */\n  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);\n  *param_2 = local_28;\nLAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }\n  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}" { (declaration "istream *piVar1;" type_identifier (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "sentry *psVar5;" type_identifier (pointer_declarator "*psVar5" * identifier) ;) (declaration "ios *piVar6;" type_identifier (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char acStack_90 [4];" primitive_type (array_declarator "acStack_90 [4]" identifier [ number_literal ]) ;) (declaration "sentry asStack_8c [16];" type_identifier (array_declarator "asStack_8c [16]" identifier [ number_literal ]) ;) (declaration "istream *piStack_7c;" type_identifier (pointer_declarator "*piStack_7c" * identifier) ;) (declaration "undefined4 *puStack_78;" type_identifier (pointer_declarator "*puStack_78" * identifier) ;) (declaration "code *pcStack_74;" type_identifier (pointer_declarator "*pcStack_74" * identifier) ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "undefined4 local_5c;" type_identifier identifier ;) (declaration "istream *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "uint *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined4 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined1 auStack_30 [8];" type_identifier (array_declarator "auStack_30 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "sentry local_20 [8];" type_identifier (array_declarator "local_20 [8]" identifier [ number_literal ]) ;) (declaration "sentry *local_18;" type_identifier (pointer_declarator "*local_18" * identifier) ;) (expression_statement "local_48 = in_t9 + 0x16c4b0;" (assignment_expression "local_48 = in_t9 + 0x16c4b0" identifier = (binary_expression "in_t9 + 0x16c4b0" identifier + number_literal)) ;) (expression_statement "psVar5 = local_20;" (assignment_expression "psVar5 = local_20" identifier = identifier) ;) (labeled_statement "std::istream::sentry::sentry(psVar5,param_1,false);" statement_identifier : (ERROR ":" :) (labeled_statement "istream::sentry::sentry(psVar5,param_1,false);" statement_identifier : (ERROR ":" :) (labeled_statement "sentry::sentry(psVar5,param_1,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(psVar5,param_1,false);" (call_expression "sentry(psVar5,param_1,false)" identifier (argument_list "(psVar5,param_1,false)" ( identifier , identifier , false ))) ;)))) (if_statement "if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }" if (parenthesized_expression "(local_20[0] == (sentry)0x0)" ( (binary_expression "local_20[0] == (sentry)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier = (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) (expression_statement "piVar7 = *(int **)(piVar1 + 0x84);" (assignment_expression "piVar7 = *(int **)(piVar1 + 0x84)" identifier = (pointer_expression "*(int **)(piVar1 + 0x84)" * (cast_expression "(int **)(piVar1 + 0x84)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar1 + 0x84)" ( (binary_expression "piVar1 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (piVar7 == (int *)0x0) {\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }" { comment (expression_statement "(**(code **)(local_48 + -0x6f84))();" (call_expression "(**(code **)(local_48 + -0x6f84))()" (parenthesized_expression "(**(code **)(local_48 + -0x6f84))" ( (pointer_expression "**(code **)(local_48 + -0x6f84)" * (pointer_expression "*(code **)(local_48 + -0x6f84)" * (cast_expression "(code **)(local_48 + -0x6f84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x6f84)" ( (binary_expression "local_48 + -0x6f84" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) comment (if_statement "if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" if (parenthesized_expression "(piVar7 == (int *)0x1)" ( (binary_expression "piVar7 == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }" { (expression_statement "(**(code **)(local_48 + -0x7774))();" (call_expression "(**(code **)(local_48 + -0x7774))()" (parenthesized_expression "(**(code **)(local_48 + -0x7774))" ( (pointer_expression "**(code **)(local_48 + -0x7774)" * (pointer_expression "*(code **)(local_48 + -0x7774)" * (cast_expression "(code **)(local_48 + -0x7774)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7774)" ( (binary_expression "local_48 + -0x7774" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar8 = *(code **)(local_48 + -0x7770);" (assignment_expression "pcVar8 = *(code **)(local_48 + -0x7770)" identifier = (pointer_expression "*(code **)(local_48 + -0x7770)" * (cast_expression "(code **)(local_48 + -0x7770)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7770)" ( (binary_expression "local_48 + -0x7770" identifier + number_literal) ))))) ;) (expression_statement "param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier = (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) (expression_statement "*(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;" (assignment_expression "*(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }" if (parenthesized_expression "((*(uint *)(param_1 + 0x10) & 1) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x10) & 1) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 1)" ( (binary_expression "*(uint *)(param_1 + 0x10) & 1" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar8)();\n      }" { comment (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) comment (expression_statement "local_18 = psVar5;" (assignment_expression "local_18 = psVar5" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = local_48;" (assignment_expression "iVar3 = local_48" identifier = identifier) ;) (expression_statement "psVar5 = local_18;" (assignment_expression "psVar5 = local_18" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x7f78))();" (call_expression "(**(code **)(local_48 + -0x7f78))()" (parenthesized_expression "(**(code **)(local_48 + -0x7f78))" ( (pointer_expression "**(code **)(local_48 + -0x7f78)" * (pointer_expression "*(code **)(local_48 + -0x7f78)" * (cast_expression "(code **)(local_48 + -0x7f78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7f78)" ( (binary_expression "local_48 + -0x7f78" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" else (compound_statement "{\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" { (expression_statement "(**(code **)(local_48 + -0x7774))();" (call_expression "(**(code **)(local_48 + -0x7774))()" (parenthesized_expression "(**(code **)(local_48 + -0x7774))" ( (pointer_expression "**(code **)(local_48 + -0x7774)" * (pointer_expression "*(code **)(local_48 + -0x7774)" * (cast_expression "(code **)(local_48 + -0x7774)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7774)" ( (binary_expression "local_48 + -0x7774" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "iVar2 = *(int *)(*(int *)param_1 + -0xc)" identifier = (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);" (assignment_expression "psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1)" identifier = (cast_expression "(sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1)" ( (type_descriptor "sentry *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(param_1 + iVar2 + 0x14) | 1)" ( (binary_expression "*(uint *)(param_1 + iVar2 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + iVar2 + 0x14)" * (cast_expression "(uint *)(param_1 + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0x14)" ( (binary_expression "param_1 + iVar2 + 0x14" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) | number_literal) )))) ;) (expression_statement "*(sentry **)(param_1 + iVar2 + 0x14) = psVar5;" (assignment_expression "*(sentry **)(param_1 + iVar2 + 0x14) = psVar5" (pointer_expression "*(sentry **)(param_1 + iVar2 + 0x14)" * (cast_expression "(sentry **)(param_1 + iVar2 + 0x14)" ( (type_descriptor "sentry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + iVar2 + 0x14)" ( (binary_expression "param_1 + iVar2 + 0x14" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = local_48;" (assignment_expression "iVar3 = local_48" identifier = identifier) ;) (if_statement "if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }" if (parenthesized_expression "((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0)" ( (binary_expression "(*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0" (parenthesized_expression "(*(uint *)(param_1 + iVar2 + 0x10) & 1)" ( (binary_expression "*(uint *)(param_1 + iVar2 + 0x10) & 1" (pointer_expression "*(uint *)(param_1 + iVar2 + 0x10)" * (cast_expression "(uint *)(param_1 + iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0x10)" ( (binary_expression "param_1 + iVar2 + 0x10" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }" { (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0035ce48;" goto statement_identifier ;) })) }))) comment (expression_statement "(**(code **)(iVar3 + -0x7770))();" (call_expression "(**(code **)(iVar3 + -0x7770))()" (parenthesized_expression "(**(code **)(iVar3 + -0x7770))" ( (pointer_expression "**(code **)(iVar3 + -0x7770)" * (pointer_expression "*(code **)(iVar3 + -0x7770)" * (cast_expression "(code **)(iVar3 + -0x7770)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + -0x7770)" ( (binary_expression "iVar3 + -0x7770" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) comment (expression_statement "local_18 = psVar5;" (assignment_expression "local_18 = psVar5" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar8 = *(code **)(local_48 + -0x7f78);" (assignment_expression "pcVar8 = *(code **)(local_48 + -0x7f78)" identifier = (pointer_expression "*(code **)(local_48 + -0x7f78)" * (cast_expression "(code **)(local_48 + -0x7f78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7f78)" ( (binary_expression "local_48 + -0x7f78" identifier + number_literal) ))))) ;) (expression_statement "pcVar9 = FUN_0035cf90;" (assignment_expression "pcVar9 = FUN_0035cf90" identifier = identifier) ;) (expression_statement "psVar5 = local_18;" (assignment_expression "psVar5 = local_18" identifier = identifier) ;) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piStack_7c = param_1;" (assignment_expression "piStack_7c = param_1" identifier = identifier) ;) (expression_statement "puStack_78 = param_2;" (assignment_expression "puStack_78 = param_2" identifier = identifier) ;) (expression_statement "pcStack_74 = pcVar9;" (assignment_expression "pcStack_74 = pcVar9" identifier = identifier) ;) (labeled_statement "std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);" statement_identifier : (ERROR ":" :) (labeled_statement "istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);" statement_identifier : (ERROR ":" :) (labeled_statement "sentry::sentry(asStack_8c,(istream *)psVar5,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(asStack_8c,(istream *)psVar5,false);" (call_expression "sentry(asStack_8c,(istream *)psVar5,false)" identifier (argument_list "(asStack_8c,(istream *)psVar5,false)" ( identifier , (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , false ))) ;)))) (if_statement "if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" if (parenthesized_expression "(asStack_8c[0] == (sentry)0x0)" ( (binary_expression "asStack_8c[0] == (sentry)0x0" (subscript_expression "asStack_8c[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }" { (if_statement "if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (istream *)psVar5;\n      }" { (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" identifier = number_literal) ;) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }) (else_clause "else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" else (compound_statement "{\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" { (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) (if_statement "if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar4 = 4;\n      }" { (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" identifier = number_literal) ;) }) (else_clause "else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" else (compound_statement "{\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" { (expression_statement "iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);" (assignment_expression "iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" identifier = (call_expression "(**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" (parenthesized_expression "(**(code **)(pcVar8 + 0x168358))" ( (pointer_expression "**(code **)(pcVar8 + 0x168358)" * (pointer_expression "*(code **)(pcVar8 + 0x168358)" * (cast_expression "(code **)(pcVar8 + 0x168358)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0x168358)" ( (binary_expression "pcVar8 + 0x168358" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" ( (pointer_expression "*(undefined4 *)((istream *)piVar6 + 0x78)" * (cast_expression "(undefined4 *)((istream *)piVar6 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)piVar6 + 0x78)" ( (binary_expression "(istream *)piVar6 + 0x78" (cast_expression "(istream *)piVar6" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" { (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" identifier = number_literal) ;) (if_statement "if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }" if (parenthesized_expression "(acStack_90[0] != '\0')" ( (binary_expression "acStack_90[0] != '\0'" (subscript_expression "acStack_90[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar4 = 6;\n          }" { (expression_statement "uVar4 = 6;" (assignment_expression "uVar4 = 6" identifier = number_literal) ;) })) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }) (else_clause "else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" else (compound_statement "{\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" { (if_statement "if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }" if (parenthesized_expression "(acStack_90[0] == '\0')" ( (binary_expression "acStack_90[0] == '\0'" (subscript_expression "acStack_90[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            return (istream *)psVar5;\n          }" { (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "uVar4 = 2;" (assignment_expression "uVar4 = 2" identifier = number_literal) ;) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }))) }))) }))) (labeled_statement "std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" statement_identifier : (ERROR ":" :) (labeled_statement "ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" (call_expression "clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14))" identifier (argument_list "(piVar6,uVar4 | *(uint *)(piVar6 + 0x14))" ( identifier , (binary_expression "uVar4 | *(uint *)(piVar6 + 0x14)" identifier | (pointer_expression "*(uint *)(piVar6 + 0x14)" * (cast_expression "(uint *)(piVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6 + 0x14)" ( (binary_expression "piVar6 + 0x14" identifier + number_literal) ))))) ))) ;))) (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "local_38 = *(undefined4 *)(piVar1 + 0x78);" (assignment_expression "local_38 = *(undefined4 *)(piVar1 + 0x78)" identifier = (pointer_expression "*(undefined4 *)(piVar1 + 0x78)" * (cast_expression "(undefined4 *)(piVar1 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 0x78)" ( (binary_expression "piVar1 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "local_50 = &local_28;" (assignment_expression "local_50 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_54 = &local_24;" (assignment_expression "local_54 = &local_24" identifier = (pointer_expression "&local_24" & identifier)) ;) (expression_statement "local_5c = 0xffffffff;" (assignment_expression "local_5c = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_34 = 0xffffffff;" (assignment_expression "local_34 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0xffffffff;" (assignment_expression "local_3c = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_58 = piVar1;" (assignment_expression "local_58 = piVar1" identifier = identifier) ;) comment (expression_statement "(**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);" (call_expression "(**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff)" (parenthesized_expression "(**(code **)(*piVar7 + 0xc))" ( (pointer_expression "**(code **)(*piVar7 + 0xc)" * (pointer_expression "*(code **)(*piVar7 + 0xc)" * (cast_expression "(code **)(*piVar7 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar7 + 0xc)" ( (binary_expression "*piVar7 + 0xc" (pointer_expression "*piVar7" * identifier) + number_literal) ))))) )) (argument_list "(auStack_30,piVar7,local_38,0xffffffff)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "*param_2 = local_28;" (assignment_expression "*param_2 = local_28" (pointer_expression "*param_2" * identifier) = identifier) ;) (labeled_statement "LAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }" statement_identifier : (if_statement "if (local_24 == 0) {\n    return param_1;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) }))) (labeled_statement "std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (labeled_statement "ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" (call_expression "clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14))" identifier (argument_list "((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14))" ( (cast_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" identifier | (pointer_expression "*(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" * (cast_expression "(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" ( (binary_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14" (cast_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) ))))) ))) ;))) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::istream::TEMPNAMEPLACEHOLDERVALUE(int&) */\n\nistream * __thiscall std::istream::operator>>(istream *this,int *param_1)\n\n{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  _Ios_Iostate _Var4;\n  sentry *psVar5;\n  ios *this_00;\n  int *piVar6;\n  int in_t9;\n  code *pcVar7;\n  code *pcVar8;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  int *piStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  _Ios_Iostate *local_54;\n  int *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  int local_28;\n  _Ios_Iostate local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  sentry::sentry(psVar5,this,false);\n  if (local_20[0] == (sentry)0x0) {\n    return this;\n  }\n  local_24 = _S_goodbit;\n  piVar1 = this + *(int *)(*(int *)this + -0xc);\n  piVar6 = *(int **)(piVar1 + 0x84);\n  if (piVar6 == (int *)0x0) {\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar6 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar7 = *(code **)(local_48 + -0x7770);\n      this = this + *(int *)(*(int *)this + -0xc);\n      *(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1;\n      if ((*(uint *)(this + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar7)();\n      }\n      (*pcVar7)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)this + -0xc);\n      psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);\n      *(sentry **)(this + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar7 = *(code **)(local_48 + -0x7f78);\n    pcVar8 = operator>>;\n    psVar5 = local_18;\n    (*pcVar7)();\n    piStack_7c = this;\n    piStack_78 = param_1;\n    pcStack_74 = pcVar8;\n    sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar6 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      _Var4 = _S_failbit;\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar6 == (int *)0x0) {\n        _Var4 = _S_failbit;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    ios::clear(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    /* try { // try from 0035ce34 to 0035ce3b has its CatchHandler @ 0035ceac */\n  (**(code **)(*piVar6 + 0xc))(auStack_30,piVar6,local_38,0xffffffff);\n  *param_1 = local_28;\nLAB_0035ce48:\n  if (local_24 == _S_goodbit) {\n    return this;\n  }\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             local_24 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}\n\n" comment (ERROR "istream * __thiscall std::istream::operator>>(istream *this,int *param_1)" (binary_expression "istream * __thiscall std::istream::operator>>(istream *this,int *param_1)" (binary_expression "istream * __thiscall" identifier * identifier) (ERROR "std::istream::operator" identifier : : identifier : : identifier) >> (parenthesized_expression "(istream *this,int *param_1)" ( (comma_expression "istream *this,int *param_1" (binary_expression "istream *this" identifier * identifier) , (binary_expression "int *param_1" identifier * identifier)) )))) (compound_statement "{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  _Ios_Iostate _Var4;\n  sentry *psVar5;\n  ios *this_00;\n  int *piVar6;\n  int in_t9;\n  code *pcVar7;\n  code *pcVar8;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  int *piStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  _Ios_Iostate *local_54;\n  int *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  int local_28;\n  _Ios_Iostate local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  sentry::sentry(psVar5,this,false);\n  if (local_20[0] == (sentry)0x0) {\n    return this;\n  }\n  local_24 = _S_goodbit;\n  piVar1 = this + *(int *)(*(int *)this + -0xc);\n  piVar6 = *(int **)(piVar1 + 0x84);\n  if (piVar6 == (int *)0x0) {\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar6 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar7 = *(code **)(local_48 + -0x7770);\n      this = this + *(int *)(*(int *)this + -0xc);\n      *(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1;\n      if ((*(uint *)(this + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar7)();\n      }\n      (*pcVar7)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)this + -0xc);\n      psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);\n      *(sentry **)(this + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar7 = *(code **)(local_48 + -0x7f78);\n    pcVar8 = operator>>;\n    psVar5 = local_18;\n    (*pcVar7)();\n    piStack_7c = this;\n    piStack_78 = param_1;\n    pcStack_74 = pcVar8;\n    sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar6 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      _Var4 = _S_failbit;\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar6 == (int *)0x0) {\n        _Var4 = _S_failbit;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    ios::clear(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    /* try { // try from 0035ce34 to 0035ce3b has its CatchHandler @ 0035ceac */\n  (**(code **)(*piVar6 + 0xc))(auStack_30,piVar6,local_38,0xffffffff);\n  *param_1 = local_28;\nLAB_0035ce48:\n  if (local_24 == _S_goodbit) {\n    return this;\n  }\n  ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             local_24 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n  return this;\n}" { (declaration "istream *piVar1;" type_identifier (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "_Ios_Iostate _Var4;" type_identifier identifier ;) (declaration "sentry *psVar5;" type_identifier (pointer_declarator "*psVar5" * identifier) ;) (declaration "ios *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char acStack_90 [4];" primitive_type (array_declarator "acStack_90 [4]" identifier [ number_literal ]) ;) (declaration "sentry asStack_8c [16];" type_identifier (array_declarator "asStack_8c [16]" identifier [ number_literal ]) ;) (declaration "istream *piStack_7c;" type_identifier (pointer_declarator "*piStack_7c" * identifier) ;) (declaration "int *piStack_78;" primitive_type (pointer_declarator "*piStack_78" * identifier) ;) (declaration "code *pcStack_74;" type_identifier (pointer_declarator "*pcStack_74" * identifier) ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "undefined4 local_5c;" type_identifier identifier ;) (declaration "istream *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "_Ios_Iostate *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (declaration "int *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined1 auStack_30 [8];" type_identifier (array_declarator "auStack_30 [8]" identifier [ number_literal ]) ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "_Ios_Iostate local_24;" type_identifier identifier ;) (declaration "sentry local_20 [8];" type_identifier (array_declarator "local_20 [8]" identifier [ number_literal ]) ;) (declaration "sentry *local_18;" type_identifier (pointer_declarator "*local_18" * identifier) ;) (expression_statement "local_48 = in_t9 + 0x16c4b0;" (assignment_expression "local_48 = in_t9 + 0x16c4b0" identifier = (binary_expression "in_t9 + 0x16c4b0" identifier + number_literal)) ;) (expression_statement "psVar5 = local_20;" (assignment_expression "psVar5 = local_20" identifier = identifier) ;) (labeled_statement "sentry::sentry(psVar5,this,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(psVar5,this,false);" (call_expression "sentry(psVar5,this,false)" identifier (argument_list "(psVar5,this,false)" ( identifier , identifier , false ))) ;)) (if_statement "if (local_20[0] == (sentry)0x0) {\n    return this;\n  }" if (parenthesized_expression "(local_20[0] == (sentry)0x0)" ( (binary_expression "local_20[0] == (sentry)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    return this;\n  }" { (return_statement "return this;" return identifier ;) })) (expression_statement "local_24 = _S_goodbit;" (assignment_expression "local_24 = _S_goodbit" identifier = identifier) ;) (expression_statement "piVar1 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "piVar1 = this + *(int *)(*(int *)this + -0xc)" identifier = (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) )))))) ;) (expression_statement "piVar6 = *(int **)(piVar1 + 0x84);" (assignment_expression "piVar6 = *(int **)(piVar1 + 0x84)" identifier = (pointer_expression "*(int **)(piVar1 + 0x84)" * (cast_expression "(int **)(piVar1 + 0x84)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar1 + 0x84)" ( (binary_expression "piVar1 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar6 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar7 = *(code **)(local_48 + -0x7770);\n      this = this + *(int *)(*(int *)this + -0xc);\n      *(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1;\n      if ((*(uint *)(this + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar7)();\n      }\n      (*pcVar7)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)this + -0xc);\n      psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);\n      *(sentry **)(this + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar7 = *(code **)(local_48 + -0x7f78);\n    pcVar8 = operator>>;\n    psVar5 = local_18;\n    (*pcVar7)();\n    piStack_7c = this;\n    piStack_78 = param_1;\n    pcStack_74 = pcVar8;\n    sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar6 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      _Var4 = _S_failbit;\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar6 == (int *)0x0) {\n        _Var4 = _S_failbit;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    ios::clear(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14));\n    return (istream *)psVar5;\n  }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */\n    (**(code **)(local_48 + -0x6f84))();\n                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac\n                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac\n                        */\n    if (piVar6 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar7 = *(code **)(local_48 + -0x7770);\n      this = this + *(int *)(*(int *)this + -0xc);\n      *(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1;\n      if ((*(uint *)(this + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar7)();\n      }\n      (*pcVar7)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)this + -0xc);\n      psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);\n      *(sentry **)(this + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */\n    (**(code **)(iVar3 + -0x7770))();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70\n                        */\n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar7 = *(code **)(local_48 + -0x7f78);\n    pcVar8 = operator>>;\n    psVar5 = local_18;\n    (*pcVar7)();\n    piStack_7c = this;\n    piStack_78 = param_1;\n    pcStack_74 = pcVar8;\n    sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar6 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      _Var4 = _S_failbit;\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar6 == (int *)0x0) {\n        _Var4 = _S_failbit;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    ios::clear(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14));\n    return (istream *)psVar5;\n  }" { comment (expression_statement "(**(code **)(local_48 + -0x6f84))();" (call_expression "(**(code **)(local_48 + -0x6f84))()" (parenthesized_expression "(**(code **)(local_48 + -0x6f84))" ( (pointer_expression "**(code **)(local_48 + -0x6f84)" * (pointer_expression "*(code **)(local_48 + -0x6f84)" * (cast_expression "(code **)(local_48 + -0x6f84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x6f84)" ( (binary_expression "local_48 + -0x6f84" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) comment (if_statement "if (piVar6 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar7 = *(code **)(local_48 + -0x7770);\n      this = this + *(int *)(*(int *)this + -0xc);\n      *(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1;\n      if ((*(uint *)(this + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar7)();\n      }\n      (*pcVar7)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)this + -0xc);\n      psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);\n      *(sentry **)(this + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" if (parenthesized_expression "(piVar6 == (int *)0x1)" ( (binary_expression "piVar6 == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (**(code **)(local_48 + -0x7774))();\n      pcVar7 = *(code **)(local_48 + -0x7770);\n      this = this + *(int *)(*(int *)this + -0xc);\n      *(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1;\n      if ((*(uint *)(this + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar7)();\n      }\n      (*pcVar7)();\n                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44\n                        */\n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }" { (expression_statement "(**(code **)(local_48 + -0x7774))();" (call_expression "(**(code **)(local_48 + -0x7774))()" (parenthesized_expression "(**(code **)(local_48 + -0x7774))" ( (pointer_expression "**(code **)(local_48 + -0x7774)" * (pointer_expression "*(code **)(local_48 + -0x7774)" * (cast_expression "(code **)(local_48 + -0x7774)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7774)" ( (binary_expression "local_48 + -0x7774" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar7 = *(code **)(local_48 + -0x7770);" (assignment_expression "pcVar7 = *(code **)(local_48 + -0x7770)" identifier = (pointer_expression "*(code **)(local_48 + -0x7770)" * (cast_expression "(code **)(local_48 + -0x7770)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7770)" ( (binary_expression "local_48 + -0x7770" identifier + number_literal) ))))) ;) (expression_statement "this = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "this = this + *(int *)(*(int *)this + -0xc)" identifier = (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) )))))) ;) (expression_statement "*(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1;" (assignment_expression "*(uint *)(this + 0x14) = *(uint *)(this + 0x14) | 1" (pointer_expression "*(uint *)(this + 0x14)" * (cast_expression "(uint *)(this + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = (binary_expression "*(uint *)(this + 0x14) | 1" (pointer_expression "*(uint *)(this + 0x14)" * (cast_expression "(uint *)(this + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((*(uint *)(this + 0x10) & 1) == 0) {\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar7)();\n      }" if (parenthesized_expression "((*(uint *)(this + 0x10) & 1) == 0)" ( (binary_expression "(*(uint *)(this + 0x10) & 1) == 0" (parenthesized_expression "(*(uint *)(this + 0x10) & 1)" ( (binary_expression "*(uint *)(this + 0x10) & 1" (pointer_expression "*(uint *)(this + 0x10)" * (cast_expression "(uint *)(this + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */\n        (*pcVar7)();\n      }" { comment (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) comment (expression_statement "local_18 = psVar5;" (assignment_expression "local_18 = psVar5" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = local_48;" (assignment_expression "iVar3 = local_48" identifier = identifier) ;) (expression_statement "psVar5 = local_18;" (assignment_expression "psVar5 = local_18" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x7f78))();" (call_expression "(**(code **)(local_48 + -0x7f78))()" (parenthesized_expression "(**(code **)(local_48 + -0x7f78))" ( (pointer_expression "**(code **)(local_48 + -0x7f78)" * (pointer_expression "*(code **)(local_48 + -0x7f78)" * (cast_expression "(code **)(local_48 + -0x7f78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7f78)" ( (binary_expression "local_48 + -0x7f78" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)this + -0xc);\n      psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);\n      *(sentry **)(this + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" else (compound_statement "{\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)this + -0xc);\n      psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);\n      *(sentry **)(this + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" { (expression_statement "(**(code **)(local_48 + -0x7774))();" (call_expression "(**(code **)(local_48 + -0x7774))()" (parenthesized_expression "(**(code **)(local_48 + -0x7774))" ( (pointer_expression "**(code **)(local_48 + -0x7774)" * (pointer_expression "*(code **)(local_48 + -0x7774)" * (cast_expression "(code **)(local_48 + -0x7774)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7774)" ( (binary_expression "local_48 + -0x7774" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(*(int *)this + -0xc);" (assignment_expression "iVar2 = *(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) ))))) ;) (expression_statement "psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1);" (assignment_expression "psVar5 = (sentry *)(*(uint *)(this + iVar2 + 0x14) | 1)" identifier = (cast_expression "(sentry *)(*(uint *)(this + iVar2 + 0x14) | 1)" ( (type_descriptor "sentry *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(this + iVar2 + 0x14) | 1)" ( (binary_expression "*(uint *)(this + iVar2 + 0x14) | 1" (pointer_expression "*(uint *)(this + iVar2 + 0x14)" * (cast_expression "(uint *)(this + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar2 + 0x14)" ( (binary_expression "this + iVar2 + 0x14" (binary_expression "this + iVar2" identifier + identifier) + number_literal) )))) | number_literal) )))) ;) (expression_statement "*(sentry **)(this + iVar2 + 0x14) = psVar5;" (assignment_expression "*(sentry **)(this + iVar2 + 0x14) = psVar5" (pointer_expression "*(sentry **)(this + iVar2 + 0x14)" * (cast_expression "(sentry **)(this + iVar2 + 0x14)" ( (type_descriptor "sentry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + iVar2 + 0x14)" ( (binary_expression "this + iVar2 + 0x14" (binary_expression "this + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = local_48;" (assignment_expression "iVar3 = local_48" identifier = identifier) ;) (if_statement "if ((*(uint *)(this + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }" if (parenthesized_expression "((*(uint *)(this + iVar2 + 0x10) & 1) == 0)" ( (binary_expression "(*(uint *)(this + iVar2 + 0x10) & 1) == 0" (parenthesized_expression "(*(uint *)(this + iVar2 + 0x10) & 1)" ( (binary_expression "*(uint *)(this + iVar2 + 0x10) & 1" (pointer_expression "*(uint *)(this + iVar2 + 0x10)" * (cast_expression "(uint *)(this + iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar2 + 0x10)" ( (binary_expression "this + iVar2 + 0x10" (binary_expression "this + iVar2" identifier + identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }" { (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0035ce48;" goto statement_identifier ;) })) }))) comment (expression_statement "(**(code **)(iVar3 + -0x7770))();" (call_expression "(**(code **)(iVar3 + -0x7770))()" (parenthesized_expression "(**(code **)(iVar3 + -0x7770))" ( (pointer_expression "**(code **)(iVar3 + -0x7770)" * (pointer_expression "*(code **)(iVar3 + -0x7770)" * (cast_expression "(code **)(iVar3 + -0x7770)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + -0x7770)" ( (binary_expression "iVar3 + -0x7770" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) comment (expression_statement "local_18 = psVar5;" (assignment_expression "local_18 = psVar5" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar7 = *(code **)(local_48 + -0x7f78);" (assignment_expression "pcVar7 = *(code **)(local_48 + -0x7f78)" identifier = (pointer_expression "*(code **)(local_48 + -0x7f78)" * (cast_expression "(code **)(local_48 + -0x7f78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7f78)" ( (binary_expression "local_48 + -0x7f78" identifier + number_literal) ))))) ;) (expression_statement "pcVar8 = operator>>;\n    psVar5 = local_18;" (assignment_expression "pcVar8 = operator>>;\n    psVar5 = local_18" identifier = (binary_expression "operator>>;\n    psVar5 = local_18" identifier >> (ERROR ";" ;) (assignment_expression "psVar5 = local_18" identifier = identifier))) ;) (expression_statement "(*pcVar7)();" (call_expression "(*pcVar7)()" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piStack_7c = this;" (assignment_expression "piStack_7c = this" identifier = identifier) ;) (expression_statement "piStack_78 = param_1;" (assignment_expression "piStack_78 = param_1" identifier = identifier) ;) (expression_statement "pcStack_74 = pcVar8;" (assignment_expression "pcStack_74 = pcVar8" identifier = identifier) ;) (labeled_statement "sentry::sentry(asStack_8c,(istream *)psVar5,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(asStack_8c,(istream *)psVar5,false);" (call_expression "sentry(asStack_8c,(istream *)psVar5,false)" identifier (argument_list "(asStack_8c,(istream *)psVar5,false)" ( identifier , (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , false ))) ;)) (if_statement "if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar6 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      _Var4 = _S_failbit;\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar6 == (int *)0x0) {\n        _Var4 = _S_failbit;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" if (parenthesized_expression "(asStack_8c[0] == (sentry)0x0)" ( (binary_expression "asStack_8c[0] == (sentry)0x0" (subscript_expression "asStack_8c[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n      if (piVar6 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      _Var4 = _S_failbit;\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }" { (if_statement "if (piVar6 != (int *)0x0) {\n        return (istream *)psVar5;\n      }" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (istream *)psVar5;\n      }" { (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "_Var4 = _S_failbit;" (assignment_expression "_Var4 = _S_failbit" identifier = identifier) ;) (expression_statement "this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }) (else_clause "else {\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar6 == (int *)0x0) {\n        _Var4 = _S_failbit;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" else (compound_statement "{\n      this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar6 == (int *)0x0) {\n        _Var4 = _S_failbit;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" { (expression_statement "this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) (if_statement "if (piVar6 == (int *)0x0) {\n        _Var4 = _S_failbit;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        _Var4 = _S_failbit;\n      }" { (expression_statement "_Var4 = _S_failbit;" (assignment_expression "_Var4 = _S_failbit" identifier = identifier) ;) }) (else_clause "else {\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" else (compound_statement "{\n        iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);\n        if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" { (expression_statement "iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90);" (assignment_expression "iVar3 = (**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90)" identifier = (call_expression "(**(code **)(pcVar7 + 0x168358))\n                          (*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90)" (parenthesized_expression "(**(code **)(pcVar7 + 0x168358))" ( (pointer_expression "**(code **)(pcVar7 + 0x168358)" * (pointer_expression "*(code **)(pcVar7 + 0x168358)" * (cast_expression "(code **)(pcVar7 + 0x168358)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar7 + 0x168358)" ( (binary_expression "pcVar7 + 0x168358" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)((istream *)this_00 + 0x78),piVar6,acStack_90)" ( (pointer_expression "*(undefined4 *)((istream *)this_00 + 0x78)" * (cast_expression "(undefined4 *)((istream *)this_00 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)this_00 + 0x78)" ( (binary_expression "(istream *)this_00 + 0x78" (cast_expression "(istream *)this_00" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          _Var4 = _S_failbit;\n          if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" { (expression_statement "_Var4 = _S_failbit;" (assignment_expression "_Var4 = _S_failbit" identifier = identifier) ;) (if_statement "if (acStack_90[0] != '\0') {\n            _Var4 = _S_failbit|_S_eofbit;\n          }" if (parenthesized_expression "(acStack_90[0] != '\0')" ( (binary_expression "acStack_90[0] != '\0'" (subscript_expression "acStack_90[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (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)) ;) })) (expression_statement "this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }) (else_clause "else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" else (compound_statement "{\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          _Var4 = _S_eofbit;\n          this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" { (if_statement "if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }" if (parenthesized_expression "(acStack_90[0] == '\0')" ( (binary_expression "acStack_90[0] == '\0'" (subscript_expression "acStack_90[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            return (istream *)psVar5;\n          }" { (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "_Var4 = _S_eofbit;" (assignment_expression "_Var4 = _S_eofbit" identifier = identifier) ;) (expression_statement "this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "this_00 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }))) }))) }))) (labeled_statement "ios::clear(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14));" (call_expression "clear(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14))" identifier (argument_list "(this_00,_Var4 | *(_Ios_Iostate *)(this_00 + 0x14))" ( identifier , (binary_expression "_Var4 | *(_Ios_Iostate *)(this_00 + 0x14)" identifier | (pointer_expression "*(_Ios_Iostate *)(this_00 + 0x14)" * (cast_expression "(_Ios_Iostate *)(this_00 + 0x14)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x14)" ( (binary_expression "this_00 + 0x14" identifier + number_literal) ))))) ))) ;)) (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "local_38 = *(undefined4 *)(piVar1 + 0x78);" (assignment_expression "local_38 = *(undefined4 *)(piVar1 + 0x78)" identifier = (pointer_expression "*(undefined4 *)(piVar1 + 0x78)" * (cast_expression "(undefined4 *)(piVar1 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 0x78)" ( (binary_expression "piVar1 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "local_50 = &local_28;" (assignment_expression "local_50 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_54 = &local_24;" (assignment_expression "local_54 = &local_24" identifier = (pointer_expression "&local_24" & identifier)) ;) (expression_statement "local_5c = 0xffffffff;" (assignment_expression "local_5c = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_34 = 0xffffffff;" (assignment_expression "local_34 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0xffffffff;" (assignment_expression "local_3c = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_58 = piVar1;" (assignment_expression "local_58 = piVar1" identifier = identifier) ;) comment (expression_statement "(**(code **)(*piVar6 + 0xc))(auStack_30,piVar6,local_38,0xffffffff);" (call_expression "(**(code **)(*piVar6 + 0xc))(auStack_30,piVar6,local_38,0xffffffff)" (parenthesized_expression "(**(code **)(*piVar6 + 0xc))" ( (pointer_expression "**(code **)(*piVar6 + 0xc)" * (pointer_expression "*(code **)(*piVar6 + 0xc)" * (cast_expression "(code **)(*piVar6 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar6 + 0xc)" ( (binary_expression "*piVar6 + 0xc" (pointer_expression "*piVar6" * identifier) + number_literal) ))))) )) (argument_list "(auStack_30,piVar6,local_38,0xffffffff)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "*param_1 = local_28;" (assignment_expression "*param_1 = local_28" (pointer_expression "*param_1" * identifier) = identifier) ;) (labeled_statement "LAB_0035ce48:\n  if (local_24 == _S_goodbit) {\n    return this;\n  }" statement_identifier : (if_statement "if (local_24 == _S_goodbit) {\n    return this;\n  }" if (parenthesized_expression "(local_24 == _S_goodbit)" ( (binary_expression "local_24 == _S_goodbit" identifier == identifier) )) (compound_statement "{\n    return this;\n  }" { (return_statement "return this;" return identifier ;) }))) (labeled_statement "ios::clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             local_24 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             local_24 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             local_24 | *(_Ios_Iostate *)((ios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" identifier (argument_list "((ios *)(this + *(int *)(*(int *)this + -0xc)),\n             local_24 | *(_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 "local_24 | *(_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 * FUN_0035cd90(istream *param_1,undefined4 *param_2)\n\n{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  sentry *psVar5;\n  ios *piVar6;\n  int *piVar7;\n  int in_t9;\n  code *pcVar8;\n  code *pcVar9;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  undefined4 *puStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  uint *local_54;\n  undefined4 *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  undefined4 local_28;\n  uint local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  std::istream::sentry::sentry(psVar5,param_1,false);\n  if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }\n  local_24 = 0;\n  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n  piVar7 = *(int **)(piVar1 + 0x84);\n  if (piVar7 == (int *)0x0) {\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    \n  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);\n  *param_2 = local_28;\nLAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }\n  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}\n\n" (function_definition "istream * FUN_0035cd90(istream *param_1,undefined4 *param_2)\n\n{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  sentry *psVar5;\n  ios *piVar6;\n  int *piVar7;\n  int in_t9;\n  code *pcVar8;\n  code *pcVar9;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  undefined4 *puStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  uint *local_54;\n  undefined4 *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  undefined4 local_28;\n  uint local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  std::istream::sentry::sentry(psVar5,param_1,false);\n  if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }\n  local_24 = 0;\n  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n  piVar7 = *(int **)(piVar1 + 0x84);\n  if (piVar7 == (int *)0x0) {\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    \n  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);\n  *param_2 = local_28;\nLAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }\n  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_0035cd90(istream *param_1,undefined4 *param_2)" * (function_declarator "FUN_0035cd90(istream *param_1,undefined4 *param_2)" identifier (parameter_list "(istream *param_1,undefined4 *param_2)" ( (parameter_declaration "istream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  sentry *psVar5;\n  ios *piVar6;\n  int *piVar7;\n  int in_t9;\n  code *pcVar8;\n  code *pcVar9;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  undefined4 *puStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  uint *local_54;\n  undefined4 *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  undefined4 local_28;\n  uint local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  std::istream::sentry::sentry(psVar5,param_1,false);\n  if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }\n  local_24 = 0;\n  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n  piVar7 = *(int **)(piVar1 + 0x84);\n  if (piVar7 == (int *)0x0) {\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    \n  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);\n  *param_2 = local_28;\nLAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }\n  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}" { (declaration "istream *piVar1;" type_identifier (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "sentry *psVar5;" type_identifier (pointer_declarator "*psVar5" * identifier) ;) (declaration "ios *piVar6;" type_identifier (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char acStack_90 [4];" primitive_type (array_declarator "acStack_90 [4]" identifier [ number_literal ]) ;) (declaration "sentry asStack_8c [16];" type_identifier (array_declarator "asStack_8c [16]" identifier [ number_literal ]) ;) (declaration "istream *piStack_7c;" type_identifier (pointer_declarator "*piStack_7c" * identifier) ;) (declaration "undefined4 *puStack_78;" type_identifier (pointer_declarator "*puStack_78" * identifier) ;) (declaration "code *pcStack_74;" type_identifier (pointer_declarator "*pcStack_74" * identifier) ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "undefined4 local_5c;" type_identifier identifier ;) (declaration "istream *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "uint *local_54;" type_identifier (pointer_declarator "*local_54" * identifier) ;) (declaration "undefined4 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined1 auStack_30 [8];" type_identifier (array_declarator "auStack_30 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "sentry local_20 [8];" type_identifier (array_declarator "local_20 [8]" identifier [ number_literal ]) ;) (declaration "sentry *local_18;" type_identifier (pointer_declarator "*local_18" * identifier) ;) (expression_statement "local_48 = in_t9 + 0x16c4b0;" (assignment_expression "local_48 = in_t9 + 0x16c4b0" identifier = (binary_expression "in_t9 + 0x16c4b0" identifier + number_literal)) ;) (expression_statement "psVar5 = local_20;" (assignment_expression "psVar5 = local_20" identifier = identifier) ;) (labeled_statement "std::istream::sentry::sentry(psVar5,param_1,false);" statement_identifier : (ERROR ":" :) (labeled_statement "istream::sentry::sentry(psVar5,param_1,false);" statement_identifier : (ERROR ":" :) (labeled_statement "sentry::sentry(psVar5,param_1,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(psVar5,param_1,false);" (call_expression "sentry(psVar5,param_1,false)" identifier (argument_list "(psVar5,param_1,false)" ( identifier , identifier , false ))) ;)))) (if_statement "if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }" if (parenthesized_expression "(local_20[0] == (sentry)0x0)" ( (binary_expression "local_20[0] == (sentry)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier = (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) (expression_statement "piVar7 = *(int **)(piVar1 + 0x84);" (assignment_expression "piVar7 = *(int **)(piVar1 + 0x84)" identifier = (pointer_expression "*(int **)(piVar1 + 0x84)" * (cast_expression "(int **)(piVar1 + 0x84)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar1 + 0x84)" ( (binary_expression "piVar1 + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (piVar7 == (int *)0x0) {\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }" { (expression_statement "(**(code **)(local_48 + -0x6f84))();" (call_expression "(**(code **)(local_48 + -0x6f84))()" (parenthesized_expression "(**(code **)(local_48 + -0x6f84))" ( (pointer_expression "**(code **)(local_48 + -0x6f84)" * (pointer_expression "*(code **)(local_48 + -0x6f84)" * (cast_expression "(code **)(local_48 + -0x6f84)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x6f84)" ( (binary_expression "local_48 + -0x6f84" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (if_statement "if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" if (parenthesized_expression "(piVar7 == (int *)0x1)" ( (binary_expression "piVar7 == (int *)0x1" identifier == (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }" { (expression_statement "(**(code **)(local_48 + -0x7774))();" (call_expression "(**(code **)(local_48 + -0x7774))()" (parenthesized_expression "(**(code **)(local_48 + -0x7774))" ( (pointer_expression "**(code **)(local_48 + -0x7774)" * (pointer_expression "*(code **)(local_48 + -0x7774)" * (cast_expression "(code **)(local_48 + -0x7774)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7774)" ( (binary_expression "local_48 + -0x7774" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar8 = *(code **)(local_48 + -0x7770);" (assignment_expression "pcVar8 = *(code **)(local_48 + -0x7770)" identifier = (pointer_expression "*(code **)(local_48 + -0x7770)" * (cast_expression "(code **)(local_48 + -0x7770)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7770)" ( (binary_expression "local_48 + -0x7770" identifier + number_literal) ))))) ;) (expression_statement "param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier = (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) (expression_statement "*(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;" (assignment_expression "*(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }" if (parenthesized_expression "((*(uint *)(param_1 + 0x10) & 1) == 0)" ( (binary_expression "(*(uint *)(param_1 + 0x10) & 1) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 1)" ( (binary_expression "*(uint *)(param_1 + 0x10) & 1" (pointer_expression "*(uint *)(param_1 + 0x10)" * (cast_expression "(uint *)(param_1 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n        (*pcVar8)();\n      }" { (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) })) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "local_18 = psVar5;" (assignment_expression "local_18 = psVar5" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = local_48;" (assignment_expression "iVar3 = local_48" identifier = identifier) ;) (expression_statement "psVar5 = local_18;" (assignment_expression "psVar5 = local_18" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x7f78))();" (call_expression "(**(code **)(local_48 + -0x7f78))()" (parenthesized_expression "(**(code **)(local_48 + -0x7f78))" ( (pointer_expression "**(code **)(local_48 + -0x7f78)" * (pointer_expression "*(code **)(local_48 + -0x7f78)" * (cast_expression "(code **)(local_48 + -0x7f78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7f78)" ( (binary_expression "local_48 + -0x7f78" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }) (else_clause "else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" else (compound_statement "{\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" { (expression_statement "(**(code **)(local_48 + -0x7774))();" (call_expression "(**(code **)(local_48 + -0x7774))()" (parenthesized_expression "(**(code **)(local_48 + -0x7774))" ( (pointer_expression "**(code **)(local_48 + -0x7774)" * (pointer_expression "*(code **)(local_48 + -0x7774)" * (cast_expression "(code **)(local_48 + -0x7774)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7774)" ( (binary_expression "local_48 + -0x7774" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "iVar2 = *(int *)(*(int *)param_1 + -0xc)" identifier = (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (expression_statement "psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);" (assignment_expression "psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1)" identifier = (cast_expression "(sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1)" ( (type_descriptor "sentry *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(uint *)(param_1 + iVar2 + 0x14) | 1)" ( (binary_expression "*(uint *)(param_1 + iVar2 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + iVar2 + 0x14)" * (cast_expression "(uint *)(param_1 + iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0x14)" ( (binary_expression "param_1 + iVar2 + 0x14" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) | number_literal) )))) ;) (expression_statement "*(sentry **)(param_1 + iVar2 + 0x14) = psVar5;" (assignment_expression "*(sentry **)(param_1 + iVar2 + 0x14) = psVar5" (pointer_expression "*(sentry **)(param_1 + iVar2 + 0x14)" * (cast_expression "(sentry **)(param_1 + iVar2 + 0x14)" ( (type_descriptor "sentry **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + iVar2 + 0x14)" ( (binary_expression "param_1 + iVar2 + 0x14" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = local_48;" (assignment_expression "iVar3 = local_48" identifier = identifier) ;) (if_statement "if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }" if (parenthesized_expression "((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0)" ( (binary_expression "(*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0" (parenthesized_expression "(*(uint *)(param_1 + iVar2 + 0x10) & 1)" ( (binary_expression "*(uint *)(param_1 + iVar2 + 0x10) & 1" (pointer_expression "*(uint *)(param_1 + iVar2 + 0x10)" * (cast_expression "(uint *)(param_1 + iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar2 + 0x10)" ( (binary_expression "param_1 + iVar2 + 0x10" (binary_expression "param_1 + iVar2" identifier + identifier) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }" { (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0035ce48;" goto statement_identifier ;) })) }))) (expression_statement "(**(code **)(iVar3 + -0x7770))();" (call_expression "(**(code **)(iVar3 + -0x7770))()" (parenthesized_expression "(**(code **)(iVar3 + -0x7770))" ( (pointer_expression "**(code **)(iVar3 + -0x7770)" * (pointer_expression "*(code **)(iVar3 + -0x7770)" * (cast_expression "(code **)(iVar3 + -0x7770)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + -0x7770)" ( (binary_expression "iVar3 + -0x7770" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "local_18 = psVar5;" (assignment_expression "local_18 = psVar5" identifier = identifier) ;) (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" ( (pointer_expression "**(code **)(local_48 + -0x776c)" * (pointer_expression "*(code **)(local_48 + -0x776c)" * (cast_expression "(code **)(local_48 + -0x776c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x776c)" ( (binary_expression "local_48 + -0x776c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar8 = *(code **)(local_48 + -0x7f78);" (assignment_expression "pcVar8 = *(code **)(local_48 + -0x7f78)" identifier = (pointer_expression "*(code **)(local_48 + -0x7f78)" * (cast_expression "(code **)(local_48 + -0x7f78)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_48 + -0x7f78)" ( (binary_expression "local_48 + -0x7f78" identifier + number_literal) ))))) ;) (expression_statement "pcVar9 = FUN_0035cf90;" (assignment_expression "pcVar9 = FUN_0035cf90" identifier = identifier) ;) (expression_statement "psVar5 = local_18;" (assignment_expression "psVar5 = local_18" identifier = identifier) ;) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piStack_7c = param_1;" (assignment_expression "piStack_7c = param_1" identifier = identifier) ;) (expression_statement "puStack_78 = param_2;" (assignment_expression "puStack_78 = param_2" identifier = identifier) ;) (expression_statement "pcStack_74 = pcVar9;" (assignment_expression "pcStack_74 = pcVar9" identifier = identifier) ;) (labeled_statement "std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);" statement_identifier : (ERROR ":" :) (labeled_statement "istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);" statement_identifier : (ERROR ":" :) (labeled_statement "sentry::sentry(asStack_8c,(istream *)psVar5,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(asStack_8c,(istream *)psVar5,false);" (call_expression "sentry(asStack_8c,(istream *)psVar5,false)" identifier (argument_list "(asStack_8c,(istream *)psVar5,false)" ( identifier , (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , false ))) ;)))) (if_statement "if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" if (parenthesized_expression "(asStack_8c[0] == (sentry)0x0)" ( (binary_expression "asStack_8c[0] == (sentry)0x0" (subscript_expression "asStack_8c[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }" { (if_statement "if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (istream *)psVar5;\n      }" { (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" identifier = number_literal) ;) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }) (else_clause "else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" else (compound_statement "{\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" { (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) (if_statement "if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar4 = 4;\n      }" { (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" identifier = number_literal) ;) }) (else_clause "else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" else (compound_statement "{\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" { (expression_statement "iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);" (assignment_expression "iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" identifier = (call_expression "(**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" (parenthesized_expression "(**(code **)(pcVar8 + 0x168358))" ( (pointer_expression "**(code **)(pcVar8 + 0x168358)" * (pointer_expression "*(code **)(pcVar8 + 0x168358)" * (cast_expression "(code **)(pcVar8 + 0x168358)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar8 + 0x168358)" ( (binary_expression "pcVar8 + 0x168358" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" ( (pointer_expression "*(undefined4 *)((istream *)piVar6 + 0x78)" * (cast_expression "(undefined4 *)((istream *)piVar6 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)piVar6 + 0x78)" ( (binary_expression "(istream *)piVar6 + 0x78" (cast_expression "(istream *)piVar6" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" { (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" identifier = number_literal) ;) (if_statement "if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }" if (parenthesized_expression "(acStack_90[0] != '\0')" ( (binary_expression "acStack_90[0] != '\0'" (subscript_expression "acStack_90[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar4 = 6;\n          }" { (expression_statement "uVar4 = 6;" (assignment_expression "uVar4 = 6" identifier = number_literal) ;) })) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }) (else_clause "else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" else (compound_statement "{\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" { (if_statement "if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }" if (parenthesized_expression "(acStack_90[0] == '\0')" ( (binary_expression "acStack_90[0] == '\0'" (subscript_expression "acStack_90[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            return (istream *)psVar5;\n          }" { (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "uVar4 = 2;" (assignment_expression "uVar4 = 2" identifier = number_literal) ;) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" identifier = (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" ( (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" * (cast_expression "(int *)(*(int *)psVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)psVar5 + -0xc)" ( (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" * (cast_expression "(int *)psVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) }))) }))) }))) (labeled_statement "std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" statement_identifier : (ERROR ":" :) (labeled_statement "ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" (call_expression "clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14))" identifier (argument_list "(piVar6,uVar4 | *(uint *)(piVar6 + 0x14))" ( identifier , (binary_expression "uVar4 | *(uint *)(piVar6 + 0x14)" identifier | (pointer_expression "*(uint *)(piVar6 + 0x14)" * (cast_expression "(uint *)(piVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6 + 0x14)" ( (binary_expression "piVar6 + 0x14" identifier + number_literal) ))))) ))) ;))) (return_statement "return (istream *)psVar5;" return (cast_expression "(istream *)psVar5" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })) (expression_statement "local_38 = *(undefined4 *)(piVar1 + 0x78);" (assignment_expression "local_38 = *(undefined4 *)(piVar1 + 0x78)" identifier = (pointer_expression "*(undefined4 *)(piVar1 + 0x78)" * (cast_expression "(undefined4 *)(piVar1 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 0x78)" ( (binary_expression "piVar1 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "local_50 = &local_28;" (assignment_expression "local_50 = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (expression_statement "local_54 = &local_24;" (assignment_expression "local_54 = &local_24" identifier = (pointer_expression "&local_24" & identifier)) ;) (expression_statement "local_5c = 0xffffffff;" (assignment_expression "local_5c = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_34 = 0xffffffff;" (assignment_expression "local_34 = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_3c = 0xffffffff;" (assignment_expression "local_3c = 0xffffffff" identifier = number_literal) ;) (expression_statement "local_58 = piVar1;" (assignment_expression "local_58 = piVar1" identifier = identifier) ;) (expression_statement "(**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);" (call_expression "(**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff)" (parenthesized_expression "(**(code **)(*piVar7 + 0xc))" ( (pointer_expression "**(code **)(*piVar7 + 0xc)" * (pointer_expression "*(code **)(*piVar7 + 0xc)" * (cast_expression "(code **)(*piVar7 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar7 + 0xc)" ( (binary_expression "*piVar7 + 0xc" (pointer_expression "*piVar7" * identifier) + number_literal) ))))) )) (argument_list "(auStack_30,piVar7,local_38,0xffffffff)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "*param_2 = local_28;" (assignment_expression "*param_2 = local_28" (pointer_expression "*param_2" * identifier) = identifier) ;) (labeled_statement "LAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }" statement_identifier : (if_statement "if (local_24 == 0) {\n    return param_1;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) }))) (labeled_statement "std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (labeled_statement "ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" (call_expression "clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14))" identifier (argument_list "((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14))" ( (cast_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" identifier | (pointer_expression "*(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" * (cast_expression "(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" ( (binary_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14" (cast_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) ))))) ))) ;))) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (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 { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (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) )))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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) )))))) ;) (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 (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_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) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) | LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , BOOL ))) ;)))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (cast_expression ( (type_descriptor TYPE) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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) ))))) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) + LIT) )))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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) ))))) )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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) ))))) )))) ;) }))) }))) }))) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;))) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) }))) (labeled_statement statement_identifier : (ERROR :) (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 ;) })))
(function_definition "istream * FUN_0035cd90(istream *param_1,undefined4 *param_2)\n\n{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  sentry *psVar5;\n  ios *piVar6;\n  int *piVar7;\n  int in_t9;\n  code *pcVar8;\n  code *pcVar9;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  undefined4 *puStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  uint *local_54;\n  undefined4 *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  undefined4 local_28;\n  uint local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  std::istream::sentry::sentry(psVar5,param_1,false);\n  if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }\n  local_24 = 0;\n  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n  piVar7 = *(int **)(piVar1 + 0x84);\n  if (piVar7 == (int *)0x0) {\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    \n  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);\n  *param_2 = local_28;\nLAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }\n  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}" (type_identifier "istream") (pointer_declarator "* FUN_0035cd90(istream *param_1,undefined4 *param_2)" (* "*") (function_declarator "FUN_0035cd90(istream *param_1,undefined4 *param_2)" (identifier "FUN_0035cd90") (parameter_list "(istream *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "istream *param_1" (type_identifier "istream") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  istream *piVar1;\n  int iVar2;\n  int iVar3;\n  uint uVar4;\n  sentry *psVar5;\n  ios *piVar6;\n  int *piVar7;\n  int in_t9;\n  code *pcVar8;\n  code *pcVar9;\n  char acStack_90 [4];\n  sentry asStack_8c [16];\n  istream *piStack_7c;\n  undefined4 *puStack_78;\n  code *pcStack_74;\n  undefined4 local_60;\n  undefined4 local_5c;\n  istream *local_58;\n  uint *local_54;\n  undefined4 *local_50;\n  int local_48;\n  undefined4 local_40;\n  undefined4 local_3c;\n  undefined4 local_38;\n  undefined4 local_34;\n  undefined1 auStack_30 [8];\n  undefined4 local_28;\n  uint local_24;\n  sentry local_20 [8];\n  sentry *local_18;\n  \n  local_48 = in_t9 + 0x16c4b0;\n  psVar5 = local_20;\n  std::istream::sentry::sentry(psVar5,param_1,false);\n  if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }\n  local_24 = 0;\n  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n  piVar7 = *(int **)(piVar1 + 0x84);\n  if (piVar7 == (int *)0x0) {\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }\n  local_38 = *(undefined4 *)(piVar1 + 0x78);\n  local_50 = &local_28;\n  local_60 = 0;\n  local_54 = &local_24;\n  local_5c = 0xffffffff;\n  local_34 = 0xffffffff;\n  local_40 = 0;\n  local_3c = 0xffffffff;\n  local_58 = piVar1;\n                    \n  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);\n  *param_2 = local_28;\nLAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }\n  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}" ({ "{") (declaration "istream *piVar1;" (type_identifier "istream") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "sentry *psVar5;" (type_identifier "sentry") (pointer_declarator "*psVar5" (* "*") (identifier "psVar5")) (; ";")) (declaration "ios *piVar6;" (type_identifier "ios") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int in_t9;" (primitive_type "int") (identifier "in_t9") (; ";")) (declaration "code *pcVar8;" (type_identifier "code") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "code *pcVar9;" (type_identifier "code") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "char acStack_90 [4];" (primitive_type "char") (array_declarator "acStack_90 [4]" (identifier "acStack_90") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "sentry asStack_8c [16];" (type_identifier "sentry") (array_declarator "asStack_8c [16]" (identifier "asStack_8c") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "istream *piStack_7c;" (type_identifier "istream") (pointer_declarator "*piStack_7c" (* "*") (identifier "piStack_7c")) (; ";")) (declaration "undefined4 *puStack_78;" (type_identifier "undefined4") (pointer_declarator "*puStack_78" (* "*") (identifier "puStack_78")) (; ";")) (declaration "code *pcStack_74;" (type_identifier "code") (pointer_declarator "*pcStack_74" (* "*") (identifier "pcStack_74")) (; ";")) (declaration "undefined4 local_60;" (type_identifier "undefined4") (identifier "local_60") (; ";")) (declaration "undefined4 local_5c;" (type_identifier "undefined4") (identifier "local_5c") (; ";")) (declaration "istream *local_58;" (type_identifier "istream") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "uint *local_54;" (type_identifier "uint") (pointer_declarator "*local_54" (* "*") (identifier "local_54")) (; ";")) (declaration "undefined4 *local_50;" (type_identifier "undefined4") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "undefined4 local_40;" (type_identifier "undefined4") (identifier "local_40") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined1 auStack_30 [8];" (type_identifier "undefined1") (array_declarator "auStack_30 [8]" (identifier "auStack_30") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "sentry local_20 [8];" (type_identifier "sentry") (array_declarator "local_20 [8]" (identifier "local_20") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "sentry *local_18;" (type_identifier "sentry") (pointer_declarator "*local_18" (* "*") (identifier "local_18")) (; ";")) (expression_statement "local_48 = in_t9 + 0x16c4b0;" (assignment_expression "local_48 = in_t9 + 0x16c4b0" (identifier "local_48") (= "=") (binary_expression "in_t9 + 0x16c4b0" (identifier "in_t9") (+ "+") (number_literal "0x16c4b0"))) (; ";")) (expression_statement "psVar5 = local_20;" (assignment_expression "psVar5 = local_20" (identifier "psVar5") (= "=") (identifier "local_20")) (; ";")) (labeled_statement "std::istream::sentry::sentry(psVar5,param_1,false);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "istream::sentry::sentry(psVar5,param_1,false);" (statement_identifier "istream") (: ":") (ERROR ":" (: ":")) (labeled_statement "sentry::sentry(psVar5,param_1,false);" (statement_identifier "sentry") (: ":") (ERROR ":" (: ":")) (expression_statement "sentry(psVar5,param_1,false);" (call_expression "sentry(psVar5,param_1,false)" (identifier "sentry") (argument_list "(psVar5,param_1,false)" (( "(") (identifier "psVar5") (, ",") (identifier "param_1") (, ",") (false "false") () ")"))) (; ";"))))) (if_statement "if (local_20[0] == (sentry)0x0) {\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_20[0] == (sentry)0x0)" (( "(") (binary_expression "local_20[0] == (sentry)0x0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (== "==") (cast_expression "(sentry)0x0" (( "(") (type_descriptor "sentry" (type_identifier "sentry")) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return param_1;\n  }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "piVar1") (= "=") (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "param_1") (+ "+") (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_1 + -0xc)" (( "(") (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (expression_statement "piVar7 = *(int **)(piVar1 + 0x84);" (assignment_expression "piVar7 = *(int **)(piVar1 + 0x84)" (identifier "piVar7") (= "=") (pointer_expression "*(int **)(piVar1 + 0x84)" (* "*") (cast_expression "(int **)(piVar1 + 0x84)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar1 + 0x84)" (( "(") (binary_expression "piVar1 + 0x84" (identifier "piVar1") (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (if_statement "if (piVar7 == (int *)0x0) {\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    (**(code **)(local_48 + -0x6f84))();\n                    \n    if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }\n                    \n    (**(code **)(iVar3 + -0x7770))();\n                    \n    local_18 = psVar5;\n    (**(code **)(local_48 + -0x776c))();\n    pcVar8 = *(code **)(local_48 + -0x7f78);\n    pcVar9 = FUN_0035cf90;\n    psVar5 = local_18;\n    (*pcVar8)();\n    piStack_7c = param_1;\n    puStack_78 = param_2;\n    pcStack_74 = pcVar9;\n    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);\n    if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }\n    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));\n    return (istream *)psVar5;\n  }" ({ "{") (expression_statement "(**(code **)(local_48 + -0x6f84))();" (call_expression "(**(code **)(local_48 + -0x6f84))()" (parenthesized_expression "(**(code **)(local_48 + -0x6f84))" (( "(") (pointer_expression "**(code **)(local_48 + -0x6f84)" (* "*") (pointer_expression "*(code **)(local_48 + -0x6f84)" (* "*") (cast_expression "(code **)(local_48 + -0x6f84)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x6f84)" (( "(") (binary_expression "local_48 + -0x6f84" (identifier "local_48") (+ "+") (number_literal "-0x6f84")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (piVar7 == (int *)0x1) {\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }\n    else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" (if "if") (parenthesized_expression "(piVar7 == (int *)0x1)" (( "(") (binary_expression "piVar7 == (int *)0x1" (identifier "piVar7") (== "==") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) () ")")) (compound_statement "{\n      (**(code **)(local_48 + -0x7774))();\n      pcVar8 = *(code **)(local_48 + -0x7770);\n      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);\n      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;\n      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }\n      (*pcVar8)();\n                    \n      local_18 = psVar5;\n      (**(code **)(local_48 + -0x776c))();\n      iVar3 = local_48;\n      psVar5 = local_18;\n      (**(code **)(local_48 + -0x7f78))();\n    }" ({ "{") (expression_statement "(**(code **)(local_48 + -0x7774))();" (call_expression "(**(code **)(local_48 + -0x7774))()" (parenthesized_expression "(**(code **)(local_48 + -0x7774))" (( "(") (pointer_expression "**(code **)(local_48 + -0x7774)" (* "*") (pointer_expression "*(code **)(local_48 + -0x7774)" (* "*") (cast_expression "(code **)(local_48 + -0x7774)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x7774)" (( "(") (binary_expression "local_48 + -0x7774" (identifier "local_48") (+ "+") (number_literal "-0x7774")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar8 = *(code **)(local_48 + -0x7770);" (assignment_expression "pcVar8 = *(code **)(local_48 + -0x7770)" (identifier "pcVar8") (= "=") (pointer_expression "*(code **)(local_48 + -0x7770)" (* "*") (cast_expression "(code **)(local_48 + -0x7770)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x7770)" (( "(") (binary_expression "local_48 + -0x7770" (identifier "local_48") (+ "+") (number_literal "-0x7770")) () ")"))))) (; ";")) (expression_statement "param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "param_1") (= "=") (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "param_1") (+ "+") (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_1 + -0xc)" (( "(") (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;" (assignment_expression "*(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (| "|") (number_literal "1"))) (; ";")) (if_statement "if ((*(uint *)(param_1 + 0x10) & 1) == 0) {\n                    \n        (*pcVar8)();\n      }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x10) & 1) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x10) & 1) == 0" (parenthesized_expression "(*(uint *)(param_1 + 0x10) & 1)" (( "(") (binary_expression "*(uint *)(param_1 + 0x10) & 1" (pointer_expression "*(uint *)(param_1 + 0x10)" (* "*") (cast_expression "(uint *)(param_1 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        (*pcVar8)();\n      }" ({ "{") (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_18 = psVar5;" (assignment_expression "local_18 = psVar5" (identifier "local_18") (= "=") (identifier "psVar5")) (; ";")) (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" (( "(") (pointer_expression "**(code **)(local_48 + -0x776c)" (* "*") (pointer_expression "*(code **)(local_48 + -0x776c)" (* "*") (cast_expression "(code **)(local_48 + -0x776c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x776c)" (( "(") (binary_expression "local_48 + -0x776c" (identifier "local_48") (+ "+") (number_literal "-0x776c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = local_48;" (assignment_expression "iVar3 = local_48" (identifier "iVar3") (= "=") (identifier "local_48")) (; ";")) (expression_statement "psVar5 = local_18;" (assignment_expression "psVar5 = local_18" (identifier "psVar5") (= "=") (identifier "local_18")) (; ";")) (expression_statement "(**(code **)(local_48 + -0x7f78))();" (call_expression "(**(code **)(local_48 + -0x7f78))()" (parenthesized_expression "(**(code **)(local_48 + -0x7f78))" (( "(") (pointer_expression "**(code **)(local_48 + -0x7f78)" (* "*") (pointer_expression "*(code **)(local_48 + -0x7f78)" (* "*") (cast_expression "(code **)(local_48 + -0x7f78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x7f78)" (( "(") (binary_expression "local_48 + -0x7f78" (identifier "local_48") (+ "+") (number_literal "-0x7f78")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" (else "else") (compound_statement "{\n      (**(code **)(local_48 + -0x7774))();\n      iVar2 = *(int *)(*(int *)param_1 + -0xc);\n      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);\n      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;\n      iVar3 = local_48;\n      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }\n    }" ({ "{") (expression_statement "(**(code **)(local_48 + -0x7774))();" (call_expression "(**(code **)(local_48 + -0x7774))()" (parenthesized_expression "(**(code **)(local_48 + -0x7774))" (( "(") (pointer_expression "**(code **)(local_48 + -0x7774)" (* "*") (pointer_expression "*(code **)(local_48 + -0x7774)" (* "*") (cast_expression "(code **)(local_48 + -0x7774)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x7774)" (( "(") (binary_expression "local_48 + -0x7774" (identifier "local_48") (+ "+") (number_literal "-0x7774")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(*(int *)param_1 + -0xc);" (assignment_expression "iVar2 = *(int *)(*(int *)param_1 + -0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_1 + -0xc)" (( "(") (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);" (assignment_expression "psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1)" (identifier "psVar5") (= "=") (cast_expression "(sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1)" (( "(") (type_descriptor "sentry *" (type_identifier "sentry") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(uint *)(param_1 + iVar2 + 0x14) | 1)" (( "(") (binary_expression "*(uint *)(param_1 + iVar2 + 0x14) | 1" (pointer_expression "*(uint *)(param_1 + iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar2 + 0x14)" (( "(") (binary_expression "param_1 + iVar2 + 0x14" (binary_expression "param_1 + iVar2" (identifier "param_1") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0x14")) () ")")))) (| "|") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*(sentry **)(param_1 + iVar2 + 0x14) = psVar5;" (assignment_expression "*(sentry **)(param_1 + iVar2 + 0x14) = psVar5" (pointer_expression "*(sentry **)(param_1 + iVar2 + 0x14)" (* "*") (cast_expression "(sentry **)(param_1 + iVar2 + 0x14)" (( "(") (type_descriptor "sentry **" (type_identifier "sentry") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + iVar2 + 0x14)" (( "(") (binary_expression "param_1 + iVar2 + 0x14" (binary_expression "param_1 + iVar2" (identifier "param_1") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "psVar5")) (; ";")) (expression_statement "iVar3 = local_48;" (assignment_expression "iVar3 = local_48" (identifier "iVar3") (= "=") (identifier "local_48")) (; ";")) (if_statement "if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0)" (( "(") (binary_expression "(*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0" (parenthesized_expression "(*(uint *)(param_1 + iVar2 + 0x10) & 1)" (( "(") (binary_expression "*(uint *)(param_1 + iVar2 + 0x10) & 1" (pointer_expression "*(uint *)(param_1 + iVar2 + 0x10)" (* "*") (cast_expression "(uint *)(param_1 + iVar2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar2 + 0x10)" (( "(") (binary_expression "param_1 + iVar2 + 0x10" (binary_expression "param_1 + iVar2" (identifier "param_1") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (**(code **)(local_48 + -0x776c))();\n        goto LAB_0035ce48;\n      }" ({ "{") (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" (( "(") (pointer_expression "**(code **)(local_48 + -0x776c)" (* "*") (pointer_expression "*(code **)(local_48 + -0x776c)" (* "*") (cast_expression "(code **)(local_48 + -0x776c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x776c)" (( "(") (binary_expression "local_48 + -0x776c" (identifier "local_48") (+ "+") (number_literal "-0x776c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_0035ce48;" (goto "goto") (statement_identifier "LAB_0035ce48") (; ";")) (} "}"))) (} "}")))) (expression_statement "(**(code **)(iVar3 + -0x7770))();" (call_expression "(**(code **)(iVar3 + -0x7770))()" (parenthesized_expression "(**(code **)(iVar3 + -0x7770))" (( "(") (pointer_expression "**(code **)(iVar3 + -0x7770)" (* "*") (pointer_expression "*(code **)(iVar3 + -0x7770)" (* "*") (cast_expression "(code **)(iVar3 + -0x7770)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + -0x7770)" (( "(") (binary_expression "iVar3 + -0x7770" (identifier "iVar3") (+ "+") (number_literal "-0x7770")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_18 = psVar5;" (assignment_expression "local_18 = psVar5" (identifier "local_18") (= "=") (identifier "psVar5")) (; ";")) (expression_statement "(**(code **)(local_48 + -0x776c))();" (call_expression "(**(code **)(local_48 + -0x776c))()" (parenthesized_expression "(**(code **)(local_48 + -0x776c))" (( "(") (pointer_expression "**(code **)(local_48 + -0x776c)" (* "*") (pointer_expression "*(code **)(local_48 + -0x776c)" (* "*") (cast_expression "(code **)(local_48 + -0x776c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x776c)" (( "(") (binary_expression "local_48 + -0x776c" (identifier "local_48") (+ "+") (number_literal "-0x776c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar8 = *(code **)(local_48 + -0x7f78);" (assignment_expression "pcVar8 = *(code **)(local_48 + -0x7f78)" (identifier "pcVar8") (= "=") (pointer_expression "*(code **)(local_48 + -0x7f78)" (* "*") (cast_expression "(code **)(local_48 + -0x7f78)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_48 + -0x7f78)" (( "(") (binary_expression "local_48 + -0x7f78" (identifier "local_48") (+ "+") (number_literal "-0x7f78")) () ")"))))) (; ";")) (expression_statement "pcVar9 = FUN_0035cf90;" (assignment_expression "pcVar9 = FUN_0035cf90" (identifier "pcVar9") (= "=") (identifier "FUN_0035cf90")) (; ";")) (expression_statement "psVar5 = local_18;" (assignment_expression "psVar5 = local_18" (identifier "psVar5") (= "=") (identifier "local_18")) (; ";")) (expression_statement "(*pcVar8)();" (call_expression "(*pcVar8)()" (parenthesized_expression "(*pcVar8)" (( "(") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piStack_7c = param_1;" (assignment_expression "piStack_7c = param_1" (identifier "piStack_7c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "puStack_78 = param_2;" (assignment_expression "puStack_78 = param_2" (identifier "puStack_78") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pcStack_74 = pcVar9;" (assignment_expression "pcStack_74 = pcVar9" (identifier "pcStack_74") (= "=") (identifier "pcVar9")) (; ";")) (labeled_statement "std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);" (statement_identifier "istream") (: ":") (ERROR ":" (: ":")) (labeled_statement "sentry::sentry(asStack_8c,(istream *)psVar5,false);" (statement_identifier "sentry") (: ":") (ERROR ":" (: ":")) (expression_statement "sentry(asStack_8c,(istream *)psVar5,false);" (call_expression "sentry(asStack_8c,(istream *)psVar5,false)" (identifier "sentry") (argument_list "(asStack_8c,(istream *)psVar5,false)" (( "(") (identifier "asStack_8c") (, ",") (cast_expression "(istream *)psVar5" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5")) (, ",") (false "false") () ")"))) (; ";"))))) (if_statement "if (asStack_8c[0] == (sentry)0x0) {\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }\n    else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" (if "if") (parenthesized_expression "(asStack_8c[0] == (sentry)0x0)" (( "(") (binary_expression "asStack_8c[0] == (sentry)0x0" (subscript_expression "asStack_8c[0]" (identifier "asStack_8c") ([ "[") (number_literal "0") (] "]")) (== "==") (cast_expression "(sentry)0x0" (( "(") (type_descriptor "sentry" (type_identifier "sentry")) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }\n      uVar4 = 4;\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n    }" ({ "{") (if_statement "if (piVar7 != (int *)0x0) {\n        return (istream *)psVar5;\n      }" (if "if") (parenthesized_expression "(piVar7 != (int *)0x0)" (( "(") (binary_expression "piVar7 != (int *)0x0" (identifier "piVar7") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return (istream *)psVar5;\n      }" ({ "{") (return_statement "return (istream *)psVar5;" (return "return") (cast_expression "(istream *)psVar5" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5")) (; ";")) (} "}"))) (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" (identifier "uVar4") (= "=") (number_literal "4")) (; ";")) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (identifier "piVar6") (= "=") (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (( "(") (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5")) (+ "+") (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)psVar5 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)psVar5 + -0xc)" (( "(") (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" (* "*") (cast_expression "(int *)psVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" (else "else") (compound_statement "{\n      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n      if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }\n    }" ({ "{") (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (identifier "piVar6") (= "=") (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (( "(") (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5")) (+ "+") (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)psVar5 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)psVar5 + -0xc)" (( "(") (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" (* "*") (cast_expression "(int *)psVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (; ";")) (if_statement "if (piVar7 == (int *)0x0) {\n        uVar4 = 4;\n      }\n      else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar4 = 4;\n      }" ({ "{") (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" (identifier "uVar4") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else {\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" (else "else") (compound_statement "{\n        iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);\n        if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n      }" ({ "{") (expression_statement "iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);" (assignment_expression "iVar3 = (**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(pcVar8 + 0x168358))\n                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" (parenthesized_expression "(**(code **)(pcVar8 + 0x168358))" (( "(") (pointer_expression "**(code **)(pcVar8 + 0x168358)" (* "*") (pointer_expression "*(code **)(pcVar8 + 0x168358)" (* "*") (cast_expression "(code **)(pcVar8 + 0x168358)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar8 + 0x168358)" (( "(") (binary_expression "pcVar8 + 0x168358" (identifier "pcVar8") (+ "+") (number_literal "0x168358")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90)" (( "(") (pointer_expression "*(undefined4 *)((istream *)piVar6 + 0x78)" (* "*") (cast_expression "(undefined4 *)((istream *)piVar6 + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((istream *)piVar6 + 0x78)" (( "(") (binary_expression "(istream *)piVar6 + 0x78" (cast_expression "(istream *)piVar6" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar6")) (+ "+") (number_literal "0x78")) () ")")))) (, ",") (identifier "piVar7") (, ",") (identifier "acStack_90") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }\n        else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar4 = 4;\n          if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" ({ "{") (expression_statement "uVar4 = 4;" (assignment_expression "uVar4 = 4" (identifier "uVar4") (= "=") (number_literal "4")) (; ";")) (if_statement "if (acStack_90[0] != '\0') {\n            uVar4 = 6;\n          }" (if "if") (parenthesized_expression "(acStack_90[0] != '\0')" (( "(") (binary_expression "acStack_90[0] != '\0'" (subscript_expression "acStack_90[0]" (identifier "acStack_90") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            uVar4 = 6;\n          }" ({ "{") (expression_statement "uVar4 = 6;" (assignment_expression "uVar4 = 6" (identifier "uVar4") (= "=") (number_literal "6")) (; ";")) (} "}"))) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (identifier "piVar6") (= "=") (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (( "(") (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5")) (+ "+") (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)psVar5 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)psVar5 + -0xc)" (( "(") (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" (* "*") (cast_expression "(int *)psVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" (else "else") (compound_statement "{\n          if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }\n          uVar4 = 2;\n          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));\n        }" ({ "{") (if_statement "if (acStack_90[0] == '\0') {\n            return (istream *)psVar5;\n          }" (if "if") (parenthesized_expression "(acStack_90[0] == '\0')" (( "(") (binary_expression "acStack_90[0] == '\0'" (subscript_expression "acStack_90[0]" (identifier "acStack_90") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            return (istream *)psVar5;\n          }" ({ "{") (return_statement "return (istream *)psVar5;" (return "return") (cast_expression "(istream *)psVar5" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5")) (; ";")) (} "}"))) (expression_statement "uVar4 = 2;" (assignment_expression "uVar4 = 2" (identifier "uVar4") (= "=") (number_literal "2")) (; ";")) (expression_statement "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));" (assignment_expression "piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (identifier "piVar6") (= "=") (cast_expression "(ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc))" (( "(") (binary_expression "(istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc)" (cast_expression "(istream *)psVar5" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5")) (+ "+") (pointer_expression "*(int *)(*(int *)psVar5 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)psVar5 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)psVar5 + -0xc)" (( "(") (binary_expression "*(int *)psVar5 + -0xc" (pointer_expression "*(int *)psVar5" (* "*") (cast_expression "(int *)psVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (; ";")) (} "}")))) (} "}")))) (} "}")))) (labeled_statement "std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" (statement_identifier "ios") (: ":") (ERROR ":" (: ":")) (expression_statement "clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));" (call_expression "clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14))" (identifier "clear") (argument_list "(piVar6,uVar4 | *(uint *)(piVar6 + 0x14))" (( "(") (identifier "piVar6") (, ",") (binary_expression "uVar4 | *(uint *)(piVar6 + 0x14)" (identifier "uVar4") (| "|") (pointer_expression "*(uint *)(piVar6 + 0x14)" (* "*") (cast_expression "(uint *)(piVar6 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar6 + 0x14)" (( "(") (binary_expression "piVar6 + 0x14" (identifier "piVar6") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) (; ";")))) (return_statement "return (istream *)psVar5;" (return "return") (cast_expression "(istream *)psVar5" (( "(") (type_descriptor "istream *" (type_identifier "istream") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "psVar5")) (; ";")) (} "}"))) (expression_statement "local_38 = *(undefined4 *)(piVar1 + 0x78);" (assignment_expression "local_38 = *(undefined4 *)(piVar1 + 0x78)" (identifier "local_38") (= "=") (pointer_expression "*(undefined4 *)(piVar1 + 0x78)" (* "*") (cast_expression "(undefined4 *)(piVar1 + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 0x78)" (( "(") (binary_expression "piVar1 + 0x78" (identifier "piVar1") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (expression_statement "local_50 = &local_28;" (assignment_expression "local_50 = &local_28" (identifier "local_50") (= "=") (pointer_expression "&local_28" (& "&") (identifier "local_28"))) (; ";")) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" (identifier "local_60") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_54 = &local_24;" (assignment_expression "local_54 = &local_24" (identifier "local_54") (= "=") (pointer_expression "&local_24" (& "&") (identifier "local_24"))) (; ";")) (expression_statement "local_5c = 0xffffffff;" (assignment_expression "local_5c = 0xffffffff" (identifier "local_5c") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_34 = 0xffffffff;" (assignment_expression "local_34 = 0xffffffff" (identifier "local_34") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = 0xffffffff;" (assignment_expression "local_3c = 0xffffffff" (identifier "local_3c") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "local_58 = piVar1;" (assignment_expression "local_58 = piVar1" (identifier "local_58") (= "=") (identifier "piVar1")) (; ";")) (expression_statement "(**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);" (call_expression "(**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff)" (parenthesized_expression "(**(code **)(*piVar7 + 0xc))" (( "(") (pointer_expression "**(code **)(*piVar7 + 0xc)" (* "*") (pointer_expression "*(code **)(*piVar7 + 0xc)" (* "*") (cast_expression "(code **)(*piVar7 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar7 + 0xc)" (( "(") (binary_expression "*piVar7 + 0xc" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(auStack_30,piVar7,local_38,0xffffffff)" (( "(") (identifier "auStack_30") (, ",") (identifier "piVar7") (, ",") (identifier "local_38") (, ",") (number_literal "0xffffffff") () ")"))) (; ";")) (expression_statement "*param_2 = local_28;" (assignment_expression "*param_2 = local_28" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "local_28")) (; ";")) (labeled_statement "LAB_0035ce48:\n  if (local_24 == 0) {\n    return param_1;\n  }" (statement_identifier "LAB_0035ce48") (: ":") (if_statement "if (local_24 == 0) {\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return param_1;\n  }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))) (labeled_statement "std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" (statement_identifier "ios") (: ":") (ERROR ":" (: ":")) (expression_statement "clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" (call_expression "clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14))" (identifier "clear") (argument_list "((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14))" (( "(") (cast_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc))" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc))" (( "(") (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "param_1") (+ "+") (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_1 + -0xc)" (( "(") (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")"))) (, ",") (binary_expression "local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" (identifier "local_24") (| "|") (pointer_expression "*(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" (* "*") (cast_expression "(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" (( "(") (binary_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14" (cast_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc))" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc))" (( "(") (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "param_1") (+ "+") (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_1 + -0xc)" (( "(") (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")"))) (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) (; ";")))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (false))))))) (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 (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))) (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: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) 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))))))) (expression_statement (assignment_expression left: (identifier) right: (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)))))))) (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (number_literal)))))) (expression_statement (assignment_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: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (goto_statement label: (statement_identifier))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) 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))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)) (false))))))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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: (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))))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) arguments: (argument_list (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: (identifier)) right: (number_literal))))) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (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: (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))))))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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: (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))))))))))))))))))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) (return_statement (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier))))) (labeled_statement label: (statement_identifier) (ERROR) (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)))))

istream * MASKED(istream *param_1,undefined4 *param_2)

{
  istream *piVar1;
  int iVar2;
  int iVar3;
  uint uVar4;
  sentry *psVar5;
  ios *piVar6;
  int *piVar7;
  int in_t9;
  code *pcVar8;
  code *pcVar9;
  char acStack_90 [4];
  sentry asStack_8c [16];
  istream *piStack_7c;
  undefined4 *puStack_78;
  code *pcStack_74;
  undefined4 local_60;
  undefined4 local_5c;
  istream *local_58;
  uint *local_54;
  undefined4 *local_50;
  int local_48;
  undefined4 local_40;
  undefined4 local_3c;
  undefined4 local_38;
  undefined4 local_34;
  undefined1 auStack_30 [8];
  undefined4 local_28;
  uint local_24;
  sentry local_20 [8];
  sentry *local_18;
  
  local_48 = in_t9 + 0x16c4b0;
  psVar5 = local_20;
  std::istream::sentry::sentry(psVar5,param_1,false);
  if (local_20[0] == (sentry)0x0) {
    return param_1;
  }
  local_24 = 0;
  piVar1 = param_1 + *(int *)(*(int *)param_1 + -0xc);
  piVar7 = *(int **)(piVar1 + 0x84);
  if (piVar7 == (int *)0x0) {
                    /* try { // try from 0035cea4 to 0035ceab has its CatchHandler @ 0035ceac */
    (**(code **)(local_48 + -0x6f84))();
                    /* catch(type#1 @ 004be4f8) { ... } // from try @ 0035ce34 with catch @ 0035ceac
                       catch(type#1 @ 004be4f8) { ... } // from try @ 0035cea4 with catch @ 0035ceac
                        */
    if (piVar7 == (int *)0x1) {
      (**(code **)(local_48 + -0x7774))();
      pcVar8 = *(code **)(local_48 + -0x7770);
      param_1 = param_1 + *(int *)(*(int *)param_1 + -0xc);
      *(uint *)(param_1 + 0x14) = *(uint *)(param_1 + 0x14) | 1;
      if ((*(uint *)(param_1 + 0x10) & 1) == 0) {
                    /* try { // try from 0035cf34 to 0035cf43 has its CatchHandler @ 0035cf44 */
        (*pcVar8)();
      }
      (*pcVar8)();
                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf34 with catch @ 0035cf44
                        */
      local_18 = psVar5;
      (**(code **)(local_48 + -0x776c))();
      iVar3 = local_48;
      psVar5 = local_18;
      (**(code **)(local_48 + -0x7f78))();
    }
    else {
      (**(code **)(local_48 + -0x7774))();
      iVar2 = *(int *)(*(int *)param_1 + -0xc);
      psVar5 = (sentry *)(*(uint *)(param_1 + iVar2 + 0x14) | 1);
      *(sentry **)(param_1 + iVar2 + 0x14) = psVar5;
      iVar3 = local_48;
      if ((*(uint *)(param_1 + iVar2 + 0x10) & 1) == 0) {
        (**(code **)(local_48 + -0x776c))();
        goto LAB_0035ce48;
      }
    }
                    /* try { // try from 0035cf68 to 0035cf6f has its CatchHandler @ 0035cf70 */
    (**(code **)(iVar3 + -0x7770))();
                    /* catch(type#2 @ 00000000) { ... } // from try @ 0035cf68 with catch @ 0035cf70
                        */
    local_18 = psVar5;
    (**(code **)(local_48 + -0x776c))();
    pcVar8 = *(code **)(local_48 + -0x7f78);
    pcVar9 = FUN_0035cf90;
    psVar5 = local_18;
    (*pcVar8)();
    piStack_7c = param_1;
    puStack_78 = param_2;
    pcStack_74 = pcVar9;
    std::istream::sentry::sentry(asStack_8c,(istream *)psVar5,false);
    if (asStack_8c[0] == (sentry)0x0) {
      if (piVar7 != (int *)0x0) {
        return (istream *)psVar5;
      }
      uVar4 = 4;
      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
    }
    else {
      piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
      if (piVar7 == (int *)0x0) {
        uVar4 = 4;
      }
      else {
        iVar3 = (**(code **)(pcVar8 + 0x168358))
                          (*(undefined4 *)((istream *)piVar6 + 0x78),piVar7,acStack_90);
        if (iVar3 == 0) {
          uVar4 = 4;
          if (acStack_90[0] != '\0') {
            uVar4 = 6;
          }
          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
        }
        else {
          if (acStack_90[0] == '\0') {
            return (istream *)psVar5;
          }
          uVar4 = 2;
          piVar6 = (ios *)((istream *)psVar5 + *(int *)(*(int *)psVar5 + -0xc));
        }
      }
    }
    std::ios::clear(piVar6,uVar4 | *(uint *)(piVar6 + 0x14));
    return (istream *)psVar5;
  }
  local_38 = *(undefined4 *)(piVar1 + 0x78);
  local_50 = &local_28;
  local_60 = 0;
  local_54 = &local_24;
  local_5c = 0xffffffff;
  local_34 = 0xffffffff;
  local_40 = 0;
  local_3c = 0xffffffff;
  local_58 = piVar1;
                    /* try { // try from 0035ce34 to 0035ce3b has its CatchHandler @ 0035ceac */
  (**(code **)(*piVar7 + 0xc))(auStack_30,piVar7,local_38,0xffffffff);
  *param_2 = local_28;
LAB_0035ce48:
  if (local_24 == 0) {
    return param_1;
  }
  std::ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),
                  local_24 | *(uint *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));
  return param_1;
}

