
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::__facet_shims::(anonymous
   namespace)::money_get_shim<wchar_t>::do_get(std::istreambuf_iterator<wchar_t,
   std::char_traits<wchar_t> >, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, bool,
   std::ios_base&, std::_Ios_Iostate&, long double&) const */

undefined4 *
std::__facet_shims::(anonymous_namespace)::money_get_shim<wchar_t>::do_get
          (undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,
          undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9,unkbyte10 *param_10)

{
  undefined4 local_34;
  undefined4 uStack_30;
  int local_20;
  unkbyte10 Stack_1c;
  undefined4 uStack_c;
  
  uStack_c = 0x23f367;
  local_20 = 0;
  __money_get<wchar_t>
            (&local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,
             param_8,&local_20,&Stack_1c,0);
  if (local_20 == 0) {
    *param_1 = local_34;
    param_1[1] = uStack_30;
    *param_10 = Stack_1c;
    return param_1;
  }
  *param_1 = local_34;
  param_1[1] = uStack_30;
  *param_9 = local_20;
  return param_1;
}



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

undefined4 *
FUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9
            )

{
  undefined4 local_38;
  undefined4 local_34 [4];
  int local_24;
  undefined4 local_20;
  undefined6 auStack_1c [2];
  undefined4 uStack_c;
  
  uStack_c = 0x23f367;
  local_20 = 0;
  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,
               param_8,&local_20,auStack_1c,0);
  if (local_24 == 0) {
    *param_1 = local_38;
    param_1[1] = local_34[0];
    *param_9 = CONCAT64(auStack_1c[0],local_20);
    return param_1;
  }
  *param_1 = local_38;
  param_1[1] = local_34[0];
  *param_8 = local_24;
  return param_1;
}


