
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t,
   long) const */

undefined4
std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put
          (undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,
          undefined4 param_6,undefined4 param_7)

{
  if (*(code **)(*param_2 + 0xc) == (code *)PTR_do_put_0038ee78) {
    _M_insert_int<long>(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
    return param_1;
  }
  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
  return param_1;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4
FUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined4 param_7)

{
  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {
    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
    return param_1;
  }
  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
  return param_1;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x14f1b9
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [EAX]
MOV EDX,dword ptr [EDX + 0xc]
CMP EDX,dword ptr [EBX + 0xfffffe78]
JNZ 0x0023fe98
SUB ESP,0x4
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH ECX
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH EAX
PUSH ESI
CALL 0x0023fbc0
MOV EAX,ESI
ADD ESP,0x1c
ADD ESP,0x4
POP EBX
POP ESI
RET 0x4
SUB ESP,0x4
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH ECX
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH EAX
PUSH ESI
CALL EDX
MOV EAX,ESI
ADD ESP,0x1c
ADD ESP,0x4
POP EBX
POP ESI
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4\nFUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}\n\n" comment (function_definition "undefined4\nFUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}" type_identifier (function_declarator "FUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (compound_statement "{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}" { (if_statement "if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }" if (parenthesized_expression "(*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78)" ( (binary_expression "*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78" (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_0038ee78" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }" { (expression_statement "FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);" (call_expression "FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);" (call_expression "(**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t,\n   long) const */\n\nundefined4\nstd::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put\n          (undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_do_put_0038ee78) {\n    _M_insert_int<long>(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}\n\n" comment comment (declaration "undefined4\nstd::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put\n          (undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_do_put_0038ee78) {\n    _M_insert_int<long>(param_1,param_2,param_3,param_4,param_5,param_6,param_7);" type_identifier (ERROR "std::num_put<" identifier : : identifier <) identifier , (ERROR "std::ostreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::put\n          (undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_do_put_0038ee78) {\n    _M_insert_int<long>(" identifier : : identifier < identifier >> > : : (function_declarator "put\n          (undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_do_put_0038ee78)" (function_declarator "put\n          (undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (ERROR "{\n  if" { if) (parameter_list "(*(code **)(*param_2 + 0xc) == (code *)PTR_do_put_0038ee78)" ( (parameter_declaration "*(code **)(*param_2 + 0xc) == (code *)" type_identifier (abstract_pointer_declarator "*(code **)(*param_2 + 0xc) == (code *)" * (abstract_function_declarator "(code **)(*param_2 + 0xc) == (code *)" (abstract_function_declarator "(code **)(*param_2 + 0xc)" (abstract_function_declarator "(code **)" (parameter_list "(code **)" ( (parameter_declaration "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ))) (parameter_list "(*param_2 + 0xc)" ( (ERROR "*" *) (parameter_declaration "param_2" type_identifier) (ERROR "+ 0xc" + number_literal) ))) (ERROR "==" ==) (parameter_list "(code *)" ( (parameter_declaration "code *" type_identifier (abstract_pointer_declarator "*" *)) ))))) (ERROR "PTR_do_put_0038ee78" identifier) ))) { identifier < long > () identifier , identifier , identifier , identifier , identifier , identifier , identifier (ERROR ")" )) ;) (return_statement "return param_1;" return identifier ;) (ERROR "}" }) (expression_statement "(**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);" (call_expression "(**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) (ERROR "}" }))
(translation_unit "undefined4\nFUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}\n\n" (function_definition "undefined4\nFUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}" type_identifier (function_declarator "FUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (compound_statement "{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}" { (if_statement "if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }" if (parenthesized_expression "(*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78)" ( (binary_expression "*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78" (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_0038ee78" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }" { (expression_statement "FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);" (call_expression "FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);" (call_expression "(**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" ( (pointer_expression "**(code **)(*param_2 + 0xc)" * (pointer_expression "*(code **)(*param_2 + 0xc)" * (cast_expression "(code **)(*param_2 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0xc)" ( (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4\nFUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)\n\n{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0023fe40(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" (identifier "FUN_0023fe40") (parameter_list "(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined4 param_7)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (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") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) () ")"))) (compound_statement "{\n  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n  return param_1;\n}" ({ "{") (if_statement "if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78)" (( "(") (binary_expression "*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78" (pointer_expression "*(code **)(*param_2 + 0xc)" (* "*") (cast_expression "(code **)(*param_2 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0xc)" (( "(") (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_0038ee78" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0038ee78"))) () ")")) (compound_statement "{\n    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);\n    return param_1;\n  }" ({ "{") (expression_statement "FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);" (call_expression "FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" (identifier "FUN_0023fbc0") (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);" (call_expression "(**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" (parenthesized_expression "(**(code **)(*param_2 + 0xc))" (( "(") (pointer_expression "**(code **)(*param_2 + 0xc)" (* "*") (pointer_expression "*(code **)(*param_2 + 0xc)" (* "*") (cast_expression "(code **)(*param_2 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0xc)" (( "(") (binary_expression "*param_2 + 0xc" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,param_7)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::num_put<wchar_t, std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::put(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, std::ios_base&, wchar_t,
   long) const */

type_1
std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::put
          (type_1 param_1,int *param_2,type_1 param_3,type_1 param_4,type_1 param_5,
          type_1 param_6,type_1 param_7)

{
  if (*(type_2 **)(*param_2 + 0xc) == (type_2 *)PTR_do_put_0038ee78) {
    _M_insert_int<long>(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
    return param_1;
  }
  (**(type_2 **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
  return param_1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4
MASKED(undefined4 param_1,int *param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined4 param_7)

{
  if (*(code **)(*param_2 + 0xc) == (code *)PTR_FUN_0038ee78) {
    FUN_0023fbc0(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
    return param_1;
  }
  (**(code **)(*param_2 + 0xc))(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
  return param_1;
}

