
/* std::collate<char>::~collate() */

void __thiscall std::collate<char>::~collate(collate<char> *this)

{
  *(undefined ***)this = &PTR__collate_0067ae08;
  locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 0x10));
  locale::facet::~facet((facet *)this);
  return;
}



void FUN_00508f40(undefined8 *param_1)

{
  *param_1 = &PTR_FUN_0067ae08;
  FUN_004df230();
  FUN_004a0060(param_1);
  return;
}


LEA RAX,[0x67adf8]
PUSH RBX
MOV RBX,RDI
LEA RDI,[RDI + 0x10]
ADD RAX,0x10
MOV qword ptr [RDI + -0x10],RAX
CALL 0x004df230
MOV RDI,RBX
POP RBX
JMP 0x004a0060
(translation_unit "void FUN_00508f40(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0067ae08;\n  FUN_004df230();\n  FUN_004a0060(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00508f40(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0067ae08;\n  FUN_004df230();\n  FUN_004a0060(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00508f40(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_0067ae08;\n  FUN_004df230();\n  FUN_004a0060(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0067ae08;" (assignment_expression "*param_1 = &PTR_FUN_0067ae08" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0067ae08" & identifier)) ;) (expression_statement "FUN_004df230();" (call_expression "FUN_004df230()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_004a0060(param_1);" (call_expression "FUN_004a0060(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::collate<char>::~collate() */\n\nvoid __thiscall std::collate<char>::~collate(collate<char> *this)\n\n{\n  *(undefined ***)this = &PTR__collate_0067ae08;\n  locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 0x10));\n  locale::facet::~facet((facet *)this);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::collate<char>::~collate(collate<char> *this)\n\n{\n  *(undefined ***)this = &PTR__collate_0067ae08;\n  locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 0x10));\n  locale::facet::~facet((facet *)this);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::collate<char>::~" identifier : : identifier < primitive_type > : : ~) (function_declarator "collate(collate<char> *this)" identifier (parameter_list "(collate<char> *this)" ( (parameter_declaration "collate<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined ***)this = &PTR__collate_0067ae08;\n  locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 0x10));\n  locale::facet::~facet((facet *)this);\n  return;\n}" { (expression_statement "*(undefined ***)this = &PTR__collate_0067ae08;" (assignment_expression "*(undefined ***)this = &PTR__collate_0067ae08" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__collate_0067ae08" & identifier)) ;) (labeled_statement "locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 0x10));" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_destroy_c_locale((__locale_struct **)(this + 0x10));" statement_identifier : (ERROR ":" :) (expression_statement "_S_destroy_c_locale((__locale_struct **)(this + 0x10));" (call_expression "_S_destroy_c_locale((__locale_struct **)(this + 0x10))" identifier (argument_list "((__locale_struct **)(this + 0x10))" ( (cast_expression "(__locale_struct **)(this + 0x10)" ( (type_descriptor "__locale_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" 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 ;) })))
(translation_unit "void FUN_00508f40(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0067ae08;\n  FUN_004df230();\n  FUN_004a0060(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00508f40(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0067ae08;\n  FUN_004df230();\n  FUN_004a0060(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00508f40(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_0067ae08;\n  FUN_004df230();\n  FUN_004a0060(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0067ae08;" (assignment_expression "*param_1 = &PTR_FUN_0067ae08" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0067ae08" & identifier)) ;) (expression_statement "FUN_004df230();" (call_expression "FUN_004df230()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_004a0060(param_1);" (call_expression "FUN_004a0060(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)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00508f40(undefined8 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0067ae08;\n  FUN_004df230();\n  FUN_004a0060(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00508f40(undefined8 *param_1)" (identifier "FUN_00508f40") (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_0067ae08;\n  FUN_004df230();\n  FUN_004a0060(param_1);\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_0067ae08;" (assignment_expression "*param_1 = &PTR_FUN_0067ae08" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0067ae08" (& "&") (identifier "PTR_FUN_0067ae08"))) (; ";")) (expression_statement "FUN_004df230();" (call_expression "FUN_004df230()" (identifier "FUN_004df230") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_004a0060(param_1);" (call_expression "FUN_004a0060(param_1)" (identifier "FUN_004a0060") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::collate<char>::~collate() */

void __thiscall std::function_1<char>::~function_1(function_1<char> *var_2)

{
  *(type_1 ***)var_2 = &PTR__collate_0067ae08;
  locale::facet::var_1((type_2 **)(var_2 + 0x10));
  locale::facet::~var_3((var_3 *)var_2);
  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)))) (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_0067ae08;
  FUN_004df230();
  FUN_004a0060(param_1);
  return;
}

