
/* std::wstring::wstring(wchar_t const*, unsigned int, std::allocator<wchar_t> const&) */

void __thiscall
std::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)

{
  wchar_t *pwVar1;
  
  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);
  *(wchar_t **)this = pwVar1;
  return;
}



/* std::wstring::wstring(wchar_t const*, unsigned int, std::allocator<wchar_t> const&) */

void __thiscall
std::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)

{
  wchar_t *pwVar1;
  
  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);
  *(wchar_t **)this = pwVar1;
  return;
}


lui gp,0xe
addiu gp,gp,0x568
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x67a0(gp)
or v1,a3,zero
sll a2,a2,0x2
or a3,zero,zero
sw s0,0x18(sp)
or v0,a1,zero
sw ra,0x1c(sp)
addu a1,a1,a2
sw gp,0x10(sp)
sll a3,a3,0x18
or s0,a0,zero
or a2,v1,zero
bal 0x00359c0c
_or a0,v0,zero
lw ra,0x1c(sp)
sw v0,0x0(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "/* std::wstring::wstring(wchar_t const*, unsigned int, std::allocator<wchar_t> const&) */\n\nvoid __thiscall\nstd::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)\n\n{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)\n\n{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)" identifier (parameter_list "(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "allocator *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}" { (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (expression_statement "pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);" (assignment_expression "pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0)" identifier = (binary_expression "_S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0)" (binary_expression "_S_construct<wchar_t_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(param_1,param_1 + param_2 * 2,param_3,0)" ( (comma_expression "param_1,param_1 + param_2 * 2,param_3,0" identifier , (comma_expression "param_1 + param_2 * 2,param_3,0" (binary_expression "param_1 + param_2 * 2" identifier + (binary_expression "param_2 * 2" identifier * number_literal)) , (comma_expression "param_3,0" identifier , number_literal))) )))) ;) (expression_statement "*(wchar_t **)this = pwVar1;" (assignment_expression "*(wchar_t **)this = pwVar1" (pointer_expression "*(wchar_t **)this" * (cast_expression "(wchar_t **)this" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wstring::wstring(wchar_t const*, unsigned int, std::allocator<wchar_t> const&) */\n\nvoid __thiscall\nstd::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)\n\n{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}\n\n" comment (function_definition "void __thiscall\nstd::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)\n\n{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)" identifier (parameter_list "(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "allocator *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}" { (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (expression_statement "pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);" (assignment_expression "pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0)" identifier = (binary_expression "_S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0)" (binary_expression "_S_construct<wchar_t_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(param_1,param_1 + param_2 * 2,param_3,0)" ( (comma_expression "param_1,param_1 + param_2 * 2,param_3,0" identifier , (comma_expression "param_1 + param_2 * 2,param_3,0" (binary_expression "param_1 + param_2 * 2" identifier + (binary_expression "param_2 * 2" identifier * number_literal)) , (comma_expression "param_3,0" identifier , number_literal))) )))) ;) (expression_statement "*(wchar_t **)this = pwVar1;" (assignment_expression "*(wchar_t **)this = pwVar1" (pointer_expression "*(wchar_t **)this" * (cast_expression "(wchar_t **)this" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall\nstd::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)\n\n{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}\n\n" (function_definition "void __thiscall\nstd::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)\n\n{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstring::" identifier : : identifier : :) (function_declarator "wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)" identifier (parameter_list "(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)" ( (parameter_declaration "wstring *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wchar_t *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "allocator *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}" { (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (expression_statement "pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);" (assignment_expression "pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0)" identifier = (binary_expression "_S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0)" (binary_expression "_S_construct<wchar_t_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(param_1,param_1 + param_2 * 2,param_3,0)" ( (comma_expression "param_1,param_1 + param_2 * 2,param_3,0" identifier , (comma_expression "param_1 + param_2 * 2,param_3,0" (binary_expression "param_1 + param_2 * 2" identifier + (binary_expression "param_2 * 2" identifier * number_literal)) , (comma_expression "param_3,0" identifier , number_literal))) )))) ;) (expression_statement "*(wchar_t **)this = pwVar1;" (assignment_expression "*(wchar_t **)this = pwVar1" (pointer_expression "*(wchar_t **)this" * (cast_expression "(wchar_t **)this" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT < IDENT) (ERROR *) > (parenthesized_expression ( (comma_expression IDENT , (comma_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) , (comma_expression IDENT , LIT))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __thiscall\nstd::wstring::wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)\n\n{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::wstring::" (identifier "std") (: ":") (: ":") (identifier "wstring") (: ":") (: ":")) (function_declarator "wstring(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)" (identifier "wstring") (parameter_list "(wstring *this,wchar_t *param_1,uint param_2,allocator *param_3)" (( "(") (parameter_declaration "wstring *this" (type_identifier "wstring") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "wchar_t *param_1" (type_identifier "wchar_t") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "allocator *param_3" (type_identifier "allocator") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  wchar_t *pwVar1;\n  \n  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);\n  *(wchar_t **)this = pwVar1;\n  return;\n}" ({ "{") (declaration "wchar_t *pwVar1;" (type_identifier "wchar_t") (pointer_declarator "*pwVar1" (* "*") (identifier "pwVar1")) (; ";")) (expression_statement "pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);" (assignment_expression "pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0)" (identifier "pwVar1") (= "=") (binary_expression "_S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0)" (binary_expression "_S_construct<wchar_t_const" (identifier "_S_construct") (< "<") (identifier "wchar_t_const")) (ERROR "*" (* "*")) (> ">") (parenthesized_expression "(param_1,param_1 + param_2 * 2,param_3,0)" (( "(") (comma_expression "param_1,param_1 + param_2 * 2,param_3,0" (identifier "param_1") (, ",") (comma_expression "param_1 + param_2 * 2,param_3,0" (binary_expression "param_1 + param_2 * 2" (identifier "param_1") (+ "+") (binary_expression "param_2 * 2" (identifier "param_2") (* "*") (number_literal "2"))) (, ",") (comma_expression "param_3,0" (identifier "param_3") (, ",") (number_literal "0")))) () ")")))) (; ";")) (expression_statement "*(wchar_t **)this = pwVar1;" (assignment_expression "*(wchar_t **)this = pwVar1" (pointer_expression "*(wchar_t **)this" (* "*") (cast_expression "(wchar_t **)this" (( "(") (type_descriptor "wchar_t **" (type_identifier "wchar_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "this"))) (= "=") (identifier "pwVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wstring::wstring(wchar_t const*, unsigned int, std::allocator<wchar_t> const&) */

void __thiscall
std::function_1::function_1(function_1 *this,type_1 *var_3,type_2 var_4,type_3 *param_3)

{
  type_1 *pwVar1;
  
  pwVar1 = var_1<var_2*>(var_3,var_3 + var_4 * 2,param_3,0);
  *(type_1 **)this = pwVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) (ms_call_modifier) (ERROR (identifier) (identifier)) 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))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) (ERROR) right: (parenthesized_expression (comma_expression left: (identifier) right: (comma_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (comma_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (return_statement))))

/* std::MASKED::MASKED(wchar_t const*, unsigned int, std::allocator<wchar_t> const&) */

void __thiscall
std::MASKED::MASKED(MASKED *this,wchar_t *param_1,uint param_2,allocator *param_3)

{
  wchar_t *pwVar1;
  
  pwVar1 = _S_construct<wchar_t_const*>(param_1,param_1 + param_2 * 2,param_3,0);
  *(wchar_t **)this = pwVar1;
  return;
}

