
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::collate_byname<char>::~collate_byname() */

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

{
  *(undefined ***)this = &PTR__collate_0030152c;
  locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));
  locale::facet::~facet((facet *)this);
  operator_delete(this);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_001f3b30(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_0030152c;
  FUN_001c8c60(param_1 + 2);
  FUN_00182630(param_1);
  FUN_001807a0(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x10e4c9
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
LEA EAX,[EBX + 0xfffff524]
ADD EAX,0x8
MOV dword ptr [ESI],EAX
LEA EAX,[ESI + 0x8]
PUSH EAX
CALL 0x001c8c60
MOV dword ptr [ESP],ESI
CALL 0x00182630
MOV dword ptr [ESP],ESI
CALL 0x001807a0
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001f3b30(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0030152c;\n  FUN_001c8c60(param_1 + 2);\n  FUN_00182630(param_1);\n  FUN_001807a0(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_001f3b30(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0030152c;\n  FUN_001c8c60(param_1 + 2);\n  FUN_00182630(param_1);\n  FUN_001807a0(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_001f3b30(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_0030152c;\n  FUN_001c8c60(param_1 + 2);\n  FUN_00182630(param_1);\n  FUN_001807a0(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0030152c;" (assignment_expression "*param_1 = &PTR_FUN_0030152c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0030152c" & identifier)) ;) (expression_statement "FUN_001c8c60(param_1 + 2);" (call_expression "FUN_001c8c60(param_1 + 2)" identifier (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "FUN_00182630(param_1);" (call_expression "FUN_00182630(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_001807a0(param_1);" (call_expression "FUN_001807a0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::collate_byname<char>::~collate_byname() */\n\nvoid __thiscall std::collate_byname<char>::~collate_byname(collate_byname<char> *this)\n\n{\n  *(undefined ***)this = &PTR__collate_0030152c;\n  locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n  locale::facet::~facet((facet *)this);\n  operator_delete(this);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::collate_byname<char>::~collate_byname(collate_byname<char> *this)\n\n{\n  *(undefined ***)this = &PTR__collate_0030152c;\n  locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n  locale::facet::~facet((facet *)this);\n  operator_delete(this);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::collate_byname<char>::~" identifier : : identifier < primitive_type > : : ~) (function_declarator "collate_byname(collate_byname<char> *this)" identifier (parameter_list "(collate_byname<char> *this)" ( (parameter_declaration "collate_byname<char> *this" type_identifier (ERROR "<char>" < primitive_type >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined ***)this = &PTR__collate_0030152c;\n  locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));\n  locale::facet::~facet((facet *)this);\n  operator_delete(this);\n  return;\n}" { (expression_statement "*(undefined ***)this = &PTR__collate_0030152c;" (assignment_expression "*(undefined ***)this = &PTR__collate_0030152c" (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_0030152c" & identifier)) ;) (labeled_statement "locale::facet::_S_destroy_c_locale((__locale_struct **)(this + 8));" statement_identifier : (ERROR ":" :) (labeled_statement "facet::_S_destroy_c_locale((__locale_struct **)(this + 8));" statement_identifier : (ERROR ":" :) (expression_statement "_S_destroy_c_locale((__locale_struct **)(this + 8));" (call_expression "_S_destroy_c_locale((__locale_struct **)(this + 8))" identifier (argument_list "((__locale_struct **)(this + 8))" ( (cast_expression "(__locale_struct **)(this + 8)" ( (type_descriptor "__locale_struct **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(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) )))) ;))) (expression_statement "operator_delete(this);" (call_expression "operator_delete(this)" identifier (argument_list "(this)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001f3b30(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0030152c;\n  FUN_001c8c60(param_1 + 2);\n  FUN_00182630(param_1);\n  FUN_001807a0(param_1);\n  return;\n}\n\n" (function_definition "void FUN_001f3b30(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0030152c;\n  FUN_001c8c60(param_1 + 2);\n  FUN_00182630(param_1);\n  FUN_001807a0(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_001f3b30(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_0030152c;\n  FUN_001c8c60(param_1 + 2);\n  FUN_00182630(param_1);\n  FUN_001807a0(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0030152c;" (assignment_expression "*param_1 = &PTR_FUN_0030152c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0030152c" & identifier)) ;) (expression_statement "FUN_001c8c60(param_1 + 2);" (call_expression "FUN_001c8c60(param_1 + 2)" identifier (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "FUN_00182630(param_1);" (call_expression "FUN_00182630(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "FUN_001807a0(param_1);" (call_expression "FUN_001807a0(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 ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001f3b30(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0030152c;\n  FUN_001c8c60(param_1 + 2);\n  FUN_00182630(param_1);\n  FUN_001807a0(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001f3b30(undefined4 *param_1)" (identifier "FUN_001f3b30") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  *param_1 = &PTR_FUN_0030152c;\n  FUN_001c8c60(param_1 + 2);\n  FUN_00182630(param_1);\n  FUN_001807a0(param_1);\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_0030152c;" (assignment_expression "*param_1 = &PTR_FUN_0030152c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0030152c" (& "&") (identifier "PTR_FUN_0030152c"))) (; ";")) (expression_statement "FUN_001c8c60(param_1 + 2);" (call_expression "FUN_001c8c60(param_1 + 2)" (identifier "FUN_001c8c60") (argument_list "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) (; ";")) (expression_statement "FUN_00182630(param_1);" (call_expression "FUN_00182630(param_1)" (identifier "FUN_00182630") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "FUN_001807a0(param_1);" (call_expression "FUN_001807a0(param_1)" (identifier "FUN_001807a0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::collate_byname<char>::~collate_byname() */

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

{
  *(type_1 ***)var_2 = &PTR__collate_0030152c;
  locale::facet::var_1((type_2 **)(var_2 + 8));
  locale::facet::~var_3((var_3 *)var_2);
  var_4(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 (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_0030152c;
  FUN_001c8c60(param_1 + 2);
  FUN_00182630(param_1);
  FUN_001807a0(param_1);
  return;
}

