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

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

{
  undefined *puVar1;
  
  puVar1 = PTR__S_destroy_c_locale_004c12f4;
  *(undefined **)this = PTR_vtable_004c3254 + 8;
  (*(code *)puVar1)(this + 8);
                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR__facet_004c12f8)(this);
  return;
}



void FUN_003c01ac(undefined4 *param_1)

{
  undefined *puVar1;
  
  puVar1 = PTR__S_destroy_c_locale_004c12f4;
  *param_1 = PTR_vtable_004c3254 + 8;
  (*(code *)puVar1)(param_1 + 2);
                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR__facet_004c12f8)(param_1);
  return;
}


lui gp,0x11
addiu gp,gp,-0x6f6c
addu gp,gp,t9
addiu sp,sp,-0x20
lw v0,-0x5fec(gp)
lw t9,-0x7f4c(gp)
sw s0,0x18(sp)
addiu v0,v0,0x8
or s0,a0,zero
sw gp,0x10(sp)
addiu a0,a0,0x8
sw ra,0x1c(sp)
jalr t9
_sw v0,0x0(s0)
or a0,s0,zero
lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7f48(gp)
jr t9
_addiu sp,sp,0x20
(translation_unit "void FUN_003c01ac(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *param_1 = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(param_1 + 2);\n                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR__facet_004c12f8)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_003c01ac(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *param_1 = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(param_1 + 2);\n                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR__facet_004c12f8)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_003c01ac(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *param_1 = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(param_1 + 2);\n                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR__facet_004c12f8)(param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR__S_destroy_c_locale_004c12f4;" (assignment_expression "puVar1 = PTR__S_destroy_c_locale_004c12f4" identifier = identifier) ;) (expression_statement "*param_1 = PTR_vtable_004c3254 + 8;" (assignment_expression "*param_1 = PTR_vtable_004c3254 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_004c3254 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar1)(param_1 + 2);" (call_expression "(*(code *)puVar1)(param_1 + 2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) comment comment (expression_statement "(*(code *)PTR__facet_004c12f8)(param_1);" (call_expression "(*(code *)PTR__facet_004c12f8)(param_1)" (parenthesized_expression "(*(code *)PTR__facet_004c12f8)" ( (pointer_expression "*(code *)PTR__facet_004c12f8" * (cast_expression "(code *)PTR__facet_004c12f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) 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 *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *(undefined **)this = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(this + 8);\n                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR__facet_004c12f8)(this);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::collate<char>::~collate(collate<char> *this)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *(undefined **)this = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(this + 8);\n                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR__facet_004c12f8)(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 *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *(undefined **)this = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(this + 8);\n                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR__facet_004c12f8)(this);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR__S_destroy_c_locale_004c12f4;" (assignment_expression "puVar1 = PTR__S_destroy_c_locale_004c12f4" identifier = identifier) ;) (expression_statement "*(undefined **)this = PTR_vtable_004c3254 + 8;" (assignment_expression "*(undefined **)this = PTR_vtable_004c3254 + 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_004c3254 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar1)(this + 8);" (call_expression "(*(code *)puVar1)(this + 8)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) ;) comment comment (expression_statement "(*(code *)PTR__facet_004c12f8)(this);" (call_expression "(*(code *)PTR__facet_004c12f8)(this)" (parenthesized_expression "(*(code *)PTR__facet_004c12f8)" ( (pointer_expression "*(code *)PTR__facet_004c12f8" * (cast_expression "(code *)PTR__facet_004c12f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_003c01ac(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *param_1 = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(param_1 + 2);\n                    \n                    \n  (*(code *)PTR__facet_004c12f8)(param_1);\n  return;\n}\n\n" (function_definition "void FUN_003c01ac(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *param_1 = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(param_1 + 2);\n                    \n                    \n  (*(code *)PTR__facet_004c12f8)(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_003c01ac(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *param_1 = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(param_1 + 2);\n                    \n                    \n  (*(code *)PTR__facet_004c12f8)(param_1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR__S_destroy_c_locale_004c12f4;" (assignment_expression "puVar1 = PTR__S_destroy_c_locale_004c12f4" identifier = identifier) ;) (expression_statement "*param_1 = PTR_vtable_004c3254 + 8;" (assignment_expression "*param_1 = PTR_vtable_004c3254 + 8" (pointer_expression "*param_1" * identifier) = (binary_expression "PTR_vtable_004c3254 + 8" identifier + number_literal)) ;) (expression_statement "(*(code *)puVar1)(param_1 + 2);" (call_expression "(*(code *)puVar1)(param_1 + 2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "(*(code *)PTR__facet_004c12f8)(param_1);" (call_expression "(*(code *)PTR__facet_004c12f8)(param_1)" (parenthesized_expression "(*(code *)PTR__facet_004c12f8)" ( (pointer_expression "*(code *)PTR__facet_004c12f8" * (cast_expression "(code *)PTR__facet_004c12f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) 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 { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_003c01ac(undefined4 *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *param_1 = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(param_1 + 2);\n                    \n                    \n  (*(code *)PTR__facet_004c12f8)(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003c01ac(undefined4 *param_1)" (identifier "FUN_003c01ac") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = PTR__S_destroy_c_locale_004c12f4;\n  *param_1 = PTR_vtable_004c3254 + 8;\n  (*(code *)puVar1)(param_1 + 2);\n                    \n                    \n  (*(code *)PTR__facet_004c12f8)(param_1);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = PTR__S_destroy_c_locale_004c12f4;" (assignment_expression "puVar1 = PTR__S_destroy_c_locale_004c12f4" (identifier "puVar1") (= "=") (identifier "PTR__S_destroy_c_locale_004c12f4")) (; ";")) (expression_statement "*param_1 = PTR_vtable_004c3254 + 8;" (assignment_expression "*param_1 = PTR_vtable_004c3254 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "PTR_vtable_004c3254 + 8" (identifier "PTR_vtable_004c3254") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "(*(code *)puVar1)(param_1 + 2);" (call_expression "(*(code *)puVar1)(param_1 + 2)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR__facet_004c12f8)(param_1);" (call_expression "(*(code *)PTR__facet_004c12f8)(param_1)" (parenthesized_expression "(*(code *)PTR__facet_004c12f8)" (( "(") (pointer_expression "*(code *)PTR__facet_004c12f8" (* "*") (cast_expression "(code *)PTR__facet_004c12f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__facet_004c12f8"))) () ")")) (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 *puVar1;
  
  puVar1 = PTR__S_destroy_c_locale_004c12f4;
  *(type_1 **)var_2 = var_1 + 8;
  (*(type_2 *)puVar1)(var_2 + 8);
                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(type_2 *)PTR__facet_004c12f8)(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 (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (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))))) (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 (identifier)))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  undefined *puVar1;
  
  puVar1 = PTR__S_destroy_c_locale_004c12f4;
  *param_1 = PTR_vtable_004c3254 + 8;
  (*(code *)puVar1)(param_1 + 2);
                    /* WARNING: Could not recover jumptable at 0x003c01f8. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR__facet_004c12f8)(param_1);
  return;
}

