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

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

{
  *(undefined4 *)(this + 4) = 0;
  **(undefined1 **)this = 0;
  return;
}



void FUN_002c0370(undefined4 *param_1)

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


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

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

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

{
  *(type_2 *)(var_1 + 4) = 0;
  **(type_3 **)var_1 = 0;
  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 (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: (pointer_expression argument: (identifier)))) right: (number_literal))) (return_statement))))

void MASKED(undefined4 *param_1)

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

