
/* std::string::string() */

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

{
  *(undefined4 *)(this + 4) = 0;
  this[8] = (string)0x0;
  *(string **)this = this + 8;
  return;
}



void FUN_002bfd74(int *param_1)

{
  param_1[1] = 0;
  *(undefined1 *)(param_1 + 2) = 0;
  *param_1 = (int)(param_1 + 2);
  return;
}


addiu v0,a0,0x8
sw zero,0x4(a0)
sb zero,0x8(a0)
jr ra
_sw v0,0x0(a0)
(translation_unit "void FUN_002bfd74(int *param_1)\n\n{\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *param_1 = (int)(param_1 + 2);\n  return;\n}\n\n" (function_definition "void FUN_002bfd74(int *param_1)\n\n{\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *param_1 = (int)(param_1 + 2);\n  return;\n}" primitive_type (function_declarator "FUN_002bfd74(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *param_1 = (int)(param_1 + 2);\n  return;\n}" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::string::string() */\n\nvoid __thiscall std::string::string(string *this)\n\n{\n  *(undefined4 *)(this + 4) = 0;\n  this[8] = (string)0x0;\n  *(string **)this = this + 8;\n  return;\n}\n\n" comment (function_definition "void __thiscall std::string::string(string *this)\n\n{\n  *(undefined4 *)(this + 4) = 0;\n  this[8] = (string)0x0;\n  *(string **)this = this + 8;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::" identifier : : identifier : :) (function_declarator "string(string *this)" identifier (parameter_list "(string *this)" ( (parameter_declaration "string *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined4 *)(this + 4) = 0;\n  this[8] = (string)0x0;\n  *(string **)this = this + 8;\n  return;\n}" { (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) ;) (expression_statement "this[8] = (string)0x0;" (assignment_expression "this[8] = (string)0x0" (subscript_expression "this[8]" identifier [ number_literal ]) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) (expression_statement "*(string **)this = this + 8;" (assignment_expression "*(string **)this = this + 8" (pointer_expression "*(string **)this" * (cast_expression "(string **)this" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "this + 8" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002bfd74(int *param_1)\n\n{\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *param_1 = (int)(param_1 + 2);\n  return;\n}\n\n" (function_definition "void FUN_002bfd74(int *param_1)\n\n{\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *param_1 = (int)(param_1 + 2);\n  return;\n}" primitive_type (function_declarator "FUN_002bfd74(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *param_1 = (int)(param_1 + 2);\n  return;\n}" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" 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 { (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 (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (return_statement return ;) })))
(function_definition "void FUN_002bfd74(int *param_1)\n\n{\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *param_1 = (int)(param_1 + 2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002bfd74(int *param_1)" (identifier "FUN_002bfd74") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n  *param_1 = (int)(param_1 + 2);\n  return;\n}" ({ "{") (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")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" (* "*") (cast_expression "(undefined1 *)(param_1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::string::string() */

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

{
  *(type_1 *)(var_1 + 4) = 0;
  var_1[8] = (function_1)0x0;
  *(function_1 **)var_1 = var_1 + 8;
  return;
}


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

void MASKED(int *param_1)

{
  param_1[1] = 0;
  *(undefined1 *)(param_1 + 2) = 0;
  *param_1 = (int)(param_1 + 2);
  return;
}

