
/* std::wistream& std::wistream::_M_extract<bool>(bool&) */

wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)

{
  wistream *pwVar1;
  int *piVar2;
  undefined1 auStack_28 [8];
  _Ios_Iostate local_20;
  sentry local_1c [16];
  
  sentry::sentry(local_1c,this,false);
  if (local_1c[0] != (sentry)0x0) {
    local_20 = _S_goodbit;
    pwVar1 = this + *(int *)(*(int *)this + -0xc);
    piVar2 = *(int **)(pwVar1 + 0x88);
    if (piVar2 == (int *)0x0) {
                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */
      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();
      return pwVar1;
    }
                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */
    (**(code **)(*piVar2 + 8))
              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,
               &local_20,param_1);
    if (local_20 != _S_goodbit) {
      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),
                  local_20 |
                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));
      return this;
    }
  }
  return this;
}



/* std::wistream& std::wistream::_M_extract<bool>(bool&) */

wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)

{
  wistream *pwVar1;
  int *piVar2;
  undefined1 auStack_28 [8];
  uint local_20;
  sentry local_1c [16];
  
  sentry::sentry(local_1c,this,false);
  if (local_1c[0] != (sentry)0x0) {
    local_20 = 0;
    pwVar1 = this + *(int *)(*(int *)this + -0xc);
    piVar2 = *(int **)(pwVar1 + 0x88);
    if (piVar2 == (int *)0x0) {
                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */
      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();
      return pwVar1;
    }
                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */
    (**(code **)(*piVar2 + 8))
              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,
               &local_20,param_1);
    if (local_20 != 0) {
      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),
                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));
      return this;
    }
  }
  return this;
}


