
/* 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&, std::wstring&) const */

void std::__facet_shims::(anonymous_namespace)::money_get_shim<wchar_t>::do_get(void)

{
}



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

undefined4 *
FUN_00283d40(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
            ,undefined4 *param_10)

{
  wchar_t wVar1;
  wchar_t *__s1;
  wchar_t *pwVar2;
  undefined4 local_64;
  undefined4 local_60;
  int local_54;
  wchar_t *local_50;
  size_t local_4c;
  wchar_t local_48 [4];
  int local_38;
  int local_34;
  code *local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x283d54;
  local_20 = (code *)0x0;
  local_54 = 0;
                    /* try { // try from 00283d8f to 00283d93 has its CatchHandler @ 00283eec */
  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,
               param_8,&local_54,0,&local_38);
  if (local_54 != 0) {
    *param_9 = local_54;
    goto LAB_00283db2;
  }
  if (local_20 == (code *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_0028db20("uninitialized __any_string");
  }
  local_50 = local_48;
                    /* try { // try from 00283e05 to 00283eeb has its CatchHandler @ 00283eec */
  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);
  __s1 = (wchar_t *)*param_10;
  if (local_50 == local_48) {
    pwVar2 = local_48;
    if (local_4c != 0) {
      if (local_4c == 1) {
        *__s1 = local_48[0];
      }
      else {
        wmemcpy(__s1,local_48,local_4c);
        __s1 = (wchar_t *)*param_10;
        pwVar2 = local_50;
      }
    }
    param_10[1] = local_4c;
    __s1[local_4c] = L'\0';
    __s1 = pwVar2;
    pwVar2 = local_50;
    wVar1 = local_48[0];
  }
  else {
    if (__s1 == param_10 + 2) {
      *param_10 = local_50;
      param_10[1] = local_4c;
      param_10[2] = local_48[0];
      goto LAB_00283db2;
    }
    wVar1 = param_10[2];
    *param_10 = local_50;
    param_10[1] = local_4c;
    param_10[2] = local_48[0];
    pwVar2 = __s1;
    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;
  }
  local_48[0] = wVar1;
  local_50 = pwVar2;
  local_4c = 0;
  *__s1 = L'\0';
  if (__s1 != local_48) {
    FUN_00248220(__s1);
  }
