
/* 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_group_int(char
   const*, unsigned int, char, std::ios_base&, char*, char*, int&) const */

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

{
  char *pcVar1;
  
  pcVar1 = __add_grouping<char>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7);
  *param_7 = (int)pcVar1 - (int)param_5;
  return;
}



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

void FUN_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,
                 undefined4 param_5,int param_6,int param_7,int *param_8)

{
  int iVar1;
  
  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);
  *param_8 = iVar1 - param_6;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x2c]
CALL 0x00035840
ADD EBX,0x190e34
MOV EAX,dword ptr [ESP + 0x28]
MOV EDI,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [ESI]
SUB ESP,0x8
ADD EDX,EAX
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
MOVSX EAX,byte ptr [ESP + 0x34]
PUSH EAX
PUSH EDI
CALL 0x001fdf90
ADD ESP,0x20
SUB EAX,EDI
MOV dword ptr [ESI],EAX
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_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);\n  *param_8 = iVar1 - param_6;\n  return;\n}\n\n" comment (function_definition "void FUN_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);\n  *param_8 = iVar1 - param_6;\n  return;\n}" primitive_type (function_declarator "FUN_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "char param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);\n  *param_8 = iVar1 - param_6;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);" (assignment_expression "iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" identifier = (call_expression "FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" identifier (argument_list "(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" ( identifier , (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , identifier , (binary_expression "*param_8 + param_7" (pointer_expression "*param_8" * identifier) + identifier) )))) ;) (expression_statement "*param_8 = iVar1 - param_6;" (assignment_expression "*param_8 = iVar1 - param_6" (pointer_expression "*param_8" * identifier) = (binary_expression "iVar1 - param_6" 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_group_int(char\n   const*, unsigned int, char, std::ios_base&, char*, char*, int&) const */\n\nvoid __thiscall\nstd::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_group_int\n          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char *param_1,\n          uint param_2,char param_3,ios_base *param_4,char *param_5,char *param_6,int *param_7)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = __add_grouping<char>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7);\n  *param_7 = (int)pcVar1 - (int)param_5;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_group_int\n          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char *param_1,\n          uint param_2,char param_3,ios_base *param_4,char *param_5,char *param_6,int *param_7)\n\n{\n  char *pcVar1;" 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_group_int\n          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char *param_1,\n          uint param_2,char param_3,ios_base *param_4,char *param_5,char *param_6,int *param_7)\n\n{\n  char" identifier : : identifier < primitive_type >> > : : (function_declarator "_M_group_int\n          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char *param_1,\n          uint param_2,char param_3,ios_base *param_4,char *param_5,char *param_6,int *param_7)" identifier (parameter_list "(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char *param_1,\n          uint param_2,char param_3,ios_base *param_4,char *param_5,char *param_6,int *param_7)" ( (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 (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char param_3" primitive_type identifier) , (parameter_declaration "ios_base *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "char *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "char *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) ))) { primitive_type) (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = __add_grouping<char>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7);" (assignment_expression "pcVar1 = __add_grouping<char>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7)" identifier = (binary_expression "__add_grouping<char>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7)" (binary_expression "__add_grouping<char" identifier < identifier) > (parenthesized_expression "(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7)" ( (comma_expression "param_5,param_3,param_1,param_2,param_6,param_6 + *param_7" identifier , (comma_expression "param_3,param_1,param_2,param_6,param_6 + *param_7" identifier , (comma_expression "param_1,param_2,param_6,param_6 + *param_7" identifier , (comma_expression "param_2,param_6,param_6 + *param_7" identifier , (comma_expression "param_6,param_6 + *param_7" identifier , (binary_expression "param_6 + *param_7" identifier + (pointer_expression "*param_7" * identifier))))))) )))) ;) (expression_statement "*param_7 = (int)pcVar1 - (int)param_5;" (assignment_expression "*param_7 = (int)pcVar1 - (int)param_5" (pointer_expression "*param_7" * identifier) = (binary_expression "(int)pcVar1 - (int)param_5" (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);\n  *param_8 = iVar1 - param_6;\n  return;\n}\n\n" (function_definition "void FUN_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);\n  *param_8 = iVar1 - param_6;\n  return;\n}" primitive_type (function_declarator "FUN_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "char param_4" primitive_type identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "int param_7" primitive_type identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);\n  *param_8 = iVar1 - param_6;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);" (assignment_expression "iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" identifier = (call_expression "FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" identifier (argument_list "(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" ( identifier , (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , identifier , (binary_expression "*param_8 + param_7" (pointer_expression "*param_8" * identifier) + identifier) )))) ;) (expression_statement "*param_8 = iVar1 - param_6;" (assignment_expression "*param_8 = iVar1 - param_6" (pointer_expression "*param_8" * identifier) = (binary_expression "iVar1 - param_6" 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 IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , IDENT , IDENT , (binary_expression (pointer_expression * IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);\n  *param_8 = iVar1 - param_6;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001fe1c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)" (identifier "FUN_001fe1c0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,char param_4,\n                 undefined4 param_5,int param_6,int param_7,int *param_8)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "char param_4" (primitive_type "char") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) (, ",") (parameter_declaration "int *param_8" (primitive_type "int") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);\n  *param_8 = iVar1 - param_6;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);" (assignment_expression "iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" (identifier "iVar1") (= "=") (call_expression "FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" (identifier "FUN_001fdf90") (argument_list "(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7)" (( "(") (identifier "param_6") (, ",") (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_7") (, ",") (binary_expression "*param_8 + param_7" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (+ "+") (identifier "param_7")) () ")")))) (; ";")) (expression_statement "*param_8 = iVar1 - param_6;" (assignment_expression "*param_8 = iVar1 - param_6" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (binary_expression "iVar1 - param_6" (identifier "iVar1") (- "-") (identifier "param_6"))) (; ";")) (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_group_int(char
   const*, unsigned int, char, std::ios_base&, char*, char*, int&) const */

void __thiscall
std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_group_int
          (num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> *this,char *param_1,
          uint param_2,char param_3,ios_base *param_4,char *param_5,char *var_3,int *param_7)

{
  char *pcVar1;
  
  pcVar1 = var_1<var_2>(param_5,param_3,param_1,param_2,var_3,var_3 + *param_7);
  *param_7 = (int)pcVar1 - (int)param_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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier) (identifier) (identifier) (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement))))

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

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

{
  int iVar1;
  
  iVar1 = FUN_001fdf90(param_6,(int)param_4,param_2,param_3,param_7,*param_8 + param_7);
  *param_8 = iVar1 - param_6;
  return;
}

