
/* std::__moneypunct_cache<wchar_t, true>::~__moneypunct_cache() */

void __thiscall
std::__moneypunct_cache<wchar_t,true>::~__moneypunct_cache(__moneypunct_cache<wchar_t,true> *this)

{
  *(undefined ***)this = &PTR____moneypunct_cache_003bb338;
  if (this[0x98] != (__moneypunct_cache<wchar_t,true>)0x0) {
    if (*(void **)(this + 0x10) != (void *)0x0) {
      operator_delete__(*(void **)(this + 0x10));
    }
    if (*(void **)(this + 0x30) != (void *)0x0) {
      operator_delete__(*(void **)(this + 0x30));
    }
    if (*(void **)(this + 0x40) != (void *)0x0) {
      operator_delete__(*(void **)(this + 0x40));
    }
    if (*(void **)(this + 0x50) != (void *)0x0) {
      operator_delete__(*(void **)(this + 0x50));
    }
  }
  locale::facet::~facet((facet *)this);
  return;
}



void FUN_002bba50(undefined8 *param_1)

{
  *param_1 = &PTR_FUN_003bb338;
  if (*(char *)(param_1 + 0x13) != '\0') {
    if (param_1[2] != 0) {
      thunk_FUN_00276d20();
    }
    if (param_1[6] != 0) {
      thunk_FUN_00276d20();
    }
    if (param_1[8] != 0) {
      thunk_FUN_00276d20();
    }
    if (param_1[10] != 0) {
      thunk_FUN_00276d20();
    }
  }
  FUN_00278a50(param_1);
  return;
}


