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

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

{
  void *pvVar1;
  void *pvVar2;
  
  *(undefined **)this = PTR_vtable_004c2bc8 + 8;
  pvVar2 = *(void **)(this + 0xc);
  pvVar1 = (void *)locale::facet::_S_get_c_name();
  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {
    operator_delete__(pvVar2);
  }
  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);
  locale::facet::~facet((facet *)this);
  return;
}



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

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

{
  void *pvVar1;
  void *pvVar2;
  
  *(undefined **)this = PTR_vtable_004c2bc8 + 8;
  pvVar2 = *(void **)(this + 0xc);
  pvVar1 = (void *)locale::facet::_S_get_c_name();
  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {
    operator_delete__(pvVar2);
  }
  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);
  locale::facet::~facet((facet *)this);
  return;
}


lui gp,0x18
addiu gp,gp,0x1608
addu gp,gp,t9
lw v0,-0x6678(gp)
addiu sp,sp,-0x28
lw t9,-0x6680(gp)
addiu v0,v0,0x8
sw gp,0x10(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x24(sp)
sw v0,0x0(a0)
bal 0x00333fec
_lw s1,0xc(a0)
beq s1,v0,0x00347c90
_lw gp,0x10(sp)
beq s1,zero,0x00347c90
_lw t9,-0x7088(gp)
bal 0x00330e80
_or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x7f4c(gp)
jalr t9
_addiu a0,s0,0x8
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7f48(gp)
b 0x003337a0
_addiu sp,sp,0x28
(translation_unit "/* std::messages<char>::~messages() */\n\nvoid __thiscall std::messages<char>::~messages(messages<char> *this)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::messages<char>::~messages(messages<char> *this)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::messages<char>::~" identifier : : identifier < primitive_type > : : ~) (function_declarator "messages(messages<char> *this)" identifier (parameter_list "(messages<char> *this)" ( (parameter_declaration "messages<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (expression_statement "*(undefined **)this = PTR_vtable_004c2bc8 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_004c2bc8 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "PTR_vtable_004c2bc8 + 8" identifier + number_literal)) ;) (expression_statement "pvVar2 = *(void **)(this + 0xc);" (assignment_expression "pvVar2 = *(void **)(this + 0xc)" identifier = (pointer_expression "*(void **)(this + 0xc)" * (cast_expression "(void **)(this + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) ;) (ERROR "pvVar1 = (void *)locale::" (assignment_expression "pvVar1 = (void *)locale" identifier = (cast_expression "(void *)locale" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) : :) (labeled_statement "facet::_S_get_c_name();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_name();" (call_expression "_S_get_c_name()" identifier (argument_list "()" ( ))) ;)) (if_statement "if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }" if (parenthesized_expression "((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0))" ( (binary_expression "(pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)" (parenthesized_expression "(pvVar2 != pvVar1)" ( (binary_expression "pvVar2 != pvVar1" identifier != identifier) )) && (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    operator_delete__(pvVar2);\n  }" { (expression_statement "operator_delete__(pvVar2);" (call_expression "operator_delete__(pvVar2)" identifier (argument_list "(pvVar2)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);" (call_expression "(*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_004c12f4)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_004c12f4" * (cast_expression "(code *)PTR__S_destroy_c_locale_004c12f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + 8)" ( (binary_expression "this + 8" 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 "/* std::messages<char>::~messages() */\n\nvoid __thiscall std::messages<char>::~messages(messages<char> *this)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::messages<char>::~messages(messages<char> *this)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::messages<char>::~" identifier : : identifier < primitive_type > : : ~) (function_declarator "messages(messages<char> *this)" identifier (parameter_list "(messages<char> *this)" ( (parameter_declaration "messages<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (expression_statement "*(undefined **)this = PTR_vtable_004c2bc8 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_004c2bc8 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "PTR_vtable_004c2bc8 + 8" identifier + number_literal)) ;) (expression_statement "pvVar2 = *(void **)(this + 0xc);" (assignment_expression "pvVar2 = *(void **)(this + 0xc)" identifier = (pointer_expression "*(void **)(this + 0xc)" * (cast_expression "(void **)(this + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) ;) (ERROR "pvVar1 = (void *)locale::" (assignment_expression "pvVar1 = (void *)locale" identifier = (cast_expression "(void *)locale" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) : :) (labeled_statement "facet::_S_get_c_name();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_name();" (call_expression "_S_get_c_name()" identifier (argument_list "()" ( ))) ;)) (if_statement "if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }" if (parenthesized_expression "((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0))" ( (binary_expression "(pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)" (parenthesized_expression "(pvVar2 != pvVar1)" ( (binary_expression "pvVar2 != pvVar1" identifier != identifier) )) && (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    operator_delete__(pvVar2);\n  }" { (expression_statement "operator_delete__(pvVar2);" (call_expression "operator_delete__(pvVar2)" identifier (argument_list "(pvVar2)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);" (call_expression "(*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_004c12f4)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_004c12f4" * (cast_expression "(code *)PTR__S_destroy_c_locale_004c12f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + 8)" ( (binary_expression "this + 8" 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 __thiscall std::messages<char>::~messages(messages<char> *this)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}\n\n" (function_definition "void __thiscall std::messages<char>::~messages(messages<char> *this)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::messages<char>::~" identifier : : identifier < primitive_type > : : ~) (function_declarator "messages(messages<char> *this)" identifier (parameter_list "(messages<char> *this)" ( (parameter_declaration "messages<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (expression_statement "*(undefined **)this = PTR_vtable_004c2bc8 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_004c2bc8 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "PTR_vtable_004c2bc8 + 8" identifier + number_literal)) ;) (expression_statement "pvVar2 = *(void **)(this + 0xc);" (assignment_expression "pvVar2 = *(void **)(this + 0xc)" identifier = (pointer_expression "*(void **)(this + 0xc)" * (cast_expression "(void **)(this + 0xc)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))))) ;) (ERROR "pvVar1 = (void *)locale::" (assignment_expression "pvVar1 = (void *)locale" identifier = (cast_expression "(void *)locale" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) : :) (labeled_statement "facet::_S_get_c_name();" statement_identifier : (ERROR ":" :) (expression_statement "_S_get_c_name();" (call_expression "_S_get_c_name()" identifier (argument_list "()" ( ))) ;)) (if_statement "if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }" if (parenthesized_expression "((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0))" ( (binary_expression "(pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)" (parenthesized_expression "(pvVar2 != pvVar1)" ( (binary_expression "pvVar2 != pvVar1" identifier != identifier) )) && (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    operator_delete__(pvVar2);\n  }" { (expression_statement "operator_delete__(pvVar2);" (call_expression "operator_delete__(pvVar2)" identifier (argument_list "(pvVar2)" ( identifier ))) ;) })) (expression_statement "(*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);" (call_expression "(*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_004c12f4)" ( (pointer_expression "*(code *)PTR__S_destroy_c_locale_004c12f4" * (cast_expression "(code *)PTR__S_destroy_c_locale_004c12f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + 8)" ( (binary_expression "this + 8" 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 (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT < TYPE > : : ~) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (ERROR < TYPE >) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (ERROR (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) : :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (unary_expression ~ (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;))) (return_statement return ;) })))
(function_definition "void __thiscall std::messages<char>::~messages(messages<char> *this)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::messages<char>::~" (identifier "std") (: ":") (: ":") (identifier "messages") (< "<") (primitive_type "char") (> ">") (: ":") (: ":") (~ "~")) (function_declarator "messages(messages<char> *this)" (identifier "messages") (parameter_list "(messages<char> *this)" (( "(") (parameter_declaration "messages<char> *this" (type_identifier "messages") (ERROR "<char>" (< "<") (primitive_type "char") (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) () ")"))) (compound_statement "{\n  void *pvVar1;\n  void *pvVar2;\n  \n  *(undefined **)this = PTR_vtable_004c2bc8 + 8;\n  pvVar2 = *(void **)(this + 0xc);\n  pvVar1 = (void *)locale::facet::_S_get_c_name();\n  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }\n  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);\n  locale::facet::~facet((facet *)this);\n  return;\n}" ({ "{") (declaration "void *pvVar1;" (primitive_type "void") (pointer_declarator "*pvVar1" (* "*") (identifier "pvVar1")) (; ";")) (declaration "void *pvVar2;" (primitive_type "void") (pointer_declarator "*pvVar2" (* "*") (identifier "pvVar2")) (; ";")) (expression_statement "*(undefined **)this = PTR_vtable_004c2bc8 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_004c2bc8 + 8" (pointer_expression "*(undefined **)this" (* "*") (cast_expression "(undefined **)this" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "this"))) (= "=") (binary_expression "PTR_vtable_004c2bc8 + 8" (identifier "PTR_vtable_004c2bc8") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "pvVar2 = *(void **)(this + 0xc);" (assignment_expression "pvVar2 = *(void **)(this + 0xc)" (identifier "pvVar2") (= "=") (pointer_expression "*(void **)(this + 0xc)" (* "*") (cast_expression "(void **)(this + 0xc)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 0xc)" (( "(") (binary_expression "this + 0xc" (identifier "this") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (ERROR "pvVar1 = (void *)locale::" (assignment_expression "pvVar1 = (void *)locale" (identifier "pvVar1") (= "=") (cast_expression "(void *)locale" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "locale"))) (: ":") (: ":")) (labeled_statement "facet::_S_get_c_name();" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "_S_get_c_name();" (call_expression "_S_get_c_name()" (identifier "_S_get_c_name") (argument_list "()" (( "(") () ")"))) (; ";"))) (if_statement "if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {\n    operator_delete__(pvVar2);\n  }" (if "if") (parenthesized_expression "((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0))" (( "(") (binary_expression "(pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)" (parenthesized_expression "(pvVar2 != pvVar1)" (( "(") (binary_expression "pvVar2 != pvVar1" (identifier "pvVar2") (!= "!=") (identifier "pvVar1")) () ")")) (&& "&&") (parenthesized_expression "(pvVar2 != (void *)0x0)" (( "(") (binary_expression "pvVar2 != (void *)0x0" (identifier "pvVar2") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n    operator_delete__(pvVar2);\n  }" ({ "{") (expression_statement "operator_delete__(pvVar2);" (call_expression "operator_delete__(pvVar2)" (identifier "operator_delete__") (argument_list "(pvVar2)" (( "(") (identifier "pvVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);" (call_expression "(*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8)" (parenthesized_expression "(*(code *)PTR__S_destroy_c_locale_004c12f4)" (( "(") (pointer_expression "*(code *)PTR__S_destroy_c_locale_004c12f4" (* "*") (cast_expression "(code *)PTR__S_destroy_c_locale_004c12f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__S_destroy_c_locale_004c12f4"))) () ")")) (argument_list "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))) (; ";")) (labeled_statement "locale::facet::~facet((facet *)this);" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (labeled_statement "facet::~facet((facet *)this);" (statement_identifier "facet") (: ":") (ERROR ":" (: ":")) (expression_statement "~facet((facet *)this);" (unary_expression "~facet((facet *)this)" (~ "~") (call_expression "facet((facet *)this)" (identifier "facet") (argument_list "((facet *)this)" (( "(") (cast_expression "(facet *)this" (( "(") (type_descriptor "facet *" (type_identifier "facet") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this")) () ")")))) (; ";")))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) (ms_call_modifier) (ERROR (identifier) (identifier) (primitive_type)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) (ERROR (primitive_type)) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (ERROR (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (unary_expression argument: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))))) (return_statement))))

/* std::messages<char>::MASKED() */

void __thiscall std::messages<char>::MASKED(messages<char> *this)

{
  void *pvVar1;
  void *pvVar2;
  
  *(undefined **)this = PTR_vtable_004c2bc8 + 8;
  pvVar2 = *(void **)(this + 0xc);
  pvVar1 = (void *)locale::facet::_S_get_c_name();
  if ((pvVar2 != pvVar1) && (pvVar2 != (void *)0x0)) {
    operator_delete__(pvVar2);
  }
  (*(code *)PTR__S_destroy_c_locale_004c12f4)(this + 8);
  locale::facet::~facet((facet *)this);
  return;
}

