
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wstring std::TEMPNAMEPLACEHOLDERVALUE(std::wstring const&, std::wstring const&) */

wstring * std::operator+(wstring *param_1,wstring *param_2)

{
  undefined4 *in_stack_0000000c;
  
  __x86_get_pc_thunk_di();
  *(wstring **)param_1 = param_1 + 8;
  wstring::_M_construct<wchar_t*>
            (param_1,*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0);
                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */
  wstring::_M_append(param_1,(wchar_t *)*in_stack_0000000c,in_stack_0000000c[1]);
  return param_1;
}



int * FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)

{
  FUN_0004fb7e();
  *param_1 = (int)(param_1 + 2);
  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);
                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */
  FUN_00186660(param_1,*param_3,param_3[1]);
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x0004fb7e
ADD EDI,0x17a5e7
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [EBP + 0x8]
MOV EDX,dword ptr [EBP + 0xc]
LEA EAX,[ESI + 0x8]
MOV EBX,EDI
MOV dword ptr [ESI],EAX
MOV dword ptr [EBP + -0x1c],EAX
MOV EAX,dword ptr [EDX]
MOV EDX,dword ptr [EDX + 0x4]
PUSH 0x0
LEA EDX,[EAX + EDX*0x4]
PUSH EDX
PUSH EAX
PUSH ESI
CALL 0x00187920
MOV EAX,dword ptr [EBP + 0x10]
ADD ESP,0xc
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [EAX]
PUSH ESI
CALL 0x00186660
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "int * FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);\n                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */\n  FUN_00186660(param_1,*param_3,param_3[1]);\n  return param_1;\n}\n\n" (function_definition "int * FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);\n                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */\n  FUN_00186660(param_1,*param_3,param_3[1]);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)" * (function_declarator "FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);\n                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */\n  FUN_00186660(param_1,*param_3,param_3[1]);\n  return param_1;\n}" { (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( ))) ;) (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) )))) ;) (expression_statement "FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);" (call_expression "FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0)" identifier (argument_list "(param_1,*param_2,*param_2 + param_2[1] * 4,0)" ( identifier , (pointer_expression "*param_2" * identifier) , (binary_expression "*param_2 + param_2[1] * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "param_2[1] * 4" (subscript_expression "param_2[1]" identifier [ number_literal ]) * number_literal)) , number_literal ))) ;) comment (expression_statement "FUN_00186660(param_1,*param_3,param_3[1]);" (call_expression "FUN_00186660(param_1,*param_3,param_3[1])" identifier (argument_list "(param_1,*param_3,param_3[1])" ( identifier , (pointer_expression "*param_3" * identifier) , (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::wstring std::TEMPNAMEPLACEHOLDERVALUE(std::wstring const&, std::wstring const&) */\n\nwstring * std::operator+(wstring *param_1,wstring *param_2)\n\n{\n  undefined4 *in_stack_0000000c;\n  \n  __x86_get_pc_thunk_di();\n  *(wstring **)param_1 = param_1 + 8;\n  wstring::_M_construct<wchar_t*>\n            (param_1,*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0);\n                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */\n  wstring::_M_append(param_1,(wchar_t *)*in_stack_0000000c,in_stack_0000000c[1]);\n  return param_1;\n}\n\n" comment comment (ERROR "wstring * std::operator+(wstring *param_1,wstring *param_2)" (binary_expression "wstring * std::operator+(wstring *param_1,wstring *param_2)" (binary_expression "wstring * std" identifier * identifier) (ERROR "::operator" : : identifier) + (parenthesized_expression "(wstring *param_1,wstring *param_2)" ( (comma_expression "wstring *param_1,wstring *param_2" (binary_expression "wstring *param_1" identifier * identifier) , (binary_expression "wstring *param_2" identifier * identifier)) )))) (compound_statement "{\n  undefined4 *in_stack_0000000c;\n  \n  __x86_get_pc_thunk_di();\n  *(wstring **)param_1 = param_1 + 8;\n  wstring::_M_construct<wchar_t*>\n            (param_1,*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0);\n                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */\n  wstring::_M_append(param_1,(wchar_t *)*in_stack_0000000c,in_stack_0000000c[1]);\n  return param_1;\n}" { (declaration "undefined4 *in_stack_0000000c;" type_identifier (pointer_declarator "*in_stack_0000000c" * identifier) ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(wstring **)param_1 = param_1 + 8;" (assignment_expression "*(wstring **)param_1 = param_1 + 8" (pointer_expression "*(wstring **)param_1" * (cast_expression "(wstring **)param_1" ( (type_descriptor "wstring **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (labeled_statement "wstring::_M_construct<wchar_t*>\n            (param_1,*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0);" statement_identifier : (ERROR ":" :) (expression_statement "_M_construct<wchar_t*>\n            (param_1,*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0);" (binary_expression "_M_construct<wchar_t*>\n            (param_1,*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0)" (binary_expression "_M_construct<wchar_t" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(param_1,*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0)" ( (comma_expression "param_1,*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0" identifier , (comma_expression "*(int *)param_2,*(int *)param_2 + *(int *)(param_2 + 4) * 4,0" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) , (comma_expression "*(int *)param_2 + *(int *)(param_2 + 4) * 4,0" (binary_expression "*(int *)param_2 + *(int *)(param_2 + 4) * 4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (binary_expression "*(int *)(param_2 + 4) * 4" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) * number_literal)) , number_literal))) ))) ;)) comment (labeled_statement "wstring::_M_append(param_1,(wchar_t *)*in_stack_0000000c,in_stack_0000000c[1]);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append(param_1,(wchar_t *)*in_stack_0000000c,in_stack_0000000c[1]);" (call_expression "_M_append(param_1,(wchar_t *)*in_stack_0000000c,in_stack_0000000c[1])" identifier (argument_list "(param_1,(wchar_t *)*in_stack_0000000c,in_stack_0000000c[1])" ( identifier , (cast_expression "(wchar_t *)*in_stack_0000000c" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*in_stack_0000000c" * identifier)) , (subscript_expression "in_stack_0000000c[1]" identifier [ number_literal ]) ))) ;)) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "int * FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);\n                    \n  FUN_00186660(param_1,*param_3,param_3[1]);\n  return param_1;\n}\n\n" (function_definition "int * FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);\n                    \n  FUN_00186660(param_1,*param_3,param_3[1]);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)" * (function_declarator "FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);\n                    \n  FUN_00186660(param_1,*param_3,param_3[1]);\n  return param_1;\n}" { (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( ))) ;) (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) )))) ;) (expression_statement "FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);" (call_expression "FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0)" identifier (argument_list "(param_1,*param_2,*param_2 + param_2[1] * 4,0)" ( identifier , (pointer_expression "*param_2" * identifier) , (binary_expression "*param_2 + param_2[1] * 4" (pointer_expression "*param_2" * identifier) + (binary_expression "param_2[1] * 4" (subscript_expression "param_2[1]" identifier [ number_literal ]) * number_literal)) , number_literal ))) ;) (expression_statement "FUN_00186660(param_1,*param_3,param_3[1]);" (call_expression "FUN_00186660(param_1,*param_3,param_3[1])" identifier (argument_list "(param_1,*param_3,param_3[1])" ( identifier , (pointer_expression "*param_3" * identifier) , (subscript_expression "param_3[1]" identifier [ number_literal ]) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (binary_expression (pointer_expression * IDENT) + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);\n                    \n  FUN_00186660(param_1,*param_3,param_3[1]);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)" (* "*") (function_declarator "FUN_00187a10(int *param_1,int *param_2,undefined4 *param_3)" (identifier "FUN_00187a10") (parameter_list "(int *param_1,int *param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);\n                    \n  FUN_00186660(param_1,*param_3,param_3[1]);\n  return param_1;\n}" ({ "{") (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" (identifier "FUN_0004fb7e") (argument_list "()" (( "(") () ")"))) (; ";")) (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")) () ")")))) (; ";")) (expression_statement "FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);" (call_expression "FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0)" (identifier "FUN_00187920") (argument_list "(param_1,*param_2,*param_2 + param_2[1] * 4,0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (binary_expression "*param_2 + param_2[1] * 4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (binary_expression "param_2[1] * 4" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (* "*") (number_literal "4"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_00186660(param_1,*param_3,param_3[1]);" (call_expression "FUN_00186660(param_1,*param_3,param_3[1])" (identifier "FUN_00186660") (argument_list "(param_1,*param_3,param_3[1])" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) (, ",") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::wstring std::TEMPNAMEPLACEHOLDERVALUE(std::wstring const&, std::wstring const&) */

type_2 * std::operator+(type_2 *var_2,type_2 *var_5)

{
  type_1 *in_stack_0000000c;
  
  var_1();
  *(type_2 **)var_2 = var_2 + 8;
  wstring::var_3<var_4*>
            (var_2,*(int *)var_5,*(int *)var_5 + *(int *)(var_5 + 4) * 4,0);
                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */
  wstring::var_6(var_2,(var_4 *)*in_stack_0000000c,in_stack_0000000c[1]);
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal))))) (return_statement (identifier)))))

int * MASKED(int *param_1,int *param_2,undefined4 *param_3)

{
  FUN_0004fb7e();
  *param_1 = (int)(param_1 + 2);
  FUN_00187920(param_1,*param_2,*param_2 + param_2[1] * 4,0);
                    /* try { // try from 00187a52 to 00187a56 has its CatchHandler @ 00187a66 */
  FUN_00186660(param_1,*param_3,param_3[1]);
  return param_1;
}

