
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* std::money_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<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&, std::wstring&) const */

undefined4 *
std::money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get
          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
          undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,
          wstring *param_10)

{
  uint uVar1;
  ctype *pcVar2;
  undefined4 local_34;
  undefined4 local_30;
  undefined *local_20 [4];
  
  pcVar2 = use_facet<std::ctype<wchar_t>>((locale *)(param_8 + 0x6c));
  local_20[0] = &DAT_00396e0c;
  if (param_7 == '\0') {
    _M_extract<false>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);
  }
  else {
                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */
    _M_extract<true>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);
  }
  uVar1 = *(uint *)(local_20[0] + -0xc);
  if (uVar1 != 0) {
    std::wstring::resize(param_10,uVar1,L'\0');
    if (-1 < *(int *)(*(int *)param_10 + -4)) {
      std::wstring::_M_leak_hard(param_10);
    }
    (**(code **)(*(int *)pcVar2 + 0x2c))
              (pcVar2,local_20[0],local_20[0] + uVar1,*(undefined4 *)param_10);
  }
  *param_1 = local_34;
  param_1[1] = local_30;
  if ((allocator *)(local_20[0] + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {
    std::string::_Rep::_M_dispose((allocator *)(local_20[0] + -0xc));
  }
  return param_1;
}



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

undefined4 *
FUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,
            int *param_10)

