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

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

{
  int unaff_EDI;
  wstring *in_stack_0000000c;
  
  __x86_get_pc_thunk_di();
  *(int *)param_1 = unaff_EDI + 0x105e03;
                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */
  wstring::reserve((wstring *)param_1,*(int *)(*(int *)in_stack_0000000c + -0xc) + 1);
  wstring::append((wstring *)param_1,1,(wchar_t)param_2);
  wstring::append((wstring *)param_1,in_stack_0000000c);
  return param_1;
}



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

{
  int unaff_EDI;
  
  FUN_0004fb7e();
  *param_1 = &UNK_00105e03 + unaff_EDI;
                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */
  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);
  FUN_00204c90(param_1,1,param_2);
  FUN_002048d0(param_1,param_3);
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x0004fb7e
ADD EDI,0xfce97
PUSH ESI
PUSH EBX
SUB ESP,0x34
MOV ESI,dword ptr [EBP + 0x8]
LEA EAX,[EDI + 0x8f60]
MOV EBX,EDI
MOV dword ptr [EBP + -0x2c],EAX
ADD EAX,0xc
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBP + 0x10]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + -0xc]
ADD EAX,0x1
PUSH EAX
PUSH ESI
CALL 0x002047b0
ADD ESP,0xc
PUSH dword ptr [EBP + 0xc]
PUSH 0x1
PUSH ESI
CALL 0x00204c90
POP EAX
POP EDX
PUSH dword ptr [EBP + 0x10]
PUSH ESI
CALL 0x002048d0
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "undefined4 * FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  *param_1 = &UNK_00105e03 + unaff_EDI;\n                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */\n  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);\n  FUN_00204c90(param_1,1,param_2);\n  FUN_002048d0(param_1,param_3);\n  return param_1;\n}\n\n" (function_definition "undefined4 * FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  *param_1 = &UNK_00105e03 + unaff_EDI;\n                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */\n  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);\n  FUN_00204c90(param_1,1,param_2);\n  FUN_002048d0(param_1,param_3);\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)" * (function_declarator "FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  *param_1 = &UNK_00105e03 + unaff_EDI;\n                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */\n  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);\n  FUN_00204c90(param_1,1,param_2);\n  FUN_002048d0(param_1,param_3);\n  return param_1;\n}" { (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( ))) ;) (expression_statement "*param_1 = &UNK_00105e03 + unaff_EDI;" (assignment_expression "*param_1 = &UNK_00105e03 + unaff_EDI" (pointer_expression "*param_1" * identifier) = (binary_expression "&UNK_00105e03 + unaff_EDI" (pointer_expression "&UNK_00105e03" & identifier) + identifier)) ;) comment (expression_statement "FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);" (call_expression "FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1)" identifier (argument_list "(param_1,*(int *)(*param_3 + -0xc) + 1)" ( identifier , (binary_expression "*(int *)(*param_3 + -0xc) + 1" (pointer_expression "*(int *)(*param_3 + -0xc)" * (cast_expression "(int *)(*param_3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + -0xc)" ( (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" * identifier) + number_literal) )))) + number_literal) ))) ;) (expression_statement "FUN_00204c90(param_1,1,param_2);" (call_expression "FUN_00204c90(param_1,1,param_2)" identifier (argument_list "(param_1,1,param_2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "FUN_002048d0(param_1,param_3);" (call_expression "FUN_002048d0(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::wstring std::TEMPNAMEPLACEHOLDERVALUE(wchar_t, std::wstring const&) */\n\nwchar_t std::operator+(wchar_t param_1,wstring *param_2)\n\n{\n  int unaff_EDI;\n  wstring *in_stack_0000000c;\n  \n  __x86_get_pc_thunk_di();\n  *(int *)param_1 = unaff_EDI + 0x105e03;\n                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */\n  wstring::reserve((wstring *)param_1,*(int *)(*(int *)in_stack_0000000c + -0xc) + 1);\n  wstring::append((wstring *)param_1,1,(wchar_t)param_2);\n  wstring::append((wstring *)param_1,in_stack_0000000c);\n  return param_1;\n}\n\n" comment comment (declaration "wchar_t std::operator" type_identifier (ERROR "std::" identifier : :) identifier ;) (expression_statement "+(wchar_t param_1,wstring *param_2)" (unary_expression "+(wchar_t param_1,wstring *param_2)" + (parenthesized_expression "(wchar_t param_1,wstring *param_2)" ( (ERROR "wchar_t" identifier) (comma_expression "param_1,wstring *param_2" identifier , (binary_expression "wstring *param_2" identifier * identifier)) ))) ;) (compound_statement "{\n  int unaff_EDI;\n  wstring *in_stack_0000000c;\n  \n  __x86_get_pc_thunk_di();\n  *(int *)param_1 = unaff_EDI + 0x105e03;\n                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */\n  wstring::reserve((wstring *)param_1,*(int *)(*(int *)in_stack_0000000c + -0xc) + 1);\n  wstring::append((wstring *)param_1,1,(wchar_t)param_2);\n  wstring::append((wstring *)param_1,in_stack_0000000c);\n  return param_1;\n}" { (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "wstring *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 "*(int *)param_1 = unaff_EDI + 0x105e03;" (assignment_expression "*(int *)param_1 = unaff_EDI + 0x105e03" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "unaff_EDI + 0x105e03" identifier + number_literal)) ;) comment (labeled_statement "wstring::reserve((wstring *)param_1,*(int *)(*(int *)in_stack_0000000c + -0xc) + 1);" statement_identifier : (ERROR ":" :) (expression_statement "reserve((wstring *)param_1,*(int *)(*(int *)in_stack_0000000c + -0xc) + 1);" (call_expression "reserve((wstring *)param_1,*(int *)(*(int *)in_stack_0000000c + -0xc) + 1)" identifier (argument_list "((wstring *)param_1,*(int *)(*(int *)in_stack_0000000c + -0xc) + 1)" ( (cast_expression "(wstring *)param_1" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (binary_expression "*(int *)(*(int *)in_stack_0000000c + -0xc) + 1" (pointer_expression "*(int *)(*(int *)in_stack_0000000c + -0xc)" * (cast_expression "(int *)(*(int *)in_stack_0000000c + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)in_stack_0000000c + -0xc)" ( (binary_expression "*(int *)in_stack_0000000c + -0xc" (pointer_expression "*(int *)in_stack_0000000c" * (cast_expression "(int *)in_stack_0000000c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal) ))) ;)) (labeled_statement "wstring::append((wstring *)param_1,1,(wchar_t)param_2);" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)param_1,1,(wchar_t)param_2);" (call_expression "append((wstring *)param_1,1,(wchar_t)param_2)" identifier (argument_list "((wstring *)param_1,1,(wchar_t)param_2)" ( (cast_expression "(wstring *)param_1" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , (cast_expression "(wchar_t)param_2" ( (type_descriptor "wchar_t" type_identifier) ) identifier) ))) ;)) (labeled_statement "wstring::append((wstring *)param_1,in_stack_0000000c);" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)param_1,in_stack_0000000c);" (call_expression "append((wstring *)param_1,in_stack_0000000c)" identifier (argument_list "((wstring *)param_1,in_stack_0000000c)" ( (cast_expression "(wstring *)param_1" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;)) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "undefined4 * FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  *param_1 = &UNK_00105e03 + unaff_EDI;\n                    \n  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);\n  FUN_00204c90(param_1,1,param_2);\n  FUN_002048d0(param_1,param_3);\n  return param_1;\n}\n\n" (function_definition "undefined4 * FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  *param_1 = &UNK_00105e03 + unaff_EDI;\n                    \n  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);\n  FUN_00204c90(param_1,1,param_2);\n  FUN_002048d0(param_1,param_3);\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)" * (function_declarator "FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  *param_1 = &UNK_00105e03 + unaff_EDI;\n                    \n  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);\n  FUN_00204c90(param_1,1,param_2);\n  FUN_002048d0(param_1,param_3);\n  return param_1;\n}" { (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( ))) ;) (expression_statement "*param_1 = &UNK_00105e03 + unaff_EDI;" (assignment_expression "*param_1 = &UNK_00105e03 + unaff_EDI" (pointer_expression "*param_1" * identifier) = (binary_expression "&UNK_00105e03 + unaff_EDI" (pointer_expression "&UNK_00105e03" & identifier) + identifier)) ;) (expression_statement "FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);" (call_expression "FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1)" identifier (argument_list "(param_1,*(int *)(*param_3 + -0xc) + 1)" ( identifier , (binary_expression "*(int *)(*param_3 + -0xc) + 1" (pointer_expression "*(int *)(*param_3 + -0xc)" * (cast_expression "(int *)(*param_3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + -0xc)" ( (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" * identifier) + number_literal) )))) + number_literal) ))) ;) (expression_statement "FUN_00204c90(param_1,1,param_2);" (call_expression "FUN_00204c90(param_1,1,param_2)" identifier (argument_list "(param_1,1,param_2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "FUN_002048d0(param_1,param_3);" (call_expression "FUN_002048d0(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier ))) ;) (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 IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  *param_1 = &UNK_00105e03 + unaff_EDI;\n                    \n  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);\n  FUN_00204c90(param_1,1,param_2);\n  FUN_002048d0(param_1,param_3);\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)" (* "*") (function_declarator "FUN_00205160(undefined4 *param_1,undefined4 param_2,int *param_3)" (identifier "FUN_00205160") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  *param_1 = &UNK_00105e03 + unaff_EDI;\n                    \n  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);\n  FUN_00204c90(param_1,1,param_2);\n  FUN_002048d0(param_1,param_3);\n  return param_1;\n}" ({ "{") (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" (identifier "FUN_0004fb7e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*param_1 = &UNK_00105e03 + unaff_EDI;" (assignment_expression "*param_1 = &UNK_00105e03 + unaff_EDI" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "&UNK_00105e03 + unaff_EDI" (pointer_expression "&UNK_00105e03" (& "&") (identifier "UNK_00105e03")) (+ "+") (identifier "unaff_EDI"))) (; ";")) (expression_statement "FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);" (call_expression "FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1)" (identifier "FUN_002047b0") (argument_list "(param_1,*(int *)(*param_3 + -0xc) + 1)" (( "(") (identifier "param_1") (, ",") (binary_expression "*(int *)(*param_3 + -0xc) + 1" (pointer_expression "*(int *)(*param_3 + -0xc)" (* "*") (cast_expression "(int *)(*param_3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + -0xc)" (( "(") (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "FUN_00204c90(param_1,1,param_2);" (call_expression "FUN_00204c90(param_1,1,param_2)" (identifier "FUN_00204c90") (argument_list "(param_1,1,param_2)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_002048d0(param_1,param_3);" (call_expression "FUN_002048d0(param_1,param_3)" (identifier "FUN_002048d0") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

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

type_1 std::operator+(type_1 param_1,var_1 *var_2)

{
  int var_4;
  var_1 *in_stack_0000000c;
  
  var_3();
  *(int *)param_1 = var_4 + 0x105e03;
                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */
  wstring::var_5((var_1 *)param_1,*(int *)(*(int *)in_stack_0000000c + -0xc) + 1);
  wstring::var_6((var_1 *)param_1,1,(type_1)var_2);
  wstring::var_6((var_1 *)param_1,in_stack_0000000c);
  return param_1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (identifier)))))

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

{
  int unaff_EDI;
  
  FUN_0004fb7e();
  *param_1 = &UNK_00105e03 + unaff_EDI;
                    /* try { // try from 00205194 to 002051b1 has its CatchHandler @ 002051c1 */
  FUN_002047b0(param_1,*(int *)(*param_3 + -0xc) + 1);
  FUN_00204c90(param_1,1,param_2);
  FUN_002048d0(param_1,param_3);
  return param_1;
}

