
/* std::wios::rdbuf(std::wstreambuf*) */

undefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(this + 0x7c);
  *(wstreambuf **)(this + 0x7c) = param_1;
  clear(this,_S_goodbit);
  return uVar1;
}



/* std::wios::rdbuf(std::wstreambuf*) */

undefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(this + 0x7c);
  *(wstreambuf **)(this + 0x7c) = param_1;
  clear(this,0);
  return uVar1;
}


lui gp,0x15
addiu gp,gp,-0x16b0
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x4450(gp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
sw gp,0x10(sp)
lw s0,0x7c(a0)
sw a1,0x7c(a0)
bal 0x002eb754
_or a1,zero,zero
or v0,s0,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "/* std::wios::rdbuf(std::wstreambuf*) */\n\nundefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,0);\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,0);\n  return uVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wios::" identifier : : identifier : :) (function_declarator "rdbuf(wios *this,wstreambuf *param_1)" identifier (parameter_list "(wios *this,wstreambuf *param_1)" ( (parameter_declaration "wios *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,0);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(this + 0x7c);" (assignment_expression "uVar1 = *(undefined4 *)(this + 0x7c)" identifier = (pointer_expression "*(undefined4 *)(this + 0x7c)" * (cast_expression "(undefined4 *)(this + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "*(wstreambuf **)(this + 0x7c) = param_1;" (assignment_expression "*(wstreambuf **)(this + 0x7c) = param_1" (pointer_expression "*(wstreambuf **)(this + 0x7c)" * (cast_expression "(wstreambuf **)(this + 0x7c)" ( (type_descriptor "wstreambuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = identifier) ;) (expression_statement "clear(this,0);" (call_expression "clear(this,0)" identifier (argument_list "(this,0)" ( identifier , number_literal ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* std::wios::rdbuf(std::wstreambuf*) */\n\nundefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,_S_goodbit);\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,_S_goodbit);\n  return uVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wios::" identifier : : identifier : :) (function_declarator "rdbuf(wios *this,wstreambuf *param_1)" identifier (parameter_list "(wios *this,wstreambuf *param_1)" ( (parameter_declaration "wios *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,_S_goodbit);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(this + 0x7c);" (assignment_expression "uVar1 = *(undefined4 *)(this + 0x7c)" identifier = (pointer_expression "*(undefined4 *)(this + 0x7c)" * (cast_expression "(undefined4 *)(this + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "*(wstreambuf **)(this + 0x7c) = param_1;" (assignment_expression "*(wstreambuf **)(this + 0x7c) = param_1" (pointer_expression "*(wstreambuf **)(this + 0x7c)" * (cast_expression "(wstreambuf **)(this + 0x7c)" ( (type_descriptor "wstreambuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = identifier) ;) (expression_statement "clear(this,_S_goodbit);" (call_expression "clear(this,_S_goodbit)" identifier (argument_list "(this,_S_goodbit)" ( identifier , identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "undefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,0);\n  return uVar1;\n}\n\n" (function_definition "undefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,0);\n  return uVar1;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wios::" identifier : : identifier : :) (function_declarator "rdbuf(wios *this,wstreambuf *param_1)" identifier (parameter_list "(wios *this,wstreambuf *param_1)" ( (parameter_declaration "wios *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,0);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(undefined4 *)(this + 0x7c);" (assignment_expression "uVar1 = *(undefined4 *)(this + 0x7c)" identifier = (pointer_expression "*(undefined4 *)(this + 0x7c)" * (cast_expression "(undefined4 *)(this + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "*(wstreambuf **)(this + 0x7c) = param_1;" (assignment_expression "*(wstreambuf **)(this + 0x7c) = param_1" (pointer_expression "*(wstreambuf **)(this + 0x7c)" * (cast_expression "(wstreambuf **)(this + 0x7c)" ( (type_descriptor "wstreambuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = identifier) ;) (expression_statement "clear(this,0);" (call_expression "clear(this,0)" identifier (argument_list "(this,0)" ( identifier , number_literal ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 __thiscall std::wios::rdbuf(wios *this,wstreambuf *param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,0);\n  return uVar1;\n}" (type_identifier "undefined4") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::wios::" (identifier "std") (: ":") (: ":") (identifier "wios") (: ":") (: ":")) (function_declarator "rdbuf(wios *this,wstreambuf *param_1)" (identifier "rdbuf") (parameter_list "(wios *this,wstreambuf *param_1)" (( "(") (parameter_declaration "wios *this" (type_identifier "wios") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "wstreambuf *param_1" (type_identifier "wstreambuf") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *(undefined4 *)(this + 0x7c);\n  *(wstreambuf **)(this + 0x7c) = param_1;\n  clear(this,0);\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(undefined4 *)(this + 0x7c);" (assignment_expression "uVar1 = *(undefined4 *)(this + 0x7c)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(this + 0x7c)" (* "*") (cast_expression "(undefined4 *)(this + 0x7c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x7c)" (( "(") (binary_expression "this + 0x7c" (identifier "this") (+ "+") (number_literal "0x7c")) () ")"))))) (; ";")) (expression_statement "*(wstreambuf **)(this + 0x7c) = param_1;" (assignment_expression "*(wstreambuf **)(this + 0x7c) = param_1" (pointer_expression "*(wstreambuf **)(this + 0x7c)" (* "*") (cast_expression "(wstreambuf **)(this + 0x7c)" (( "(") (type_descriptor "wstreambuf **" (type_identifier "wstreambuf") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 0x7c)" (( "(") (binary_expression "this + 0x7c" (identifier "this") (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "clear(this,0);" (call_expression "clear(this,0)" (identifier "clear") (argument_list "(this,0)" (( "(") (identifier "this") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) (ms_call_modifier) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement (identifier)))))

/* std::wios::MASKED(std::wstreambuf*) */

undefined4 __thiscall std::wios::MASKED(wios *this,wstreambuf *param_1)

{
  undefined4 uVar1;
  
  uVar1 = *(undefined4 *)(this + 0x7c);
  *(wstreambuf **)(this + 0x7c) = param_1;
  clear(this,0);
  return uVar1;
}

