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

void __thiscall
std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_pad
          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char param_1,
          int param_2,ios_base *param_3,char *param_4,char *param_5,int *param_6)

{
  __pad<char,std::char_traits<char>>::_S_pad(param_3,param_1,param_4,param_5,param_2,*param_6);
  *param_6 = param_2;
  return;
}



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

void FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)

{
  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);
  *param_7 = param_3;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x18]
CALL 0x00032730
ADD EBX,0x169194
MOV ESI,dword ptr [ESP + 0x28]
SUB ESP,0x8
PUSH dword ptr [ESI]
PUSH EDI
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x34]
MOVSX EAX,byte ptr [ESP + 0x2c]
PUSH EAX
PUSH dword ptr [ESP + 0x38]
CALL 0x00198b40
ADD ESP,0x20
MOV dword ptr [ESI],EDI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)\n\n{\n  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);\n  *param_7 = param_3;\n  return;\n}\n\n" comment (function_definition "void FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)\n\n{\n  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);\n  *param_7 = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)" identifier (parameter_list "(undefined4 param_1,char 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 "char param_2" primitive_type 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 (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);\n  *param_7 = param_3;\n  return;\n}" { (expression_statement "FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);" (call_expression "FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7)" identifier (argument_list "(param_4,(int)param_2,param_5,param_6,param_3,*param_7)" ( identifier , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , identifier , (pointer_expression "*param_7" * identifier) ))) ;) (expression_statement "*param_7 = param_3;" (assignment_expression "*param_7 = param_3" (pointer_expression "*param_7" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_pad(char, int,\n   std::ios_base&, char*, char const*, int&) const */\n\nvoid __thiscall\nstd::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_pad\n          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char param_1,\n          int param_2,ios_base *param_3,char *param_4,char *param_5,int *param_6)\n\n{\n  __pad<char,std::char_traits<char>>::_S_pad(param_3,param_1,param_4,param_5,param_2,*param_6);\n  *param_6 = param_2;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_pad\n          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char param_1,\n          int param_2,ios_base *param_3,char *param_4,char *param_5,int *param_6)\n\n{\n  __pad<char,std::char_traits<char>>::_S_pad(param_3,param_1,param_4,param_5,param_2,*param_6);" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>>::_M_pad\n          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char param_1,\n          int param_2,ios_base *param_3,char *param_4,char *param_5,int *param_6)\n\n{" identifier : : identifier < primitive_type >> > : : (function_declarator "_M_pad\n          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char param_1,\n          int param_2,ios_base *param_3,char *param_4,char *param_5,int *param_6)" identifier (parameter_list "(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char param_1,\n          int param_2,ios_base *param_3,char *param_4,char *param_5,int *param_6)" ( (parameter_declaration "num_put" type_identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "std::ostreambuf_iterator" type_identifier (ERROR "::" : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "std::char_traits<char>>> *this" type_identifier (ERROR "::char_traits<char>>>" : : identifier < primitive_type >> >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "char param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "ios_base *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) ))) {) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>::" identifier : : identifier < primitive_type >> : :) (function_declarator "_S_pad(param_3,param_1,param_4,param_5,param_2,*param_6)" identifier (parameter_list "(param_3,param_1,param_4,param_5,param_2,*param_6)" ( (parameter_declaration "param_3" type_identifier) , (parameter_declaration "param_1" type_identifier) , (parameter_declaration "param_4" type_identifier) , (parameter_declaration "param_5" type_identifier) , (parameter_declaration "param_2" type_identifier) , (ERROR "*" *) (parameter_declaration "param_6" type_identifier) ))) ;) (expression_statement "*param_6 = param_2;" (assignment_expression "*param_6 = param_2" (pointer_expression "*param_6" * identifier) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)\n\n{\n  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);\n  *param_7 = param_3;\n  return;\n}\n\n" (function_definition "void FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)\n\n{\n  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);\n  *param_7 = param_3;\n  return;\n}" primitive_type (function_declarator "FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)" identifier (parameter_list "(undefined4 param_1,char 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 "char param_2" primitive_type 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 (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);\n  *param_7 = param_3;\n  return;\n}" { (expression_statement "FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);" (call_expression "FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7)" identifier (argument_list "(param_4,(int)param_2,param_5,param_6,param_3,*param_7)" ( identifier , (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , identifier , (pointer_expression "*param_7" * identifier) ))) ;) (expression_statement "*param_7 = param_3;" (assignment_expression "*param_7 = param_3" (pointer_expression "*param_7" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(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 (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , IDENT , IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)\n\n{\n  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);\n  *param_7 = param_3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00198e60(undefined4 param_1,char param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6,undefined4 *param_7)" (identifier "FUN_00198e60") (parameter_list "(undefined4 param_1,char 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 "char param_2" (primitive_type "char") (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") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) () ")"))) (compound_statement "{\n  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);\n  *param_7 = param_3;\n  return;\n}" ({ "{") (expression_statement "FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);" (call_expression "FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7)" (identifier "FUN_00198b40") (argument_list "(param_4,(int)param_2,param_5,param_6,param_3,*param_7)" (( "(") (identifier "param_4") (, ",") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_3") (, ",") (pointer_expression "*param_7" (* "*") (identifier "param_7")) () ")"))) (; ";")) (expression_statement "*param_7 = param_3;" (assignment_expression "*param_7 = param_3" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "param_3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __thiscall
std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_pad
          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char type_2,
          int type_5,ios_base *type_1,char *type_3,char *type_4,int *type_6)

{
  __pad<char,std::char_traits<char>>::function_1(type_1,type_2,type_3,type_4,type_5,*type_6);
  *type_6 = type_5;
  return;
}


(translation_unit (function_definition type: (primitive_type) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (identifier) (identifier) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

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

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

{
  FUN_00198b40(param_4,(int)param_2,param_5,param_6,param_3,*param_7);
  *param_7 = param_3;
  return;
}

