
/* std::istream::istream() */

void __thiscall std::istream::istream(istream *this)

{
  undefined *puVar1;
  
  (*(code *)PTR_ios_base_00433034)((ios *)(this + 8));
  *(undefined4 *)(this + 0x78) = 0;
  *(undefined2 *)(this + 0x7c) = 0;
  *(undefined4 *)(this + 0x80) = 0;
  puVar1 = PTR_vtable_00435de8;
  *(undefined4 *)(this + 0x84) = 0;
  *(undefined4 *)(this + 0x88) = 0;
  *(undefined4 *)(this + 0x8c) = 0;
  *(undefined **)this = puVar1 + 0xc;
  *(undefined **)(this + 8) = puVar1 + 0x20;
                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */
  *(undefined4 *)(this + 4) = 0;
  ios::init((ios *)(this + 8),(streambuf *)0x0);
  return;
}



void FUN_002e12f4(undefined4 *param_1)

{
  undefined *puVar1;
  
  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));
  param_1[0x1e] = 0;
  *(undefined2 *)(param_1 + 0x1f) = 0;
  param_1[0x20] = 0;
  puVar1 = PTR_vtable_00435de8;
  param_1[0x21] = 0;
  param_1[0x22] = 0;
  param_1[0x23] = 0;
  *param_1 = puVar1 + 0xc;
  param_1[2] = puVar1 + 0x20;
                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */
  param_1[1] = 0;
  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);
  return;
}