PUSH ESI
PUSH EBX
CALL 0x00036f20
ADD EBX,0x16fc99
SUB ESP,0x34
LEA EAX,[ESP + 0x8]
MOV ESI,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x1c],0x0
PUSH 0x0
LEA EDX,[ESP + 0x24]
PUSH EDX
LEA EDX,[ESP + 0x24]
PUSH EDX
PUSH dword ptr [ESP + 0x68]
MOVZX EDX,byte ptr [ESP + 0x68]
PUSH EDX
PUSH dword ptr [ESP + 0x68]
PUSH dword ptr [ESP + 0x68]
PUSH dword ptr [ESP + 0x68]
PUSH dword ptr [ESP + 0x68]
MOV EDX,dword ptr [ESP + 0x68]
PUSH dword ptr [EDX + 0x8]
PUSH 0x0
PUSH EAX
CALL 0x0023d4f0
MOV EAX,dword ptr [ESP + 0x48]
MOV ECX,dword ptr [ESP + 0x34]
MOV EBX,dword ptr [ESP + 0x38]
ADD ESP,0x2c
TEST EAX,EAX
JNZ 0x0023f3e8
FLD tword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x64]
MOV dword ptr [ESI],ECX
MOV dword ptr [ESI + 0x4],EBX
FSTP tword ptr [EAX]
ADD ESP,0x34
MOV EAX,ESI
POP EBX
POP ESI
RET 0x4
MOV EDX,dword ptr [ESP + 0x60]
MOV dword ptr [ESI],ECX
MOV dword ptr [ESI + 0x4],EBX
MOV dword ptr [EDX],EAX
ADD ESP,0x34
MOV EAX,ESI
POP EBX
POP ESI
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 *\nFUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )\n\n{\n  undefined4 local_38;\n  undefined4 local_34 [4];\n  int local_24;\n  undefined4 local_20;\n  undefined6 auStack_1c [2];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);\n  if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  *param_8 = local_24;\n  return param_1;\n}\n\n" comment (function_definition "undefined4 *\nFUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )\n\n{\n  undefined4 local_38;\n  undefined4 local_34 [4];\n  int local_24;\n  undefined4 local_20;\n  undefined6 auStack_1c [2];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);\n  if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  *param_8 = local_24;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" * (function_declarator "FUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * 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 "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined1 param_7" type_identifier identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "unkbyte10 *param_9" type_identifier (pointer_declarator "*param_9" * identifier)) )))) (compound_statement "{\n  undefined4 local_38;\n  undefined4 local_34 [4];\n  int local_24;\n  undefined4 local_20;\n  undefined6 auStack_1c [2];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);\n  if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  *param_8 = local_24;\n  return param_1;\n}" { (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34 [4];" type_identifier (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined6 auStack_1c [2];" type_identifier (array_declarator "auStack_1c [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x23f367;" (assignment_expression "uStack_c = 0x23f367" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);" (call_expression "FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0)" identifier (argument_list "(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0)" ( 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 , identifier , identifier , (pointer_expression "&local_20" & identifier) , identifier , number_literal ))) ;) (if_statement "if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }" { (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (expression_statement "*param_9 = CONCAT64(auStack_1c[0],local_20);" (assignment_expression "*param_9 = CONCAT64(auStack_1c[0],local_20)" (pointer_expression "*param_9" * identifier) = (call_expression "CONCAT64(auStack_1c[0],local_20)" identifier (argument_list "(auStack_1c[0],local_20)" ( (subscript_expression "auStack_1c[0]" identifier [ number_literal ]) , identifier )))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (expression_statement "*param_8 = local_24;" (assignment_expression "*param_8 = local_24" (pointer_expression "*param_8" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::__facet_shims::(anonymous\n   namespace)::money_get_shim<wchar_t>::do_get(std::istreambuf_iterator<wchar_t,\n   std::char_traits<wchar_t> >, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, bool,\n   std::ios_base&, std::_Ios_Iostate&, long double&) const */\n\nundefined4 *\nstd::__facet_shims::(anonymous_namespace)::money_get_shim<wchar_t>::do_get\n          (undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9,unkbyte10 *param_10)\n\n{\n  undefined4 local_34;\n  undefined4 uStack_30;\n  int local_20;\n  unkbyte10 Stack_1c;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  __money_get<wchar_t>\n            (&local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0);\n  if (local_20 == 0) {\n    *param_1 = local_34;\n    param_1[1] = uStack_30;\n    *param_10 = Stack_1c;\n    return param_1;\n  }\n  *param_1 = local_34;\n  param_1[1] = uStack_30;\n  *param_9 = local_20;\n  return param_1;\n}\n\n" comment comment (ERROR "undefined4 *\nstd::" (binary_expression "undefined4 *\nstd" identifier * identifier) : :) (labeled_statement "__facet_shims::(anonymous_namespace)::money_get_shim<wchar_t>::do_get\n          (undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9,unkbyte10 *param_10)" statement_identifier (ERROR "::(anonymous_namespace)::money_get_shim<wchar_t>:" : : (parenthesized_expression "(anonymous_namespace)" ( identifier )) : : (binary_expression "money_get_shim<wchar_t" identifier < identifier) > :) : (expression_statement "do_get\n          (undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9,unkbyte10 *param_10)" (call_expression "do_get\n          (undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9,unkbyte10 *param_10)" identifier (argument_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n          undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9,unkbyte10 *param_10)" ( (binary_expression "undefined4 *param_1" identifier * identifier) , (ERROR "int" identifier) identifier , identifier (ERROR "param_3" identifier) , identifier (ERROR "param_4" identifier) , identifier (ERROR "param_5" identifier) , identifier (ERROR "param_6" identifier) , identifier (ERROR "param_7" identifier) , identifier (ERROR "param_8" identifier) , (binary_expression "int *param_9" identifier * identifier) , (binary_expression "unkbyte10 *param_10" identifier * identifier) ))) ;)) (compound_statement "{\n  undefined4 local_34;\n  undefined4 uStack_30;\n  int local_20;\n  unkbyte10 Stack_1c;\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  __money_get<wchar_t>\n            (&local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0);\n  if (local_20 == 0) {\n    *param_1 = local_34;\n    param_1[1] = uStack_30;\n    *param_10 = Stack_1c;\n    return param_1;\n  }\n  *param_1 = local_34;\n  param_1[1] = uStack_30;\n  *param_9 = local_20;\n  return param_1;\n}" { (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 uStack_30;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "unkbyte10 Stack_1c;" type_identifier identifier ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x23f367;" (assignment_expression "uStack_c = 0x23f367" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "__money_get<wchar_t>\n            (&local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0);" (binary_expression "__money_get<wchar_t>\n            (&local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0)" (binary_expression "__money_get<wchar_t" identifier < identifier) > (parenthesized_expression "(&local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0)" ( (comma_expression "&local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0" (pointer_expression "&local_34" & identifier) , (comma_expression "0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0" number_literal , (comma_expression "*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0" (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,param_7,\n             param_8,&local_20,&Stack_1c,0" identifier , (comma_expression "param_4,param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0" identifier , (comma_expression "param_5,param_6,param_7,\n             param_8,&local_20,&Stack_1c,0" identifier , (comma_expression "param_6,param_7,\n             param_8,&local_20,&Stack_1c,0" identifier , (comma_expression "param_7,\n             param_8,&local_20,&Stack_1c,0" identifier , (comma_expression "param_8,&local_20,&Stack_1c,0" identifier , (comma_expression "&local_20,&Stack_1c,0" (pointer_expression "&local_20" & identifier) , (comma_expression "&Stack_1c,0" (pointer_expression "&Stack_1c" & identifier) , number_literal))))))))))) ))) ;) (if_statement "if (local_20 == 0) {\n    *param_1 = local_34;\n    param_1[1] = uStack_30;\n    *param_10 = Stack_1c;\n    return param_1;\n  }" if (parenthesized_expression "(local_20 == 0)" ( (binary_expression "local_20 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = local_34;\n    param_1[1] = uStack_30;\n    *param_10 = Stack_1c;\n    return param_1;\n  }" { (expression_statement "*param_1 = local_34;" (assignment_expression "*param_1 = local_34" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = uStack_30;" (assignment_expression "param_1[1] = uStack_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_10 = Stack_1c;" (assignment_expression "*param_10 = Stack_1c" (pointer_expression "*param_10" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "*param_1 = local_34;" (assignment_expression "*param_1 = local_34" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = uStack_30;" (assignment_expression "param_1[1] = uStack_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_9 = local_20;" (assignment_expression "*param_9 = local_20" (pointer_expression "*param_9" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "undefined4 *\nFUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )\n\n{\n  undefined4 local_38;\n  undefined4 local_34 [4];\n  int local_24;\n  undefined4 local_20;\n  undefined6 auStack_1c [2];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);\n  if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  *param_8 = local_24;\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )\n\n{\n  undefined4 local_38;\n  undefined4 local_34 [4];\n  int local_24;\n  undefined4 local_20;\n  undefined6 auStack_1c [2];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);\n  if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  *param_8 = local_24;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" * (function_declarator "FUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * 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 "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined1 param_7" type_identifier identifier) , (parameter_declaration "int *param_8" primitive_type (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "unkbyte10 *param_9" type_identifier (pointer_declarator "*param_9" * identifier)) )))) (compound_statement "{\n  undefined4 local_38;\n  undefined4 local_34 [4];\n  int local_24;\n  undefined4 local_20;\n  undefined6 auStack_1c [2];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);\n  if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  *param_8 = local_24;\n  return param_1;\n}" { (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined4 local_34 [4];" type_identifier (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined6 auStack_1c [2];" type_identifier (array_declarator "auStack_1c [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_c;" type_identifier identifier ;) (expression_statement "uStack_c = 0x23f367;" (assignment_expression "uStack_c = 0x23f367" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);" (call_expression "FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0)" identifier (argument_list "(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0)" ( 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 , identifier , identifier , (pointer_expression "&local_20" & identifier) , identifier , number_literal ))) ;) (if_statement "if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }" { (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (expression_statement "*param_9 = CONCAT64(auStack_1c[0],local_20);" (assignment_expression "*param_9 = CONCAT64(auStack_1c[0],local_20)" (pointer_expression "*param_9" * identifier) = (call_expression "CONCAT64(auStack_1c[0],local_20)" identifier (argument_list "(auStack_1c[0],local_20)" ( (subscript_expression "auStack_1c[0]" identifier [ number_literal ]) , identifier )))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (expression_statement "*param_8 = local_24;" (assignment_expression "*param_8 = local_24" (pointer_expression "*param_8" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 , IDENT , IDENT , (pointer_expression & IDENT) , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )\n\n{\n  undefined4 local_38;\n  undefined4 local_34 [4];\n  int local_24;\n  undefined4 local_20;\n  undefined6 auStack_1c [2];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);\n  if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  *param_8 = local_24;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" (* "*") (function_declarator "FUN_0023f360(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" (identifier "FUN_0023f360") (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,int *param_8,unkbyte10 *param_9\n            )" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (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 "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined1 param_7" (type_identifier "undefined1") (identifier "param_7")) (, ",") (parameter_declaration "int *param_8" (primitive_type "int") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) (, ",") (parameter_declaration "unkbyte10 *param_9" (type_identifier "unkbyte10") (pointer_declarator "*param_9" (* "*") (identifier "param_9"))) () ")")))) (compound_statement "{\n  undefined4 local_38;\n  undefined4 local_34 [4];\n  int local_24;\n  undefined4 local_20;\n  undefined6 auStack_1c [2];\n  undefined4 uStack_c;\n  \n  uStack_c = 0x23f367;\n  local_20 = 0;\n  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);\n  if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }\n  *param_1 = local_38;\n  param_1[1] = local_34[0];\n  *param_8 = local_24;\n  return param_1;\n}" ({ "{") (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined4 local_34 [4];" (type_identifier "undefined4") (array_declarator "local_34 [4]" (identifier "local_34") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined6 auStack_1c [2];" (type_identifier "undefined6") (array_declarator "auStack_1c [2]" (identifier "auStack_1c") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 uStack_c;" (type_identifier "undefined4") (identifier "uStack_c") (; ";")) (expression_statement "uStack_c = 0x23f367;" (assignment_expression "uStack_c = 0x23f367" (identifier "uStack_c") (= "=") (number_literal "0x23f367")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0);" (call_expression "FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0)" (identifier "FUN_0023d4f0") (argument_list "(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_20,auStack_1c,0)" (( "(") (identifier "local_34") (, ",") (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") (, ",") (identifier "param_7") (, ",") (identifier "param_8") (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (identifier "auStack_1c") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_24 == 0) {\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = local_38;\n    param_1[1] = local_34[0];\n    *param_9 = CONCAT64(auStack_1c[0],local_20);\n    return param_1;\n  }" ({ "{") (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "*param_9 = CONCAT64(auStack_1c[0],local_20);" (assignment_expression "*param_9 = CONCAT64(auStack_1c[0],local_20)" (pointer_expression "*param_9" (* "*") (identifier "param_9")) (= "=") (call_expression "CONCAT64(auStack_1c[0],local_20)" (identifier "CONCAT64") (argument_list "(auStack_1c[0],local_20)" (( "(") (subscript_expression "auStack_1c[0]" (identifier "auStack_1c") ([ "[") (number_literal "0") (] "]")) (, ",") (identifier "local_20") () ")")))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "*param_1 = local_38;" (assignment_expression "*param_1 = local_38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "param_1[1] = local_34[0];" (assignment_expression "param_1[1] = local_34[0]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "*param_8 = local_24;" (assignment_expression "*param_8 = local_24" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (identifier "local_24")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::__facet_shims::(anonymous
   namespace)::money_get_shim<wchar_t>::do_get(std::istreambuf_iterator<wchar_t,
   std::char_traits<wchar_t> >, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, bool,
   std::ios_base&, std::_Ios_Iostate&, long double&) const */

var_2 *
std::__facet_shims::(anonymous_namespace)::money_get_shim<var_9>::var_1
          (var_2 *var_3,var_4 var_10,var_2 param_3,var_2 param_4,var_2 param_5,
          var_2 param_6,undefined1 param_7,var_2 param_8,var_4 *var_5,var_6 *var_7)

{
  var_2 local_34;
  var_2 uStack_30;
  int var_11;
  var_6 Stack_1c;
  var_2 uStack_c;
  
  uStack_c = 0x23f367;
  var_11 = 0;
  var_8<var_9>
            (&local_34,0,*(var_2 *)(var_10 + 8),param_3,param_4,param_5,param_6,param_7,
             param_8,&var_11,&Stack_1c,0);
  if (var_11 == 0) {
    *var_3 = local_34;
    var_3[1] = uStack_30;
    *var_7 = Stack_1c;
    return var_3;
  }
  *var_3 = local_34;
  var_3[1] = uStack_30;
  *var_5 = var_11;
  return var_3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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) (identifier) (identifier) (pointer_expression argument: (identifier)) (identifier) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (identifier))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier)))))

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

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

{
  undefined4 local_38;
  undefined4 local_34 [4];
  int local_24;
  undefined4 local_20;
  undefined6 auStack_1c [2];
  undefined4 uStack_c;
  
  uStack_c = 0x23f367;
  local_20 = 0;
  FUN_0023d4f0(local_34,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,
               param_8,&local_20,auStack_1c,0);
  if (local_24 == 0) {
    *param_1 = local_38;
    param_1[1] = local_34[0];
    *param_9 = CONCAT64(auStack_1c[0],local_20);
    return param_1;
  }
  *param_1 = local_38;
  param_1[1] = local_34[0];
  *param_8 = local_24;
  return param_1;
}