LEA RAX,[0x3bb328]
PUSH RBX
MOV RBX,RDI
ADD RAX,0x10
CMP byte ptr [RDI + 0x98],0x0
MOV qword ptr [RDI],RAX
JZ 0x002bbaa3
MOV RDI,qword ptr [RDI + 0x10]
TEST RDI,RDI
JZ 0x002bba79
CALL 0x00276cf0
MOV RDI,qword ptr [RBX + 0x30]
TEST RDI,RDI
JZ 0x002bba87
CALL 0x00276cf0
MOV RDI,qword ptr [RBX + 0x40]
TEST RDI,RDI
JZ 0x002bba95
CALL 0x00276cf0
MOV RDI,qword ptr [RBX + 0x50]
TEST RDI,RDI
JZ 0x002bbaa3
CALL 0x00276cf0
MOV RDI,RBX
POP RBX
JMP 0x00278a50
(translation_unit "void FUN_002bba50(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003bb338;\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }\n  FUN_00278a50(param_1);\n  return;\n}\n\n" (function_definition "void FUN_002bba50(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003bb338;\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }\n  FUN_00278a50(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_002bba50(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_003bb338;\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }\n  FUN_00278a50(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_003bb338;" (assignment_expression "*param_1 = &PTR_FUN_003bb338" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_003bb338" & identifier)) ;) (if_statement "if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x13) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x13) != '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" * (cast_expression "(char *)(param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }" { (if_statement "if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }" if (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }" if (parenthesized_expression "(param_1[6] != 0)" ( (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }" if (parenthesized_expression "(param_1[8] != 0)" ( (binary_expression "param_1[8] != 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }" if (parenthesized_expression "(param_1[10] != 0)" ( (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) })) (expression_statement "FUN_00278a50(param_1);" (call_expression "FUN_00278a50(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::__moneypunct_cache<wchar_t, true>::~__moneypunct_cache() */\n\nvoid __thiscall\nstd::__moneypunct_cache<wchar_t,true>::~__moneypunct_cache(__moneypunct_cache<wchar_t,true> *this)\n\n{\n  *(undefined ***)this = &PTR____moneypunct_cache_003bb338;\n  if (this[0x98] != (__moneypunct_cache<wchar_t,true>)0x0) {\n    if (*(void **)(this + 0x10) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x10));\n    }\n    if (*(void **)(this + 0x30) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x30));\n    }\n    if (*(void **)(this + 0x40) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x40));\n    }\n    if (*(void **)(this + 0x50) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x50));\n    }\n  }\n  locale::facet::~facet((facet *)this);\n  return;\n}\n\n" comment (declaration "void __thiscall\nstd::__moneypunct_cache<wchar_t,true>::~__moneypunct_cache(__moneypunct_cache<wchar_t,true> *this)\n\n{\n  *(undefined ***)this = &PTR____moneypunct_cache_003bb338;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::__moneypunct_cache<" identifier : : identifier <) identifier , (ERROR "true>::~__moneypunct_cache(__moneypunct_cache<wchar_t,true> *this)\n\n{" identifier > : : ~ (function_declarator "__moneypunct_cache(__moneypunct_cache<wchar_t,true> *this)" identifier (parameter_list "(__moneypunct_cache<wchar_t,true> *this)" ( (parameter_declaration "__moneypunct_cache<wchar_t" type_identifier (ERROR "<" <) identifier) , (parameter_declaration "true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) {) (init_declarator "*(undefined ***)this = &PTR____moneypunct_cache_003bb338" (pointer_declarator "*(undefined ***)this" * (parenthesized_declarator "(undefined ***)this" ( (ERROR "undefined" identifier) (pointer_declarator "***)this" * (pointer_declarator "**)this" * (pointer_declarator "*)this" * (ERROR ")" )) identifier))) ))) = (pointer_expression "&PTR____moneypunct_cache_003bb338" & identifier)) ;) (if_statement "if (this[0x98] != (__moneypunct_cache<wchar_t,true>)0x0) {\n    if (*(void **)(this + 0x10) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x10));\n    }\n    if (*(void **)(this + 0x30) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x30));\n    }\n    if (*(void **)(this + 0x40) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x40));\n    }\n    if (*(void **)(this + 0x50) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x50));\n    }\n  }" if (parenthesized_expression "(this[0x98] != (__moneypunct_cache<wchar_t,true>)0x0)" ( (binary_expression "this[0x98] != (__moneypunct_cache<wchar_t,true>)0x0)" (subscript_expression "this[0x98]" identifier [ number_literal ]) != (parenthesized_expression "(__moneypunct_cache<wchar_t,true>)0x0)" ( (comma_expression "__moneypunct_cache<wchar_t,true>)0x0" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "true>)0x0" true > (ERROR ")" )) number_literal)) ))) )) (compound_statement "{\n    if (*(void **)(this + 0x10) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x10));\n    }\n    if (*(void **)(this + 0x30) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x30));\n    }\n    if (*(void **)(this + 0x40) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x40));\n    }\n    if (*(void **)(this + 0x50) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x50));\n    }\n  }" { (if_statement "if (*(void **)(this + 0x10) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x10));\n    }" if (parenthesized_expression "(*(void **)(this + 0x10) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x10) != (void *)0x0" (pointer_expression "*(void **)(this + 0x10)" * (cast_expression "(void **)(this + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 0x10));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 0x10));" (call_expression "operator_delete__(*(void **)(this + 0x10))" identifier (argument_list "(*(void **)(this + 0x10))" ( (pointer_expression "*(void **)(this + 0x10)" * (cast_expression "(void **)(this + 0x10)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(void **)(this + 0x30) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x30));\n    }" if (parenthesized_expression "(*(void **)(this + 0x30) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x30) != (void *)0x0" (pointer_expression "*(void **)(this + 0x30)" * (cast_expression "(void **)(this + 0x30)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 0x30));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 0x30));" (call_expression "operator_delete__(*(void **)(this + 0x30))" identifier (argument_list "(*(void **)(this + 0x30))" ( (pointer_expression "*(void **)(this + 0x30)" * (cast_expression "(void **)(this + 0x30)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(void **)(this + 0x40) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x40));\n    }" if (parenthesized_expression "(*(void **)(this + 0x40) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x40) != (void *)0x0" (pointer_expression "*(void **)(this + 0x40)" * (cast_expression "(void **)(this + 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x40)" ( (binary_expression "this + 0x40" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 0x40));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 0x40));" (call_expression "operator_delete__(*(void **)(this + 0x40))" identifier (argument_list "(*(void **)(this + 0x40))" ( (pointer_expression "*(void **)(this + 0x40)" * (cast_expression "(void **)(this + 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x40)" ( (binary_expression "this + 0x40" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(void **)(this + 0x50) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x50));\n    }" if (parenthesized_expression "(*(void **)(this + 0x50) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x50) != (void *)0x0" (pointer_expression "*(void **)(this + 0x50)" * (cast_expression "(void **)(this + 0x50)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x50)" ( (binary_expression "this + 0x50" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 0x50));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 0x50));" (call_expression "operator_delete__(*(void **)(this + 0x50))" identifier (argument_list "(*(void **)(this + 0x50))" ( (pointer_expression "*(void **)(this + 0x50)" * (cast_expression "(void **)(this + 0x50)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x50)" ( (binary_expression "this + 0x50" identifier + number_literal) )))) ))) ;) })) })) (labeled_statement "locale::facet::~facet((facet *)this);" statement_identifier : (ERROR ":" :) (labeled_statement "facet::~facet((facet *)this);" statement_identifier : (ERROR ":" :) (expression_statement "~facet((facet *)this);" (unary_expression "~facet((facet *)this)" ~ (call_expression "facet((facet *)this)" identifier (argument_list "((facet *)this)" ( (cast_expression "(facet *)this" ( (type_descriptor "facet *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;))) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_002bba50(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003bb338;\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }\n  FUN_00278a50(param_1);\n  return;\n}\n\n" (function_definition "void FUN_002bba50(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003bb338;\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }\n  FUN_00278a50(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_002bba50(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_003bb338;\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }\n  FUN_00278a50(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_003bb338;" (assignment_expression "*param_1 = &PTR_FUN_003bb338" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_003bb338" & identifier)) ;) (if_statement "if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x13) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x13) != '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" * (cast_expression "(char *)(param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }" { (if_statement "if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }" if (parenthesized_expression "(param_1[2] != 0)" ( (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }" if (parenthesized_expression "(param_1[6] != 0)" ( (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }" if (parenthesized_expression "(param_1[8] != 0)" ( (binary_expression "param_1[8] != 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }" if (parenthesized_expression "(param_1[10] != 0)" ( (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) })) })) (expression_statement "FUN_00278a50(param_1);" (call_expression "FUN_00278a50(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002bba50(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_003bb338;\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }\n  FUN_00278a50(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002bba50(undefined8 *param_1)" (identifier "FUN_002bba50") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  *param_1 = &PTR_FUN_003bb338;\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }\n  FUN_00278a50(param_1);\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_003bb338;" (assignment_expression "*param_1 = &PTR_FUN_003bb338" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_003bb338" (& "&") (identifier "PTR_FUN_003bb338"))) (; ";")) (if_statement "if (*(char *)(param_1 + 0x13) != '\0') {\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x13) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x13) != '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" (* "*") (cast_expression "(char *)(param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13)" (( "(") (binary_expression "param_1 + 0x13" (identifier "param_1") (+ "+") (number_literal "0x13")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }\n    if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }\n  }" ({ "{") (if_statement "if (param_1[2] != 0) {\n      thunk_FUN_00276d20();\n    }" (if "if") (parenthesized_expression "(param_1[2] != 0)" (( "(") (binary_expression "param_1[2] != 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" ({ "{") (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" (identifier "thunk_FUN_00276d20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[6] != 0) {\n      thunk_FUN_00276d20();\n    }" (if "if") (parenthesized_expression "(param_1[6] != 0)" (( "(") (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" ({ "{") (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" (identifier "thunk_FUN_00276d20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[8] != 0) {\n      thunk_FUN_00276d20();\n    }" (if "if") (parenthesized_expression "(param_1[8] != 0)" (( "(") (binary_expression "param_1[8] != 0" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" ({ "{") (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" (identifier "thunk_FUN_00276d20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[10] != 0) {\n      thunk_FUN_00276d20();\n    }" (if "if") (parenthesized_expression "(param_1[10] != 0)" (( "(") (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      thunk_FUN_00276d20();\n    }" ({ "{") (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" (identifier "thunk_FUN_00276d20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00278a50(param_1);" (call_expression "FUN_00278a50(param_1)" (identifier "FUN_00278a50") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::__moneypunct_cache<wchar_t, true>::~__moneypunct_cache() */

void __thiscall
std::var_1<var_2,true>::~var_1(var_1<var_2,true> *var_3)

{
  *(undefined ***)var_3 = &PTR____moneypunct_cache_003bb338;
  if (var_3[0x98] != (var_1<var_2,true>)0x0) {
    if (*(void **)(var_3 + 0x10) != (void *)0x0) {
      var_4(*(void **)(var_3 + 0x10));
    }
    if (*(void **)(var_3 + 0x30) != (void *)0x0) {
      var_4(*(void **)(var_3 + 0x30));
    }
    if (*(void **)(var_3 + 0x40) != (void *)0x0) {
      var_4(*(void **)(var_3 + 0x40));
    }
    if (*(void **)(var_3 + 0x50) != (void *)0x0) {
      var_4(*(void **)(var_3 + 0x50));
    }
  }
  locale::facet::~var_5((var_5 *)var_3);
  return;
}


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

void MASKED(undefined8 *param_1)

{
  *param_1 = &PTR_FUN_003bb338;
  if (*(char *)(param_1 + 0x13) != '\0') {
    if (param_1[2] != 0) {
      thunk_FUN_00276d20();
    }
    if (param_1[6] != 0) {
      thunk_FUN_00276d20();
    }
    if (param_1[8] != 0) {
      thunk_FUN_00276d20();
    }
    if (param_1[10] != 0) {
      thunk_FUN_00276d20();
    }
  }
  FUN_00278a50(param_1);
  return;
}

