
/* std::string::assign(char const*, unsigned int) */

void __thiscall std::string::assign(string *this,char *param_1,uint param_2)

{
  _M_replace(this,0,*(uint *)(this + 4),param_1,param_2);
  return;
}



void FUN_0033c244(string *param_1,char *param_2,uint param_3)

{
  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);
  return;
}


lui gp,0x19
addiu gp,gp,-0x3004
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x71a0(gp)
or a3,a1,zero
or a1,zero,zero
sw ra,0x24(sp)
sw gp,0x18(sp)
lw v0,0x4(a0)
sw a2,0x10(sp)
bal 0x0033bed4
_or a2,v0,zero
lw ra,0x24(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_0033c244(string *param_1,char *param_2,uint param_3)\n\n{\n  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_0033c244(string *param_1,char *param_2,uint param_3)\n\n{\n  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0033c244(string *param_1,char *param_2,uint param_3)" identifier (parameter_list "(string *param_1,char *param_2,uint param_3)" ( (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);\n  return;\n}" { (labeled_statement "std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" (call_expression "_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3)" identifier (argument_list "(param_1,0,*(uint *)(param_1 + 4),param_2,param_3)" ( identifier , number_literal , (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) )))) , identifier , identifier ))) ;))) (return_statement "return;" return ;) })))
(translation_unit "/* std::string::assign(char const*, unsigned int) */\n\nvoid __thiscall std::string::assign(string *this,char *param_1,uint param_2)\n\n{\n  _M_replace(this,0,*(uint *)(this + 4),param_1,param_2);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::string::assign(string *this,char *param_1,uint param_2)\n\n{\n  _M_replace(this,0,*(uint *)(this + 4),param_1,param_2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::" identifier : : identifier : :) (function_declarator "assign(string *this,char *param_1,uint param_2)" identifier (parameter_list "(string *this,char *param_1,uint param_2)" ( (parameter_declaration "string *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  _M_replace(this,0,*(uint *)(this + 4),param_1,param_2);\n  return;\n}" { (expression_statement "_M_replace(this,0,*(uint *)(this + 4),param_1,param_2);" (call_expression "_M_replace(this,0,*(uint *)(this + 4),param_1,param_2)" identifier (argument_list "(this,0,*(uint *)(this + 4),param_1,param_2)" ( identifier , number_literal , (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0033c244(string *param_1,char *param_2,uint param_3)\n\n{\n  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_0033c244(string *param_1,char *param_2,uint param_3)\n\n{\n  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0033c244(string *param_1,char *param_2,uint param_3)" identifier (parameter_list "(string *param_1,char *param_2,uint param_3)" ( (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);\n  return;\n}" { (labeled_statement "std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" (call_expression "_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3)" identifier (argument_list "(param_1,0,*(uint *)(param_1 + 4),param_2,param_3)" ( identifier , number_literal , (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) )))) , identifier , identifier ))) ;))) (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)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;))) (return_statement return ;) })))
(function_definition "void FUN_0033c244(string *param_1,char *param_2,uint param_3)\n\n{\n  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0033c244(string *param_1,char *param_2,uint param_3)" (identifier "FUN_0033c244") (parameter_list "(string *param_1,char *param_2,uint param_3)" (( "(") (parameter_declaration "string *param_1" (type_identifier "string") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);\n  return;\n}" ({ "{") (labeled_statement "std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" (statement_identifier "string") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);" (call_expression "_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3)" (identifier "_M_replace") (argument_list "(param_1,0,*(uint *)(param_1 + 4),param_2,param_3)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::string::assign(char const*, unsigned int) */

void __thiscall std::type_1::function_1(type_1 *var_2,char *param_1,type_2 param_2)

{
  var_1(var_2,0,*(type_2 *)(var_2 + 4),param_1,param_2);
  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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) 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) (number_literal) (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))))) (identifier) (identifier)))))) (return_statement))))

void MASKED(string *param_1,char *param_2,uint param_3)

{
  std::string::_M_replace(param_1,0,*(uint *)(param_1 + 4),param_2,param_3);
  return;
}

