
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* std::__facet_shims::(anonymous
   namespace)::money_put_shim<char>::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >,
   bool, std::ios_base&, char, std::string const&) const */

undefined4
std::__facet_shims::(anonymous_namespace)::money_put_shim<char>::do_put
          (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,
          undefined4 param_6,char param_7,int *param_8)

{
  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_38;
  code *local_20;
  
  local_20 = (code *)0x0;
  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;
                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */
  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>
            (&local_38,*param_8,param_8[1] + *param_8,0);
  local_20 = __destroy_string<char>;
  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,
                    (int)param_7,0,0,0,&local_38);
  if (local_20 != (code *)0x0) {
    (*local_20)(&local_38);
  }
  return param_1;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

undefined4
FUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5
            ,undefined4 param_6,char param_7,int *param_8)

{
  undefined1 *local_38 [2];
  undefined1 local_30 [16];
  code *local_20;
  
  local_20 = (code *)0x0;
  local_38[0] = local_30;
                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */
  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);
  local_20 = FUN_00221c00;
  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0
               ,0,0,local_38);
  if (local_20 != (code *)0x0) {
    (*local_20)(local_38);
  }
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
LEA ECX,[EBP + -0x34]
CALL 0x000559ea
ADD ESI,0x16ca53
PUSH EBX
SUB ESP,0x3c
MOV EAX,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EBP + 0x24]
MOV dword ptr [EBP + -0x1c],0x0
MOV EDI,dword ptr [EBP + 0x20]
MOV dword ptr [EBP + -0x3c],ECX
MOV dword ptr [EBP + -0x40],EAX
LEA EAX,[EBP + -0x2c]
MOV dword ptr [EBP + -0x34],EAX
MOV EAX,dword ptr [EDX]
PUSH 0x0
MOV EBX,dword ptr [EDX + 0x4]
ADD EBX,EAX
PUSH EBX
MOV EBX,ESI
PUSH EAX
PUSH ECX
CALL 0x000513a0
LEA EAX,[ESI + 0xffe92c00]
ADD ESP,0x10
PUSH dword ptr [EBP + -0x3c]
MOV dword ptr [EBP + -0x1c],EAX
MOV EAX,EDI
MOVSX EDI,AL
MOVZX EAX,byte ptr [EBP + -0x40]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH EDI
PUSH dword ptr [EBP + 0x1c]
PUSH EAX
MOV EAX,dword ptr [EBP + 0xc]
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EAX + 0x8]
PUSH 0x0
PUSH dword ptr [EBP + 0x8]
CALL 0x0022aae0
MOV EAX,dword ptr [EBP + -0x1c]
ADD ESP,0x2c
TEST EAX,EAX
JZ 0x00222634
SUB ESP,0xc
PUSH dword ptr [EBP + -0x3c]
CALL EAX
ADD ESP,0x10
MOV EAX,dword ptr [EBP + 0x8]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4\nFUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 *local_38 [2];\n  undefined1 local_30 [16];\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38[0] = local_30;\n                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */\n  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = FUN_00221c00;\n  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}\n\n" comment (function_definition "undefined4\nFUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 *local_38 [2];\n  undefined1 local_30 [16];\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38[0] = local_30;\n                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */\n  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = FUN_00221c00;\n  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "char param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined1 *local_38 [2];\n  undefined1 local_30 [16];\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38[0] = local_30;\n                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */\n  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = FUN_00221c00;\n  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" { (declaration "undefined1 *local_38 [2];" type_identifier (pointer_declarator "*local_38 [2]" * (array_declarator "local_38 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_30 [16];" type_identifier (array_declarator "local_30 [16]" identifier [ number_literal ]) ;) (declaration "code *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38[0] = local_30;" (assignment_expression "local_38[0] = local_30" (subscript_expression "local_38[0]" identifier [ number_literal ]) = identifier) ;) comment (expression_statement "FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);" (call_expression "FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0)" identifier (argument_list "(local_38,*param_8,param_8[1] + *param_8,0)" ( identifier , (pointer_expression "*param_8" * identifier) , (binary_expression "param_8[1] + *param_8" (subscript_expression "param_8[1]" identifier [ number_literal ]) + (pointer_expression "*param_8" * identifier)) , number_literal ))) ;) (expression_statement "local_20 = FUN_00221c00;" (assignment_expression "local_20 = FUN_00221c00" identifier = identifier) ;) (expression_statement "FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);" (call_expression "FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" identifier (argument_list "(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , identifier , identifier , identifier , identifier , (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal , number_literal , identifier ))) ;) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }" if (parenthesized_expression "(local_20 != (code *)0x0)" ( (binary_expression "local_20 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*local_20)(local_38);\n  }" { (expression_statement "(*local_20)(local_38);" (call_expression "(*local_20)(local_38)" (parenthesized_expression "(*local_20)" ( (pointer_expression "*local_20" * identifier) )) (argument_list "(local_38)" ( identifier ))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* std::__facet_shims::(anonymous\n   namespace)::money_put_shim<char>::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >,\n   bool, std::ios_base&, char, std::string const&) const */\n\nundefined4\nstd::__facet_shims::(anonymous_namespace)::money_put_shim<char>::do_put\n          (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,\n          undefined4 param_6,char param_7,int *param_8)\n\n{\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_38;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */\n  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>\n            (&local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}\n\n" comment comment (function_definition "undefined4\nstd::__facet_shims::(anonymous_namespace)::money_put_shim<char>::do_put\n          (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,\n          undefined4 param_6,char param_7,int *param_8)\n\n{\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_38;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */\n  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>\n            (&local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}" type_identifier (ERROR "std::__facet_shims::(anonymous_namespace)::money_put_shim<char>::" identifier : : identifier : : ( identifier ) : : identifier < primitive_type > : :) (function_declarator "do_put\n          (undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,\n          undefined4 param_6,char param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5,\n          undefined4 param_6,char param_7,int *param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "char param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> local_38;\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38._M_dataplus._M_p = (pointer)&local_38.field_2;\n                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */\n  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>\n            (&local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}" { (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (expression_statement "allocator<char>_> local_38;" (binary_expression "allocator<char>_> local_38" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > identifier) ;) (declaration "code *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38._M_dataplus._M_p = (pointer)&local_38.field_2;" (assignment_expression "local_38._M_dataplus._M_p = (pointer)&local_38.field_2" (field_expression "local_38._M_dataplus._M_p" (field_expression "local_38._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&local_38.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "local_38.field_2" identifier . field_identifier))) ;) comment (ERROR "__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : :) (expression_statement "allocator<char>_>::_M_construct<char*>\n            (&local_38,*param_8,param_8[1] + *param_8,0);" (binary_expression "allocator<char>_>::_M_construct<char*>\n            (&local_38,*param_8,param_8[1] + *param_8,0)" (binary_expression "allocator<char>_>::_M_construct<char" (binary_expression "allocator<char>_>::_M_construct" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "::" : :) identifier) < identifier) (ERROR "*" *) > (parenthesized_expression "(&local_38,*param_8,param_8[1] + *param_8,0)" ( (comma_expression "&local_38,*param_8,param_8[1] + *param_8,0" (pointer_expression "&local_38" & identifier) , (comma_expression "*param_8,param_8[1] + *param_8,0" (pointer_expression "*param_8" * identifier) , (comma_expression "param_8[1] + *param_8,0" (binary_expression "param_8[1] + *param_8" (subscript_expression "param_8[1]" identifier [ number_literal ]) + (pointer_expression "*param_8" * identifier)) , number_literal))) ))) ;) (expression_statement "local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38);" (assignment_expression "local_20 = __destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38)" identifier = (binary_expression "__destroy_string<char>;\n  __money_put<char>(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38)" (binary_expression "__destroy_string<char>;\n  __money_put<char" (binary_expression "__destroy_string<char>;\n  __money_put" (binary_expression "__destroy_string<char" identifier < identifier) > (ERROR ";" ;) identifier) < identifier) > (parenthesized_expression "(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38)" ( (comma_expression "param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38" identifier , (comma_expression "0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38" number_literal , (comma_expression "*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , (comma_expression "param_3,param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38" identifier , (comma_expression "param_4,param_5,param_6,\n                    (int)param_7,0,0,0,&local_38" identifier , (comma_expression "param_5,param_6,\n                    (int)param_7,0,0,0,&local_38" identifier , (comma_expression "param_6,\n                    (int)param_7,0,0,0,&local_38" identifier , (comma_expression "(int)param_7,0,0,0,&local_38" (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , (comma_expression "0,0,0,&local_38" number_literal , (comma_expression "0,0,&local_38" number_literal , (comma_expression "0,&local_38" number_literal , (pointer_expression "&local_38" & identifier)))))))))))) )))) ;) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }" if (parenthesized_expression "(local_20 != (code *)0x0)" ( (binary_expression "local_20 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*local_20)(&local_38);\n  }" { (expression_statement "(*local_20)(&local_38);" (call_expression "(*local_20)(&local_38)" (parenthesized_expression "(*local_20)" ( (pointer_expression "*local_20" * identifier) )) (argument_list "(&local_38)" ( (pointer_expression "&local_38" & identifier) ))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "undefined4\nFUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 *local_38 [2];\n  undefined1 local_30 [16];\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38[0] = local_30;\n                    \n  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = FUN_00221c00;\n  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4\nFUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 *local_38 [2];\n  undefined1 local_30 [16];\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38[0] = local_30;\n                    \n  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = FUN_00221c00;\n  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" type_identifier (function_declarator "FUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined1 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "char param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined1 *local_38 [2];\n  undefined1 local_30 [16];\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38[0] = local_30;\n                    \n  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = FUN_00221c00;\n  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" { (declaration "undefined1 *local_38 [2];" type_identifier (pointer_declarator "*local_38 [2]" * (array_declarator "local_38 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_30 [16];" type_identifier (array_declarator "local_30 [16]" identifier [ number_literal ]) ;) (declaration "code *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38[0] = local_30;" (assignment_expression "local_38[0] = local_30" (subscript_expression "local_38[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);" (call_expression "FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0)" identifier (argument_list "(local_38,*param_8,param_8[1] + *param_8,0)" ( identifier , (pointer_expression "*param_8" * identifier) , (binary_expression "param_8[1] + *param_8" (subscript_expression "param_8[1]" identifier [ number_literal ]) + (pointer_expression "*param_8" * identifier)) , number_literal ))) ;) (expression_statement "local_20 = FUN_00221c00;" (assignment_expression "local_20 = FUN_00221c00" identifier = identifier) ;) (expression_statement "FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);" (call_expression "FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" identifier (argument_list "(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , identifier , identifier , identifier , identifier , (cast_expression "(int)param_7" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal , number_literal , identifier ))) ;) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }" if (parenthesized_expression "(local_20 != (code *)0x0)" ( (binary_expression "local_20 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*local_20)(local_38);\n  }" { (expression_statement "(*local_20)(local_38);" (call_expression "(*local_20)(local_38)" (parenthesized_expression "(*local_20)" ( (pointer_expression "*local_20" * identifier) )) (argument_list "(local_38)" ( 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 IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (binary_expression (subscript_expression IDENT [ LIT ]) + (pointer_expression * IDENT)) , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , LIT , LIT , LIT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4\nFUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)\n\n{\n  undefined1 *local_38 [2];\n  undefined1 local_30 [16];\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38[0] = local_30;\n                    \n  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = FUN_00221c00;\n  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" (type_identifier "undefined4") (function_declarator "FUN_002225a0(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" (identifier "FUN_002225a0") (parameter_list "(undefined4 param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined1 param_5\n            ,undefined4 param_6,char param_7,int *param_8)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (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 "undefined1 param_5" (type_identifier "undefined1") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "char param_7" (primitive_type "char") (identifier "param_7")) (, ",") (parameter_declaration "int *param_8" (primitive_type "int") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")"))) (compound_statement "{\n  undefined1 *local_38 [2];\n  undefined1 local_30 [16];\n  code *local_20;\n  \n  local_20 = (code *)0x0;\n  local_38[0] = local_30;\n                    \n  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);\n  local_20 = FUN_00221c00;\n  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);\n  if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }\n  return param_1;\n}" ({ "{") (declaration "undefined1 *local_38 [2];" (type_identifier "undefined1") (pointer_declarator "*local_38 [2]" (* "*") (array_declarator "local_38 [2]" (identifier "local_38") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "undefined1 local_30 [16];" (type_identifier "undefined1") (array_declarator "local_30 [16]" (identifier "local_30") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "code *local_20;" (type_identifier "code") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" (identifier "local_20") (= "=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_38[0] = local_30;" (assignment_expression "local_38[0] = local_30" (subscript_expression "local_38[0]" (identifier "local_38") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);" (call_expression "FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0)" (identifier "FUN_000513a0") (argument_list "(local_38,*param_8,param_8[1] + *param_8,0)" (( "(") (identifier "local_38") (, ",") (pointer_expression "*param_8" (* "*") (identifier "param_8")) (, ",") (binary_expression "param_8[1] + *param_8" (subscript_expression "param_8[1]" (identifier "param_8") ([ "[") (number_literal "1") (] "]")) (+ "+") (pointer_expression "*param_8" (* "*") (identifier "param_8"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "local_20 = FUN_00221c00;" (assignment_expression "local_20 = FUN_00221c00" (identifier "local_20") (= "=") (identifier "FUN_00221c00")) (; ";")) (expression_statement "FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38);" (call_expression "FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" (identifier "FUN_0022aae0") (argument_list "(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0\n               ,0,0,local_38)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (cast_expression "(int)param_7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_7")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "local_38") () ")"))) (; ";")) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(local_38);\n  }" (if "if") (parenthesized_expression "(local_20 != (code *)0x0)" (( "(") (binary_expression "local_20 != (code *)0x0" (identifier "local_20") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*local_20)(local_38);\n  }" ({ "{") (expression_statement "(*local_20)(local_38);" (call_expression "(*local_20)(local_38)" (parenthesized_expression "(*local_20)" (( "(") (pointer_expression "*local_20" (* "*") (identifier "local_20")) () ")")) (argument_list "(local_38)" (( "(") (identifier "local_38") () ")"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* std::__facet_shims::(anonymous
   namespace)::money_put_shim<char>::do_put(std::ostreambuf_iterator<char, std::char_traits<char> >,
   bool, std::ios_base&, char, std::string const&) const */

type_1
std::__facet_shims::(anonymous_namespace)::money_put_shim<char>::function_1
          (type_1 param_1,int var_8,type_1 param_3,type_1 param_4,type_2 param_5,
          type_1 param_6,char param_7,int *param_8)

{
  basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3> var_4;
  type_3 *var_9;
  
  var_9 = (type_3 *)0x0;
  var_4._M_dataplus._M_p = (pointer)&var_4.field_2;
                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */
  __cxx11::basic_string<var_2,_std::char_traits<var_2>,_std::var_1<var_2>var_3>::var_5<var_2*>
            (&var_4,*param_8,param_8[1] + *param_8,0);
  var_9 = var_6<var_2>;
  var_7<var_2>(param_1,0,*(type_1 *)(var_8 + 8),param_3,param_4,param_5,param_6,
                    (int)param_7,0,0,0,&var_4);
  if (var_9 != (type_3 *)0x0) {
    (*var_9)(&var_4);
  }
  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: (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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier))) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (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))))) (identifier) (identifier) (identifier) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (number_literal) (number_literal) (number_literal) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

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

{
  undefined1 *local_38 [2];
  undefined1 local_30 [16];
  code *local_20;
  
  local_20 = (code *)0x0;
  local_38[0] = local_30;
                    /* try { // try from 002225e1 to 0022261e has its CatchHandler @ 00222641 */
  FUN_000513a0(local_38,*param_8,param_8[1] + *param_8,0);
  local_20 = FUN_00221c00;
  FUN_0022aae0(param_1,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,(int)param_7,0
               ,0,0,local_38);
  if (local_20 != (code *)0x0) {
    (*local_20)(local_38);
  }
  return param_1;
}