lui gp,0x16
addiu gp,gp,-0x7124
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x719c(gp)
sw s1,0x1c(sp)
addiu s1,a0,0x8
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a0,zero
or a0,s1,zero
sw ra,0x24(sp)
jalr t9
_sw s2,0x20(sp)
or a1,zero,zero
lw gp,0x10(sp)
or a0,s1,zero
sw zero,0x78(s0)
sh zero,0x7c(s0)
sw zero,0x80(s0)
lw v0,-0x43e8(gp)
lw t9,-0x7194(gp)
sw zero,0x84(s0)
addiu v1,v0,0xc
sw zero,0x88(s0)
addiu v0,v0,0x20
sw zero,0x8c(s0)
sw v1,0x0(s0)
sw v0,0x8(s0)
bal 0x002eb490
_sw zero,0x4(s0)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_002e12f4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  puVar1 = PTR_vtable_00435de8;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = puVar1 + 0xc;\n  param_1[2] = puVar1 + 0x20;\n                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */\n  param_1[1] = 0;\n  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);\n  return;\n}\n\n" (function_definition "void FUN_002e12f4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  puVar1 = PTR_vtable_00435de8;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = puVar1 + 0xc;\n  param_1[2] = puVar1 + 0x20;\n                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */\n  param_1[1] = 0;\n  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);\n  return;\n}" primitive_type (function_declarator "FUN_002e12f4(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  puVar1 = PTR_vtable_00435de8;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = puVar1 + 0xc;\n  param_1[2] = puVar1 + 0x20;\n                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */\n  param_1[1] = 0;\n  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "(*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));" (call_expression "(*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2))" (parenthesized_expression "(*(code *)PTR_ios_base_00433034)" ( (pointer_expression "*(code *)PTR_ios_base_00433034" * (cast_expression "(code *)PTR_ios_base_00433034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((ios *)(param_1 + 2))" ( (cast_expression "(ios *)(param_1 + 2)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ))) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1f)" * (cast_expression "(undefined2 *)(param_1 + 0x1f)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = PTR_vtable_00435de8;" (assignment_expression "puVar1 = PTR_vtable_00435de8" identifier = identifier) ;) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = puVar1 + 0xc;" (assignment_expression "*param_1 = puVar1 + 0xc" (pointer_expression "*param_1" * identifier) = (binary_expression "puVar1 + 0xc" identifier + number_literal)) ;) (expression_statement "param_1[2] = puVar1 + 0x20;" (assignment_expression "param_1[2] = puVar1 + 0x20" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "puVar1 + 0x20" identifier + number_literal)) ;) comment (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "ios::init((ios *)(param_1 + 2),(streambuf *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "init((ios *)(param_1 + 2),(streambuf *)0x0);" (call_expression "init((ios *)(param_1 + 2),(streambuf *)0x0)" identifier (argument_list "((ios *)(param_1 + 2),(streambuf *)0x0)" ( (cast_expression "(ios *)(param_1 + 2)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) , (cast_expression "(streambuf *)0x0" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;))) (return_statement "return;" return ;) })))
(translation_unit "/* std::istream::istream() */\n\nvoid __thiscall std::istream::istream(istream *this)\n\n{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(this + 8));\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined2 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  puVar1 = PTR_vtable_00435de8;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(undefined **)this = puVar1 + 0xc;\n  *(undefined **)(this + 8) = puVar1 + 0x20;\n                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */\n  *(undefined4 *)(this + 4) = 0;\n  ios::init((ios *)(this + 8),(streambuf *)0x0);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::istream::istream(istream *this)\n\n{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(this + 8));\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined2 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  puVar1 = PTR_vtable_00435de8;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(undefined **)this = puVar1 + 0xc;\n  *(undefined **)(this + 8) = puVar1 + 0x20;\n                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */\n  *(undefined4 *)(this + 4) = 0;\n  ios::init((ios *)(this + 8),(streambuf *)0x0);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::istream::" identifier : : identifier : :) (function_declarator "istream(istream *this)" identifier (parameter_list "(istream *this)" ( (parameter_declaration "istream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(this + 8));\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined2 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  puVar1 = PTR_vtable_00435de8;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(undefined **)this = puVar1 + 0xc;\n  *(undefined **)(this + 8) = puVar1 + 0x20;\n                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */\n  *(undefined4 *)(this + 4) = 0;\n  ios::init((ios *)(this + 8),(streambuf *)0x0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "(*(code *)PTR_ios_base_00433034)((ios *)(this + 8));" (call_expression "(*(code *)PTR_ios_base_00433034)((ios *)(this + 8))" (parenthesized_expression "(*(code *)PTR_ios_base_00433034)" ( (pointer_expression "*(code *)PTR_ios_base_00433034" * (cast_expression "(code *)PTR_ios_base_00433034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((ios *)(this + 8))" ( (cast_expression "(ios *)(this + 8)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) ))) ;) (expression_statement "*(undefined4 *)(this + 0x78) = 0;" (assignment_expression "*(undefined4 *)(this + 0x78) = 0" (pointer_expression "*(undefined4 *)(this + 0x78)" * (cast_expression "(undefined4 *)(this + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(this + 0x7c) = 0;" (assignment_expression "*(undefined2 *)(this + 0x7c) = 0" (pointer_expression "*(undefined2 *)(this + 0x7c)" * (cast_expression "(undefined2 *)(this + 0x7c)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x80) = 0;" (assignment_expression "*(undefined4 *)(this + 0x80) = 0" (pointer_expression "*(undefined4 *)(this + 0x80)" * (cast_expression "(undefined4 *)(this + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1 = PTR_vtable_00435de8;" (assignment_expression "puVar1 = PTR_vtable_00435de8" identifier = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x84) = 0;" (assignment_expression "*(undefined4 *)(this + 0x84) = 0" (pointer_expression "*(undefined4 *)(this + 0x84)" * (cast_expression "(undefined4 *)(this + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x88) = 0;" (assignment_expression "*(undefined4 *)(this + 0x88) = 0" (pointer_expression "*(undefined4 *)(this + 0x88)" * (cast_expression "(undefined4 *)(this + 0x88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x88)" ( (binary_expression "this + 0x88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x8c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x8c) = 0" (pointer_expression "*(undefined4 *)(this + 0x8c)" * (cast_expression "(undefined4 *)(this + 0x8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x8c)" ( (binary_expression "this + 0x8c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)this = puVar1 + 0xc;" (assignment_expression "*(undefined **)this = puVar1 + 0xc" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "puVar1 + 0xc" identifier + number_literal)) ;) (expression_statement "*(undefined **)(this + 8) = puVar1 + 0x20;" (assignment_expression "*(undefined **)(this + 8) = puVar1 + 0x20" (pointer_expression "*(undefined **)(this + 8)" * (cast_expression "(undefined **)(this + 8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "puVar1 + 0x20" identifier + number_literal)) ;) comment (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "ios::init((ios *)(this + 8),(streambuf *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "init((ios *)(this + 8),(streambuf *)0x0);" (call_expression "init((ios *)(this + 8),(streambuf *)0x0)" identifier (argument_list "((ios *)(this + 8),(streambuf *)0x0)" ( (cast_expression "(ios *)(this + 8)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) , (cast_expression "(streambuf *)0x0" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002e12f4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  puVar1 = PTR_vtable_00435de8;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = puVar1 + 0xc;\n  param_1[2] = puVar1 + 0x20;\n                    \n  param_1[1] = 0;\n  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);\n  return;\n}\n\n" (function_definition "void FUN_002e12f4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  puVar1 = PTR_vtable_00435de8;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = puVar1 + 0xc;\n  param_1[2] = puVar1 + 0x20;\n                    \n  param_1[1] = 0;\n  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);\n  return;\n}" primitive_type (function_declarator "FUN_002e12f4(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  puVar1 = PTR_vtable_00435de8;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = puVar1 + 0xc;\n  param_1[2] = puVar1 + 0x20;\n                    \n  param_1[1] = 0;\n  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "(*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));" (call_expression "(*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2))" (parenthesized_expression "(*(code *)PTR_ios_base_00433034)" ( (pointer_expression "*(code *)PTR_ios_base_00433034" * (cast_expression "(code *)PTR_ios_base_00433034" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((ios *)(param_1 + 2))" ( (cast_expression "(ios *)(param_1 + 2)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ))) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1f)" * (cast_expression "(undefined2 *)(param_1 + 0x1f)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = PTR_vtable_00435de8;" (assignment_expression "puVar1 = PTR_vtable_00435de8" identifier = identifier) ;) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = puVar1 + 0xc;" (assignment_expression "*param_1 = puVar1 + 0xc" (pointer_expression "*param_1" * identifier) = (binary_expression "puVar1 + 0xc" identifier + number_literal)) ;) (expression_statement "param_1[2] = puVar1 + 0x20;" (assignment_expression "param_1[2] = puVar1 + 0x20" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "puVar1 + 0x20" identifier + number_literal)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "ios::init((ios *)(param_1 + 2),(streambuf *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "init((ios *)(param_1 + 2),(streambuf *)0x0);" (call_expression "init((ios *)(param_1 + 2),(streambuf *)0x0)" identifier (argument_list "((ios *)(param_1 + 2),(streambuf *)0x0)" ( (cast_expression "(ios *)(param_1 + 2)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) , (cast_expression "(streambuf *)0x0" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (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 + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ))) ;))) (return_statement return ;) })))
(function_definition "void FUN_002e12f4(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  puVar1 = PTR_vtable_00435de8;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = puVar1 + 0xc;\n  param_1[2] = puVar1 + 0x20;\n                    \n  param_1[1] = 0;\n  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002e12f4(undefined4 *param_1)" (identifier "FUN_002e12f4") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  puVar1 = PTR_vtable_00435de8;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = puVar1 + 0xc;\n  param_1[2] = puVar1 + 0x20;\n                    \n  param_1[1] = 0;\n  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "(*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));" (call_expression "(*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2))" (parenthesized_expression "(*(code *)PTR_ios_base_00433034)" (( "(") (pointer_expression "*(code *)PTR_ios_base_00433034" (* "*") (cast_expression "(code *)PTR_ios_base_00433034" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ios_base_00433034"))) () ")")) (argument_list "((ios *)(param_1 + 2))" (( "(") (cast_expression "(ios *)(param_1 + 2)" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) () ")"))) (; ";")) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1f)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x1f)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1f)" (( "(") (binary_expression "param_1 + 0x1f" (identifier "param_1") (+ "+") (number_literal "0x1f")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = PTR_vtable_00435de8;" (assignment_expression "puVar1 = PTR_vtable_00435de8" (identifier "puVar1") (= "=") (identifier "PTR_vtable_00435de8")) (; ";")) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = puVar1 + 0xc;" (assignment_expression "*param_1 = puVar1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "puVar1 + 0xc" (identifier "puVar1") (+ "+") (number_literal "0xc"))) (; ";")) (expression_statement "param_1[2] = puVar1 + 0x20;" (assignment_expression "param_1[2] = puVar1 + 0x20" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "puVar1 + 0x20" (identifier "puVar1") (+ "+") (number_literal "0x20"))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (labeled_statement "std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "ios::init((ios *)(param_1 + 2),(streambuf *)0x0);" (statement_identifier "ios") (: ":") (ERROR ":" (: ":")) (expression_statement "init((ios *)(param_1 + 2),(streambuf *)0x0);" (call_expression "init((ios *)(param_1 + 2),(streambuf *)0x0)" (identifier "init") (argument_list "((ios *)(param_1 + 2),(streambuf *)0x0)" (( "(") (cast_expression "(ios *)(param_1 + 2)" (( "(") (type_descriptor "ios *" (type_identifier "ios") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) (, ",") (cast_expression "(streambuf *)0x0" (( "(") (type_descriptor "streambuf *" (type_identifier "streambuf") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")"))) (; ";")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::istream::istream() */

void __thiscall std::function_1::function_1(function_1 *var_1)

{
  type_1 *var_2;
  
  (*(type_2 *)PTR_ios_base_00433034)((type_3 *)(var_1 + 8));
  *(type_4 *)(var_1 + 0x78) = 0;
  *(type_5 *)(var_1 + 0x7c) = 0;
  *(type_4 *)(var_1 + 0x80) = 0;
  var_2 = PTR_vtable_00435de8;
  *(type_4 *)(var_1 + 0x84) = 0;
  *(type_4 *)(var_1 + 0x88) = 0;
  *(type_4 *)(var_1 + 0x8c) = 0;
  *(type_1 **)var_1 = var_2 + 0xc;
  *(type_1 **)(var_1 + 8) = var_2 + 0x20;
                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */
  *(type_4 *)(var_1 + 4) = 0;
  ios::var_3((type_3 *)(var_1 + 8),(type_6 *)0x0);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (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 (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: (subscript_expression argument: (identifier) index: (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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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: (number_literal)))) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  
  (*(code *)PTR_ios_base_00433034)((ios *)(param_1 + 2));
  param_1[0x1e] = 0;
  *(undefined2 *)(param_1 + 0x1f) = 0;
  param_1[0x20] = 0;
  puVar1 = PTR_vtable_00435de8;
  param_1[0x21] = 0;
  param_1[0x22] = 0;
  param_1[0x23] = 0;
  *param_1 = puVar1 + 0xc;
  param_1[2] = puVar1 + 0x20;
                    /* try { // try from 002e1368 to 002e136f has its CatchHandler @ 002e1388 */
  param_1[1] = 0;
  std::ios::init((ios *)(param_1 + 2),(streambuf *)0x0);
  return;
}

