
/* std::wostream::~wostream() */

void __thiscall std::wostream::~wostream(wostream *this)

{
  undefined *UNRECOVERED_JUMPTABLE;
  
  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;
  *(undefined **)this = PTR_vtable_004c520c + 0xc;
                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  *(undefined **)(this + 4) = PTR_vtable_004c5224 + 8;
  (*(code *)UNRECOVERED_JUMPTABLE)(this + 4);
  return;
}



void FUN_00340458(undefined4 *param_1)

{
  undefined *UNRECOVERED_JUMPTABLE;
  
  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;
  *param_1 = PTR_vtable_004c520c + 0xc;
                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  param_1[1] = PTR_vtable_004c5224 + 8;
  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);
  return;
}


lui gp,0x19
addiu gp,gp,-0x7218
addu gp,gp,t9
lw v1,-0x4034(gp)
or v0,a0,zero
lw t9,-0x6f4c(gp)
addiu a0,a0,0x4
addiu v1,v1,0xc
sw v1,0x0(v0)
lw v1,-0x401c(gp)
addiu v1,v1,0x8
jr t9
_sw v1,0x4(v0)
(translation_unit "void FUN_00340458(undefined4 *param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *param_1 = PTR_vtable_004c520c + 0xc;\n                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  param_1[1] = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);\n  return;\n}\n\n" (function_definition "void FUN_00340458(undefined4 *param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *param_1 = PTR_vtable_004c520c + 0xc;\n                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  param_1[1] = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);\n  return;\n}" primitive_type (function_declarator "FUN_00340458(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 *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *param_1 = PTR_vtable_004c520c + 0xc;\n                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  param_1[1] = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);\n  return;\n}" { (declaration "undefined *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;" (assignment_expression "UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4" identifier = identifier) ;) (expression_statement "*param_1 = PTR_vtable_004c520c + 0xc;" (assignment_expression "*param_1 = PTR_vtable_004c520c + 0xc" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_004c520c + 0xc" identifier + number_literal)) ;) comment comment (expression_statement "param_1[1] = PTR_vtable_004c5224 + 8;" (assignment_expression "param_1[1] = PTR_vtable_004c5224 + 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "PTR_vtable_004c5224 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);" (call_expression "(*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1)" (parenthesized_expression "(*(code *)UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*(code *)UNRECOVERED_JUMPTABLE" * (cast_expression "(code *)UNRECOVERED_JUMPTABLE" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wostream::~wostream() */\n\nvoid __thiscall std::wostream::~wostream(wostream *this)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *(undefined **)this = PTR_vtable_004c520c + 0xc;\n                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  *(undefined **)(this + 4) = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(this + 4);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wostream::~wostream(wostream *this)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *(undefined **)this = PTR_vtable_004c520c + 0xc;\n                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  *(undefined **)(this + 4) = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(this + 4);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wostream::~" identifier : : identifier : : ~) (function_declarator "wostream(wostream *this)" identifier (parameter_list "(wostream *this)" ( (parameter_declaration "wostream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *(undefined **)this = PTR_vtable_004c520c + 0xc;\n                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  *(undefined **)(this + 4) = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(this + 4);\n  return;\n}" { (declaration "undefined *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;" (assignment_expression "UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4" identifier = identifier) ;) (expression_statement "*(undefined **)this = PTR_vtable_004c520c + 0xc;" (assignment_expression "*(undefined **)this = PTR_vtable_004c520c + 0xc" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "PTR_vtable_004c520c + 0xc" identifier + number_literal)) ;) comment comment (expression_statement "*(undefined **)(this + 4) = PTR_vtable_004c5224 + 8;" (assignment_expression "*(undefined **)(this + 4) = PTR_vtable_004c5224 + 8" (pointer_expression "*(undefined **)(this + 4)" * (cast_expression "(undefined **)(this + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (binary_expression "PTR_vtable_004c5224 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)UNRECOVERED_JUMPTABLE)(this + 4);" (call_expression "(*(code *)UNRECOVERED_JUMPTABLE)(this + 4)" (parenthesized_expression "(*(code *)UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*(code *)UNRECOVERED_JUMPTABLE" * (cast_expression "(code *)UNRECOVERED_JUMPTABLE" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00340458(undefined4 *param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *param_1 = PTR_vtable_004c520c + 0xc;\n                    \n                    \n  param_1[1] = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);\n  return;\n}\n\n" (function_definition "void FUN_00340458(undefined4 *param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *param_1 = PTR_vtable_004c520c + 0xc;\n                    \n                    \n  param_1[1] = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);\n  return;\n}" primitive_type (function_declarator "FUN_00340458(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 *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *param_1 = PTR_vtable_004c520c + 0xc;\n                    \n                    \n  param_1[1] = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);\n  return;\n}" { (declaration "undefined *UNRECOVERED_JUMPTABLE;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;" (assignment_expression "UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4" identifier = identifier) ;) (expression_statement "*param_1 = PTR_vtable_004c520c + 0xc;" (assignment_expression "*param_1 = PTR_vtable_004c520c + 0xc" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_004c520c + 0xc" identifier + number_literal)) ;) (expression_statement "param_1[1] = PTR_vtable_004c5224 + 8;" (assignment_expression "param_1[1] = PTR_vtable_004c5224 + 8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (binary_expression "PTR_vtable_004c5224 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);" (call_expression "(*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1)" (parenthesized_expression "(*(code *)UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*(code *)UNRECOVERED_JUMPTABLE" * (cast_expression "(code *)UNRECOVERED_JUMPTABLE" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + 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 (assignment_expression IDENT = IDENT) ;) (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00340458(undefined4 *param_1)\n\n{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *param_1 = PTR_vtable_004c520c + 0xc;\n                    \n                    \n  param_1[1] = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00340458(undefined4 *param_1)" (identifier "FUN_00340458") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;\n  *param_1 = PTR_vtable_004c520c + 0xc;\n                    \n                    \n  param_1[1] = PTR_vtable_004c5224 + 8;\n  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);\n  return;\n}" ({ "{") (declaration "undefined *UNRECOVERED_JUMPTABLE;" (type_identifier "undefined") (pointer_declarator "*UNRECOVERED_JUMPTABLE" (* "*") (identifier "UNRECOVERED_JUMPTABLE")) (; ";")) (expression_statement "UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;" (assignment_expression "UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4" (identifier "UNRECOVERED_JUMPTABLE") (= "=") (identifier "PTR__ios_base_004c22f4")) (; ";")) (expression_statement "*param_1 = PTR_vtable_004c520c + 0xc;" (assignment_expression "*param_1 = PTR_vtable_004c520c + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "PTR_vtable_004c520c + 0xc" (identifier "PTR_vtable_004c520c") (+ "+") (number_literal "0xc"))) (; ";")) (expression_statement "param_1[1] = PTR_vtable_004c5224 + 8;" (assignment_expression "param_1[1] = PTR_vtable_004c5224 + 8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "PTR_vtable_004c5224 + 8" (identifier "PTR_vtable_004c5224") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "(*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);" (call_expression "(*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1)" (parenthesized_expression "(*(code *)UNRECOVERED_JUMPTABLE)" (( "(") (pointer_expression "*(code *)UNRECOVERED_JUMPTABLE" (* "*") (cast_expression "(code *)UNRECOVERED_JUMPTABLE" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "UNRECOVERED_JUMPTABLE"))) () ")")) (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wostream::~wostream() */

void __thiscall std::function_1::~function_1(function_1 *var_2)

{
  type_1 *UNRECOVERED_JUMPTABLE;
  
  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;
  *(type_1 **)var_2 = var_1 + 0xc;
                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  *(type_1 **)(var_2 + 4) = var_3 + 8;
  (*(type_2 *)UNRECOVERED_JUMPTABLE)(var_2 + 4);
  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 (assignment_expression left: (identifier) right: (identifier))) (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 (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 (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  undefined *UNRECOVERED_JUMPTABLE;
  
  UNRECOVERED_JUMPTABLE = PTR__ios_base_004c22f4;
  *param_1 = PTR_vtable_004c520c + 0xc;
                    /* WARNING: Could not recover jumptable at 0x00340484. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  param_1[1] = PTR_vtable_004c5224 + 8;
  (*(code *)UNRECOVERED_JUMPTABLE)(param_1 + 1);
  return;
}