{
  int iVar1;
  int *piVar2;
  undefined4 local_34;
  undefined4 local_30;
  undefined *local_20 [4];
  
  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);
  local_20[0] = &DAT_00396e0c;
  if (param_7 == '\0') {
    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);
  }
  else {
                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */
    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);
  }
  iVar1 = *(int *)(local_20[0] + -0xc);
  if (iVar1 != 0) {
    FUN_0026b370(param_10,iVar1,0);
    if (-1 < *(int *)(*param_10 + -4)) {
      FUN_0026a120(param_10);
    }
    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);
  }
  *param_1 = local_34;
  param_1[1] = local_30;
  if (local_20[0] != &DAT_00396e0c) {
    FUN_00239560();
  }
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
CALL 0x000559ea
ADD ESI,0x145706
PUSH EBX
SUB ESP,0x38
MOV EAX,dword ptr [EBP + 0x24]
MOV EDI,dword ptr [EBP + 0x20]
ADD EAX,0x6c
PUSH EAX
MOV EBX,ESI
CALL 0x0023c1e0
ADD ESP,0x10
MOV dword ptr [EBP + -0x38],EAX
LEA EAX,[ESI + 0x7e00]
MOV dword ptr [EBP + -0x34],EAX
ADD EAX,0xc
MOV dword ptr [EBP + -0x1c],EAX
MOV EAX,EDI
TEST AL,AL
LEA EAX,[EBP + -0x30]
JZ 0x00249998
SUB ESP,0xc
LEA EDX,[EBP + -0x1c]
PUSH EDX
PUSH dword ptr [EBP + 0x28]
PUSH dword ptr [EBP + 0x24]
PUSH dword ptr [EBP + 0x1c]
PUSH dword ptr [EBP + 0x18]
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0xc]
PUSH EAX
CALL 0x002480f0
MOV EAX,dword ptr [EBP + -0x30]
MOV EDX,dword ptr [EBP + -0x2c]
ADD ESP,0x2c
MOV dword ptr [EBP + 0x10],EAX
MOV EAX,dword ptr [EBP + -0x1c]
MOV dword ptr [EBP + 0x14],EDX
MOV EDI,dword ptr [EAX + -0xc]
TEST EDI,EDI
JNZ 0x002499c0
MOV ESI,dword ptr [EBP + 0x8]
MOV ECX,dword ptr [EBP + 0x10]
SUB EAX,0xc
MOV EBX,dword ptr [EBP + 0x14]
MOV dword ptr [ESI],ECX
MOV dword ptr [ESI + 0x4],EBX
CMP EAX,dword ptr [EBP + -0x34]
JNZ 0x00249a10
MOV EAX,dword ptr [EBP + 0x8]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
SUB ESP,0xc
LEA EDX,[EBP + -0x1c]
PUSH EDX
PUSH dword ptr [EBP + 0x28]
PUSH dword ptr [EBP + 0x24]
PUSH dword ptr [EBP + 0x1c]
PUSH dword ptr [EBP + 0x18]
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0xc]
PUSH EAX
CALL 0x00248cc0
JMP 0x00249955
SUB ESP,0x4
MOV EBX,ESI
PUSH 0x0
PUSH EDI
PUSH dword ptr [EBP + 0x2c]
CALL 0x0026b370
MOV EAX,dword ptr [EBP + 0x2c]
ADD ESP,0x10
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + -0x4]
TEST EAX,EAX
JNS 0x00249a00
MOV ECX,dword ptr [EBP + -0x38]
MOV EAX,dword ptr [EBP + -0x1c]
MOV EBX,dword ptr [EBP + 0x2c]
MOV EDX,dword ptr [ECX]
ADD EDI,EAX
PUSH dword ptr [EBX]
PUSH EDI
PUSH EAX
PUSH ECX
CALL dword ptr [EDX + 0x2c]
ADD ESP,0x10
MOV EAX,dword ptr [EBP + -0x1c]
JMP 0x0024996e
SUB ESP,0xc
PUSH dword ptr [EBP + 0x2c]
CALL 0x0026a120
ADD ESP,0x10
JMP 0x002499df
LEA EDX,[EBP + -0x1d]
CALL 0x00239560
JMP 0x00249988
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 *\nFUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  iVar1 = *(int *)(local_20[0] + -0xc);\n  if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }\n  return param_1;\n}\n\n" comment (function_definition "undefined4 *\nFUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  iVar1 = *(int *)(local_20[0] + -0xc);\n  if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" * (function_declarator "FUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * 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 "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "char param_7" primitive_type identifier) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) , (parameter_declaration "int *param_10" primitive_type (pointer_declarator "*param_10" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  iVar1 = *(int *)(local_20[0] + -0xc);\n  if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined *local_20 [4];" type_identifier (pointer_declarator "*local_20 [4]" * (array_declarator "local_20 [4]" identifier [ number_literal ])) ;) (expression_statement "piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);" (assignment_expression "piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c)" identifier = (cast_expression "(int *)FUN_0023c1e0(param_8 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023c1e0(param_8 + 0x6c)" identifier (argument_list "(param_8 + 0x6c)" ( (binary_expression "param_8 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "local_20[0] = &DAT_00396e0c;" (assignment_expression "local_20[0] = &DAT_00396e0c" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "&DAT_00396e0c" & identifier)) ;) (if_statement "if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" if (parenthesized_expression "(param_7 == '\0')" ( (binary_expression "param_7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" { (expression_statement "FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);" (call_expression "FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" identifier (argument_list "(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" else (compound_statement "{\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" { comment (expression_statement "FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);" (call_expression "FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" identifier (argument_list "(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) }))) (expression_statement "iVar1 = *(int *)(local_20[0] + -0xc);" (assignment_expression "iVar1 = *(int *)(local_20[0] + -0xc)" identifier = (pointer_expression "*(int *)(local_20[0] + -0xc)" * (cast_expression "(int *)(local_20[0] + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20[0] + -0xc)" ( (binary_expression "local_20[0] + -0xc" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }" { (expression_statement "FUN_0026b370(param_10,iVar1,0);" (call_expression "FUN_0026b370(param_10,iVar1,0)" identifier (argument_list "(param_10,iVar1,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }" if (parenthesized_expression "(-1 < *(int *)(*param_10 + -4))" ( (binary_expression "-1 < *(int *)(*param_10 + -4)" number_literal < (pointer_expression "*(int *)(*param_10 + -4)" * (cast_expression "(int *)(*param_10 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_10 + -4)" ( (binary_expression "*param_10 + -4" (pointer_expression "*param_10" * identifier) + number_literal) ))))) )) (compound_statement "{\n      FUN_0026a120(param_10);\n    }" { (expression_statement "FUN_0026a120(param_10);" (call_expression "FUN_0026a120(param_10)" identifier (argument_list "(param_10)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);" (call_expression "(**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10)" (parenthesized_expression "(**(code **)(*piVar2 + 0x2c))" ( (pointer_expression "**(code **)(*piVar2 + 0x2c)" * (pointer_expression "*(code **)(*piVar2 + 0x2c)" * (cast_expression "(code **)(*piVar2 + 0x2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x2c)" ( (binary_expression "*piVar2 + 0x2c" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,local_20[0],local_20[0] + iVar1,*param_10)" ( identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) , (binary_expression "local_20[0] + iVar1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + identifier) , (pointer_expression "*param_10" * identifier) ))) ;) })) (expression_statement "*param_1 = local_34;" (assignment_expression "*param_1 = local_34" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }" if (parenthesized_expression "(local_20[0] != &DAT_00396e0c)" ( (binary_expression "local_20[0] != &DAT_00396e0c" (subscript_expression "local_20[0]" identifier [ number_literal ]) != (pointer_expression "&DAT_00396e0c" & identifier)) )) (compound_statement "{\n    FUN_00239560();\n  }" { (expression_statement "FUN_00239560();" (call_expression "FUN_00239560()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* std::money_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::do_get(std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,\n   std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >, bool, std::ios_base&,\n   std::_Ios_Iostate&, std::wstring&) const */\n\nundefined4 *\nstd::money_get<wchar_t,std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n          wstring *param_10)\n\n{\n  uint uVar1;\n  ctype *pcVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  pcVar2 = use_facet<std::ctype<wchar_t>>((locale *)(param_8 + 0x6c));\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    _M_extract<false>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    _M_extract<true>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  uVar1 = *(uint *)(local_20[0] + -0xc);\n  if (uVar1 != 0) {\n    std::wstring::resize(param_10,uVar1,L'\0');\n    if (-1 < *(int *)(*(int *)param_10 + -4)) {\n      std::wstring::_M_leak_hard(param_10);\n    }\n    (**(code **)(*(int *)pcVar2 + 0x2c))\n              (pcVar2,local_20[0],local_20[0] + uVar1,*(undefined4 *)param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if ((allocator *)(local_20[0] + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n    std::string::_Rep::_M_dispose((allocator *)(local_20[0] + -0xc));\n  }\n  return param_1;\n}\n\n" comment comment (ERROR "undefined4 *\nstd::money_get<wchar_t," (binary_expression "undefined4 *\nstd::money_get<wchar_t" (binary_expression "undefined4 *\nstd" identifier * identifier) (ERROR "::money_get" : : identifier) < identifier) ,) (labeled_statement "std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::do_get\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n          wstring *param_10)" statement_identifier (ERROR "::istreambuf_iterator<wchar_t,std:" : : (comma_expression "istreambuf_iterator<wchar_t,std" (binary_expression "istreambuf_iterator<wchar_t" identifier < identifier) , identifier) :) : (expression_statement "char_traits<wchar_t>>>::do_get\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n          wstring *param_10)" (binary_expression "char_traits<wchar_t>>>::do_get\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n          wstring *param_10)" identifier < (binary_expression "wchar_t>>>::do_get\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n          wstring *param_10)" identifier >> (ERROR ">::" > : :) (call_expression "do_get\n          (undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n          wstring *param_10)" identifier (argument_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n          undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n          wstring *param_10)" ( (binary_expression "undefined4 *param_1" identifier * identifier) , identifier (ERROR "param_2" identifier) , identifier (ERROR "param_3" identifier) , identifier (ERROR "param_4" identifier) , identifier (ERROR "param_5" identifier) , identifier (ERROR "param_6" identifier) , (ERROR "char" identifier) identifier , (ERROR "int" identifier) identifier , identifier (ERROR "param_9" identifier) , (binary_expression "wstring *param_10" identifier * identifier) ))))) ;)) (compound_statement "{\n  uint uVar1;\n  ctype *pcVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  pcVar2 = use_facet<std::ctype<wchar_t>>((locale *)(param_8 + 0x6c));\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    _M_extract<false>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    _M_extract<true>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  uVar1 = *(uint *)(local_20[0] + -0xc);\n  if (uVar1 != 0) {\n    std::wstring::resize(param_10,uVar1,L'\0');\n    if (-1 < *(int *)(*(int *)param_10 + -4)) {\n      std::wstring::_M_leak_hard(param_10);\n    }\n    (**(code **)(*(int *)pcVar2 + 0x2c))\n              (pcVar2,local_20[0],local_20[0] + uVar1,*(undefined4 *)param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if ((allocator *)(local_20[0] + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n    std::string::_Rep::_M_dispose((allocator *)(local_20[0] + -0xc));\n  }\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "ctype *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined *local_20 [4];" type_identifier (pointer_declarator "*local_20 [4]" * (array_declarator "local_20 [4]" identifier [ number_literal ])) ;) (expression_statement "pcVar2 = use_facet<std::ctype<wchar_t>>((locale *)(param_8 + 0x6c));" (binary_expression "pcVar2 = use_facet<std::ctype<wchar_t>>((locale *)(param_8 + 0x6c))" (assignment_expression "pcVar2 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "wchar_t>>((locale *)(param_8 + 0x6c))" identifier >> (parenthesized_expression "((locale *)(param_8 + 0x6c))" ( (cast_expression "(locale *)(param_8 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_8 + 0x6c)" ( (binary_expression "param_8 + 0x6c" identifier + number_literal) ))) )))) ;) (expression_statement "local_20[0] = &DAT_00396e0c;" (assignment_expression "local_20[0] = &DAT_00396e0c" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "&DAT_00396e0c" & identifier)) ;) (if_statement "if (param_7 == '\0') {\n    _M_extract<false>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    _M_extract<true>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" if (parenthesized_expression "(param_7 == '\0')" ( (binary_expression "param_7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    _M_extract<false>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" { (expression_statement "_M_extract<false>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);" (binary_expression "_M_extract<false>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" (binary_expression "_M_extract<false" identifier < false) > (parenthesized_expression "(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" ( (comma_expression "&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20" (pointer_expression "&local_34" & identifier) , (comma_expression "param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20" identifier , (comma_expression "param_3,param_4,param_5,param_6,param_8,param_9,local_20" identifier , (comma_expression "param_4,param_5,param_6,param_8,param_9,local_20" identifier , (comma_expression "param_5,param_6,param_8,param_9,local_20" identifier , (comma_expression "param_6,param_8,param_9,local_20" identifier , (comma_expression "param_8,param_9,local_20" identifier , (comma_expression "param_9,local_20" identifier , identifier)))))))) ))) ;) }) (else_clause "else {\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    _M_extract<true>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" else (compound_statement "{\n                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */\n    _M_extract<true>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" { comment (expression_statement "_M_extract<true>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);" (binary_expression "_M_extract<true>(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" (binary_expression "_M_extract<true" identifier < true) > (parenthesized_expression "(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" ( (comma_expression "&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20" (pointer_expression "&local_34" & identifier) , (comma_expression "param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20" identifier , (comma_expression "param_3,param_4,param_5,param_6,param_8,param_9,local_20" identifier , (comma_expression "param_4,param_5,param_6,param_8,param_9,local_20" identifier , (comma_expression "param_5,param_6,param_8,param_9,local_20" identifier , (comma_expression "param_6,param_8,param_9,local_20" identifier , (comma_expression "param_8,param_9,local_20" identifier , (comma_expression "param_9,local_20" identifier , identifier)))))))) ))) ;) }))) (expression_statement "uVar1 = *(uint *)(local_20[0] + -0xc);" (assignment_expression "uVar1 = *(uint *)(local_20[0] + -0xc)" identifier = (pointer_expression "*(uint *)(local_20[0] + -0xc)" * (cast_expression "(uint *)(local_20[0] + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20[0] + -0xc)" ( (binary_expression "local_20[0] + -0xc" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (uVar1 != 0) {\n    std::wstring::resize(param_10,uVar1,L'\0');\n    if (-1 < *(int *)(*(int *)param_10 + -4)) {\n      std::wstring::_M_leak_hard(param_10);\n    }\n    (**(code **)(*(int *)pcVar2 + 0x2c))\n              (pcVar2,local_20[0],local_20[0] + uVar1,*(undefined4 *)param_10);\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    std::wstring::resize(param_10,uVar1,L'\0');\n    if (-1 < *(int *)(*(int *)param_10 + -4)) {\n      std::wstring::_M_leak_hard(param_10);\n    }\n    (**(code **)(*(int *)pcVar2 + 0x2c))\n              (pcVar2,local_20[0],local_20[0] + uVar1,*(undefined4 *)param_10);\n  }" { (labeled_statement "std::wstring::resize(param_10,uVar1,L'\0');" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::resize(param_10,uVar1,L'\0');" statement_identifier : (ERROR ":" :) (expression_statement "resize(param_10,uVar1,L'\0');" (call_expression "resize(param_10,uVar1,L'\0')" identifier (argument_list "(param_10,uVar1,L'\0')" ( identifier , identifier , (char_literal "L'\0'" L' escape_sequence ') ))) ;))) (if_statement "if (-1 < *(int *)(*(int *)param_10 + -4)) {\n      std::wstring::_M_leak_hard(param_10);\n    }" if (parenthesized_expression "(-1 < *(int *)(*(int *)param_10 + -4))" ( (binary_expression "-1 < *(int *)(*(int *)param_10 + -4)" number_literal < (pointer_expression "*(int *)(*(int *)param_10 + -4)" * (cast_expression "(int *)(*(int *)param_10 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_10 + -4)" ( (binary_expression "*(int *)param_10 + -4" (pointer_expression "*(int *)param_10" * (cast_expression "(int *)param_10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (compound_statement "{\n      std::wstring::_M_leak_hard(param_10);\n    }" { (labeled_statement "std::wstring::_M_leak_hard(param_10);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_leak_hard(param_10);" statement_identifier : (ERROR ":" :) (expression_statement "_M_leak_hard(param_10);" (call_expression "_M_leak_hard(param_10)" identifier (argument_list "(param_10)" ( identifier ))) ;))) })) (expression_statement "(**(code **)(*(int *)pcVar2 + 0x2c))\n              (pcVar2,local_20[0],local_20[0] + uVar1,*(undefined4 *)param_10);" (call_expression "(**(code **)(*(int *)pcVar2 + 0x2c))\n              (pcVar2,local_20[0],local_20[0] + uVar1,*(undefined4 *)param_10)" (parenthesized_expression "(**(code **)(*(int *)pcVar2 + 0x2c))" ( (pointer_expression "**(code **)(*(int *)pcVar2 + 0x2c)" * (pointer_expression "*(code **)(*(int *)pcVar2 + 0x2c)" * (cast_expression "(code **)(*(int *)pcVar2 + 0x2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)pcVar2 + 0x2c)" ( (binary_expression "*(int *)pcVar2 + 0x2c" (pointer_expression "*(int *)pcVar2" * (cast_expression "(int *)pcVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pcVar2,local_20[0],local_20[0] + uVar1,*(undefined4 *)param_10)" ( identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) , (binary_expression "local_20[0] + uVar1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + identifier) , (pointer_expression "*(undefined4 *)param_10" * (cast_expression "(undefined4 *)param_10" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) })) (expression_statement "*param_1 = local_34;" (assignment_expression "*param_1 = local_34" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((allocator *)(local_20[0] + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n    std::string::_Rep::_M_dispose((allocator *)(local_20[0] + -0xc));\n  }" if (parenthesized_expression "((allocator *)(local_20[0] + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage)" ( (binary_expression "(allocator *)(local_20[0] + -0xc) != (allocator *)&std" (cast_expression "(allocator *)(local_20[0] + -0xc)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20[0] + -0xc)" ( (binary_expression "local_20[0] + -0xc" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))) != (cast_expression "(allocator *)&std" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&std" & identifier))) (ERROR "::string::_Rep::_S_empty_rep_storage" : : identifier : : identifier : : identifier) )) (compound_statement "{\n    std::string::_Rep::_M_dispose((allocator *)(local_20[0] + -0xc));\n  }" { (labeled_statement "std::string::_Rep::_M_dispose((allocator *)(local_20[0] + -0xc));" statement_identifier : (ERROR ":" :) (labeled_statement "string::_Rep::_M_dispose((allocator *)(local_20[0] + -0xc));" statement_identifier : (ERROR ":" :) (labeled_statement "_Rep::_M_dispose((allocator *)(local_20[0] + -0xc));" statement_identifier : (ERROR ":" :) (expression_statement "_M_dispose((allocator *)(local_20[0] + -0xc));" (call_expression "_M_dispose((allocator *)(local_20[0] + -0xc))" identifier (argument_list "((allocator *)(local_20[0] + -0xc))" ( (cast_expression "(allocator *)(local_20[0] + -0xc)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20[0] + -0xc)" ( (binary_expression "local_20[0] + -0xc" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))) ))) ;)))) })) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "undefined4 *\nFUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  iVar1 = *(int *)(local_20[0] + -0xc);\n  if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  iVar1 = *(int *)(local_20[0] + -0xc);\n  if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" * (function_declarator "FUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * 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 "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "char param_7" primitive_type identifier) , (parameter_declaration "int param_8" primitive_type identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) , (parameter_declaration "int *param_10" primitive_type (pointer_declarator "*param_10" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  iVar1 = *(int *)(local_20[0] + -0xc);\n  if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "undefined *local_20 [4];" type_identifier (pointer_declarator "*local_20 [4]" * (array_declarator "local_20 [4]" identifier [ number_literal ])) ;) (expression_statement "piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);" (assignment_expression "piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c)" identifier = (cast_expression "(int *)FUN_0023c1e0(param_8 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023c1e0(param_8 + 0x6c)" identifier (argument_list "(param_8 + 0x6c)" ( (binary_expression "param_8 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "local_20[0] = &DAT_00396e0c;" (assignment_expression "local_20[0] = &DAT_00396e0c" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "&DAT_00396e0c" & identifier)) ;) (if_statement "if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" if (parenthesized_expression "(param_7 == '\0')" ( (binary_expression "param_7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" { (expression_statement "FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);" (call_expression "FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" identifier (argument_list "(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) }) (else_clause "else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" else (compound_statement "{\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" { (expression_statement "FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);" (call_expression "FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" identifier (argument_list "(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" ( (pointer_expression "&local_34" & identifier) , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) }))) (expression_statement "iVar1 = *(int *)(local_20[0] + -0xc);" (assignment_expression "iVar1 = *(int *)(local_20[0] + -0xc)" identifier = (pointer_expression "*(int *)(local_20[0] + -0xc)" * (cast_expression "(int *)(local_20[0] + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20[0] + -0xc)" ( (binary_expression "local_20[0] + -0xc" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }" { (expression_statement "FUN_0026b370(param_10,iVar1,0);" (call_expression "FUN_0026b370(param_10,iVar1,0)" identifier (argument_list "(param_10,iVar1,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }" if (parenthesized_expression "(-1 < *(int *)(*param_10 + -4))" ( (binary_expression "-1 < *(int *)(*param_10 + -4)" number_literal < (pointer_expression "*(int *)(*param_10 + -4)" * (cast_expression "(int *)(*param_10 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_10 + -4)" ( (binary_expression "*param_10 + -4" (pointer_expression "*param_10" * identifier) + number_literal) ))))) )) (compound_statement "{\n      FUN_0026a120(param_10);\n    }" { (expression_statement "FUN_0026a120(param_10);" (call_expression "FUN_0026a120(param_10)" identifier (argument_list "(param_10)" ( identifier ))) ;) })) (expression_statement "(**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);" (call_expression "(**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10)" (parenthesized_expression "(**(code **)(*piVar2 + 0x2c))" ( (pointer_expression "**(code **)(*piVar2 + 0x2c)" * (pointer_expression "*(code **)(*piVar2 + 0x2c)" * (cast_expression "(code **)(*piVar2 + 0x2c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x2c)" ( (binary_expression "*piVar2 + 0x2c" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,local_20[0],local_20[0] + iVar1,*param_10)" ( identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) , (binary_expression "local_20[0] + iVar1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + identifier) , (pointer_expression "*param_10" * identifier) ))) ;) })) (expression_statement "*param_1 = local_34;" (assignment_expression "*param_1 = local_34" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }" if (parenthesized_expression "(local_20[0] != &DAT_00396e0c)" ( (binary_expression "local_20[0] != &DAT_00396e0c" (subscript_expression "local_20[0]" identifier [ number_literal ]) != (pointer_expression "&DAT_00396e0c" & identifier)) )) (compound_statement "{\n    FUN_00239560();\n  }" { (expression_statement "FUN_00239560();" (call_expression "FUN_00239560()" identifier (argument_list "()" ( ))) ;) })) (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 IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) , (pointer_expression * IDENT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  iVar1 = *(int *)(local_20[0] + -0xc);\n  if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" (* "*") (function_declarator "FUN_002498f0(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" (identifier "FUN_002498f0") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,char param_7,int param_8,undefined4 param_9,\n            int *param_10)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (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 "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "char param_7" (primitive_type "char") (identifier "param_7")) (, ",") (parameter_declaration "int param_8" (primitive_type "int") (identifier "param_8")) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) (, ",") (parameter_declaration "int *param_10" (primitive_type "int") (pointer_declarator "*param_10" (* "*") (identifier "param_10"))) () ")")))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 local_34;\n  undefined4 local_30;\n  undefined *local_20 [4];\n  \n  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);\n  local_20[0] = &DAT_00396e0c;\n  if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  iVar1 = *(int *)(local_20[0] + -0xc);\n  if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }\n  *param_1 = local_34;\n  param_1[1] = local_30;\n  if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "undefined *local_20 [4];" (type_identifier "undefined") (pointer_declarator "*local_20 [4]" (* "*") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);" (assignment_expression "piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_0023c1e0(param_8 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0023c1e0(param_8 + 0x6c)" (identifier "FUN_0023c1e0") (argument_list "(param_8 + 0x6c)" (( "(") (binary_expression "param_8 + 0x6c" (identifier "param_8") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (expression_statement "local_20[0] = &DAT_00396e0c;" (assignment_expression "local_20[0] = &DAT_00396e0c" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "&DAT_00396e0c" (& "&") (identifier "DAT_00396e0c"))) (; ";")) (if_statement "if (param_7 == '\0') {\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }\n  else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" (if "if") (parenthesized_expression "(param_7 == '\0')" (( "(") (binary_expression "param_7 == '\0'" (identifier "param_7") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" ({ "{") (expression_statement "FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);" (call_expression "FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" (identifier "FUN_00248cc0") (argument_list "(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_8") (, ",") (identifier "param_9") (, ",") (identifier "local_20") () ")"))) (; ";")) (} "}")) (else_clause "else {\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" (else "else") (compound_statement "{\n                    \n    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);\n  }" ({ "{") (expression_statement "FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);" (call_expression "FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" (identifier "FUN_002480f0") (argument_list "(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_8") (, ",") (identifier "param_9") (, ",") (identifier "local_20") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar1 = *(int *)(local_20[0] + -0xc);" (assignment_expression "iVar1 = *(int *)(local_20[0] + -0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(local_20[0] + -0xc)" (* "*") (cast_expression "(int *)(local_20[0] + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_20[0] + -0xc)" (( "(") (binary_expression "local_20[0] + -0xc" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0026b370(param_10,iVar1,0);\n    if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }\n    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);\n  }" ({ "{") (expression_statement "FUN_0026b370(param_10,iVar1,0);" (call_expression "FUN_0026b370(param_10,iVar1,0)" (identifier "FUN_0026b370") (argument_list "(param_10,iVar1,0)" (( "(") (identifier "param_10") (, ",") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (-1 < *(int *)(*param_10 + -4)) {\n      FUN_0026a120(param_10);\n    }" (if "if") (parenthesized_expression "(-1 < *(int *)(*param_10 + -4))" (( "(") (binary_expression "-1 < *(int *)(*param_10 + -4)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(*param_10 + -4)" (* "*") (cast_expression "(int *)(*param_10 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_10 + -4)" (( "(") (binary_expression "*param_10 + -4" (pointer_expression "*param_10" (* "*") (identifier "param_10")) (+ "+") (number_literal "-4")) () ")"))))) () ")")) (compound_statement "{\n      FUN_0026a120(param_10);\n    }" ({ "{") (expression_statement "FUN_0026a120(param_10);" (call_expression "FUN_0026a120(param_10)" (identifier "FUN_0026a120") (argument_list "(param_10)" (( "(") (identifier "param_10") () ")"))) (; ";")) (} "}"))) (expression_statement "(**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);" (call_expression "(**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10)" (parenthesized_expression "(**(code **)(*piVar2 + 0x2c))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x2c)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x2c)" (* "*") (cast_expression "(code **)(*piVar2 + 0x2c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x2c)" (( "(") (binary_expression "*piVar2 + 0x2c" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x2c")) () ")"))))) () ")")) (argument_list "(piVar2,local_20[0],local_20[0] + iVar1,*param_10)" (( "(") (identifier "piVar2") (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (, ",") (binary_expression "local_20[0] + iVar1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (identifier "iVar1")) (, ",") (pointer_expression "*param_10" (* "*") (identifier "param_10")) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_1 = local_34;" (assignment_expression "*param_1 = local_34" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (if_statement "if (local_20[0] != &DAT_00396e0c) {\n    FUN_00239560();\n  }" (if "if") (parenthesized_expression "(local_20[0] != &DAT_00396e0c)" (( "(") (binary_expression "local_20[0] != &DAT_00396e0c" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (!= "!=") (pointer_expression "&DAT_00396e0c" (& "&") (identifier "DAT_00396e0c"))) () ")")) (compound_statement "{\n    FUN_00239560();\n  }" ({ "{") (expression_statement "FUN_00239560();" (call_expression "FUN_00239560()" (identifier "FUN_00239560") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* std::money_get<wchar_t, std::istreambuf_iterator<wchar_t, std::char_traits<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&, std::wstring&) const */

var_4 *
var_9::money_get<var_2,std::istreambuf_iterator<var_2,var_9::var_1<var_2>>>::var_3
          (var_4 *var_5,var_4 param_2,var_4 param_3,var_4 param_4,
          var_4 param_5,var_4 param_6,char var_11,int var_10,var_4 param_9,
          var_6 *var_7)

{
  type_1 var_13;
  type_2 *pcVar2;
  var_4 local_34;
  var_4 local_30;
  type_3 *local_20 [4];
  
  pcVar2 = var_8<var_9::type_2<var_2>>((type_4 *)(var_10 + 0x6c));
  local_20[0] = &DAT_00396e0c;
  if (var_11 == '\0') {
    var_12<false>(&local_34,param_2,param_3,param_4,param_5,param_6,var_10,param_9,local_20);
  }
  else {
                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */
    var_12<true>(&local_34,param_2,param_3,param_4,param_5,param_6,var_10,param_9,local_20);
  }
  var_13 = *(type_1 *)(local_20[0] + -0xc);
  if (var_13 != 0) {
    std::wstring::var_14(var_7,var_13,L'\0');
    if (-1 < *(int *)(*(int *)var_7 + -4)) {
      std::wstring::var_15(var_7);
    }
    (**(type_5 **)(*(int *)pcVar2 + 0x2c))
              (pcVar2,local_20[0],local_20[0] + var_13,*(var_4 *)var_7);
  }
  *var_5 = local_34;
  var_5[1] = local_30;
  if ((type_6 *)(local_20[0] + -0xc) != (type_6 *)&var_9::string::_Rep::_S_empty_rep_storage) {
    std::string::_Rep::var_16((type_6 *)(local_20[0] + -0xc));
  }
  return var_5;
}


(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: (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: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (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) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) (pointer_expression argument: (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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement (identifier)))))

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

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

{
  int iVar1;
  int *piVar2;
  undefined4 local_34;
  undefined4 local_30;
  undefined *local_20 [4];
  
  piVar2 = (int *)FUN_0023c1e0(param_8 + 0x6c);
  local_20[0] = &DAT_00396e0c;
  if (param_7 == '\0') {
    FUN_00248cc0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);
  }
  else {
                    /* try { // try from 00249950 to 00249a0a has its CatchHandler @ 00249a1d */
    FUN_002480f0(&local_34,param_2,param_3,param_4,param_5,param_6,param_8,param_9,local_20);
  }
  iVar1 = *(int *)(local_20[0] + -0xc);
  if (iVar1 != 0) {
    FUN_0026b370(param_10,iVar1,0);
    if (-1 < *(int *)(*param_10 + -4)) {
      FUN_0026a120(param_10);
    }
    (**(code **)(*piVar2 + 0x2c))(piVar2,local_20[0],local_20[0] + iVar1,*param_10);
  }
  *param_1 = local_34;
  param_1[1] = local_30;
  if (local_20[0] != &DAT_00396e0c) {
    FUN_00239560();
  }
  return param_1;
}

