
/* std::wstring::assign(unsigned long, wchar_t) */

void __thiscall std::wstring::assign(wstring *this,ulong param_1,wchar_t param_2)

{
  _M_replace_aux(this,0,*(ulong *)(this + 8),param_1,param_2);
  return;
}



void FUN_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)

{
  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);
  return;
}


MOV R8D,EDX
MOV RDX,qword ptr [RDI + 0x8]
MOV RCX,RSI
XOR ESI,ESI
JMP 0x0033d250
(translation_unit "void FUN_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);\n  return;\n}" { (expression_statement "FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);" (call_expression "FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3)" identifier (argument_list "(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3)" ( identifier , number_literal , (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wstring::assign(unsigned long, wchar_t) */\n\nvoid __thiscall std::wstring::assign(wstring *this,ulong param_1,wchar_t param_2)\n\n{\n  _M_replace_aux(this,0,*(ulong *)(this + 8),param_1,param_2);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wstring::assign(wstring *this,ulong param_1,wchar_t param_2)\n\n{\n  _M_replace_aux(this,0,*(ulong *)(this + 8),param_1,param_2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "assign(wstring *this,ulong param_1,wchar_t param_2)" identifier (parameter_list "(wstring *this,ulong param_1,wchar_t param_2)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "ulong param_1" type_identifier identifier) , (parameter_declaration "wchar_t param_2" type_identifier identifier) ))) (compound_statement "{\n  _M_replace_aux(this,0,*(ulong *)(this + 8),param_1,param_2);\n  return;\n}" { (expression_statement "_M_replace_aux(this,0,*(ulong *)(this + 8),param_1,param_2);" (call_expression "_M_replace_aux(this,0,*(ulong *)(this + 8),param_1,param_2)" identifier (argument_list "(this,0,*(ulong *)(this + 8),param_1,param_2)" ( identifier , number_literal , (pointer_expression "*(ulong *)(this + 8)" * (cast_expression "(ulong *)(this + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);\n  return;\n}\n\n" (function_definition "void FUN_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);\n  return;\n}" primitive_type (function_declarator "FUN_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);\n  return;\n}" { (expression_statement "FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);" (call_expression "FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3)" identifier (argument_list "(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3)" ( identifier , number_literal , (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0033d3d0(long param_1,undefined8 param_2,undefined4 param_3)" (identifier "FUN_0033d3d0") (parameter_list "(long param_1,undefined8 param_2,undefined4 param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);\n  return;\n}" ({ "{") (expression_statement "FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);" (call_expression "FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3)" (identifier "FUN_0033d250") (argument_list "(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wstring::assign(unsigned long, wchar_t) */

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

{
  var_1(var_2,0,*(type_2 *)(var_2 + 8),param_1,param_2);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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(long param_1,undefined8 param_2,undefined4 param_3)

{
  FUN_0033d250(param_1,0,*(undefined8 *)(param_1 + 8),param_2,param_3);
  return;
}

