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

string * std::operator+(char param_1,string *param_2)

{
  undefined3 in_stack_00000005;
  undefined4 *in_stack_0000000c;
  char local_20;
  
  __x86_get_pc_thunk_di();
  *(string **)_param_1 = _param_1 + 8;
  *(undefined4 *)(_param_1 + 4) = 0;
  _param_1[8] = (string)0x0;
                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */
  string::reserve(_param_1,in_stack_0000000c[1] + 1);
  local_20 = (char)param_2;
  string::_M_replace_aux(_param_1,*(uint *)(_param_1 + 4),0,1,local_20);
  string::_M_append(_param_1,(char *)*in_stack_0000000c,in_stack_0000000c[1]);
  return _param_1;
}



int * FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)

{
  FUN_0004fb7e();
  *param_1 = (int)(param_1 + 2);
  param_1[1] = 0;
  *(undefined1 *)(param_1 + 2) = 0;
                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */
  FUN_00188a30(param_1,param_3[1] + 1);
  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);
  FUN_00189fb0(param_1,*param_3,param_3[1]);
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x0004fb7e
ADD EDI,0x177117
PUSH ESI
PUSH EBX
SUB ESP,0x24
MOV ESI,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EBP + 0xc]
MOV ECX,dword ptr [EBP + 0x10]
MOV dword ptr [EBP + -0x1c],EAX
LEA EAX,[ESI + 0x8]
MOV EBX,EDI
MOV dword ptr [ESI],EAX
MOV dword ptr [ESI + 0x4],0x0
MOV byte ptr [ESI + 0x8],0x0
MOV EDX,dword ptr [ECX + 0x4]
MOV dword ptr [EBP + -0x24],EAX
LEA EAX,[EDX + 0x1]
MOV dword ptr [EBP + -0x20],EDX
PUSH EAX
PUSH ESI
CALL 0x00188a30
MOVSX EAX,byte ptr [EBP + -0x1c]
MOV dword ptr [ESP],EAX
PUSH 0x1
PUSH 0x0
PUSH dword ptr [ESI + 0x4]
PUSH ESI
CALL 0x00189020
MOV EAX,dword ptr [EBP + 0x10]
ADD ESP,0x1c
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [EAX]
PUSH ESI
CALL 0x00189fb0
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "int * FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */\n  FUN_00188a30(param_1,param_3[1] + 1);\n  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);\n  FUN_00189fb0(param_1,*param_3,param_3[1]);\n  return param_1;\n}\n\n" (function_definition "int * FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */\n  FUN_00188a30(param_1,param_3[1] + 1);\n  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);\n  FUN_00189fb0(param_1,*param_3,param_3[1]);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)" * (function_declarator "FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,char param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type 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  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */\n  FUN_00188a30(param_1,param_3[1] + 1);\n  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);\n  FUN_00189fb0(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 "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) comment (expression_statement "FUN_00188a30(param_1,param_3[1] + 1);" (call_expression "FUN_00188a30(param_1,param_3[1] + 1)" identifier (argument_list "(param_1,param_3[1] + 1)" ( identifier , (binary_expression "param_3[1] + 1" (subscript_expression "param_3[1]" identifier [ number_literal ]) + number_literal) ))) ;) (expression_statement "FUN_00189020(param_1,param_1[1],0,1,(int)param_2);" (call_expression "FUN_00189020(param_1,param_1[1],0,1,(int)param_2)" identifier (argument_list "(param_1,param_1[1],0,1,(int)param_2)" ( identifier , (subscript_expression "param_1[1]" identifier [ number_literal ]) , number_literal , number_literal , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "FUN_00189fb0(param_1,*param_3,param_3[1]);" (call_expression "FUN_00189fb0(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::string std::TEMPNAMEPLACEHOLDERVALUE(char, std::string const&) */\n\nstring * std::operator+(char param_1,string *param_2)\n\n{\n  undefined3 in_stack_00000005;\n  undefined4 *in_stack_0000000c;\n  char local_20;\n  \n  __x86_get_pc_thunk_di();\n  *(string **)_param_1 = _param_1 + 8;\n  *(undefined4 *)(_param_1 + 4) = 0;\n  _param_1[8] = (string)0x0;\n                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */\n  string::reserve(_param_1,in_stack_0000000c[1] + 1);\n  local_20 = (char)param_2;\n  string::_M_replace_aux(_param_1,*(uint *)(_param_1 + 4),0,1,local_20);\n  string::_M_append(_param_1,(char *)*in_stack_0000000c,in_stack_0000000c[1]);\n  return _param_1;\n}\n\n" comment comment (ERROR "string * std::operator+(char param_1,string *param_2)" (binary_expression "string * std::operator+(char param_1,string *param_2)" (binary_expression "string * std" identifier * identifier) (ERROR "::operator" : : identifier) + (parenthesized_expression "(char param_1,string *param_2)" ( (ERROR "char" primitive_type) (comma_expression "param_1,string *param_2" identifier , (binary_expression "string *param_2" identifier * identifier)) )))) (compound_statement "{\n  undefined3 in_stack_00000005;\n  undefined4 *in_stack_0000000c;\n  char local_20;\n  \n  __x86_get_pc_thunk_di();\n  *(string **)_param_1 = _param_1 + 8;\n  *(undefined4 *)(_param_1 + 4) = 0;\n  _param_1[8] = (string)0x0;\n                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */\n  string::reserve(_param_1,in_stack_0000000c[1] + 1);\n  local_20 = (char)param_2;\n  string::_M_replace_aux(_param_1,*(uint *)(_param_1 + 4),0,1,local_20);\n  string::_M_append(_param_1,(char *)*in_stack_0000000c,in_stack_0000000c[1]);\n  return _param_1;\n}" { (declaration "undefined3 in_stack_00000005;" type_identifier identifier ;) (declaration "undefined4 *in_stack_0000000c;" type_identifier (pointer_declarator "*in_stack_0000000c" * identifier) ;) (declaration "char local_20;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(string **)_param_1 = _param_1 + 8;" (assignment_expression "*(string **)_param_1 = _param_1 + 8" (pointer_expression "*(string **)_param_1" * (cast_expression "(string **)_param_1" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "_param_1 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(_param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(_param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(_param_1 + 4)" * (cast_expression "(undefined4 *)(_param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(_param_1 + 4)" ( (binary_expression "_param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "_param_1[8] = (string)0x0;" (assignment_expression "_param_1[8] = (string)0x0" (subscript_expression "_param_1[8]" identifier [ number_literal ]) = (cast_expression "(string)0x0" ( (type_descriptor "string" type_identifier) ) number_literal)) ;) comment (labeled_statement "string::reserve(_param_1,in_stack_0000000c[1] + 1);" statement_identifier : (ERROR ":" :) (expression_statement "reserve(_param_1,in_stack_0000000c[1] + 1);" (call_expression "reserve(_param_1,in_stack_0000000c[1] + 1)" identifier (argument_list "(_param_1,in_stack_0000000c[1] + 1)" ( identifier , (binary_expression "in_stack_0000000c[1] + 1" (subscript_expression "in_stack_0000000c[1]" identifier [ number_literal ]) + number_literal) ))) ;)) (expression_statement "local_20 = (char)param_2;" (assignment_expression "local_20 = (char)param_2" identifier = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (labeled_statement "string::_M_replace_aux(_param_1,*(uint *)(_param_1 + 4),0,1,local_20);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace_aux(_param_1,*(uint *)(_param_1 + 4),0,1,local_20);" (call_expression "_M_replace_aux(_param_1,*(uint *)(_param_1 + 4),0,1,local_20)" identifier (argument_list "(_param_1,*(uint *)(_param_1 + 4),0,1,local_20)" ( identifier , (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) )))) , number_literal , number_literal , identifier ))) ;)) (labeled_statement "string::_M_append(_param_1,(char *)*in_stack_0000000c,in_stack_0000000c[1]);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append(_param_1,(char *)*in_stack_0000000c,in_stack_0000000c[1]);" (call_expression "_M_append(_param_1,(char *)*in_stack_0000000c,in_stack_0000000c[1])" identifier (argument_list "(_param_1,(char *)*in_stack_0000000c,in_stack_0000000c[1])" ( identifier , (cast_expression "(char *)*in_stack_0000000c" ( (type_descriptor "char *" primitive_type (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_0018aee0(int *param_1,char param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n                    \n  FUN_00188a30(param_1,param_3[1] + 1);\n  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);\n  FUN_00189fb0(param_1,*param_3,param_3[1]);\n  return param_1;\n}\n\n" (function_definition "int * FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n                    \n  FUN_00188a30(param_1,param_3[1] + 1);\n  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);\n  FUN_00189fb0(param_1,*param_3,param_3[1]);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)" * (function_declarator "FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)" identifier (parameter_list "(int *param_1,char param_2,undefined4 *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char param_2" primitive_type 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  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n                    \n  FUN_00188a30(param_1,param_3[1] + 1);\n  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);\n  FUN_00189fb0(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 "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" * (cast_expression "(undefined1 *)(param_1 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00188a30(param_1,param_3[1] + 1);" (call_expression "FUN_00188a30(param_1,param_3[1] + 1)" identifier (argument_list "(param_1,param_3[1] + 1)" ( identifier , (binary_expression "param_3[1] + 1" (subscript_expression "param_3[1]" identifier [ number_literal ]) + number_literal) ))) ;) (expression_statement "FUN_00189020(param_1,param_1[1],0,1,(int)param_2);" (call_expression "FUN_00189020(param_1,param_1[1],0,1,(int)param_2)" identifier (argument_list "(param_1,param_1[1],0,1,(int)param_2)" ( identifier , (subscript_expression "param_1[1]" identifier [ number_literal ]) , number_literal , number_literal , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "FUN_00189fb0(param_1,*param_3,param_3[1]);" (call_expression "FUN_00189fb0(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 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 (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , LIT , LIT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)\n\n{\n  FUN_0004fb7e();\n  *param_1 = (int)(param_1 + 2);\n  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n                    \n  FUN_00188a30(param_1,param_3[1] + 1);\n  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);\n  FUN_00189fb0(param_1,*param_3,param_3[1]);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)" (* "*") (function_declarator "FUN_0018aee0(int *param_1,char param_2,undefined4 *param_3)" (identifier "FUN_0018aee0") (parameter_list "(int *param_1,char param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char param_2" (primitive_type "char") (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  param_1[1] = 0;\n  *(undefined1 *)(param_1 + 2) = 0;\n                    \n  FUN_00188a30(param_1,param_3[1] + 1);\n  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);\n  FUN_00189fb0(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 "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 2) = 0" (pointer_expression "*(undefined1 *)(param_1 + 2)" (* "*") (cast_expression "(undefined1 *)(param_1 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00188a30(param_1,param_3[1] + 1);" (call_expression "FUN_00188a30(param_1,param_3[1] + 1)" (identifier "FUN_00188a30") (argument_list "(param_1,param_3[1] + 1)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_3[1] + 1" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "FUN_00189020(param_1,param_1[1],0,1,(int)param_2);" (call_expression "FUN_00189020(param_1,param_1[1],0,1,(int)param_2)" (identifier "FUN_00189020") (argument_list "(param_1,param_1[1],0,1,(int)param_2)" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) () ")"))) (; ";")) (expression_statement "FUN_00189fb0(param_1,*param_3,param_3[1]);" (call_expression "FUN_00189fb0(param_1,*param_3,param_3[1])" (identifier "FUN_00189fb0") (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::string std::TEMPNAMEPLACEHOLDERVALUE(char, std::string const&) */

type_3 * std::operator+(char param_1,type_3 *param_2)

{
  type_1 in_stack_00000005;
  type_2 *in_stack_0000000c;
  char local_20;
  
  var_1();
  *(type_3 **)var_2 = var_2 + 8;
  *(type_2 *)(var_2 + 4) = 0;
  var_2[8] = (type_3)0x0;
                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */
  string::var_3(var_2,in_stack_0000000c[1] + 1);
  local_20 = (char)param_2;
  string::var_4(var_2,*(type_4 *)(var_2 + 4),0,1,local_20);
  string::var_5(var_2,(char *)*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: (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (number_literal) (number_literal) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (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,char param_2,undefined4 *param_3)

{
  FUN_0004fb7e();
  *param_1 = (int)(param_1 + 2);
  param_1[1] = 0;
  *(undefined1 *)(param_1 + 2) = 0;
                    /* try { // try from 0018af20 to 0018af49 has its CatchHandler @ 0018af59 */
  FUN_00188a30(param_1,param_3[1] + 1);
  FUN_00189020(param_1,param_1[1],0,1,(int)param_2);
  FUN_00189fb0(param_1,*param_3,param_3[1]);
  return param_1;
}

