
/* std::moneypunct<wchar_t, false>::curr_symbol() const */

void std::moneypunct<wchar_t,false>::curr_symbol(void)

{
  wchar_t *__s;
  long *in_RSI;
  long *in_RDI;
  
  if (*(code **)(*in_RSI + 0x28) == (code *)PTR_do_curr_symbol_003f7bd0) {
    __s = *(wchar_t **)(in_RSI[2] + 0x30);
    *in_RDI = (long)(in_RDI + 2);
    if (__s != (wchar_t *)0x0) {
      wcslen(__s);
    }
    std::wstring::_M_construct<wchar_t_const*>();
    return;
  }
  (**(code **)(*in_RSI + 0x28))();
  return;
}



long * FUN_002ff1c0(long *param_1,long *param_2)

{
  wchar_t *__s;
  size_t sVar1;
  wchar_t *pwVar2;
  
  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {
    pwVar2 = (wchar_t *)0xfffffffffffffffc;
    __s = *(wchar_t **)(param_2[2] + 0x30);
    *param_1 = (long)(param_1 + 2);
    if (__s != (wchar_t *)0x0) {
      sVar1 = wcslen(__s);
      pwVar2 = __s + sVar1;
    }
    FUN_002a8fc0(param_1,__s,pwVar2);
    return param_1;
  }
  (**(code **)(*param_2 + 0x28))();
  return param_1;
}


PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV RAX,qword ptr [RSI]
MOV RAX,qword ptr [RAX + 0x28]
CMP RAX,qword ptr [0x003f7bd0]
JNZ 0x002ff220
MOV RAX,qword ptr [RSI + 0x10]
MOV RDX,-0x4
MOV RBP,qword ptr [RAX + 0x30]
LEA RAX,[RDI + 0x10]
MOV qword ptr [RDI],RAX
TEST RBP,RBP
JZ 0x002ff201
MOV RDI,RBP
CALL 0x00144150
LEA RDX,[RBP + RAX*0x4]
MOV RSI,RBP
MOV RDI,RBX
CALL 0x002a8fc0
ADD RSP,0x8
MOV RAX,RBX
POP RBX
POP RBP
RET
CALL RAX
ADD RSP,0x8
MOV RAX,RBX
POP RBX
POP RBP
RET
(translation_unit "long * FUN_002ff1c0(long *param_1,long *param_2)\n\n{\n  wchar_t *__s;\n  size_t sVar1;\n  wchar_t *pwVar2;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))();\n  return param_1;\n}\n\n" (function_definition "long * FUN_002ff1c0(long *param_1,long *param_2)\n\n{\n  wchar_t *__s;\n  size_t sVar1;\n  wchar_t *pwVar2;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))();\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002ff1c0(long *param_1,long *param_2)" * (function_declarator "FUN_002ff1c0(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  wchar_t *__s;\n  size_t sVar1;\n  wchar_t *pwVar2;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))();\n  return param_1;\n}" { (declaration "wchar_t *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "wchar_t *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (if_statement "if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }" if (parenthesized_expression "(*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0)" ( (binary_expression "*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0" (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_003f7bd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }" { (expression_statement "pwVar2 = (wchar_t *)0xfffffffffffffffc;" (assignment_expression "pwVar2 = (wchar_t *)0xfffffffffffffffc" identifier = (cast_expression "(wchar_t *)0xfffffffffffffffc" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__s = *(wchar_t **)(param_2[2] + 0x30);" (assignment_expression "__s = *(wchar_t **)(param_2[2] + 0x30)" identifier = (pointer_expression "*(wchar_t **)(param_2[2] + 0x30)" * (cast_expression "(wchar_t **)(param_2[2] + 0x30)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2[2] + 0x30)" ( (binary_expression "param_2[2] + 0x30" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(param_1 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\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      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }" { (expression_statement "sVar1 = wcslen(__s);" (assignment_expression "sVar1 = wcslen(__s)" identifier = (call_expression "wcslen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pwVar2 = __s + sVar1;" (assignment_expression "pwVar2 = __s + sVar1" identifier = (binary_expression "__s + sVar1" identifier + identifier)) ;) })) (expression_statement "FUN_002a8fc0(param_1,__s,pwVar2);" (call_expression "FUN_002a8fc0(param_1,__s,pwVar2)" identifier (argument_list "(param_1,__s,pwVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*param_2 + 0x28))();" (call_expression "(**(code **)(*param_2 + 0x28))()" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" ( (pointer_expression "**(code **)(*param_2 + 0x28)" * (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::moneypunct<wchar_t, false>::curr_symbol() const */\n\nvoid std::moneypunct<wchar_t,false>::curr_symbol(void)\n\n{\n  wchar_t *__s;\n  long *in_RSI;\n  long *in_RDI;\n  \n  if (*(code **)(*in_RSI + 0x28) == (code *)PTR_do_curr_symbol_003f7bd0) {\n    __s = *(wchar_t **)(in_RSI[2] + 0x30);\n    *in_RDI = (long)(in_RDI + 2);\n    if (__s != (wchar_t *)0x0) {\n      wcslen(__s);\n    }\n    std::wstring::_M_construct<wchar_t_const*>();\n    return;\n  }\n  (**(code **)(*in_RSI + 0x28))();\n  return;\n}\n\n" comment (declaration "void std::moneypunct<wchar_t,false>::curr_symbol(void)\n\n{\n  wchar_t *__s;" primitive_type (ERROR "std::moneypunct<" identifier : : identifier <) identifier , (ERROR "false>::curr_symbol(void)\n\n{\n  wchar_t" identifier > : : (function_declarator "curr_symbol(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) { identifier) (pointer_declarator "*__s" * identifier) ;) (declaration "long *in_RSI;" (sized_type_specifier "long" long) (pointer_declarator "*in_RSI" * identifier) ;) (declaration "long *in_RDI;" (sized_type_specifier "long" long) (pointer_declarator "*in_RDI" * identifier) ;) (if_statement "if (*(code **)(*in_RSI + 0x28) == (code *)PTR_do_curr_symbol_003f7bd0) {\n    __s = *(wchar_t **)(in_RSI[2] + 0x30);\n    *in_RDI = (long)(in_RDI + 2);\n    if (__s != (wchar_t *)0x0) {\n      wcslen(__s);\n    }\n    std::wstring::_M_construct<wchar_t_const*>();\n    return;\n  }" if (parenthesized_expression "(*(code **)(*in_RSI + 0x28) == (code *)PTR_do_curr_symbol_003f7bd0)" ( (binary_expression "*(code **)(*in_RSI + 0x28) == (code *)PTR_do_curr_symbol_003f7bd0" (pointer_expression "*(code **)(*in_RSI + 0x28)" * (cast_expression "(code **)(*in_RSI + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*in_RSI + 0x28)" ( (binary_expression "*in_RSI + 0x28" (pointer_expression "*in_RSI" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_do_curr_symbol_003f7bd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    __s = *(wchar_t **)(in_RSI[2] + 0x30);\n    *in_RDI = (long)(in_RDI + 2);\n    if (__s != (wchar_t *)0x0) {\n      wcslen(__s);\n    }\n    std::wstring::_M_construct<wchar_t_const*>();\n    return;\n  }" { (expression_statement "__s = *(wchar_t **)(in_RSI[2] + 0x30);" (assignment_expression "__s = *(wchar_t **)(in_RSI[2] + 0x30)" identifier = (pointer_expression "*(wchar_t **)(in_RSI[2] + 0x30)" * (cast_expression "(wchar_t **)(in_RSI[2] + 0x30)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_RSI[2] + 0x30)" ( (binary_expression "in_RSI[2] + 0x30" (subscript_expression "in_RSI[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*in_RDI = (long)(in_RDI + 2);" (assignment_expression "*in_RDI = (long)(in_RDI + 2)" (pointer_expression "*in_RDI" * identifier) = (cast_expression "(long)(in_RDI + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(in_RDI + 2)" ( (binary_expression "in_RDI + 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;" return ;) })) (expression_statement "(**(code **)(*in_RSI + 0x28))();" (call_expression "(**(code **)(*in_RSI + 0x28))()" (parenthesized_expression "(**(code **)(*in_RSI + 0x28))" ( (pointer_expression "**(code **)(*in_RSI + 0x28)" * (pointer_expression "*(code **)(*in_RSI + 0x28)" * (cast_expression "(code **)(*in_RSI + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*in_RSI + 0x28)" ( (binary_expression "*in_RSI + 0x28" (pointer_expression "*in_RSI" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "long * FUN_002ff1c0(long *param_1,long *param_2)\n\n{\n  wchar_t *__s;\n  size_t sVar1;\n  wchar_t *pwVar2;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))();\n  return param_1;\n}\n\n" (function_definition "long * FUN_002ff1c0(long *param_1,long *param_2)\n\n{\n  wchar_t *__s;\n  size_t sVar1;\n  wchar_t *pwVar2;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))();\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002ff1c0(long *param_1,long *param_2)" * (function_declarator "FUN_002ff1c0(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  wchar_t *__s;\n  size_t sVar1;\n  wchar_t *pwVar2;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))();\n  return param_1;\n}" { (declaration "wchar_t *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "wchar_t *pwVar2;" type_identifier (pointer_declarator "*pwVar2" * identifier) ;) (if_statement "if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }" if (parenthesized_expression "(*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0)" ( (binary_expression "*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0" (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_003f7bd0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }" { (expression_statement "pwVar2 = (wchar_t *)0xfffffffffffffffc;" (assignment_expression "pwVar2 = (wchar_t *)0xfffffffffffffffc" identifier = (cast_expression "(wchar_t *)0xfffffffffffffffc" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__s = *(wchar_t **)(param_2[2] + 0x30);" (assignment_expression "__s = *(wchar_t **)(param_2[2] + 0x30)" identifier = (pointer_expression "*(wchar_t **)(param_2[2] + 0x30)" * (cast_expression "(wchar_t **)(param_2[2] + 0x30)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2[2] + 0x30)" ( (binary_expression "param_2[2] + 0x30" (subscript_expression "param_2[2]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(param_1 + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (if_statement "if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\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      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }" { (expression_statement "sVar1 = wcslen(__s);" (assignment_expression "sVar1 = wcslen(__s)" identifier = (call_expression "wcslen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pwVar2 = __s + sVar1;" (assignment_expression "pwVar2 = __s + sVar1" identifier = (binary_expression "__s + sVar1" identifier + identifier)) ;) })) (expression_statement "FUN_002a8fc0(param_1,__s,pwVar2);" (call_expression "FUN_002a8fc0(param_1,__s,pwVar2)" identifier (argument_list "(param_1,__s,pwVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*param_2 + 0x28))();" (call_expression "(**(code **)(*param_2 + 0x28))()" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" ( (pointer_expression "**(code **)(*param_2 + 0x28)" * (pointer_expression "*(code **)(*param_2 + 0x28)" * (cast_expression "(code **)(*param_2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x28)" ( (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + 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 ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return IDENT ;) })))
(function_definition "long * FUN_002ff1c0(long *param_1,long *param_2)\n\n{\n  wchar_t *__s;\n  size_t sVar1;\n  wchar_t *pwVar2;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))();\n  return param_1;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_002ff1c0(long *param_1,long *param_2)" (* "*") (function_declarator "FUN_002ff1c0(long *param_1,long *param_2)" (identifier "FUN_002ff1c0") (parameter_list "(long *param_1,long *param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  wchar_t *__s;\n  size_t sVar1;\n  wchar_t *pwVar2;\n  \n  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }\n  (**(code **)(*param_2 + 0x28))();\n  return param_1;\n}" ({ "{") (declaration "wchar_t *__s;" (type_identifier "wchar_t") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (declaration "wchar_t *pwVar2;" (type_identifier "wchar_t") (pointer_declarator "*pwVar2" (* "*") (identifier "pwVar2")) (; ";")) (if_statement "if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0)" (( "(") (binary_expression "*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0" (pointer_expression "*(code **)(*param_2 + 0x28)" (* "*") (cast_expression "(code **)(*param_2 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x28)" (( "(") (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x28")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_003f7bd0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_003f7bd0"))) () ")")) (compound_statement "{\n    pwVar2 = (wchar_t *)0xfffffffffffffffc;\n    __s = *(wchar_t **)(param_2[2] + 0x30);\n    *param_1 = (long)(param_1 + 2);\n    if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }\n    FUN_002a8fc0(param_1,__s,pwVar2);\n    return param_1;\n  }" ({ "{") (expression_statement "pwVar2 = (wchar_t *)0xfffffffffffffffc;" (assignment_expression "pwVar2 = (wchar_t *)0xfffffffffffffffc" (identifier "pwVar2") (= "=") (cast_expression "(wchar_t *)0xfffffffffffffffc" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfffffffffffffffc"))) (; ";")) (expression_statement "__s = *(wchar_t **)(param_2[2] + 0x30);" (assignment_expression "__s = *(wchar_t **)(param_2[2] + 0x30)" (identifier "__s") (= "=") (pointer_expression "*(wchar_t **)(param_2[2] + 0x30)" (* "*") (cast_expression "(wchar_t **)(param_2[2] + 0x30)" (( "(") (type_descriptor "wchar_t **" (type_identifier "wchar_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2[2] + 0x30)" (( "(") (binary_expression "param_2[2] + 0x30" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*param_1 = (long)(param_1 + 2);" (assignment_expression "*param_1 = (long)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)(param_1 + 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (__s != (wchar_t *)0x0) {\n      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\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      sVar1 = wcslen(__s);\n      pwVar2 = __s + sVar1;\n    }" ({ "{") (expression_statement "sVar1 = wcslen(__s);" (assignment_expression "sVar1 = wcslen(__s)" (identifier "sVar1") (= "=") (call_expression "wcslen(__s)" (identifier "wcslen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "pwVar2 = __s + sVar1;" (assignment_expression "pwVar2 = __s + sVar1" (identifier "pwVar2") (= "=") (binary_expression "__s + sVar1" (identifier "__s") (+ "+") (identifier "sVar1"))) (; ";")) (} "}"))) (expression_statement "FUN_002a8fc0(param_1,__s,pwVar2);" (call_expression "FUN_002a8fc0(param_1,__s,pwVar2)" (identifier "FUN_002a8fc0") (argument_list "(param_1,__s,pwVar2)" (( "(") (identifier "param_1") (, ",") (identifier "__s") (, ",") (identifier "pwVar2") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_2 + 0x28))();" (call_expression "(**(code **)(*param_2 + 0x28))()" (parenthesized_expression "(**(code **)(*param_2 + 0x28))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x28)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x28)" (* "*") (cast_expression "(code **)(*param_2 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x28)" (( "(") (binary_expression "*param_2 + 0x28" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::moneypunct<wchar_t, false>::curr_symbol() const */

void std::moneypunct<type_2,false>::curr_symbol(void)

{
  type_2 *var_2;
  long *in_RSI;
  long *var_1;
  
  if (*(type_1 **)(*in_RSI + 0x28) == (type_1 *)PTR_do_curr_symbol_003f7bd0) {
    var_2 = *(type_2 **)(in_RSI[2] + 0x30);
    *var_1 = (long)(var_1 + 2);
    if (var_2 != (type_2 *)0x0) {
      var_3(var_2);
    }
    std::wstring::var_4<var_5*>();
    return;
  }
  (**(type_1 **)(*in_RSI + 0x28))();
  return;
}


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

long * MASKED(long *param_1,long *param_2)

{
  wchar_t *__s;
  size_t sVar1;
  wchar_t *pwVar2;
  
  if (*(code **)(*param_2 + 0x28) == (code *)PTR_FUN_003f7bd0) {
    pwVar2 = (wchar_t *)0xfffffffffffffffc;
    __s = *(wchar_t **)(param_2[2] + 0x30);
    *param_1 = (long)(param_1 + 2);
    if (__s != (wchar_t *)0x0) {
      sVar1 = wcslen(__s);
      pwVar2 = __s + sVar1;
    }
    FUN_002a8fc0(param_1,__s,pwVar2);
    return param_1;
  }
  (**(code **)(*param_2 + 0x28))();
  return param_1;
}