LAB_00283db2:
  *param_1 = local_64;
  param_1[1] = local_60;
  if (local_20 != (code *)0x0) {
    (*local_20)(&local_38);
  }
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
LEA EDX,[EBP + -0x50]
LEA ESI,[EBP + -0x34]
PUSH EBX
LEA EAX,[EBP + -0x60]
CALL 0x0003a210
ADD EBX,0x1902ac
SUB ESP,0x6c
MOV dword ptr [EBP + -0x1c],0x0
PUSH ESI
PUSH 0x0
PUSH EDX
MOVZX EDX,byte ptr [EBP + 0x20]
PUSH dword ptr [EBP + 0x24]
PUSH EDX
MOV EDX,dword ptr [EBP + 0xc]
PUSH dword ptr [EBP + 0x1c]
PUSH dword ptr [EBP + 0x18]
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EDX + 0x8]
PUSH 0x0
PUSH EAX
MOV dword ptr [EBP + -0x6c],EBX
MOV dword ptr [EBP + -0x50],0x0
CALL 0x0028bde0
MOV EDX,dword ptr [EBP + -0x5c]
MOV EAX,dword ptr [EBP + -0x60]
ADD ESP,0x2c
MOV dword ptr [EBP + -0x64],EDX
MOV EDX,dword ptr [EBP + -0x50]
MOV dword ptr [EBP + -0x68],EAX
MOV EAX,dword ptr [EBP + -0x1c]
TEST EDX,EDX
JZ 0x00283de0
MOV ECX,dword ptr [EBP + 0x28]
MOV dword ptr [ECX],EDX
MOV EDI,dword ptr [EBP + 0x8]
MOV ECX,dword ptr [EBP + -0x68]
MOV EBX,dword ptr [EBP + -0x64]
MOV dword ptr [EDI],ECX
MOV dword ptr [EDI + 0x4],EBX
TEST EAX,EAX
JZ 0x00283dcd
SUB ESP,0xc
PUSH ESI
CALL EAX
ADD ESP,0x10
MOV EAX,dword ptr [EBP + 0x8]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
TEST EAX,EAX
JZ 0x00283eda
MOV EAX,dword ptr [EBP + -0x34]
MOV ECX,dword ptr [EBP + -0x30]
LEA EDX,[EBP + -0x4c]
PUSH 0x0
MOV EBX,dword ptr [EBP + -0x6c]
LEA EDI,[EBP + -0x44]
LEA ECX,[EAX + ECX*0x4]
MOV dword ptr [EBP + -0x70],EDI
PUSH ECX
PUSH EAX
PUSH EDX
MOV dword ptr [EBP + -0x4c],EDI
CALL 0x0024f540
MOV EAX,dword ptr [EBP + 0x2c]
MOV ECX,dword ptr [EBP + -0x4c]
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x48]
MOV EAX,dword ptr [EAX]
CMP ECX,EDI
JZ 0x00283e88
MOV EDI,dword ptr [EBP + 0x2c]
MOV EBX,dword ptr [EBP + -0x44]
ADD EDI,0x8
CMP EAX,EDI
JZ 0x00283e78
MOV EDI,dword ptr [EBP + 0x2c]
MOV EDI,dword ptr [EDI + 0x8]
MOV dword ptr [EBP + -0x74],EDI
MOV EDI,dword ptr [EBP + 0x2c]
MOV dword ptr [EDI],ECX
MOV dword ptr [EDI + 0x4],EDX
MOV dword ptr [EDI + 0x8],EBX
TEST EAX,EAX
JZ 0x00283e6b
MOV EDI,dword ptr [EBP + -0x74]
MOV dword ptr [EBP + -0x4c],EAX
MOV dword ptr [EBP + -0x44],EDI
MOV dword ptr [EBP + -0x48],0x0
MOV dword ptr [EAX],0x0
CMP EAX,dword ptr [EBP + -0x70]
JZ 0x00283e6b
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x6c]
PUSH EAX
CALL 0x00248220
ADD ESP,0x10
MOV EAX,dword ptr [EBP + -0x1c]
JMP 0x00283db2
MOV EAX,dword ptr [EBP + 0x2c]
MOV dword ptr [EAX],ECX
MOV dword ptr [EAX + 0x4],EDX
MOV dword ptr [EAX + 0x8],EBX
JMP 0x00283e6b
MOV ECX,dword ptr [EBP + -0x70]
TEST EDX,EDX
JZ 0x00283eb8
CMP EDX,0x1
JZ 0x00283ed0
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x6c]
PUSH EDX
PUSH dword ptr [EBP + -0x70]
PUSH EAX
CALL 0x0002c870
MOV EAX,dword ptr [EBP + 0x2c]
MOV EDX,dword ptr [EBP + -0x48]
ADD ESP,0x10
MOV ECX,dword ptr [EBP + -0x4c]
MOV EAX,dword ptr [EAX]
LEA ESI,[ESI]
MOV EBX,dword ptr [EBP + 0x2c]
MOV dword ptr [EBX + 0x4],EDX
MOV dword ptr [EAX + EDX*0x4],0x0
MOV EAX,ECX
JMP 0x00283e4a
MOV ECX,dword ptr [EBP + -0x44]
MOV dword ptr [EAX],ECX
MOV ECX,dword ptr [EBP + -0x70]
JMP 0x00283eb8
MOV EBX,dword ptr [EBP + -0x6c]
SUB ESP,0xc
LEA EAX,[EBX + 0xfff02c14]
PUSH EAX
CALL 0x0028db20
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 *\nFUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)\n\n{\n  wchar_t wVar1;\n  wchar_t *__s1;\n  wchar_t *pwVar2;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_54;\n  wchar_t *local_50;\n  size_t local_4c;\n  wchar_t local_48 [4];\n  int local_38;\n  int local_34;\n  code *local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x283d54;\n  local_20 = (code *)0x0;\n  local_54 = 0;\n                    /* try { // try from 00283d8f to 00283d93 has its CatchHandler @ 00283eec */\n  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);\n  if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }\n  if (local_20 == (code *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0028db20("uninitialized __any_string");\n  }\n  local_50 = local_48;\n                    /* try { // try from 00283e05 to 00283eeb has its CatchHandler @ 00283eec */\n  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);\n  __s1 = (wchar_t *)*param_10;\n  if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }\n  local_48[0] = wVar1;\n  local_50 = pwVar2;\n  local_4c = 0;\n  *__s1 = L'\0';\n  if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }\nLAB_00283db2:\n  *param_1 = local_64;\n  param_1[1] = local_60;\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}\n\n" comment (function_definition "undefined4 *\nFUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)\n\n{\n  wchar_t wVar1;\n  wchar_t *__s1;\n  wchar_t *pwVar2;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_54;\n  wchar_t *local_50;\n  size_t local_4c;\n  wchar_t local_48 [4];\n  int local_38;\n  int local_34;\n  code *local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x283d54;\n  local_20 = (code *)0x0;\n  local_54 = 0;\n                    /* try { // try from 00283d8f to 00283d93 has its CatchHandler @ 00283eec */\n  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);\n  if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }\n  if (local_20 == (code *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0028db20("uninitialized __any_string");\n  }\n  local_50 = local_48;\n                    /* try { // try from 00283e05 to 00283eeb has its CatchHandler @ 00283eec */\n  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);\n  __s1 = (wchar_t *)*param_10;\n  if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }\n  local_48[0] = wVar1;\n  local_50 = pwVar2;\n  local_4c = 0;\n  *__s1 = L'\0';\n  if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }\nLAB_00283db2:\n  *param_1 = local_64;\n  param_1[1] = local_60;\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" * (function_declarator "FUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" 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,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" ( (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 "undefined4 param_8" type_identifier identifier) , (parameter_declaration "int *param_9" primitive_type (pointer_declarator "*param_9" * identifier)) , (parameter_declaration "undefined4 *param_10" type_identifier (pointer_declarator "*param_10" * identifier)) )))) (compound_statement "{\n  wchar_t wVar1;\n  wchar_t *__s1;\n  wchar_t *pwVar2;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_54;\n  wchar_t *local_50;\n  size_t local_4c;\n  wchar_t local_48 [4];\n  int local_38;\n  int local_34;\n  code *local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x283d54;\n  local_20 = (code *)0x0;\n  local_54 = 0;\n                    /* try { // try from 00283d8f to 00283d93 has its CatchHandler @ 00283eec */\n  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);\n  if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }\n  if (local_20 == (code *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0028db20("uninitialized __any_string");\n  }\n  local_50 = local_48;\n                    /* try { // try from 00283e05 to 00283eeb has its CatchHandler @ 00283eec */\n  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);\n  __s1 = (wchar_t *)*param_10;\n  if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }\n  local_48[0] = wVar1;\n  local_50 = pwVar2;\n  local_4c = 0;\n  *__s1 = L'\0';\n  if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }\nLAB_00283db2:\n  *param_1 = local_64;\n  param_1[1] = local_60;\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}" { (declaration "wchar_t wVar1;" type_identifier identifier ;) (declaration "wchar_t *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "wchar_t *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "wchar_t *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "size_t local_4c;" primitive_type identifier ;) (declaration "wchar_t local_48 [4];" type_identifier (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "code *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x283d54;" (assignment_expression "uStack_14 = 0x283d54" identifier = number_literal) ;) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) comment (expression_statement "FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);" (call_expression "FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38)" identifier (argument_list "(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38)" ( (pointer_expression "&local_64" & 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_54" & identifier) , number_literal , (pointer_expression "&local_38" & identifier) ))) ;) (if_statement "if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }" if (parenthesized_expression "(local_54 != 0)" ( (binary_expression "local_54 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }" { (expression_statement "*param_9 = local_54;" (assignment_expression "*param_9 = local_54" (pointer_expression "*param_9" * identifier) = identifier) ;) (goto_statement "goto LAB_00283db2;" goto statement_identifier ;) })) (if_statement "if (local_20 == (code *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0028db20("uninitialized __any_string");\n  }" if (parenthesized_expression "(local_20 == (code *)0x0)" ( (binary_expression "local_20 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0028db20("uninitialized __any_string");\n  }" { comment (expression_statement "FUN_0028db20("uninitialized __any_string");" (call_expression "FUN_0028db20("uninitialized __any_string")" identifier (argument_list "("uninitialized __any_string")" ( (string_literal ""uninitialized __any_string"" " string_content ") ))) ;) })) (expression_statement "local_50 = local_48;" (assignment_expression "local_50 = local_48" identifier = identifier) ;) comment (expression_statement "FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);" (call_expression "FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0)" identifier (argument_list "(&local_50,local_38,local_38 + local_34 * 4,0)" ( (pointer_expression "&local_50" & identifier) , identifier , (binary_expression "local_38 + local_34 * 4" identifier + (binary_expression "local_34 * 4" identifier * number_literal)) , number_literal ))) ;) (expression_statement "__s1 = (wchar_t *)*param_10;" (assignment_expression "__s1 = (wchar_t *)*param_10" identifier = (cast_expression "(wchar_t *)*param_10" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_10" * identifier))) ;) (if_statement "if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" if (parenthesized_expression "(local_50 == local_48)" ( (binary_expression "local_50 == local_48" identifier == identifier) )) (compound_statement "{\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }" { (expression_statement "pwVar2 = local_48;" (assignment_expression "pwVar2 = local_48" identifier = identifier) ;) (if_statement "if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }" if (parenthesized_expression "(local_4c != 0)" ( (binary_expression "local_4c != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }" { (if_statement "if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" if (parenthesized_expression "(local_4c == 1)" ( (binary_expression "local_4c == 1" identifier == number_literal) )) (compound_statement "{\n        *__s1 = local_48[0];\n      }" { (expression_statement "*__s1 = local_48[0];" (assignment_expression "*__s1 = local_48[0]" (pointer_expression "*__s1" * identifier) = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" else (compound_statement "{\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" { (expression_statement "wmemcpy(__s1,local_48,local_4c);" (call_expression "wmemcpy(__s1,local_48,local_4c)" identifier (argument_list "(__s1,local_48,local_4c)" ( identifier , identifier , identifier ))) ;) (expression_statement "__s1 = (wchar_t *)*param_10;" (assignment_expression "__s1 = (wchar_t *)*param_10" identifier = (cast_expression "(wchar_t *)*param_10" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_10" * identifier))) ;) (expression_statement "pwVar2 = local_50;" (assignment_expression "pwVar2 = local_50" identifier = identifier) ;) }))) })) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s1[local_4c] = L'\0';" (assignment_expression "__s1[local_4c] = L'\0'" (subscript_expression "__s1[local_4c]" identifier [ identifier ]) = (char_literal "L'\0'" L' escape_sequence ')) ;) (expression_statement "__s1 = pwVar2;" (assignment_expression "__s1 = pwVar2" identifier = identifier) ;) (expression_statement "pwVar2 = local_50;" (assignment_expression "pwVar2 = local_50" identifier = identifier) ;) (expression_statement "wVar1 = local_48[0];" (assignment_expression "wVar1 = local_48[0]" identifier = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" else (compound_statement "{\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" { (if_statement "if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }" if (parenthesized_expression "(__s1 == param_10 + 2)" ( (binary_expression "__s1 == param_10 + 2" identifier == (binary_expression "param_10 + 2" identifier + number_literal)) )) (compound_statement "{\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }" { (expression_statement "*param_10 = local_50;" (assignment_expression "*param_10 = local_50" (pointer_expression "*param_10" * identifier) = identifier) ;) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_10[2] = local_48[0];" (assignment_expression "param_10[2] = local_48[0]" (subscript_expression "param_10[2]" identifier [ number_literal ]) = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_00283db2;" goto statement_identifier ;) })) (expression_statement "wVar1 = param_10[2];" (assignment_expression "wVar1 = param_10[2]" identifier = (subscript_expression "param_10[2]" identifier [ number_literal ])) ;) (expression_statement "*param_10 = local_50;" (assignment_expression "*param_10 = local_50" (pointer_expression "*param_10" * identifier) = identifier) ;) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_10[2] = local_48[0];" (assignment_expression "param_10[2] = local_48[0]" (subscript_expression "param_10[2]" identifier [ number_literal ]) = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar2 = __s1;" (assignment_expression "pwVar2 = __s1" identifier = identifier) ;) (if_statement "if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;" if (parenthesized_expression "(__s1 == (wchar_t *)0x0)" ( (binary_expression "__s1 == (wchar_t *)0x0" identifier == (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00283db2;" goto statement_identifier ;)) }))) (expression_statement "local_48[0] = wVar1;" (assignment_expression "local_48[0] = wVar1" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_50 = pwVar2;" (assignment_expression "local_50 = pwVar2" identifier = identifier) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "*__s1 = L'\0';" (assignment_expression "*__s1 = L'\0'" (pointer_expression "*__s1" * identifier) = (char_literal "L'\0'" L' escape_sequence ')) ;) (if_statement "if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }" if (parenthesized_expression "(__s1 != local_48)" ( (binary_expression "__s1 != local_48" identifier != identifier) )) (compound_statement "{\n    FUN_00248220(__s1);\n  }" { (expression_statement "FUN_00248220(__s1);" (call_expression "FUN_00248220(__s1)" identifier (argument_list "(__s1)" ( identifier ))) ;) })) (labeled_statement "LAB_00283db2:\n  *param_1 = local_64;" statement_identifier : (expression_statement "*param_1 = local_64;" (assignment_expression "*param_1 = local_64" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = local_60;" (assignment_expression "param_1[1] = local_60" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }" if (parenthesized_expression "(local_20 != (code *)0x0)" ( (binary_expression "local_20 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*local_20)(&local_38);\n  }" { (expression_statement "(*local_20)(&local_38);" (call_expression "(*local_20)(&local_38)" (parenthesized_expression "(*local_20)" ( (pointer_expression "*local_20" * identifier) )) (argument_list "(&local_38)" ( (pointer_expression "&local_38" & 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&, std::wstring&) const */\n\nvoid std::__facet_shims::(anonymous_namespace)::money_get_shim<wchar_t>::do_get(void)\n\n{\n}\n\n" comment comment (function_definition "void std::__facet_shims::(anonymous_namespace)::money_get_shim<wchar_t>::do_get(void)\n\n{\n}" primitive_type (ERROR "std::__facet_shims::(anonymous_namespace)::money_get_shim<wchar_t>::" identifier : : identifier : : ( identifier ) : : identifier < identifier > : :) (function_declarator "do_get(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 *\nFUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)\n\n{\n  wchar_t wVar1;\n  wchar_t *__s1;\n  wchar_t *pwVar2;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_54;\n  wchar_t *local_50;\n  size_t local_4c;\n  wchar_t local_48 [4];\n  int local_38;\n  int local_34;\n  code *local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x283d54;\n  local_20 = (code *)0x0;\n  local_54 = 0;\n                    \n  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);\n  if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }\n  if (local_20 == (code *)0x0) {\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }\n  local_50 = local_48;\n                    \n  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);\n  __s1 = (wchar_t *)*param_10;\n  if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }\n  local_48[0] = wVar1;\n  local_50 = pwVar2;\n  local_4c = 0;\n  *__s1 = L'\0';\n  if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }\nLAB_00283db2:\n  *param_1 = local_64;\n  param_1[1] = local_60;\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)\n\n{\n  wchar_t wVar1;\n  wchar_t *__s1;\n  wchar_t *pwVar2;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_54;\n  wchar_t *local_50;\n  size_t local_4c;\n  wchar_t local_48 [4];\n  int local_38;\n  int local_34;\n  code *local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x283d54;\n  local_20 = (code *)0x0;\n  local_54 = 0;\n                    \n  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);\n  if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }\n  if (local_20 == (code *)0x0) {\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }\n  local_50 = local_48;\n                    \n  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);\n  __s1 = (wchar_t *)*param_10;\n  if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }\n  local_48[0] = wVar1;\n  local_50 = pwVar2;\n  local_4c = 0;\n  *__s1 = L'\0';\n  if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }\nLAB_00283db2:\n  *param_1 = local_64;\n  param_1[1] = local_60;\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" * (function_declarator "FUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" 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,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" ( (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 "undefined4 param_8" type_identifier identifier) , (parameter_declaration "int *param_9" primitive_type (pointer_declarator "*param_9" * identifier)) , (parameter_declaration "undefined4 *param_10" type_identifier (pointer_declarator "*param_10" * identifier)) )))) (compound_statement "{\n  wchar_t wVar1;\n  wchar_t *__s1;\n  wchar_t *pwVar2;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_54;\n  wchar_t *local_50;\n  size_t local_4c;\n  wchar_t local_48 [4];\n  int local_38;\n  int local_34;\n  code *local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x283d54;\n  local_20 = (code *)0x0;\n  local_54 = 0;\n                    \n  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);\n  if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }\n  if (local_20 == (code *)0x0) {\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }\n  local_50 = local_48;\n                    \n  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);\n  __s1 = (wchar_t *)*param_10;\n  if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }\n  local_48[0] = wVar1;\n  local_50 = pwVar2;\n  local_4c = 0;\n  *__s1 = L'\0';\n  if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }\nLAB_00283db2:\n  *param_1 = local_64;\n  param_1[1] = local_60;\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}" { (declaration "wchar_t wVar1;" type_identifier identifier ;) (declaration "wchar_t *__s1;" type_identifier (pointer_declarator "*__s1" * identifier) ;) (declaration "wchar_t *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (declaration "undefined4 local_64;" type_identifier identifier ;) (declaration "undefined4 local_60;" type_identifier identifier ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "wchar_t *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "size_t local_4c;" primitive_type identifier ;) (declaration "wchar_t local_48 [4];" type_identifier (array_declarator "local_48 [4]" identifier [ number_literal ]) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "code *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x283d54;" (assignment_expression "uStack_14 = 0x283d54" identifier = number_literal) ;) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" identifier = (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" identifier = number_literal) ;) (expression_statement "FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);" (call_expression "FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38)" identifier (argument_list "(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38)" ( (pointer_expression "&local_64" & 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_54" & identifier) , number_literal , (pointer_expression "&local_38" & identifier) ))) ;) (if_statement "if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }" if (parenthesized_expression "(local_54 != 0)" ( (binary_expression "local_54 != 0" identifier != number_literal) )) (compound_statement "{\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }" { (expression_statement "*param_9 = local_54;" (assignment_expression "*param_9 = local_54" (pointer_expression "*param_9" * identifier) = identifier) ;) (goto_statement "goto LAB_00283db2;" goto statement_identifier ;) })) (if_statement "if (local_20 == (code *)0x0) {\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }" if (parenthesized_expression "(local_20 == (code *)0x0)" ( (binary_expression "local_20 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }" { (expression_statement "FUN_0028db20("uninitialized __any_string");" (call_expression "FUN_0028db20("uninitialized __any_string")" identifier (argument_list "("uninitialized __any_string")" ( (string_literal ""uninitialized __any_string"" " string_content ") ))) ;) })) (expression_statement "local_50 = local_48;" (assignment_expression "local_50 = local_48" identifier = identifier) ;) (expression_statement "FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);" (call_expression "FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0)" identifier (argument_list "(&local_50,local_38,local_38 + local_34 * 4,0)" ( (pointer_expression "&local_50" & identifier) , identifier , (binary_expression "local_38 + local_34 * 4" identifier + (binary_expression "local_34 * 4" identifier * number_literal)) , number_literal ))) ;) (expression_statement "__s1 = (wchar_t *)*param_10;" (assignment_expression "__s1 = (wchar_t *)*param_10" identifier = (cast_expression "(wchar_t *)*param_10" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_10" * identifier))) ;) (if_statement "if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" if (parenthesized_expression "(local_50 == local_48)" ( (binary_expression "local_50 == local_48" identifier == identifier) )) (compound_statement "{\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }" { (expression_statement "pwVar2 = local_48;" (assignment_expression "pwVar2 = local_48" identifier = identifier) ;) (if_statement "if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }" if (parenthesized_expression "(local_4c != 0)" ( (binary_expression "local_4c != 0" identifier != number_literal) )) (compound_statement "{\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }" { (if_statement "if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" if (parenthesized_expression "(local_4c == 1)" ( (binary_expression "local_4c == 1" identifier == number_literal) )) (compound_statement "{\n        *__s1 = local_48[0];\n      }" { (expression_statement "*__s1 = local_48[0];" (assignment_expression "*__s1 = local_48[0]" (pointer_expression "*__s1" * identifier) = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" else (compound_statement "{\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" { (expression_statement "wmemcpy(__s1,local_48,local_4c);" (call_expression "wmemcpy(__s1,local_48,local_4c)" identifier (argument_list "(__s1,local_48,local_4c)" ( identifier , identifier , identifier ))) ;) (expression_statement "__s1 = (wchar_t *)*param_10;" (assignment_expression "__s1 = (wchar_t *)*param_10" identifier = (cast_expression "(wchar_t *)*param_10" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_10" * identifier))) ;) (expression_statement "pwVar2 = local_50;" (assignment_expression "pwVar2 = local_50" identifier = identifier) ;) }))) })) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__s1[local_4c] = L'\0';" (assignment_expression "__s1[local_4c] = L'\0'" (subscript_expression "__s1[local_4c]" identifier [ identifier ]) = (char_literal "L'\0'" L' escape_sequence ')) ;) (expression_statement "__s1 = pwVar2;" (assignment_expression "__s1 = pwVar2" identifier = identifier) ;) (expression_statement "pwVar2 = local_50;" (assignment_expression "pwVar2 = local_50" identifier = identifier) ;) (expression_statement "wVar1 = local_48[0];" (assignment_expression "wVar1 = local_48[0]" identifier = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" else (compound_statement "{\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" { (if_statement "if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }" if (parenthesized_expression "(__s1 == param_10 + 2)" ( (binary_expression "__s1 == param_10 + 2" identifier == (binary_expression "param_10 + 2" identifier + number_literal)) )) (compound_statement "{\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }" { (expression_statement "*param_10 = local_50;" (assignment_expression "*param_10 = local_50" (pointer_expression "*param_10" * identifier) = identifier) ;) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_10[2] = local_48[0];" (assignment_expression "param_10[2] = local_48[0]" (subscript_expression "param_10[2]" identifier [ number_literal ]) = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_00283db2;" goto statement_identifier ;) })) (expression_statement "wVar1 = param_10[2];" (assignment_expression "wVar1 = param_10[2]" identifier = (subscript_expression "param_10[2]" identifier [ number_literal ])) ;) (expression_statement "*param_10 = local_50;" (assignment_expression "*param_10 = local_50" (pointer_expression "*param_10" * identifier) = identifier) ;) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_10[2] = local_48[0];" (assignment_expression "param_10[2] = local_48[0]" (subscript_expression "param_10[2]" identifier [ number_literal ]) = (subscript_expression "local_48[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar2 = __s1;" (assignment_expression "pwVar2 = __s1" identifier = identifier) ;) (if_statement "if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;" if (parenthesized_expression "(__s1 == (wchar_t *)0x0)" ( (binary_expression "__s1 == (wchar_t *)0x0" identifier == (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00283db2;" goto statement_identifier ;)) }))) (expression_statement "local_48[0] = wVar1;" (assignment_expression "local_48[0] = wVar1" (subscript_expression "local_48[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_50 = pwVar2;" (assignment_expression "local_50 = pwVar2" identifier = identifier) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (expression_statement "*__s1 = L'\0';" (assignment_expression "*__s1 = L'\0'" (pointer_expression "*__s1" * identifier) = (char_literal "L'\0'" L' escape_sequence ')) ;) (if_statement "if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }" if (parenthesized_expression "(__s1 != local_48)" ( (binary_expression "__s1 != local_48" identifier != identifier) )) (compound_statement "{\n    FUN_00248220(__s1);\n  }" { (expression_statement "FUN_00248220(__s1);" (call_expression "FUN_00248220(__s1)" identifier (argument_list "(__s1)" ( identifier ))) ;) })) (labeled_statement "LAB_00283db2:\n  *param_1 = local_64;" statement_identifier : (expression_statement "*param_1 = local_64;" (assignment_expression "*param_1 = local_64" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_1[1] = local_60;" (assignment_expression "param_1[1] = local_60" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }" if (parenthesized_expression "(local_20 != (code *)0x0)" ( (binary_expression "local_20 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*local_20)(&local_38);\n  }" { (expression_statement "(*local_20)(&local_38);" (call_expression "(*local_20)(&local_38)" (parenthesized_expression "(*local_20)" ( (pointer_expression "*local_20" * identifier) )) (argument_list "(&local_38)" ( (pointer_expression "&local_38" & 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 IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & 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) , LIT , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + (binary_expression IDENT * LIT)) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (char_literal L' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal L' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression & IDENT) ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)\n\n{\n  wchar_t wVar1;\n  wchar_t *__s1;\n  wchar_t *pwVar2;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_54;\n  wchar_t *local_50;\n  size_t local_4c;\n  wchar_t local_48 [4];\n  int local_38;\n  int local_34;\n  code *local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x283d54;\n  local_20 = (code *)0x0;\n  local_54 = 0;\n                    \n  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);\n  if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }\n  if (local_20 == (code *)0x0) {\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }\n  local_50 = local_48;\n                    \n  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);\n  __s1 = (wchar_t *)*param_10;\n  if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }\n  local_48[0] = wVar1;\n  local_50 = pwVar2;\n  local_4c = 0;\n  *__s1 = L'\0';\n  if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }\nLAB_00283db2:\n  *param_1 = local_64;\n  param_1[1] = local_60;\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" (* "*") (function_declarator "FUN_00283d40(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" (identifier "FUN_00283d40") (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6,undefined1 param_7,undefined4 param_8,int *param_9\n            ,undefined4 *param_10)" (( "(") (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 "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) (, ",") (parameter_declaration "int *param_9" (primitive_type "int") (pointer_declarator "*param_9" (* "*") (identifier "param_9"))) (, ",") (parameter_declaration "undefined4 *param_10" (type_identifier "undefined4") (pointer_declarator "*param_10" (* "*") (identifier "param_10"))) () ")")))) (compound_statement "{\n  wchar_t wVar1;\n  wchar_t *__s1;\n  wchar_t *pwVar2;\n  undefined4 local_64;\n  undefined4 local_60;\n  int local_54;\n  wchar_t *local_50;\n  size_t local_4c;\n  wchar_t local_48 [4];\n  int local_38;\n  int local_34;\n  code *local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x283d54;\n  local_20 = (code *)0x0;\n  local_54 = 0;\n                    \n  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);\n  if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }\n  if (local_20 == (code *)0x0) {\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }\n  local_50 = local_48;\n                    \n  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);\n  __s1 = (wchar_t *)*param_10;\n  if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }\n  local_48[0] = wVar1;\n  local_50 = pwVar2;\n  local_4c = 0;\n  *__s1 = L'\0';\n  if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }\nLAB_00283db2:\n  *param_1 = local_64;\n  param_1[1] = local_60;\n  if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }\n  return param_1;\n}" ({ "{") (declaration "wchar_t wVar1;" (type_identifier "wchar_t") (identifier "wVar1") (; ";")) (declaration "wchar_t *__s1;" (type_identifier "wchar_t") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "wchar_t *pwVar2;" (type_identifier "wchar_t") (pointer_declarator "*pwVar2" (* "*") (identifier "pwVar2")) (; ";")) (declaration "undefined4 local_64;" (type_identifier "undefined4") (identifier "local_64") (; ";")) (declaration "undefined4 local_60;" (type_identifier "undefined4") (identifier "local_60") (; ";")) (declaration "int local_54;" (primitive_type "int") (identifier "local_54") (; ";")) (declaration "wchar_t *local_50;" (type_identifier "wchar_t") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "size_t local_4c;" (primitive_type "size_t") (identifier "local_4c") (; ";")) (declaration "wchar_t local_48 [4];" (type_identifier "wchar_t") (array_declarator "local_48 [4]" (identifier "local_48") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "code *local_20;" (type_identifier "code") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x283d54;" (assignment_expression "uStack_14 = 0x283d54" (identifier "uStack_14") (= "=") (number_literal "0x283d54")) (; ";")) (expression_statement "local_20 = (code *)0x0;" (assignment_expression "local_20 = (code *)0x0" (identifier "local_20") (= "=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_54 = 0;" (assignment_expression "local_54 = 0" (identifier "local_54") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38);" (call_expression "FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38)" (identifier "FUN_0028bde0") (argument_list "(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,\n               param_8,&local_54,0,&local_38)" (( "(") (pointer_expression "&local_64" (& "&") (identifier "local_64")) (, ",") (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_54" (& "&") (identifier "local_54")) (, ",") (number_literal "0") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")"))) (; ";")) (if_statement "if (local_54 != 0) {\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }" (if "if") (parenthesized_expression "(local_54 != 0)" (( "(") (binary_expression "local_54 != 0" (identifier "local_54") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *param_9 = local_54;\n    goto LAB_00283db2;\n  }" ({ "{") (expression_statement "*param_9 = local_54;" (assignment_expression "*param_9 = local_54" (pointer_expression "*param_9" (* "*") (identifier "param_9")) (= "=") (identifier "local_54")) (; ";")) (goto_statement "goto LAB_00283db2;" (goto "goto") (statement_identifier "LAB_00283db2") (; ";")) (} "}"))) (if_statement "if (local_20 == (code *)0x0) {\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }" (if "if") (parenthesized_expression "(local_20 == (code *)0x0)" (( "(") (binary_expression "local_20 == (code *)0x0" (identifier "local_20") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    FUN_0028db20("uninitialized __any_string");\n  }" ({ "{") (expression_statement "FUN_0028db20("uninitialized __any_string");" (call_expression "FUN_0028db20("uninitialized __any_string")" (identifier "FUN_0028db20") (argument_list "("uninitialized __any_string")" (( "(") (string_literal ""uninitialized __any_string"" (" """) (string_content "uninitialized __any_string") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "local_50 = local_48;" (assignment_expression "local_50 = local_48" (identifier "local_50") (= "=") (identifier "local_48")) (; ";")) (expression_statement "FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);" (call_expression "FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0)" (identifier "FUN_0024f540") (argument_list "(&local_50,local_38,local_38 + local_34 * 4,0)" (( "(") (pointer_expression "&local_50" (& "&") (identifier "local_50")) (, ",") (identifier "local_38") (, ",") (binary_expression "local_38 + local_34 * 4" (identifier "local_38") (+ "+") (binary_expression "local_34 * 4" (identifier "local_34") (* "*") (number_literal "4"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "__s1 = (wchar_t *)*param_10;" (assignment_expression "__s1 = (wchar_t *)*param_10" (identifier "__s1") (= "=") (cast_expression "(wchar_t *)*param_10" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_10" (* "*") (identifier "param_10")))) (; ";")) (if_statement "if (local_50 == local_48) {\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }\n  else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" (if "if") (parenthesized_expression "(local_50 == local_48)" (( "(") (binary_expression "local_50 == local_48" (identifier "local_50") (== "==") (identifier "local_48")) () ")")) (compound_statement "{\n    pwVar2 = local_48;\n    if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }\n    param_10[1] = local_4c;\n    __s1[local_4c] = L'\0';\n    __s1 = pwVar2;\n    pwVar2 = local_50;\n    wVar1 = local_48[0];\n  }" ({ "{") (expression_statement "pwVar2 = local_48;" (assignment_expression "pwVar2 = local_48" (identifier "pwVar2") (= "=") (identifier "local_48")) (; ";")) (if_statement "if (local_4c != 0) {\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }" (if "if") (parenthesized_expression "(local_4c != 0)" (( "(") (binary_expression "local_4c != 0" (identifier "local_4c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }\n    }" ({ "{") (if_statement "if (local_4c == 1) {\n        *__s1 = local_48[0];\n      }\n      else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" (if "if") (parenthesized_expression "(local_4c == 1)" (( "(") (binary_expression "local_4c == 1" (identifier "local_4c") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        *__s1 = local_48[0];\n      }" ({ "{") (expression_statement "*__s1 = local_48[0];" (assignment_expression "*__s1 = local_48[0]" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (= "=") (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" (else "else") (compound_statement "{\n        wmemcpy(__s1,local_48,local_4c);\n        __s1 = (wchar_t *)*param_10;\n        pwVar2 = local_50;\n      }" ({ "{") (expression_statement "wmemcpy(__s1,local_48,local_4c);" (call_expression "wmemcpy(__s1,local_48,local_4c)" (identifier "wmemcpy") (argument_list "(__s1,local_48,local_4c)" (( "(") (identifier "__s1") (, ",") (identifier "local_48") (, ",") (identifier "local_4c") () ")"))) (; ";")) (expression_statement "__s1 = (wchar_t *)*param_10;" (assignment_expression "__s1 = (wchar_t *)*param_10" (identifier "__s1") (= "=") (cast_expression "(wchar_t *)*param_10" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_10" (* "*") (identifier "param_10")))) (; ";")) (expression_statement "pwVar2 = local_50;" (assignment_expression "pwVar2 = local_50" (identifier "pwVar2") (= "=") (identifier "local_50")) (; ";")) (} "}")))) (} "}"))) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" (identifier "param_10") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_4c")) (; ";")) (expression_statement "__s1[local_4c] = L'\0';" (assignment_expression "__s1[local_4c] = L'\0'" (subscript_expression "__s1[local_4c]" (identifier "__s1") ([ "[") (identifier "local_4c") (] "]")) (= "=") (char_literal "L'\0'" (L' "L'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "__s1 = pwVar2;" (assignment_expression "__s1 = pwVar2" (identifier "__s1") (= "=") (identifier "pwVar2")) (; ";")) (expression_statement "pwVar2 = local_50;" (assignment_expression "pwVar2 = local_50" (identifier "pwVar2") (= "=") (identifier "local_50")) (; ";")) (expression_statement "wVar1 = local_48[0];" (assignment_expression "wVar1 = local_48[0]" (identifier "wVar1") (= "=") (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" (else "else") (compound_statement "{\n    if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }\n    wVar1 = param_10[2];\n    *param_10 = local_50;\n    param_10[1] = local_4c;\n    param_10[2] = local_48[0];\n    pwVar2 = __s1;\n    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;\n  }" ({ "{") (if_statement "if (__s1 == param_10 + 2) {\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }" (if "if") (parenthesized_expression "(__s1 == param_10 + 2)" (( "(") (binary_expression "__s1 == param_10 + 2" (identifier "__s1") (== "==") (binary_expression "param_10 + 2" (identifier "param_10") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n      *param_10 = local_50;\n      param_10[1] = local_4c;\n      param_10[2] = local_48[0];\n      goto LAB_00283db2;\n    }" ({ "{") (expression_statement "*param_10 = local_50;" (assignment_expression "*param_10 = local_50" (pointer_expression "*param_10" (* "*") (identifier "param_10")) (= "=") (identifier "local_50")) (; ";")) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" (identifier "param_10") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_4c")) (; ";")) (expression_statement "param_10[2] = local_48[0];" (assignment_expression "param_10[2] = local_48[0]" (subscript_expression "param_10[2]" (identifier "param_10") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]"))) (; ";")) (goto_statement "goto LAB_00283db2;" (goto "goto") (statement_identifier "LAB_00283db2") (; ";")) (} "}"))) (expression_statement "wVar1 = param_10[2];" (assignment_expression "wVar1 = param_10[2]" (identifier "wVar1") (= "=") (subscript_expression "param_10[2]" (identifier "param_10") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_10 = local_50;" (assignment_expression "*param_10 = local_50" (pointer_expression "*param_10" (* "*") (identifier "param_10")) (= "=") (identifier "local_50")) (; ";")) (expression_statement "param_10[1] = local_4c;" (assignment_expression "param_10[1] = local_4c" (subscript_expression "param_10[1]" (identifier "param_10") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_4c")) (; ";")) (expression_statement "param_10[2] = local_48[0];" (assignment_expression "param_10[2] = local_48[0]" (subscript_expression "param_10[2]" (identifier "param_10") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "pwVar2 = __s1;" (assignment_expression "pwVar2 = __s1" (identifier "pwVar2") (= "=") (identifier "__s1")) (; ";")) (if_statement "if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;" (if "if") (parenthesized_expression "(__s1 == (wchar_t *)0x0)" (( "(") (binary_expression "__s1 == (wchar_t *)0x0" (identifier "__s1") (== "==") (cast_expression "(wchar_t *)0x0" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00283db2;" (goto "goto") (statement_identifier "LAB_00283db2") (; ";"))) (} "}")))) (expression_statement "local_48[0] = wVar1;" (assignment_expression "local_48[0] = wVar1" (subscript_expression "local_48[0]" (identifier "local_48") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "wVar1")) (; ";")) (expression_statement "local_50 = pwVar2;" (assignment_expression "local_50 = pwVar2" (identifier "local_50") (= "=") (identifier "pwVar2")) (; ";")) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (expression_statement "*__s1 = L'\0';" (assignment_expression "*__s1 = L'\0'" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (= "=") (char_literal "L'\0'" (L' "L'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if (__s1 != local_48) {\n    FUN_00248220(__s1);\n  }" (if "if") (parenthesized_expression "(__s1 != local_48)" (( "(") (binary_expression "__s1 != local_48" (identifier "__s1") (!= "!=") (identifier "local_48")) () ")")) (compound_statement "{\n    FUN_00248220(__s1);\n  }" ({ "{") (expression_statement "FUN_00248220(__s1);" (call_expression "FUN_00248220(__s1)" (identifier "FUN_00248220") (argument_list "(__s1)" (( "(") (identifier "__s1") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_00283db2:\n  *param_1 = local_64;" (statement_identifier "LAB_00283db2") (: ":") (expression_statement "*param_1 = local_64;" (assignment_expression "*param_1 = local_64" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_64")) (; ";"))) (expression_statement "param_1[1] = local_60;" (assignment_expression "param_1[1] = local_60" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_60")) (; ";")) (if_statement "if (local_20 != (code *)0x0) {\n    (*local_20)(&local_38);\n  }" (if "if") (parenthesized_expression "(local_20 != (code *)0x0)" (( "(") (binary_expression "local_20 != (code *)0x0" (identifier "local_20") (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*local_20)(&local_38);\n  }" ({ "{") (expression_statement "(*local_20)(&local_38);" (call_expression "(*local_20)(&local_38)" (parenthesized_expression "(*local_20)" (( "(") (pointer_expression "*local_20" (* "*") (identifier "local_20")) () ")")) (argument_list "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")"))) (; ";")) (} "}"))) (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&, std::wstring&) const */

void std::__facet_shims::(anonymous_namespace)::money_get_shim<wchar_t>::function_1(void)

{
}


(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: (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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (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)) (number_literal) (pointer_expression argument: (identifier))))) (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))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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))) (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: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (labeled_statement label: (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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (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,undefined4 param_8,int *param_9
            ,undefined4 *param_10)

{
  wchar_t wVar1;
  wchar_t *__s1;
  wchar_t *pwVar2;
  undefined4 local_64;
  undefined4 local_60;
  int local_54;
  wchar_t *local_50;
  size_t local_4c;
  wchar_t local_48 [4];
  int local_38;
  int local_34;
  code *local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x283d54;
  local_20 = (code *)0x0;
  local_54 = 0;
                    /* try { // try from 00283d8f to 00283d93 has its CatchHandler @ 00283eec */
  FUN_0028bde0(&local_64,0,*(undefined4 *)(param_2 + 8),param_3,param_4,param_5,param_6,param_7,
               param_8,&local_54,0,&local_38);
  if (local_54 != 0) {
    *param_9 = local_54;
    goto LAB_00283db2;
  }
  if (local_20 == (code *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_0028db20("uninitialized __any_string");
  }
  local_50 = local_48;
                    /* try { // try from 00283e05 to 00283eeb has its CatchHandler @ 00283eec */
  FUN_0024f540(&local_50,local_38,local_38 + local_34 * 4,0);
  __s1 = (wchar_t *)*param_10;
  if (local_50 == local_48) {
    pwVar2 = local_48;
    if (local_4c != 0) {
      if (local_4c == 1) {
        *__s1 = local_48[0];
      }
      else {
        wmemcpy(__s1,local_48,local_4c);
        __s1 = (wchar_t *)*param_10;
        pwVar2 = local_50;
      }
    }
    param_10[1] = local_4c;
    __s1[local_4c] = L'\0';
    __s1 = pwVar2;
    pwVar2 = local_50;
    wVar1 = local_48[0];
  }
  else {
    if (__s1 == param_10 + 2) {
      *param_10 = local_50;
      param_10[1] = local_4c;
      param_10[2] = local_48[0];
      goto LAB_00283db2;
    }
    wVar1 = param_10[2];
    *param_10 = local_50;
    param_10[1] = local_4c;
    param_10[2] = local_48[0];
    pwVar2 = __s1;
    if (__s1 == (wchar_t *)0x0) goto LAB_00283db2;
  }
  local_48[0] = wVar1;
  local_50 = pwVar2;
  local_4c = 0;
  *__s1 = L'\0';
  if (__s1 != local_48) {
    FUN_00248220(__s1);
  }
LAB_00283db2:
  *param_1 = local_64;
  param_1[1] = local_60;
  if (local_20 != (code *)0x0) {
    (*local_20)(&local_38);
  }
  return param_1;
}

