
/* 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> >
   >::_M_group_float(char const*, unsigned int, wchar_t, wchar_t const*, wchar_t*, wchar_t*, int&)
   const */

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

{
  wchar_t *pwVar1;
  size_t __n;
  int iVar2;
  int iVar3;
  
  if (param_4 != (wchar_t *)0x0) {
    iVar3 = (int)param_4 - (int)param_6 >> 2;
    pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_4);
    iVar2 = 0;
    __n = *param_7 - iVar3;
    if (__n != 0) {
      wmemcpy(pwVar1,param_4,__n);
      iVar2 = *param_7 - iVar3;
    }
    *param_7 = iVar2 + ((int)pwVar1 - (int)param_5 >> 2);
    return;
  }
  pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7);
  *param_7 = (int)pwVar1 - (int)param_5 >> 2;
  return;
}



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

void FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 wchar_t *param_5,int param_6,int param_7,int *param_8)

{
  wchar_t *__s1;
  size_t __n;
  int iVar1;
  int iVar2;
  
  if (param_5 != (wchar_t *)0x0) {
    iVar2 = (int)param_5 - param_7 >> 2;
    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);
    iVar1 = 0;
    __n = *param_8 - iVar2;
    if (__n != 0) {
      wmemcpy(__s1,param_5,__n);
      iVar1 = *param_8 - iVar2;
    }
    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);
    return;
  }
  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);
  *param_8 = iVar1 - param_6 >> 2;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x150c17
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [ESP + 0x28]
MOV EBP,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [ESP + 0x3c]
TEST ESI,ESI
JZ 0x0023e470
MOV ESI,dword ptr [ESP + 0x30]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x38]
PUSH EAX
SUB ESI,EAX
PUSH EDX
SAR ESI,0x2
PUSH ECX
PUSH dword ptr [ESP + 0x44]
PUSH EBP
CALL 0x0023e270
ADD ESP,0x20
XOR EDX,EDX
MOV ECX,EAX
SUB ECX,EBP
MOV EBP,ECX
MOV ECX,dword ptr [EDI]
SAR EBP,0x2
SUB ECX,ESI
JNZ 0x0023e450
ADD EDX,EBP
MOV dword ptr [EDI],EDX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH ECX
PUSH dword ptr [ESP + 0x38]
PUSH EAX
CALL 0x00029370
MOV EDX,dword ptr [EDI]
ADD ESP,0x10
SUB EDX,ESI
JMP 0x0023e43f
MOV ESI,dword ptr [EDI]
SUB ESP,0x8
LEA ESI,[EAX + ESI*0x4]
PUSH ESI
PUSH EAX
PUSH EDX
PUSH ECX
PUSH dword ptr [ESP + 0x44]
PUSH EBP
CALL 0x0023e270
ADD ESP,0x20
SUB EAX,EBP
MOV EDX,EAX
SAR EDX,0x2
MOV dword ptr [EDI],EDX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *param_5,int param_6,int param_7,int *param_8)\n\n{\n  wchar_t *__s1;\n  size_t __n;\n  int iVar1;\n  int iVar2;\n  \n  if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }\n  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);\n  *param_8 = iVar1 - param_6 >> 2;\n  return;\n}\n\n" comment (function_definition "void FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *param_5,int param_6,int param_7,int *param_8)\n\n{\n  wchar_t *__s1;\n  size_t __n;\n  int iVar1;\n  int iVar2;\n  \n  if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }\n  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);\n  *param_8 = iVar1 - param_6 >> 2;\n  return;\n}" primitive_type (function_declarator "FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *param_5,int param_6,int param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *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 "undefined4 param_4" type_identifier identifier) , (parameter_declaration "wchar_t *param_5" type_identifier (pointer_declarator "*param_5" * 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  wchar_t *__s1;\n  size_t __n;\n  int iVar1;\n  int iVar2;\n  \n  if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }\n  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);\n  *param_8 = iVar1 - param_6 >> 2;\n  return;\n}" { (declaration "wchar_t *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }" if (parenthesized_expression "(param_5 != (wchar_t *)0x0)" ( (binary_expression "param_5 != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }" { (expression_statement "iVar2 = (int)param_5 - param_7 >> 2;" (assignment_expression "iVar2 = (int)param_5 - param_7 >> 2" identifier = (binary_expression "(int)param_5 - param_7 >> 2" (binary_expression "(int)param_5 - param_7" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) >> number_literal)) ;) (expression_statement "__s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);" (assignment_expression "__s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" identifier = (cast_expression "(wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" identifier (argument_list "(param_6,param_4,param_2,param_3,param_7,param_5)" ( identifier , identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "__n = *param_8 - iVar2;" (assignment_expression "__n = *param_8 - iVar2" identifier = (binary_expression "*param_8 - iVar2" (pointer_expression "*param_8" * identifier) - identifier)) ;) (if_statement "if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }" { (expression_statement "wmemcpy(__s1,param_5,__n);" (call_expression "wmemcpy(__s1,param_5,__n)" identifier (argument_list "(__s1,param_5,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = *param_8 - iVar2;" (assignment_expression "iVar1 = *param_8 - iVar2" identifier = (binary_expression "*param_8 - iVar2" (pointer_expression "*param_8" * identifier) - identifier)) ;) })) (expression_statement "*param_8 = iVar1 + ((int)__s1 - param_6 >> 2);" (assignment_expression "*param_8 = iVar1 + ((int)__s1 - param_6 >> 2)" (pointer_expression "*param_8" * identifier) = (binary_expression "iVar1 + ((int)__s1 - param_6 >> 2)" identifier + (parenthesized_expression "((int)__s1 - param_6 >> 2)" ( (binary_expression "(int)__s1 - param_6 >> 2" (binary_expression "(int)__s1 - param_6" (cast_expression "(int)__s1" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) >> number_literal) )))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);" (assignment_expression "iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" identifier = (call_expression "FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" identifier (argument_list "(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "param_7 + *param_8 * 4" identifier + (binary_expression "*param_8 * 4" (pointer_expression "*param_8" * identifier) * number_literal)) )))) ;) (expression_statement "*param_8 = iVar1 - param_6 >> 2;" (assignment_expression "*param_8 = iVar1 - param_6 >> 2" (pointer_expression "*param_8" * identifier) = (binary_expression "iVar1 - param_6 >> 2" (binary_expression "iVar1 - param_6" identifier - identifier) >> number_literal)) ;) (return_statement "return;" return ;) })))
(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   >::_M_group_float(char const*, unsigned int, wchar_t, wchar_t const*, wchar_t*, wchar_t*, int&)\n   const */\n\nvoid __thiscall\nstd::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::_M_group_float\n          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          char *param_1,uint param_2,wchar_t param_3,wchar_t *param_4,wchar_t *param_5,\n          wchar_t *param_6,int *param_7)\n\n{\n  wchar_t *pwVar1;\n  size_t __n;\n  int iVar2;\n  int iVar3;\n  \n  if (param_4 != (wchar_t *)0x0) {\n    iVar3 = (int)param_4 - (int)param_6 >> 2;\n    pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_4);\n    iVar2 = 0;\n    __n = *param_7 - iVar3;\n    if (__n != 0) {\n      wmemcpy(pwVar1,param_4,__n);\n      iVar2 = *param_7 - iVar3;\n    }\n    *param_7 = iVar2 + ((int)pwVar1 - (int)param_5 >> 2);\n    return;\n  }\n  pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7);\n  *param_7 = (int)pwVar1 - (int)param_5 >> 2;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::_M_group_float\n          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          char *param_1,uint param_2,wchar_t param_3,wchar_t *param_4,wchar_t *param_5,\n          wchar_t *param_6,int *param_7)\n\n{\n  wchar_t *pwVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::num_put<" identifier : : identifier <) identifier , (ERROR "std::ostreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::_M_group_float\n          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          char *param_1,uint param_2,wchar_t param_3,wchar_t *param_4,wchar_t *param_5,\n          wchar_t *param_6,int *param_7)\n\n{\n  wchar_t" identifier : : identifier < identifier >> > : : (function_declarator "_M_group_float\n          (num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          char *param_1,uint param_2,wchar_t param_3,wchar_t *param_4,wchar_t *param_5,\n          wchar_t *param_6,int *param_7)" identifier (parameter_list "(num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *this,\n          char *param_1,uint param_2,wchar_t param_3,wchar_t *param_4,wchar_t *param_5,\n          wchar_t *param_6,int *param_7)" ( (parameter_declaration "num_put<wchar_t" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "std::ostreambuf_iterator<wchar_t" type_identifier (ERROR "::ostreambuf_iterator<" : : identifier <) identifier) , (parameter_declaration "std::char_traits<wchar_t>>> *this" type_identifier (ERROR "::char_traits<wchar_t>>>" : : identifier < identifier >> >) (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 "wchar_t param_3" type_identifier identifier) , (parameter_declaration "wchar_t *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "wchar_t *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "wchar_t *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) ))) { identifier) (pointer_declarator "*pwVar1" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_4 != (wchar_t *)0x0) {\n    iVar3 = (int)param_4 - (int)param_6 >> 2;\n    pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_4);\n    iVar2 = 0;\n    __n = *param_7 - iVar3;\n    if (__n != 0) {\n      wmemcpy(pwVar1,param_4,__n);\n      iVar2 = *param_7 - iVar3;\n    }\n    *param_7 = iVar2 + ((int)pwVar1 - (int)param_5 >> 2);\n    return;\n  }" if (parenthesized_expression "(param_4 != (wchar_t *)0x0)" ( (binary_expression "param_4 != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = (int)param_4 - (int)param_6 >> 2;\n    pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_4);\n    iVar2 = 0;\n    __n = *param_7 - iVar3;\n    if (__n != 0) {\n      wmemcpy(pwVar1,param_4,__n);\n      iVar2 = *param_7 - iVar3;\n    }\n    *param_7 = iVar2 + ((int)pwVar1 - (int)param_5 >> 2);\n    return;\n  }" { (expression_statement "iVar3 = (int)param_4 - (int)param_6 >> 2;" (assignment_expression "iVar3 = (int)param_4 - (int)param_6 >> 2" identifier = (binary_expression "(int)param_4 - (int)param_6 >> 2" (binary_expression "(int)param_4 - (int)param_6" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (expression_statement "pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_4);" (assignment_expression "pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_4)" identifier = (binary_expression "__add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_4)" (binary_expression "__add_grouping<wchar_t" identifier < identifier) > (parenthesized_expression "(param_5,param_3,param_1,param_2,param_6,param_4)" ( (comma_expression "param_5,param_3,param_1,param_2,param_6,param_4" identifier , (comma_expression "param_3,param_1,param_2,param_6,param_4" identifier , (comma_expression "param_1,param_2,param_6,param_4" identifier , (comma_expression "param_2,param_6,param_4" identifier , (comma_expression "param_6,param_4" identifier , identifier))))) )))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "__n = *param_7 - iVar3;" (assignment_expression "__n = *param_7 - iVar3" identifier = (binary_expression "*param_7 - iVar3" (pointer_expression "*param_7" * identifier) - identifier)) ;) (if_statement "if (__n != 0) {\n      wmemcpy(pwVar1,param_4,__n);\n      iVar2 = *param_7 - iVar3;\n    }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n      wmemcpy(pwVar1,param_4,__n);\n      iVar2 = *param_7 - iVar3;\n    }" { (expression_statement "wmemcpy(pwVar1,param_4,__n);" (call_expression "wmemcpy(pwVar1,param_4,__n)" identifier (argument_list "(pwVar1,param_4,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar2 = *param_7 - iVar3;" (assignment_expression "iVar2 = *param_7 - iVar3" identifier = (binary_expression "*param_7 - iVar3" (pointer_expression "*param_7" * identifier) - identifier)) ;) })) (expression_statement "*param_7 = iVar2 + ((int)pwVar1 - (int)param_5 >> 2);" (assignment_expression "*param_7 = iVar2 + ((int)pwVar1 - (int)param_5 >> 2)" (pointer_expression "*param_7" * identifier) = (binary_expression "iVar2 + ((int)pwVar1 - (int)param_5 >> 2)" identifier + (parenthesized_expression "((int)pwVar1 - (int)param_5 >> 2)" ( (binary_expression "(int)pwVar1 - (int)param_5 >> 2" (binary_expression "(int)pwVar1 - (int)param_5" (cast_expression "(int)pwVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) ;) (return_statement "return;" return ;) })) (expression_statement "pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7);" (assignment_expression "pwVar1 = __add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7)" identifier = (binary_expression "__add_grouping<wchar_t>(param_5,param_3,param_1,param_2,param_6,param_6 + *param_7)" (binary_expression "__add_grouping<wchar_t" 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)pwVar1 - (int)param_5 >> 2;" (assignment_expression "*param_7 = (int)pwVar1 - (int)param_5 >> 2" (pointer_expression "*param_7" * identifier) = (binary_expression "(int)pwVar1 - (int)param_5 >> 2" (binary_expression "(int)pwVar1 - (int)param_5" (cast_expression "(int)pwVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *param_5,int param_6,int param_7,int *param_8)\n\n{\n  wchar_t *__s1;\n  size_t __n;\n  int iVar1;\n  int iVar2;\n  \n  if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }\n  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);\n  *param_8 = iVar1 - param_6 >> 2;\n  return;\n}\n\n" (function_definition "void FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *param_5,int param_6,int param_7,int *param_8)\n\n{\n  wchar_t *__s1;\n  size_t __n;\n  int iVar1;\n  int iVar2;\n  \n  if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }\n  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);\n  *param_8 = iVar1 - param_6 >> 2;\n  return;\n}" primitive_type (function_declarator "FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *param_5,int param_6,int param_7,int *param_8)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *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 "undefined4 param_4" type_identifier identifier) , (parameter_declaration "wchar_t *param_5" type_identifier (pointer_declarator "*param_5" * 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  wchar_t *__s1;\n  size_t __n;\n  int iVar1;\n  int iVar2;\n  \n  if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }\n  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);\n  *param_8 = iVar1 - param_6 >> 2;\n  return;\n}" { (declaration "wchar_t *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }" if (parenthesized_expression "(param_5 != (wchar_t *)0x0)" ( (binary_expression "param_5 != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }" { (expression_statement "iVar2 = (int)param_5 - param_7 >> 2;" (assignment_expression "iVar2 = (int)param_5 - param_7 >> 2" identifier = (binary_expression "(int)param_5 - param_7 >> 2" (binary_expression "(int)param_5 - param_7" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) >> number_literal)) ;) (expression_statement "__s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);" (assignment_expression "__s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" identifier = (cast_expression "(wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" identifier (argument_list "(param_6,param_4,param_2,param_3,param_7,param_5)" ( identifier , identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "__n = *param_8 - iVar2;" (assignment_expression "__n = *param_8 - iVar2" identifier = (binary_expression "*param_8 - iVar2" (pointer_expression "*param_8" * identifier) - identifier)) ;) (if_statement "if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }" { (expression_statement "wmemcpy(__s1,param_5,__n);" (call_expression "wmemcpy(__s1,param_5,__n)" identifier (argument_list "(__s1,param_5,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar1 = *param_8 - iVar2;" (assignment_expression "iVar1 = *param_8 - iVar2" identifier = (binary_expression "*param_8 - iVar2" (pointer_expression "*param_8" * identifier) - identifier)) ;) })) (expression_statement "*param_8 = iVar1 + ((int)__s1 - param_6 >> 2);" (assignment_expression "*param_8 = iVar1 + ((int)__s1 - param_6 >> 2)" (pointer_expression "*param_8" * identifier) = (binary_expression "iVar1 + ((int)__s1 - param_6 >> 2)" identifier + (parenthesized_expression "((int)__s1 - param_6 >> 2)" ( (binary_expression "(int)__s1 - param_6 >> 2" (binary_expression "(int)__s1 - param_6" (cast_expression "(int)__s1" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) >> number_literal) )))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);" (assignment_expression "iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" identifier = (call_expression "FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" identifier (argument_list "(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "param_7 + *param_8 * 4" identifier + (binary_expression "*param_8 * 4" (pointer_expression "*param_8" * identifier) * number_literal)) )))) ;) (expression_statement "*param_8 = iVar1 - param_6 >> 2;" (assignment_expression "*param_8 = iVar1 - param_6 >> 2" (pointer_expression "*param_8" * identifier) = (binary_expression "iVar1 - param_6 >> 2" (binary_expression "iVar1 - param_6" identifier - identifier) >> number_literal)) ;) (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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) - IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) >> LIT) )))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression IDENT - IDENT) >> LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *param_5,int param_6,int param_7,int *param_8)\n\n{\n  wchar_t *__s1;\n  size_t __n;\n  int iVar1;\n  int iVar2;\n  \n  if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }\n  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);\n  *param_8 = iVar1 - param_6 >> 2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0023e3e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *param_5,int param_6,int param_7,int *param_8)" (identifier "FUN_0023e3e0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 wchar_t *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 "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "wchar_t *param_5" (type_identifier "wchar_t") (pointer_declarator "*param_5" (* "*") (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  wchar_t *__s1;\n  size_t __n;\n  int iVar1;\n  int iVar2;\n  \n  if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }\n  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);\n  *param_8 = iVar1 - param_6 >> 2;\n  return;\n}" ({ "{") (declaration "wchar_t *__s1;" (type_identifier "wchar_t") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_5 != (wchar_t *)0x0) {\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }" (if "if") (parenthesized_expression "(param_5 != (wchar_t *)0x0)" (( "(") (binary_expression "param_5 != (wchar_t *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(wchar_t *)0x0" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar2 = (int)param_5 - param_7 >> 2;\n    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);\n    iVar1 = 0;\n    __n = *param_8 - iVar2;\n    if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }\n    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);\n    return;\n  }" ({ "{") (expression_statement "iVar2 = (int)param_5 - param_7 >> 2;" (assignment_expression "iVar2 = (int)param_5 - param_7 >> 2" (identifier "iVar2") (= "=") (binary_expression "(int)param_5 - param_7 >> 2" (binary_expression "(int)param_5 - param_7" (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5")) (- "-") (identifier "param_7")) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "__s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);" (assignment_expression "__s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" (identifier "__s1") (= "=") (cast_expression "(wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5)" (identifier "FUN_0023e270") (argument_list "(param_6,param_4,param_2,param_3,param_7,param_5)" (( "(") (identifier "param_6") (, ",") (identifier "param_4") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_7") (, ",") (identifier "param_5") () ")"))))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "__n = *param_8 - iVar2;" (assignment_expression "__n = *param_8 - iVar2" (identifier "__n") (= "=") (binary_expression "*param_8 - iVar2" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (- "-") (identifier "iVar2"))) (; ";")) (if_statement "if (__n != 0) {\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      wmemcpy(__s1,param_5,__n);\n      iVar1 = *param_8 - iVar2;\n    }" ({ "{") (expression_statement "wmemcpy(__s1,param_5,__n);" (call_expression "wmemcpy(__s1,param_5,__n)" (identifier "wmemcpy") (argument_list "(__s1,param_5,__n)" (( "(") (identifier "__s1") (, ",") (identifier "param_5") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "iVar1 = *param_8 - iVar2;" (assignment_expression "iVar1 = *param_8 - iVar2" (identifier "iVar1") (= "=") (binary_expression "*param_8 - iVar2" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (- "-") (identifier "iVar2"))) (; ";")) (} "}"))) (expression_statement "*param_8 = iVar1 + ((int)__s1 - param_6 >> 2);" (assignment_expression "*param_8 = iVar1 + ((int)__s1 - param_6 >> 2)" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (binary_expression "iVar1 + ((int)__s1 - param_6 >> 2)" (identifier "iVar1") (+ "+") (parenthesized_expression "((int)__s1 - param_6 >> 2)" (( "(") (binary_expression "(int)__s1 - param_6 >> 2" (binary_expression "(int)__s1 - param_6" (cast_expression "(int)__s1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s1")) (- "-") (identifier "param_6")) (>> ">>") (number_literal "2")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);" (assignment_expression "iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" (identifier "iVar1") (= "=") (call_expression "FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" (identifier "FUN_0023e270") (argument_list "(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4)" (( "(") (identifier "param_6") (, ",") (identifier "param_4") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_7") (, ",") (binary_expression "param_7 + *param_8 * 4" (identifier "param_7") (+ "+") (binary_expression "*param_8 * 4" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*param_8 = iVar1 - param_6 >> 2;" (assignment_expression "*param_8 = iVar1 - param_6 >> 2" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (binary_expression "iVar1 - param_6 >> 2" (binary_expression "iVar1 - param_6" (identifier "iVar1") (- "-") (identifier "param_6")) (>> ">>") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* 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> >
   >::_M_group_float(char const*, unsigned int, wchar_t, wchar_t const*, wchar_t*, wchar_t*, int&)
   const */

void __thiscall
std::num_put<type_1,std::ostreambuf_iterator<type_1,std::char_traits<type_1>>>::_M_group_float
          (num_put<type_1,std::ostreambuf_iterator<type_1,std::char_traits<type_1>>> *this,
          char *param_1,uint param_2,type_1 param_3,type_1 *var_1,type_1 *param_5,
          type_1 *var_7,int *param_7)

{
  type_1 *pwVar1;
  size_t var_4;
  int var_6;
  int var_3;
  
  if (var_1 != (type_1 *)0x0) {
    var_3 = (int)var_1 - (int)var_7 >> 2;
    pwVar1 = var_2<type_1>(param_5,param_3,param_1,param_2,var_7,var_1);
    var_6 = 0;
    var_4 = *param_7 - var_3;
    if (var_4 != 0) {
      var_5(pwVar1,var_1,var_4);
      var_6 = *param_7 - var_3;
    }
    *param_7 = var_6 + ((int)pwVar1 - (int)param_5 >> 2);
    return;
  }
  pwVar1 = var_2<type_1>(param_5,param_3,param_1,param_2,var_7,var_7 + *param_7);
  *param_7 = (int)pwVar1 - (int)param_5 >> 2;
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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 (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))) (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,undefined4 param_4,
                 wchar_t *param_5,int param_6,int param_7,int *param_8)

{
  wchar_t *__s1;
  size_t __n;
  int iVar1;
  int iVar2;
  
  if (param_5 != (wchar_t *)0x0) {
    iVar2 = (int)param_5 - param_7 >> 2;
    __s1 = (wchar_t *)FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_5);
    iVar1 = 0;
    __n = *param_8 - iVar2;
    if (__n != 0) {
      wmemcpy(__s1,param_5,__n);
      iVar1 = *param_8 - iVar2;
    }
    *param_8 = iVar1 + ((int)__s1 - param_6 >> 2);
    return;
  }
  iVar1 = FUN_0023e270(param_6,param_4,param_2,param_3,param_7,param_7 + *param_8 * 4);
  *param_8 = iVar1 - param_6 >> 2;
  return;
}

