
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::moneypunct<wchar_t, false>::do_curr_symbol() const */

int * std::moneypunct<wchar_t,false>::do_curr_symbol(void)

{
  wchar_t *__s;
  int *in_stack_00000004;
  int in_stack_00000008;
  
  __s = *(wchar_t **)(*(int *)(in_stack_00000008 + 8) + 0x1c);
  *in_stack_00000004 = (int)(in_stack_00000004 + 2);
  if (__s != (wchar_t *)0x0) {
    wcslen(__s);
  }
  std::wstring::_M_construct<wchar_t_const*>();
  return in_stack_00000004;
}



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

int * FUN_0024bdf0(int *param_1,int param_2)

{
  wchar_t *__s;
  wchar_t *pwVar1;
  size_t sVar2;
  
  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);
  *param_1 = (int)(param_1 + 2);
  pwVar1 = (wchar_t *)0xfffffffc;
  if (__s != (wchar_t *)0x0) {
    sVar2 = wcslen(__s);
    pwVar1 = __s + sVar2;
  }
  FUN_001ee0d0(param_1,__s,pwVar1,0);
  return param_1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00035840
ADD EBX,0x143204
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x8]
MOV EDI,dword ptr [EAX + 0x1c]
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESI],EAX
MOV EAX,0xfffffffc
TEST EDI,EDI
JZ 0x0024be29
SUB ESP,0xc
PUSH EDI
CALL 0x00029270
ADD ESP,0x10
LEA EAX,[EDI + EAX*0x4]
PUSH 0x0
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x001ee0d0
ADD ESP,0x10
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_0024bdf0(int *param_1,int param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);\n  *param_1 = (int)(param_1 + 2);\n  pwVar1 = (wchar_t *)0xfffffffc;\n  if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }\n  FUN_001ee0d0(param_1,__s,pwVar1,0);\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_0024bdf0(int *param_1,int param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);\n  *param_1 = (int)(param_1 + 2);\n  pwVar1 = (wchar_t *)0xfffffffc;\n  if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }\n  FUN_001ee0d0(param_1,__s,pwVar1,0);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0024bdf0(int *param_1,int param_2)" * (function_declarator "FUN_0024bdf0(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);\n  *param_1 = (int)(param_1 + 2);\n  pwVar1 = (wchar_t *)0xfffffffc;\n  if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }\n  FUN_001ee0d0(param_1,__s,pwVar1,0);\n  return param_1;\n}" { (declaration "wchar_t *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "__s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);" (assignment_expression "__s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" identifier = (pointer_expression "*(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" * (cast_expression "(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_2 + 8) + 0x1c)" ( (binary_expression "*(int *)(param_2 + 8) + 0x1c" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "pwVar1 = (wchar_t *)0xfffffffc;" (assignment_expression "pwVar1 = (wchar_t *)0xfffffffc" identifier = (cast_expression "(wchar_t *)0xfffffffc" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }" if (parenthesized_expression "(__s != (wchar_t *)0x0)" ( (binary_expression "__s != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }" { (expression_statement "sVar2 = wcslen(__s);" (assignment_expression "sVar2 = wcslen(__s)" identifier = (call_expression "wcslen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pwVar1 = __s + sVar2;" (assignment_expression "pwVar1 = __s + sVar2" identifier = (binary_expression "__s + sVar2" identifier + identifier)) ;) })) (expression_statement "FUN_001ee0d0(param_1,__s,pwVar1,0);" (call_expression "FUN_001ee0d0(param_1,__s,pwVar1,0)" identifier (argument_list "(param_1,__s,pwVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (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::moneypunct<wchar_t, false>::do_curr_symbol() const */\n\nint * std::moneypunct<wchar_t,false>::do_curr_symbol(void)\n\n{\n  wchar_t *__s;\n  int *in_stack_00000004;\n  int in_stack_00000008;\n  \n  __s = *(wchar_t **)(*(int *)(in_stack_00000008 + 8) + 0x1c);\n  *in_stack_00000004 = (int)(in_stack_00000004 + 2);\n  if (__s != (wchar_t *)0x0) {\n    wcslen(__s);\n  }\n  std::wstring::_M_construct<wchar_t_const*>();\n  return in_stack_00000004;\n}\n\n" comment comment (declaration "int * std::moneypunct<wchar_t,false>::do_curr_symbol(void)\n\n{\n  wchar_t *__s;" primitive_type (pointer_declarator "* std::moneypunct<wchar_t" * (ERROR "std::moneypunct<" identifier : : identifier <) identifier) , (ERROR "false>::do_curr_symbol(void)\n\n{\n  wchar_t" identifier > : : (function_declarator "do_curr_symbol(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) { identifier) (pointer_declarator "*__s" * identifier) ;) (declaration "int *in_stack_00000004;" primitive_type (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "int in_stack_00000008;" primitive_type identifier ;) (expression_statement "__s = *(wchar_t **)(*(int *)(in_stack_00000008 + 8) + 0x1c);" (assignment_expression "__s = *(wchar_t **)(*(int *)(in_stack_00000008 + 8) + 0x1c)" identifier = (pointer_expression "*(wchar_t **)(*(int *)(in_stack_00000008 + 8) + 0x1c)" * (cast_expression "(wchar_t **)(*(int *)(in_stack_00000008 + 8) + 0x1c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(in_stack_00000008 + 8) + 0x1c)" ( (binary_expression "*(int *)(in_stack_00000008 + 8) + 0x1c" (pointer_expression "*(int *)(in_stack_00000008 + 8)" * (cast_expression "(int *)(in_stack_00000008 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_00000008 + 8)" ( (binary_expression "in_stack_00000008 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*in_stack_00000004 = (int)(in_stack_00000004 + 2);" (assignment_expression "*in_stack_00000004 = (int)(in_stack_00000004 + 2)" (pointer_expression "*in_stack_00000004" * identifier) = (cast_expression "(int)(in_stack_00000004 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(in_stack_00000004 + 2)" ( (binary_expression "in_stack_00000004 + 2" identifier + number_literal) )))) ;) (if_statement "if (__s != (wchar_t *)0x0) {\n    wcslen(__s);\n  }" if (parenthesized_expression "(__s != (wchar_t *)0x0)" ( (binary_expression "__s != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    wcslen(__s);\n  }" { (expression_statement "wcslen(__s);" (call_expression "wcslen(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) (labeled_statement "std::wstring::_M_construct<wchar_t_const*>();" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_construct<wchar_t_const*>();" statement_identifier : (ERROR ":" :) (expression_statement "_M_construct<wchar_t_const*>();" (binary_expression "_M_construct<wchar_t_const" identifier < identifier) (ERROR "*>()" * > ( )) ;))) (return_statement "return in_stack_00000004;" return identifier ;) (ERROR "}" }))
(translation_unit "int * FUN_0024bdf0(int *param_1,int param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);\n  *param_1 = (int)(param_1 + 2);\n  pwVar1 = (wchar_t *)0xfffffffc;\n  if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }\n  FUN_001ee0d0(param_1,__s,pwVar1,0);\n  return param_1;\n}\n\n" (function_definition "int * FUN_0024bdf0(int *param_1,int param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);\n  *param_1 = (int)(param_1 + 2);\n  pwVar1 = (wchar_t *)0xfffffffc;\n  if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }\n  FUN_001ee0d0(param_1,__s,pwVar1,0);\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0024bdf0(int *param_1,int param_2)" * (function_declarator "FUN_0024bdf0(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);\n  *param_1 = (int)(param_1 + 2);\n  pwVar1 = (wchar_t *)0xfffffffc;\n  if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }\n  FUN_001ee0d0(param_1,__s,pwVar1,0);\n  return param_1;\n}" { (declaration "wchar_t *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "wchar_t *pwVar1;" type_identifier (pointer_declarator "*pwVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "__s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);" (assignment_expression "__s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" identifier = (pointer_expression "*(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" * (cast_expression "(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_2 + 8) + 0x1c)" ( (binary_expression "*(int *)(param_2 + 8) + 0x1c" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "pwVar1 = (wchar_t *)0xfffffffc;" (assignment_expression "pwVar1 = (wchar_t *)0xfffffffc" identifier = (cast_expression "(wchar_t *)0xfffffffc" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }" if (parenthesized_expression "(__s != (wchar_t *)0x0)" ( (binary_expression "__s != (wchar_t *)0x0" identifier != (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }" { (expression_statement "sVar2 = wcslen(__s);" (assignment_expression "sVar2 = wcslen(__s)" identifier = (call_expression "wcslen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pwVar1 = __s + sVar2;" (assignment_expression "pwVar1 = __s + sVar2" identifier = (binary_expression "__s + sVar2" identifier + identifier)) ;) })) (expression_statement "FUN_001ee0d0(param_1,__s,pwVar1,0);" (call_expression "FUN_001ee0d0(param_1,__s,pwVar1,0)" identifier (argument_list "(param_1,__s,pwVar1,0)" ( identifier , identifier , identifier , number_literal ))) ;) (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) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0024bdf0(int *param_1,int param_2)\n\n{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);\n  *param_1 = (int)(param_1 + 2);\n  pwVar1 = (wchar_t *)0xfffffffc;\n  if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }\n  FUN_001ee0d0(param_1,__s,pwVar1,0);\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0024bdf0(int *param_1,int param_2)" (* "*") (function_declarator "FUN_0024bdf0(int *param_1,int param_2)" (identifier "FUN_0024bdf0") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  wchar_t *__s;\n  wchar_t *pwVar1;\n  size_t sVar2;\n  \n  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);\n  *param_1 = (int)(param_1 + 2);\n  pwVar1 = (wchar_t *)0xfffffffc;\n  if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }\n  FUN_001ee0d0(param_1,__s,pwVar1,0);\n  return param_1;\n}" ({ "{") (declaration "wchar_t *__s;" (type_identifier "wchar_t") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "wchar_t *pwVar1;" (type_identifier "wchar_t") (pointer_declarator "*pwVar1" (* "*") (identifier "pwVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (expression_statement "__s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);" (assignment_expression "__s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" (identifier "__s") (= "=") (pointer_expression "*(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" (* "*") (cast_expression "(wchar_t **)(*(int *)(param_2 + 8) + 0x1c)" (( "(") (type_descriptor "wchar_t **" (type_identifier "wchar_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_2 + 8) + 0x1c)" (( "(") (binary_expression "*(int *)(param_2 + 8) + 0x1c" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "pwVar1 = (wchar_t *)0xfffffffc;" (assignment_expression "pwVar1 = (wchar_t *)0xfffffffc" (identifier "pwVar1") (= "=") (cast_expression "(wchar_t *)0xfffffffc" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfffffffc"))) (; ";")) (if_statement "if (__s != (wchar_t *)0x0) {\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }" (if "if") (parenthesized_expression "(__s != (wchar_t *)0x0)" (( "(") (binary_expression "__s != (wchar_t *)0x0" (identifier "__s") (!= "!=") (cast_expression "(wchar_t *)0x0" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    sVar2 = wcslen(__s);\n    pwVar1 = __s + sVar2;\n  }" ({ "{") (expression_statement "sVar2 = wcslen(__s);" (assignment_expression "sVar2 = wcslen(__s)" (identifier "sVar2") (= "=") (call_expression "wcslen(__s)" (identifier "wcslen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "pwVar1 = __s + sVar2;" (assignment_expression "pwVar1 = __s + sVar2" (identifier "pwVar1") (= "=") (binary_expression "__s + sVar2" (identifier "__s") (+ "+") (identifier "sVar2"))) (; ";")) (} "}"))) (expression_statement "FUN_001ee0d0(param_1,__s,pwVar1,0);" (call_expression "FUN_001ee0d0(param_1,__s,pwVar1,0)" (identifier "FUN_001ee0d0") (argument_list "(param_1,__s,pwVar1,0)" (( "(") (identifier "param_1") (, ",") (identifier "__s") (, ",") (identifier "pwVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (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::moneypunct<wchar_t, false>::do_curr_symbol() const */

int * std::moneypunct<type_1,false>::do_curr_symbol(void)

{
  type_1 *var_3;
  int *var_2;
  int var_1;
  
  var_3 = *(type_1 **)(*(int *)(var_1 + 8) + 0x1c);
  *var_2 = (int)(var_2 + 2);
  if (var_3 != (type_1 *)0x0) {
    var_4(var_3);
  }
  std::wstring::var_5<var_6*>();
  return var_2;
}


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

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

int * MASKED(int *param_1,int param_2)

{
  wchar_t *__s;
  wchar_t *pwVar1;
  size_t sVar2;
  
  __s = *(wchar_t **)(*(int *)(param_2 + 8) + 0x1c);
  *param_1 = (int)(param_1 + 2);
  pwVar1 = (wchar_t *)0xfffffffc;
  if (__s != (wchar_t *)0x0) {
    sVar2 = wcslen(__s);
    pwVar1 = __s + sVar2;
  }
  FUN_001ee0d0(param_1,__s,pwVar1,0);
  return param_1;
}

