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

void __thiscall
std::__moneypunct_cache<char,false>::~__moneypunct_cache(__moneypunct_cache<char,false> *this)

{
  *(undefined ***)this = &PTR____moneypunct_cache_0033c6b0;
  if (this[0x43] != (__moneypunct_cache<char,false>)0x0) {
    if (*(void **)(this + 8) != (void *)0x0) {
      operator_delete__(*(void **)(this + 8));
    }
    if (*(void **)(this + 0x14) != (void *)0x0) {
      operator_delete__(*(void **)(this + 0x14));
    }
    if (*(void **)(this + 0x1c) != (void *)0x0) {
      operator_delete__(*(void **)(this + 0x1c));
    }
    if (*(void **)(this + 0x24) != (void *)0x0) {
      operator_delete__(*(void **)(this + 0x24));
    }
  }
  locale::facet::~facet((facet *)this);
  return;
}



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

void FUN_001bda40(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_0033c6b0;
  if (*(char *)((int)param_1 + 0x43) != '\0') {
    if (param_1[2] != 0) {
      FUN_001ac410(param_1[2]);
    }
    if (param_1[5] != 0) {
      FUN_001ac410(param_1[5]);
    }
    if (param_1[7] != 0) {
      FUN_001ac410(param_1[7]);
    }
    if (param_1[9] != 0) {
      FUN_001ac410(param_1[9]);
    }
  }
  FUN_001ae300(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1815b9
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xffffd6a8]
ADD EAX,0x8
CMP byte ptr [ESI + 0x43],0x0
MOV dword ptr [ESI],EAX
JZ 0x001bdab1
MOV EAX,dword ptr [ESI + 0x8]
TEST EAX,EAX
JZ 0x001bda78
SUB ESP,0xc
PUSH EAX
CALL 0x001ac410
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x14]
TEST EAX,EAX
JZ 0x001bda8b
SUB ESP,0xc
PUSH EAX
CALL 0x001ac410
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x1c]
TEST EAX,EAX
JZ 0x001bda9e
SUB ESP,0xc
PUSH EAX
CALL 0x001ac410
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x24]
TEST EAX,EAX
JZ 0x001bdab1
SUB ESP,0xc
PUSH EAX
CALL 0x001ac410
ADD ESP,0x10
SUB ESP,0xc
PUSH ESI
CALL 0x001ae300
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_001bda40(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0033c6b0;\n  if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }\n  FUN_001ae300(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_001bda40(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0033c6b0;\n  if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }\n  FUN_001ae300(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_001bda40(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_0033c6b0;\n  if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }\n  FUN_001ae300(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0033c6b0;" (assignment_expression "*param_1 = &PTR_FUN_0033c6b0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0033c6b0" & identifier)) ;) (if_statement "if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x43) != '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x43) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x43)" * (cast_expression "(char *)((int)param_1 + 0x43)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x43)" ( (binary_expression "(int)param_1 + 0x43" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }" { (if_statement "if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\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      FUN_001ac410(param_1[2]);\n    }" { (expression_statement "FUN_001ac410(param_1[2]);" (call_expression "FUN_001ac410(param_1[2])" identifier (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }" if (parenthesized_expression "(param_1[5] != 0)" ( (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_001ac410(param_1[5]);\n    }" { (expression_statement "FUN_001ac410(param_1[5]);" (call_expression "FUN_001ac410(param_1[5])" identifier (argument_list "(param_1[5])" ( (subscript_expression "param_1[5]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }" if (parenthesized_expression "(param_1[7] != 0)" ( (binary_expression "param_1[7] != 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_001ac410(param_1[7]);\n    }" { (expression_statement "FUN_001ac410(param_1[7]);" (call_expression "FUN_001ac410(param_1[7])" identifier (argument_list "(param_1[7])" ( (subscript_expression "param_1[7]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }" if (parenthesized_expression "(param_1[9] != 0)" ( (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_001ac410(param_1[9]);\n    }" { (expression_statement "FUN_001ac410(param_1[9]);" (call_expression "FUN_001ac410(param_1[9])" identifier (argument_list "(param_1[9])" ( (subscript_expression "param_1[9]" identifier [ number_literal ]) ))) ;) })) })) (expression_statement "FUN_001ae300(param_1);" (call_expression "FUN_001ae300(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::__moneypunct_cache<char, false>::~__moneypunct_cache() */\n\nvoid __thiscall\nstd::__moneypunct_cache<char,false>::~__moneypunct_cache(__moneypunct_cache<char,false> *this)\n\n{\n  *(undefined ***)this = &PTR____moneypunct_cache_0033c6b0;\n  if (this[0x43] != (__moneypunct_cache<char,false>)0x0) {\n    if (*(void **)(this + 8) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 8));\n    }\n    if (*(void **)(this + 0x14) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x14));\n    }\n    if (*(void **)(this + 0x1c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x1c));\n    }\n    if (*(void **)(this + 0x24) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x24));\n    }\n  }\n  locale::facet::~facet((facet *)this);\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::__moneypunct_cache<char,false>::~__moneypunct_cache(__moneypunct_cache<char,false> *this)\n\n{\n  *(undefined ***)this = &PTR____moneypunct_cache_0033c6b0;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "false>::~__moneypunct_cache(__moneypunct_cache<char,false> *this)\n\n{" identifier > : : ~ (function_declarator "__moneypunct_cache(__moneypunct_cache<char,false> *this)" identifier (parameter_list "(__moneypunct_cache<char,false> *this)" ( (parameter_declaration "__moneypunct_cache" type_identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) {) (init_declarator "*(undefined ***)this = &PTR____moneypunct_cache_0033c6b0" (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_0033c6b0" & identifier)) ;) (if_statement "if (this[0x43] != (__moneypunct_cache<char,false>)0x0) {\n    if (*(void **)(this + 8) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 8));\n    }\n    if (*(void **)(this + 0x14) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x14));\n    }\n    if (*(void **)(this + 0x1c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x1c));\n    }\n    if (*(void **)(this + 0x24) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x24));\n    }\n  }" if (parenthesized_expression "(this[0x43] != (__moneypunct_cache<char,false>)0x0)" ( (binary_expression "this[0x43] != (__moneypunct_cache<char,false>)0x0)" (subscript_expression "this[0x43]" identifier [ number_literal ]) != (parenthesized_expression "(__moneypunct_cache<char,false>)0x0)" ( (comma_expression "__moneypunct_cache<char,false>)0x0" (binary_expression "__moneypunct_cache<char" identifier < identifier) , (binary_expression "false>)0x0" false > (ERROR ")" )) number_literal)) ))) )) (compound_statement "{\n    if (*(void **)(this + 8) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 8));\n    }\n    if (*(void **)(this + 0x14) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x14));\n    }\n    if (*(void **)(this + 0x1c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x1c));\n    }\n    if (*(void **)(this + 0x24) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x24));\n    }\n  }" { (if_statement "if (*(void **)(this + 8) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 8));\n    }" if (parenthesized_expression "(*(void **)(this + 8) != (void *)0x0)" ( (binary_expression "*(void **)(this + 8) != (void *)0x0" (pointer_expression "*(void **)(this + 8)" * (cast_expression "(void **)(this + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 8));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 8));" (call_expression "operator_delete__(*(void **)(this + 8))" identifier (argument_list "(*(void **)(this + 8))" ( (pointer_expression "*(void **)(this + 8)" * (cast_expression "(void **)(this + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(void **)(this + 0x14) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x14));\n    }" if (parenthesized_expression "(*(void **)(this + 0x14) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x14) != (void *)0x0" (pointer_expression "*(void **)(this + 0x14)" * (cast_expression "(void **)(this + 0x14)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 0x14));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 0x14));" (call_expression "operator_delete__(*(void **)(this + 0x14))" identifier (argument_list "(*(void **)(this + 0x14))" ( (pointer_expression "*(void **)(this + 0x14)" * (cast_expression "(void **)(this + 0x14)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(void **)(this + 0x1c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x1c));\n    }" if (parenthesized_expression "(*(void **)(this + 0x1c) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x1c) != (void *)0x0" (pointer_expression "*(void **)(this + 0x1c)" * (cast_expression "(void **)(this + 0x1c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 0x1c));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 0x1c));" (call_expression "operator_delete__(*(void **)(this + 0x1c))" identifier (argument_list "(*(void **)(this + 0x1c))" ( (pointer_expression "*(void **)(this + 0x1c)" * (cast_expression "(void **)(this + 0x1c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(void **)(this + 0x24) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x24));\n    }" if (parenthesized_expression "(*(void **)(this + 0x24) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x24) != (void *)0x0" (pointer_expression "*(void **)(this + 0x24)" * (cast_expression "(void **)(this + 0x24)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x24)" ( (binary_expression "this + 0x24" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 0x24));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 0x24));" (call_expression "operator_delete__(*(void **)(this + 0x24))" identifier (argument_list "(*(void **)(this + 0x24))" ( (pointer_expression "*(void **)(this + 0x24)" * (cast_expression "(void **)(this + 0x24)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x24)" ( (binary_expression "this + 0x24" 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_001bda40(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0033c6b0;\n  if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }\n  FUN_001ae300(param_1);\n  return;\n}\n\n" (function_definition "void FUN_001bda40(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0033c6b0;\n  if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }\n  FUN_001ae300(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_001bda40(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_0033c6b0;\n  if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }\n  FUN_001ae300(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0033c6b0;" (assignment_expression "*param_1 = &PTR_FUN_0033c6b0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0033c6b0" & identifier)) ;) (if_statement "if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x43) != '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x43) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x43)" * (cast_expression "(char *)((int)param_1 + 0x43)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x43)" ( (binary_expression "(int)param_1 + 0x43" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }" { (if_statement "if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\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      FUN_001ac410(param_1[2]);\n    }" { (expression_statement "FUN_001ac410(param_1[2]);" (call_expression "FUN_001ac410(param_1[2])" identifier (argument_list "(param_1[2])" ( (subscript_expression "param_1[2]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }" if (parenthesized_expression "(param_1[5] != 0)" ( (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_001ac410(param_1[5]);\n    }" { (expression_statement "FUN_001ac410(param_1[5]);" (call_expression "FUN_001ac410(param_1[5])" identifier (argument_list "(param_1[5])" ( (subscript_expression "param_1[5]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }" if (parenthesized_expression "(param_1[7] != 0)" ( (binary_expression "param_1[7] != 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_001ac410(param_1[7]);\n    }" { (expression_statement "FUN_001ac410(param_1[7]);" (call_expression "FUN_001ac410(param_1[7])" identifier (argument_list "(param_1[7])" ( (subscript_expression "param_1[7]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }" if (parenthesized_expression "(param_1[9] != 0)" ( (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_001ac410(param_1[9]);\n    }" { (expression_statement "FUN_001ac410(param_1[9]);" (call_expression "FUN_001ac410(param_1[9])" identifier (argument_list "(param_1[9])" ( (subscript_expression "param_1[9]" identifier [ number_literal ]) ))) ;) })) })) (expression_statement "FUN_001ae300(param_1);" (call_expression "FUN_001ae300(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 (cast_expression ( (type_descriptor TYPE) ) 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 ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001bda40(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0033c6b0;\n  if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }\n  FUN_001ae300(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001bda40(undefined4 *param_1)" (identifier "FUN_001bda40") (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_0033c6b0;\n  if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }\n  FUN_001ae300(param_1);\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_0033c6b0;" (assignment_expression "*param_1 = &PTR_FUN_0033c6b0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0033c6b0" (& "&") (identifier "PTR_FUN_0033c6b0"))) (; ";")) (if_statement "if (*(char *)((int)param_1 + 0x43) != '\0') {\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + 0x43) != '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x43) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x43)" (* "*") (cast_expression "(char *)((int)param_1 + 0x43)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x43)" (( "(") (binary_expression "(int)param_1 + 0x43" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x43")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\n    }\n    if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }\n    if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }\n    if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }\n  }" ({ "{") (if_statement "if (param_1[2] != 0) {\n      FUN_001ac410(param_1[2]);\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      FUN_001ac410(param_1[2]);\n    }" ({ "{") (expression_statement "FUN_001ac410(param_1[2]);" (call_expression "FUN_001ac410(param_1[2])" (identifier "FUN_001ac410") (argument_list "(param_1[2])" (( "(") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[5] != 0) {\n      FUN_001ac410(param_1[5]);\n    }" (if "if") (parenthesized_expression "(param_1[5] != 0)" (( "(") (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_001ac410(param_1[5]);\n    }" ({ "{") (expression_statement "FUN_001ac410(param_1[5]);" (call_expression "FUN_001ac410(param_1[5])" (identifier "FUN_001ac410") (argument_list "(param_1[5])" (( "(") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[7] != 0) {\n      FUN_001ac410(param_1[7]);\n    }" (if "if") (parenthesized_expression "(param_1[7] != 0)" (( "(") (binary_expression "param_1[7] != 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_001ac410(param_1[7]);\n    }" ({ "{") (expression_statement "FUN_001ac410(param_1[7]);" (call_expression "FUN_001ac410(param_1[7])" (identifier "FUN_001ac410") (argument_list "(param_1[7])" (( "(") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[9] != 0) {\n      FUN_001ac410(param_1[9]);\n    }" (if "if") (parenthesized_expression "(param_1[9] != 0)" (( "(") (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_001ac410(param_1[9]);\n    }" ({ "{") (expression_statement "FUN_001ac410(param_1[9]);" (call_expression "FUN_001ac410(param_1[9])" (identifier "FUN_001ac410") (argument_list "(param_1[9])" (( "(") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_001ae300(param_1);" (call_expression "FUN_001ae300(param_1)" (identifier "FUN_001ae300") (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::__moneypunct_cache<char, false>::~__moneypunct_cache() */

void __thiscall
std::var_1<char,false>::~var_1(var_1<char,false> *var_3)

{
  *(undefined ***)var_3 = &PTR____moneypunct_cache_0033c6b0;
  if (var_3[0x43] != (var_1<var_2,false>)0x0) {
    if (*(void **)(var_3 + 8) != (void *)0x0) {
      var_4(*(void **)(var_3 + 8));
    }
    if (*(void **)(var_3 + 0x14) != (void *)0x0) {
      var_4(*(void **)(var_3 + 0x14));
    }
    if (*(void **)(var_3 + 0x1c) != (void *)0x0) {
      var_4(*(void **)(var_3 + 0x1c));
    }
    if (*(void **)(var_3 + 0x24) != (void *)0x0) {
      var_4(*(void **)(var_3 + 0x24));
    }
  }
  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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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 (subscript_expression argument: (identifier) index: (number_literal))))))) (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 (subscript_expression argument: (identifier) index: (number_literal))))))) (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 (subscript_expression argument: (identifier) index: (number_literal))))))) (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 (subscript_expression argument: (identifier) index: (number_literal))))))))) (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_0033c6b0;
  if (*(char *)((int)param_1 + 0x43) != '\0') {
    if (param_1[2] != 0) {
      FUN_001ac410(param_1[2]);
    }
    if (param_1[5] != 0) {
      FUN_001ac410(param_1[5]);
    }
    if (param_1[7] != 0) {
      FUN_001ac410(param_1[7]);
    }
    if (param_1[9] != 0) {
      FUN_001ac410(param_1[9]);
    }
  }
  FUN_001ae300(param_1);
  return;
}