lui gp,0x15
addiu gp,gp,0x698
addu gp,gp,t9
addiu sp,sp,-0x68
lw t9,-0x4454(gp)
or a2,zero,zero
sw s0,0x5c(sp)
or s0,a0,zero
addiu a0,sp,0x4c
sw gp,0x28(sp)
sw s1,0x60(sp)
or s1,a1,zero
sw ra,0x64(sp)
bal 0x002e62b8
_or a1,s0,zero
lbu v0,0x4c(sp)
beq v0,zero,0x002e9bf0
_lw gp,0x28(sp)
lw v0,0x0(s0)
sw zero,0x48(sp)
lw v0,-0xc(v0)
addu v0,s0,v0
lw a1,0x88(v0)
beq a1,zero,0x002e9c3c
_li v1,-0x1
lw t1,0x0(a1)
addiu a0,sp,0x48
lw t0,0x7c(v0)
sw s1,0x20(sp)
li a3,-0x1
sw a0,0x1c(sp)
addiu a0,sp,0x40
sw v0,0x18(sp)
sw zero,0x10(sp)
sw v1,0x14(sp)
sw t0,0x38(sp)
sw v1,0x3c(sp)
sw zero,0x30(sp)
sw v1,0x34(sp)
lw t9,0x8(t1)
jalr t9
_or a2,t0,zero
lw gp,0x28(sp)
lw v0,0x48(sp)
bne v0,zero,0x002e9c08
_lw t9,-0x4450(gp)
lw ra,0x64(sp)
or v0,s0,zero
lw s1,0x60(sp)
lw s0,0x5c(sp)
jr ra
_addiu sp,sp,0x68
lw v1,0x0(s0)
lw v1,-0xc(v1)
addu v1,s0,v1
or a0,v1,zero
lw a1,0x14(v1)
bal 0x002eb754
_or a1,v0,a1
or v0,s0,zero
lw ra,0x64(sp)
lw s1,0x60(sp)
lw s0,0x5c(sp)
jr ra
_addiu sp,sp,0x68
lw t9,-0x7180(gp)
jalr t9
_nop
(translation_unit "/* std::wistream& std::wistream::_M_extract<bool>(bool&) */\n\nwistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)\n\n{\n  wistream *pwVar1;\n  int *piVar2;\n  undefined1 auStack_28 [8];\n  uint local_20;\n  sentry local_1c [16];\n  \n  sentry::sentry(local_1c,this,false);\n  if (local_1c[0] != (sentry)0x0) {\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */\n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }\n  return this;\n}\n\n" comment (ERROR "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)" (binary_expression "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)" (binary_expression "wistream * __thiscall std::wistream::_M_extract<bool" (binary_expression "wistream * __thiscall" identifier * identifier) (ERROR "std::wistream::_M_extract" identifier : : identifier : : identifier) < identifier) > (parenthesized_expression "(wistream *this,bool *param_1)" ( (comma_expression "wistream *this,bool *param_1" (binary_expression "wistream *this" identifier * identifier) , (binary_expression "bool *param_1" identifier * identifier)) )))) (compound_statement "{\n  wistream *pwVar1;\n  int *piVar2;\n  undefined1 auStack_28 [8];\n  uint local_20;\n  sentry local_1c [16];\n  \n  sentry::sentry(local_1c,this,false);\n  if (local_1c[0] != (sentry)0x0) {\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */\n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }\n  return this;\n}" { (declaration "wistream *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined1 auStack_28 [8];" type_identifier (array_declarator "auStack_28 [8]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "sentry local_1c [16];" type_identifier (array_declarator "local_1c [16]" identifier [ number_literal ]) ;) (labeled_statement "sentry::sentry(local_1c,this,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_1c,this,false);" (call_expression "sentry(local_1c,this,false)" identifier (argument_list "(local_1c,this,false)" ( identifier , identifier , false ))) ;)) (if_statement "if (local_1c[0] != (sentry)0x0) {\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */\n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }" if (parenthesized_expression "(local_1c[0] != (sentry)0x0)" ( (binary_expression "local_1c[0] != (sentry)0x0" (subscript_expression "local_1c[0]" identifier [ number_literal ]) != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */\n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }" { (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "pwVar1 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "pwVar1 = 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 "piVar2 = *(int **)(pwVar1 + 0x88);" (assignment_expression "piVar2 = *(int **)(pwVar1 + 0x88)" identifier = (pointer_expression "*(int **)(pwVar1 + 0x88)" * (cast_expression "(int **)(pwVar1 + 0x88)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pwVar1 + 0x88)" ( (binary_expression "pwVar1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }" { comment (expression_statement "pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();" (assignment_expression "pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)()" identifier = (cast_expression "(wistream *)(*(code *)PTR___throw_bad_cast_00433050)()" ( (type_descriptor "wistream *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___throw_bad_cast_00433050)()" (parenthesized_expression "(*(code *)PTR___throw_bad_cast_00433050)" ( (pointer_expression "*(code *)PTR___throw_bad_cast_00433050" * (cast_expression "(code *)PTR___throw_bad_cast_00433050" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (return_statement "return pwVar1;" return identifier ;) })) comment (expression_statement "(**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);" (call_expression "(**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1)" (parenthesized_expression "(**(code **)(*piVar2 + 8))" ( (pointer_expression "**(code **)(*piVar2 + 8)" * (pointer_expression "*(code **)(*piVar2 + 8)" * (cast_expression "(code **)(*piVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(pwVar1 + 0x7c)" * (cast_expression "(undefined4 *)(pwVar1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar1 + 0x7c)" ( (binary_expression "pwVar1 + 0x7c" identifier + number_literal) )))) , number_literal , number_literal , number_literal , identifier , (pointer_expression "&local_20" & identifier) , identifier ))) ;) (if_statement "if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }" if (parenthesized_expression "(local_20 != 0)" ( (binary_expression "local_20 != 0" identifier != number_literal) )) (compound_statement "{\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }" { (labeled_statement "wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" identifier (argument_list "((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" ( (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "wios *" 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_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" identifier | (pointer_expression "*(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" * (cast_expression "(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (binary_expression "(wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "wios *" 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 ;) })) })) (return_statement "return this;" return identifier ;) }))
(translation_unit "/* std::wistream& std::wistream::_M_extract<bool>(bool&) */\n\nwistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)\n\n{\n  wistream *pwVar1;\n  int *piVar2;\n  undefined1 auStack_28 [8];\n  _Ios_Iostate local_20;\n  sentry local_1c [16];\n  \n  sentry::sentry(local_1c,this,false);\n  if (local_1c[0] != (sentry)0x0) {\n    local_20 = _S_goodbit;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */\n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != _S_goodbit) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }\n  return this;\n}\n\n" comment (ERROR "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)" (binary_expression "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)" (binary_expression "wistream * __thiscall std::wistream::_M_extract<bool" (binary_expression "wistream * __thiscall" identifier * identifier) (ERROR "std::wistream::_M_extract" identifier : : identifier : : identifier) < identifier) > (parenthesized_expression "(wistream *this,bool *param_1)" ( (comma_expression "wistream *this,bool *param_1" (binary_expression "wistream *this" identifier * identifier) , (binary_expression "bool *param_1" identifier * identifier)) )))) (compound_statement "{\n  wistream *pwVar1;\n  int *piVar2;\n  undefined1 auStack_28 [8];\n  _Ios_Iostate local_20;\n  sentry local_1c [16];\n  \n  sentry::sentry(local_1c,this,false);\n  if (local_1c[0] != (sentry)0x0) {\n    local_20 = _S_goodbit;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */\n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != _S_goodbit) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }\n  return this;\n}" { (declaration "wistream *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined1 auStack_28 [8];" type_identifier (array_declarator "auStack_28 [8]" identifier [ number_literal ]) ;) (declaration "_Ios_Iostate local_20;" type_identifier identifier ;) (declaration "sentry local_1c [16];" type_identifier (array_declarator "local_1c [16]" identifier [ number_literal ]) ;) (labeled_statement "sentry::sentry(local_1c,this,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_1c,this,false);" (call_expression "sentry(local_1c,this,false)" identifier (argument_list "(local_1c,this,false)" ( identifier , identifier , false ))) ;)) (if_statement "if (local_1c[0] != (sentry)0x0) {\n    local_20 = _S_goodbit;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */\n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != _S_goodbit) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }" if (parenthesized_expression "(local_1c[0] != (sentry)0x0)" ( (binary_expression "local_1c[0] != (sentry)0x0" (subscript_expression "local_1c[0]" identifier [ number_literal ]) != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    local_20 = _S_goodbit;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */\n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != _S_goodbit) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }" { (expression_statement "local_20 = _S_goodbit;" (assignment_expression "local_20 = _S_goodbit" identifier = identifier) ;) (expression_statement "pwVar1 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "pwVar1 = 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 "piVar2 = *(int **)(pwVar1 + 0x88);" (assignment_expression "piVar2 = *(int **)(pwVar1 + 0x88)" identifier = (pointer_expression "*(int **)(pwVar1 + 0x88)" * (cast_expression "(int **)(pwVar1 + 0x88)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pwVar1 + 0x88)" ( (binary_expression "pwVar1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */\n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }" { comment (expression_statement "pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();" (assignment_expression "pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)()" identifier = (cast_expression "(wistream *)(*(code *)PTR___throw_bad_cast_00433050)()" ( (type_descriptor "wistream *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___throw_bad_cast_00433050)()" (parenthesized_expression "(*(code *)PTR___throw_bad_cast_00433050)" ( (pointer_expression "*(code *)PTR___throw_bad_cast_00433050" * (cast_expression "(code *)PTR___throw_bad_cast_00433050" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (return_statement "return pwVar1;" return identifier ;) })) comment (expression_statement "(**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);" (call_expression "(**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1)" (parenthesized_expression "(**(code **)(*piVar2 + 8))" ( (pointer_expression "**(code **)(*piVar2 + 8)" * (pointer_expression "*(code **)(*piVar2 + 8)" * (cast_expression "(code **)(*piVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(pwVar1 + 0x7c)" * (cast_expression "(undefined4 *)(pwVar1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar1 + 0x7c)" ( (binary_expression "pwVar1 + 0x7c" identifier + number_literal) )))) , number_literal , number_literal , number_literal , identifier , (pointer_expression "&local_20" & identifier) , identifier ))) ;) (if_statement "if (local_20 != _S_goodbit) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }" if (parenthesized_expression "(local_20 != _S_goodbit)" ( (binary_expression "local_20 != _S_goodbit" identifier != identifier) )) (compound_statement "{\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }" { (labeled_statement "wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" identifier (argument_list "((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" ( (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "wios *" 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_20 |\n                  *(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" identifier | (pointer_expression "*(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" * (cast_expression "(_Ios_Iostate *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (binary_expression "(wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "wios *" 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 ;) })) })) (return_statement "return this;" return identifier ;) }))
(translation_unit "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)\n\n{\n  wistream *pwVar1;\n  int *piVar2;\n  undefined1 auStack_28 [8];\n  uint local_20;\n  sentry local_1c [16];\n  \n  sentry::sentry(local_1c,this,false);\n  if (local_1c[0] != (sentry)0x0) {\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    \n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }\n  return this;\n}\n\n" (ERROR "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)" (binary_expression "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)" (binary_expression "wistream * __thiscall std::wistream::_M_extract<bool" (binary_expression "wistream * __thiscall" identifier * identifier) (ERROR "std::wistream::_M_extract" identifier : : identifier : : identifier) < identifier) > (parenthesized_expression "(wistream *this,bool *param_1)" ( (comma_expression "wistream *this,bool *param_1" (binary_expression "wistream *this" identifier * identifier) , (binary_expression "bool *param_1" identifier * identifier)) )))) (compound_statement "{\n  wistream *pwVar1;\n  int *piVar2;\n  undefined1 auStack_28 [8];\n  uint local_20;\n  sentry local_1c [16];\n  \n  sentry::sentry(local_1c,this,false);\n  if (local_1c[0] != (sentry)0x0) {\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    \n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }\n  return this;\n}" { (declaration "wistream *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined1 auStack_28 [8];" type_identifier (array_declarator "auStack_28 [8]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "sentry local_1c [16];" type_identifier (array_declarator "local_1c [16]" identifier [ number_literal ]) ;) (labeled_statement "sentry::sentry(local_1c,this,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_1c,this,false);" (call_expression "sentry(local_1c,this,false)" identifier (argument_list "(local_1c,this,false)" ( identifier , identifier , false ))) ;)) (if_statement "if (local_1c[0] != (sentry)0x0) {\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    \n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }" if (parenthesized_expression "(local_1c[0] != (sentry)0x0)" ( (binary_expression "local_1c[0] != (sentry)0x0" (subscript_expression "local_1c[0]" identifier [ number_literal ]) != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    \n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }" { (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "pwVar1 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "pwVar1 = 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 "piVar2 = *(int **)(pwVar1 + 0x88);" (assignment_expression "piVar2 = *(int **)(pwVar1 + 0x88)" identifier = (pointer_expression "*(int **)(pwVar1 + 0x88)" * (cast_expression "(int **)(pwVar1 + 0x88)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pwVar1 + 0x88)" ( (binary_expression "pwVar1 + 0x88" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }" { (expression_statement "pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();" (assignment_expression "pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)()" identifier = (cast_expression "(wistream *)(*(code *)PTR___throw_bad_cast_00433050)()" ( (type_descriptor "wistream *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___throw_bad_cast_00433050)()" (parenthesized_expression "(*(code *)PTR___throw_bad_cast_00433050)" ( (pointer_expression "*(code *)PTR___throw_bad_cast_00433050" * (cast_expression "(code *)PTR___throw_bad_cast_00433050" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (return_statement "return pwVar1;" return identifier ;) })) (expression_statement "(**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);" (call_expression "(**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1)" (parenthesized_expression "(**(code **)(*piVar2 + 8))" ( (pointer_expression "**(code **)(*piVar2 + 8)" * (pointer_expression "*(code **)(*piVar2 + 8)" * (cast_expression "(code **)(*piVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(pwVar1 + 0x7c)" * (cast_expression "(undefined4 *)(pwVar1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar1 + 0x7c)" ( (binary_expression "pwVar1 + 0x7c" identifier + number_literal) )))) , number_literal , number_literal , number_literal , identifier , (pointer_expression "&local_20" & identifier) , identifier ))) ;) (if_statement "if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }" if (parenthesized_expression "(local_20 != 0)" ( (binary_expression "local_20 != 0" identifier != number_literal) )) (compound_statement "{\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }" { (labeled_statement "wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" identifier (argument_list "((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" ( (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "wios *" 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_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" identifier | (pointer_expression "*(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" * (cast_expression "(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" ( (binary_expression "(wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "wios *" 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 ;) })) })) (return_statement "return this;" return identifier ;) }))
(translation_unit (ERROR (binary_expression (binary_expression (binary_expression IDENT * IDENT) (ERROR IDENT : : IDENT : : IDENT) < IDENT) > (parenthesized_expression ( (comma_expression (binary_expression IDENT * IDENT) , (binary_expression IDENT * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , BOOL ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (cast_expression ( (type_descriptor TYPE) ) LIT)) )) (compound_statement { (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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (return_statement return 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 , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , LIT , IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 ;) })) })) (return_statement return IDENT ;) }))
(ERROR "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)" (binary_expression "wistream * __thiscall std::wistream::_M_extract<bool>(wistream *this,bool *param_1)" (binary_expression "wistream * __thiscall std::wistream::_M_extract<bool" (binary_expression "wistream * __thiscall" (identifier "wistream") (* "*") (identifier "__thiscall")) (ERROR "std::wistream::_M_extract" (identifier "std") (: ":") (: ":") (identifier "wistream") (: ":") (: ":") (identifier "_M_extract")) (< "<") (identifier "bool")) (> ">") (parenthesized_expression "(wistream *this,bool *param_1)" (( "(") (comma_expression "wistream *this,bool *param_1" (binary_expression "wistream *this" (identifier "wistream") (* "*") (identifier "this")) (, ",") (binary_expression "bool *param_1" (identifier "bool") (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  wistream *pwVar1;\n  int *piVar2;\n  undefined1 auStack_28 [8];\n  uint local_20;\n  sentry local_1c [16];\n  \n  sentry::sentry(local_1c,this,false);\n  if (local_1c[0] != (sentry)0x0) {\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    \n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }\n  return this;\n}" ({ "{") (declaration "wistream *pwVar1;" (type_identifier "wistream") (pointer_declarator "*pwVar1" (* "*") (identifier "pwVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined1 auStack_28 [8];" (type_identifier "undefined1") (array_declarator "auStack_28 [8]" (identifier "auStack_28") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (declaration "sentry local_1c [16];" (type_identifier "sentry") (array_declarator "local_1c [16]" (identifier "local_1c") ([ "[") (number_literal "16") (] "]")) (; ";")) (labeled_statement "sentry::sentry(local_1c,this,false);" (statement_identifier "sentry") (: ":") (ERROR ":" (: ":")) (expression_statement "sentry(local_1c,this,false);" (call_expression "sentry(local_1c,this,false)" (identifier "sentry") (argument_list "(local_1c,this,false)" (( "(") (identifier "local_1c") (, ",") (identifier "this") (, ",") (false "false") () ")"))) (; ";"))) (if_statement "if (local_1c[0] != (sentry)0x0) {\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    \n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }" (if "if") (parenthesized_expression "(local_1c[0] != (sentry)0x0)" (( "(") (binary_expression "local_1c[0] != (sentry)0x0" (subscript_expression "local_1c[0]" (identifier "local_1c") ([ "[") (number_literal "0") (] "]")) (!= "!=") (cast_expression "(sentry)0x0" (( "(") (type_descriptor "sentry" (type_identifier "sentry")) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_20 = 0;\n    pwVar1 = this + *(int *)(*(int *)this + -0xc);\n    piVar2 = *(int **)(pwVar1 + 0x88);\n    if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }\n                    \n    (**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);\n    if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }\n  }" ({ "{") (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "pwVar1 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "pwVar1 = this + *(int *)(*(int *)this + -0xc)" (identifier "pwVar1") (= "=") (binary_expression "this + *(int *)(*(int *)this + -0xc)" (identifier "this") (+ "+") (pointer_expression "*(int *)(*(int *)this + -0xc)" (* "*") (cast_expression "(int *)(*(int *)this + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)this + -0xc)" (( "(") (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (expression_statement "piVar2 = *(int **)(pwVar1 + 0x88);" (assignment_expression "piVar2 = *(int **)(pwVar1 + 0x88)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(pwVar1 + 0x88)" (* "*") (cast_expression "(int **)(pwVar1 + 0x88)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pwVar1 + 0x88)" (( "(") (binary_expression "pwVar1 + 0x88" (identifier "pwVar1") (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();\n      return pwVar1;\n    }" ({ "{") (expression_statement "pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();" (assignment_expression "pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)()" (identifier "pwVar1") (= "=") (cast_expression "(wistream *)(*(code *)PTR___throw_bad_cast_00433050)()" (( "(") (type_descriptor "wistream *" (type_identifier "wistream") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___throw_bad_cast_00433050)()" (parenthesized_expression "(*(code *)PTR___throw_bad_cast_00433050)" (( "(") (pointer_expression "*(code *)PTR___throw_bad_cast_00433050" (* "*") (cast_expression "(code *)PTR___throw_bad_cast_00433050" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___throw_bad_cast_00433050"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return pwVar1;" (return "return") (identifier "pwVar1") (; ";")) (} "}"))) (expression_statement "(**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1);" (call_expression "(**(code **)(*piVar2 + 8))\n              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1)" (parenthesized_expression "(**(code **)(*piVar2 + 8))" (( "(") (pointer_expression "**(code **)(*piVar2 + 8)" (* "*") (pointer_expression "*(code **)(*piVar2 + 8)" (* "*") (cast_expression "(code **)(*piVar2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 8)" (( "(") (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,\n               &local_20,param_1)" (( "(") (identifier "auStack_28") (, ",") (identifier "piVar2") (, ",") (pointer_expression "*(undefined4 *)(pwVar1 + 0x7c)" (* "*") (cast_expression "(undefined4 *)(pwVar1 + 0x7c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pwVar1 + 0x7c)" (( "(") (binary_expression "pwVar1 + 0x7c" (identifier "pwVar1") (+ "+") (number_literal "0x7c")) () ")")))) (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") (, ",") (number_literal "0xffffffff") (, ",") (identifier "pwVar1") (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (local_20 != 0) {\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }" (if "if") (parenthesized_expression "(local_20 != 0)" (( "(") (binary_expression "local_20 != 0" (identifier "local_20") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));\n      return this;\n    }" ({ "{") (labeled_statement "wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (statement_identifier "wios") (: ":") (ERROR ":" (: ":")) (expression_statement "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));" (call_expression "clear((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" (identifier "clear") (argument_list "((wios *)(this + *(int *)(*(int *)this + -0xc)),\n                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14))" (( "(") (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" (( "(") (type_descriptor "wios *" (type_identifier "wios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" (( "(") (binary_expression "this + *(int *)(*(int *)this + -0xc)" (identifier "this") (+ "+") (pointer_expression "*(int *)(*(int *)this + -0xc)" (* "*") (cast_expression "(int *)(*(int *)this + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)this + -0xc)" (( "(") (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")"))) (, ",") (binary_expression "local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" (identifier "local_20") (| "|") (pointer_expression "*(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" (* "*") (cast_expression "(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14)" (( "(") (binary_expression "(wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14" (cast_expression "(wios *)(this + *(int *)(*(int *)this + -0xc))" (( "(") (type_descriptor "wios *" (type_identifier "wios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" (( "(") (binary_expression "this + *(int *)(*(int *)this + -0xc)" (identifier "this") (+ "+") (pointer_expression "*(int *)(*(int *)this + -0xc)" (* "*") (cast_expression "(int *)(*(int *)this + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)this + -0xc)" (( "(") (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (number_literal "-0xc")) () ")"))))) () ")"))) (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) (; ";"))) (return_statement "return this;" (return "return") (identifier "this") (; ";")) (} "}"))) (} "}"))) (return_statement "return this;" (return "return") (identifier "this") (; ";")) (} "}"))
(translation_unit (ERROR (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) (ERROR (identifier) (identifier) (identifier)) right: (identifier)) right: (parenthesized_expression (comma_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))))) (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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 (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 (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (return_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: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (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))))) (number_literal) (number_literal) (number_literal) (identifier) (pointer_expression argument: (identifier)) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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)))))) (return_statement (identifier))))

/* std::wistream& std::wistream::MASKED(bool&) */

wistream * __thiscall std::wistream::MASKED(wistream *this,bool *param_1)

{
  wistream *pwVar1;
  int *piVar2;
  undefined1 auStack_28 [8];
  uint local_20;
  sentry local_1c [16];
  
  sentry::sentry(local_1c,this,false);
  if (local_1c[0] != (sentry)0x0) {
    local_20 = 0;
    pwVar1 = this + *(int *)(*(int *)this + -0xc);
    piVar2 = *(int **)(pwVar1 + 0x88);
    if (piVar2 == (int *)0x0) {
                    /* try { // try from 002e9c40 to 002e9c47 has its CatchHandler @ 002e9c48 */
      pwVar1 = (wistream *)(*(code *)PTR___throw_bad_cast_00433050)();
      return pwVar1;
    }
                    /* try { // try from 002e9bd8 to 002e9bdf has its CatchHandler @ 002e9c48 */
    (**(code **)(*piVar2 + 8))
              (auStack_28,piVar2,*(undefined4 *)(pwVar1 + 0x7c),0xffffffff,0,0xffffffff,pwVar1,
               &local_20,param_1);
    if (local_20 != 0) {
      wios::clear((wios *)(this + *(int *)(*(int *)this + -0xc)),
                  local_20 | *(uint *)((wios *)(this + *(int *)(*(int *)this + -0xc)) + 0x14));
      return this;
    }
  }
  return this;
}

