
/* std::wstring::append(std::wstring const&) */

void __thiscall std::wstring::append(wstring *this,wstring *param_1)

{
  _M_append(this,*(wchar_t **)param_1,*(uint *)(param_1 + 4));
  return;
}



void FUN_00338728(wstring *param_1,undefined4 *param_2)

{
  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);
  return;
}


lui gp,0x19
addiu gp,gp,0xb18
addu gp,gp,t9
lw a2,0x4(a1)
lw t9,-0x6148(gp)
b 0x00338614
_lw a1,0x0(a1)
(translation_unit "void FUN_00338728(wstring *param_1,undefined4 *param_2)\n\n{\n  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);\n  return;\n}\n\n" (function_definition "void FUN_00338728(wstring *param_1,undefined4 *param_2)\n\n{\n  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);\n  return;\n}" primitive_type (function_declarator "FUN_00338728(wstring *param_1,undefined4 *param_2)" identifier (parameter_list "(wstring *param_1,undefined4 *param_2)" ( (parameter_declaration "wstring *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);\n  return;\n}" { (labeled_statement "std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" (call_expression "_M_append(param_1,(wchar_t *)*param_2,param_2[1])" identifier (argument_list "(param_1,(wchar_t *)*param_2,param_2[1])" ( identifier , (cast_expression "(wchar_t *)*param_2" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) , (subscript_expression "param_2[1]" identifier [ number_literal ]) ))) ;))) (return_statement "return;" return ;) })))
(translation_unit "/* std::wstring::append(std::wstring const&) */\n\nvoid __thiscall std::wstring::append(wstring *this,wstring *param_1)\n\n{\n  _M_append(this,*(wchar_t **)param_1,*(uint *)(param_1 + 4));\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wstring::append(wstring *this,wstring *param_1)\n\n{\n  _M_append(this,*(wchar_t **)param_1,*(uint *)(param_1 + 4));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "append(wstring *this,wstring *param_1)" identifier (parameter_list "(wstring *this,wstring *param_1)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstring *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  _M_append(this,*(wchar_t **)param_1,*(uint *)(param_1 + 4));\n  return;\n}" { (expression_statement "_M_append(this,*(wchar_t **)param_1,*(uint *)(param_1 + 4));" (call_expression "_M_append(this,*(wchar_t **)param_1,*(uint *)(param_1 + 4))" identifier (argument_list "(this,*(wchar_t **)param_1,*(uint *)(param_1 + 4))" ( identifier , (pointer_expression "*(wchar_t **)param_1" * (cast_expression "(wchar_t **)param_1" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00338728(wstring *param_1,undefined4 *param_2)\n\n{\n  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);\n  return;\n}\n\n" (function_definition "void FUN_00338728(wstring *param_1,undefined4 *param_2)\n\n{\n  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);\n  return;\n}" primitive_type (function_declarator "FUN_00338728(wstring *param_1,undefined4 *param_2)" identifier (parameter_list "(wstring *param_1,undefined4 *param_2)" ( (parameter_declaration "wstring *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);\n  return;\n}" { (labeled_statement "std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" (call_expression "_M_append(param_1,(wchar_t *)*param_2,param_2[1])" identifier (argument_list "(param_1,(wchar_t *)*param_2,param_2[1])" ( identifier , (cast_expression "(wchar_t *)*param_2" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) , (subscript_expression "param_2[1]" identifier [ number_literal ]) ))) ;))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , (subscript_expression IDENT [ LIT ]) ))) ;))) (return_statement return ;) })))
(function_definition "void FUN_00338728(wstring *param_1,undefined4 *param_2)\n\n{\n  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00338728(wstring *param_1,undefined4 *param_2)" (identifier "FUN_00338728") (parameter_list "(wstring *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "wstring *param_1" (type_identifier "wstring") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);\n  return;\n}" ({ "{") (labeled_statement "std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" (statement_identifier "wstring") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_append(param_1,(wchar_t *)*param_2,param_2[1]);" (call_expression "_M_append(param_1,(wchar_t *)*param_2,param_2[1])" (identifier "_M_append") (argument_list "(param_1,(wchar_t *)*param_2,param_2[1])" (( "(") (identifier "param_1") (, ",") (cast_expression "(wchar_t *)*param_2" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")))) (return_statement "return;" (return "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))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) (subscript_expression argument: (identifier) index: (number_literal))))))) (return_statement))))

void MASKED(wstring *param_1,undefined4 *param_2)

{
  std::wstring::_M_append(param_1,(wchar_t *)*param_2,param_2[1]);
  return;
}

