
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wfilebuf::_M_destroy_internal_buffer() */

void __thiscall std::wfilebuf::_M_destroy_internal_buffer(wfilebuf *this)

{
  if (this[100] != (wfilebuf)0x0) {
    if (*(void **)(this + 0x5c) != (void *)0x0) {
      operator_delete__(*(void **)(this + 0x5c));
    }
    *(undefined4 *)(this + 0x5c) = 0;
    this[100] = (wfilebuf)0x0;
  }
  if (*(void **)(this + 0x7c) != (void *)0x0) {
    operator_delete__(*(void **)(this + 0x7c));
  }
  *(undefined4 *)(this + 0x7c) = 0;
  *(undefined4 *)(this + 0x80) = 0;
  *(undefined4 *)(this + 0x84) = 0;
  *(undefined4 *)(this + 0x88) = 0;
  return;
}



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

void FUN_002157d0(int param_1)

{
  if (*(char *)(param_1 + 100) != '\0') {
    if (*(int *)(param_1 + 0x5c) != 0) {
      FUN_001e6d60(*(int *)(param_1 + 0x5c));
    }
    *(undefined4 *)(param_1 + 0x5c) = 0;
    *(undefined1 *)(param_1 + 100) = 0;
  }
  if (*(int *)(param_1 + 0x7c) != 0) {
    FUN_001e6d60(*(int *)(param_1 + 0x7c));
  }
  *(undefined4 *)(param_1 + 0x7c) = 0;
  *(undefined4 *)(param_1 + 0x80) = 0;
  *(undefined4 *)(param_1 + 0x84) = 0;
  *(undefined4 *)(param_1 + 0x88) = 0;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x179829
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
CMP byte ptr [ESI + 0x64],0x0
JZ 0x00215808
MOV EAX,dword ptr [ESI + 0x5c]
TEST EAX,EAX
JZ 0x002157fd
SUB ESP,0xc
PUSH EAX
CALL 0x001e6d60
ADD ESP,0x10
MOV dword ptr [ESI + 0x5c],0x0
MOV byte ptr [ESI + 0x64],0x0
MOV EAX,dword ptr [ESI + 0x7c]
TEST EAX,EAX
JZ 0x0021581b
SUB ESP,0xc
PUSH EAX
CALL 0x001e6d60
ADD ESP,0x10
MOV dword ptr [ESI + 0x7c],0x0
MOV dword ptr [ESI + 0x80],0x0
MOV dword ptr [ESI + 0x84],0x0
MOV dword ptr [ESI + 0x88],0x0
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_002157d0(int param_1)\n\n{\n  if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }\n  if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x80) = 0;\n  *(undefined4 *)(param_1 + 0x84) = 0;\n  *(undefined4 *)(param_1 + 0x88) = 0;\n  return;\n}\n\n" comment (function_definition "void FUN_002157d0(int param_1)\n\n{\n  if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }\n  if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x80) = 0;\n  *(undefined4 *)(param_1 + 0x84) = 0;\n  *(undefined4 *)(param_1 + 0x88) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_002157d0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }\n  if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x80) = 0;\n  *(undefined4 *)(param_1 + 0x84) = 0;\n  *(undefined4 *)(param_1 + 0x88) = 0;\n  return;\n}" { (if_statement "if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 100) != '\0')" ( (binary_expression "*(char *)(param_1 + 100) != '\0'" (pointer_expression "*(char *)(param_1 + 100)" * (cast_expression "(char *)(param_1 + 100)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x5c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x5c) != 0" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }" { (expression_statement "FUN_001e6d60(*(int *)(param_1 + 0x5c));" (call_expression "FUN_001e6d60(*(int *)(param_1 + 0x5c))" identifier (argument_list "(*(int *)(param_1 + 0x5c))" ( (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" * (cast_expression "(undefined4 *)(param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 100) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 100) = 0" (pointer_expression "*(undefined1 *)(param_1 + 100)" * (cast_expression "(undefined1 *)(param_1 + 100)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x7c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x7c) != 0" (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }" { (expression_statement "FUN_001e6d60(*(int *)(param_1 + 0x7c));" (call_expression "FUN_001e6d60(*(int *)(param_1 + 0x7c))" identifier (argument_list "(*(int *)(param_1 + 0x7c))" ( (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" * (cast_expression "(undefined4 *)(param_1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x80) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x80) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x80)" * (cast_expression "(undefined4 *)(param_1 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x84) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x84) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x84)" * (cast_expression "(undefined4 *)(param_1 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x88) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x88) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x88)" * (cast_expression "(undefined4 *)(param_1 + 0x88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wfilebuf::_M_destroy_internal_buffer() */\n\nvoid __thiscall std::wfilebuf::_M_destroy_internal_buffer(wfilebuf *this)\n\n{\n  if (this[100] != (wfilebuf)0x0) {\n    if (*(void **)(this + 0x5c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x5c));\n    }\n    *(undefined4 *)(this + 0x5c) = 0;\n    this[100] = (wfilebuf)0x0;\n  }\n  if (*(void **)(this + 0x7c) != (void *)0x0) {\n    operator_delete__(*(void **)(this + 0x7c));\n  }\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::wfilebuf::_M_destroy_internal_buffer(wfilebuf *this)\n\n{\n  if (this[100] != (wfilebuf)0x0) {\n    if (*(void **)(this + 0x5c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x5c));\n    }\n    *(undefined4 *)(this + 0x5c) = 0;\n    this[100] = (wfilebuf)0x0;\n  }\n  if (*(void **)(this + 0x7c) != (void *)0x0) {\n    operator_delete__(*(void **)(this + 0x7c));\n  }\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wfilebuf::" identifier : : identifier : :) (function_declarator "_M_destroy_internal_buffer(wfilebuf *this)" identifier (parameter_list "(wfilebuf *this)" ( (parameter_declaration "wfilebuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  if (this[100] != (wfilebuf)0x0) {\n    if (*(void **)(this + 0x5c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x5c));\n    }\n    *(undefined4 *)(this + 0x5c) = 0;\n    this[100] = (wfilebuf)0x0;\n  }\n  if (*(void **)(this + 0x7c) != (void *)0x0) {\n    operator_delete__(*(void **)(this + 0x7c));\n  }\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  return;\n}" { (if_statement "if (this[100] != (wfilebuf)0x0) {\n    if (*(void **)(this + 0x5c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x5c));\n    }\n    *(undefined4 *)(this + 0x5c) = 0;\n    this[100] = (wfilebuf)0x0;\n  }" if (parenthesized_expression "(this[100] != (wfilebuf)0x0)" ( (binary_expression "this[100] != (wfilebuf)0x0" (subscript_expression "this[100]" identifier [ number_literal ]) != (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) )) (compound_statement "{\n    if (*(void **)(this + 0x5c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x5c));\n    }\n    *(undefined4 *)(this + 0x5c) = 0;\n    this[100] = (wfilebuf)0x0;\n  }" { (if_statement "if (*(void **)(this + 0x5c) != (void *)0x0) {\n      operator_delete__(*(void **)(this + 0x5c));\n    }" if (parenthesized_expression "(*(void **)(this + 0x5c) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x5c) != (void *)0x0" (pointer_expression "*(void **)(this + 0x5c)" * (cast_expression "(void **)(this + 0x5c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x5c)" ( (binary_expression "this + 0x5c" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete__(*(void **)(this + 0x5c));\n    }" { (expression_statement "operator_delete__(*(void **)(this + 0x5c));" (call_expression "operator_delete__(*(void **)(this + 0x5c))" identifier (argument_list "(*(void **)(this + 0x5c))" ( (pointer_expression "*(void **)(this + 0x5c)" * (cast_expression "(void **)(this + 0x5c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x5c)" ( (binary_expression "this + 0x5c" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 *)(this + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x5c) = 0" (pointer_expression "*(undefined4 *)(this + 0x5c)" * (cast_expression "(undefined4 *)(this + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x5c)" ( (binary_expression "this + 0x5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[100] = (wfilebuf)0x0;" (assignment_expression "this[100] = (wfilebuf)0x0" (subscript_expression "this[100]" identifier [ number_literal ]) = (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) ;) })) (if_statement "if (*(void **)(this + 0x7c) != (void *)0x0) {\n    operator_delete__(*(void **)(this + 0x7c));\n  }" if (parenthesized_expression "(*(void **)(this + 0x7c) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0x7c) != (void *)0x0" (pointer_expression "*(void **)(this + 0x7c)" * (cast_expression "(void **)(this + 0x7c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    operator_delete__(*(void **)(this + 0x7c));\n  }" { (expression_statement "operator_delete__(*(void **)(this + 0x7c));" (call_expression "operator_delete__(*(void **)(this + 0x7c))" identifier (argument_list "(*(void **)(this + 0x7c))" ( (pointer_expression "*(void **)(this + 0x7c)" * (cast_expression "(void **)(this + 0x7c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 *)(this + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x7c) = 0" (pointer_expression "*(undefined4 *)(this + 0x7c)" * (cast_expression "(undefined4 *)(this + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x80) = 0;" (assignment_expression "*(undefined4 *)(this + 0x80) = 0" (pointer_expression "*(undefined4 *)(this + 0x80)" * (cast_expression "(undefined4 *)(this + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x84) = 0;" (assignment_expression "*(undefined4 *)(this + 0x84) = 0" (pointer_expression "*(undefined4 *)(this + 0x84)" * (cast_expression "(undefined4 *)(this + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x88) = 0;" (assignment_expression "*(undefined4 *)(this + 0x88) = 0" (pointer_expression "*(undefined4 *)(this + 0x88)" * (cast_expression "(undefined4 *)(this + 0x88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x88)" ( (binary_expression "this + 0x88" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002157d0(int param_1)\n\n{\n  if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }\n  if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x80) = 0;\n  *(undefined4 *)(param_1 + 0x84) = 0;\n  *(undefined4 *)(param_1 + 0x88) = 0;\n  return;\n}\n\n" (function_definition "void FUN_002157d0(int param_1)\n\n{\n  if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }\n  if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x80) = 0;\n  *(undefined4 *)(param_1 + 0x84) = 0;\n  *(undefined4 *)(param_1 + 0x88) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_002157d0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }\n  if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x80) = 0;\n  *(undefined4 *)(param_1 + 0x84) = 0;\n  *(undefined4 *)(param_1 + 0x88) = 0;\n  return;\n}" { (if_statement "if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 100) != '\0')" ( (binary_expression "*(char *)(param_1 + 100) != '\0'" (pointer_expression "*(char *)(param_1 + 100)" * (cast_expression "(char *)(param_1 + 100)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0x5c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x5c) != 0" (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }" { (expression_statement "FUN_001e6d60(*(int *)(param_1 + 0x5c));" (call_expression "FUN_001e6d60(*(int *)(param_1 + 0x5c))" identifier (argument_list "(*(int *)(param_1 + 0x5c))" ( (pointer_expression "*(int *)(param_1 + 0x5c)" * (cast_expression "(int *)(param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" * (cast_expression "(undefined4 *)(param_1 + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 100) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 100) = 0" (pointer_expression "*(undefined1 *)(param_1 + 100)" * (cast_expression "(undefined1 *)(param_1 + 100)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x7c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x7c) != 0" (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }" { (expression_statement "FUN_001e6d60(*(int *)(param_1 + 0x7c));" (call_expression "FUN_001e6d60(*(int *)(param_1 + 0x7c))" identifier (argument_list "(*(int *)(param_1 + 0x7c))" ( (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" * (cast_expression "(undefined4 *)(param_1 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x80) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x80) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x80)" * (cast_expression "(undefined4 *)(param_1 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x80)" ( (binary_expression "param_1 + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x84) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x84) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x84)" * (cast_expression "(undefined4 *)(param_1 + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x84)" ( (binary_expression "param_1 + 0x84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x88) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x88) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x88)" * (cast_expression "(undefined4 *)(param_1 + 0x88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_002157d0(int param_1)\n\n{\n  if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }\n  if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x80) = 0;\n  *(undefined4 *)(param_1 + 0x84) = 0;\n  *(undefined4 *)(param_1 + 0x88) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002157d0(int param_1)" (identifier "FUN_002157d0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }\n  if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }\n  *(undefined4 *)(param_1 + 0x7c) = 0;\n  *(undefined4 *)(param_1 + 0x80) = 0;\n  *(undefined4 *)(param_1 + 0x84) = 0;\n  *(undefined4 *)(param_1 + 0x88) = 0;\n  return;\n}" ({ "{") (if_statement "if (*(char *)(param_1 + 100) != '\0') {\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 100) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 100) != '\0'" (pointer_expression "*(char *)(param_1 + 100)" (* "*") (cast_expression "(char *)(param_1 + 100)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 100)" (( "(") (binary_expression "param_1 + 100" (identifier "param_1") (+ "+") (number_literal "100")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }\n    *(undefined4 *)(param_1 + 0x5c) = 0;\n    *(undefined1 *)(param_1 + 100) = 0;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x5c) != 0) {\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x5c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x5c) != 0" (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_001e6d60(*(int *)(param_1 + 0x5c));\n    }" ({ "{") (expression_statement "FUN_001e6d60(*(int *)(param_1 + 0x5c));" (call_expression "FUN_001e6d60(*(int *)(param_1 + 0x5c))" (identifier "FUN_001e6d60") (argument_list "(*(int *)(param_1 + 0x5c))" (( "(") (pointer_expression "*(int *)(param_1 + 0x5c)" (* "*") (cast_expression "(int *)(param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x5c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 100) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 100) = 0" (pointer_expression "*(undefined1 *)(param_1 + 100)" (* "*") (cast_expression "(undefined1 *)(param_1 + 100)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 100)" (( "(") (binary_expression "param_1 + 100" (identifier "param_1") (+ "+") (number_literal "100")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x7c) != 0) {\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x7c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x7c) != 0" (pointer_expression "*(int *)(param_1 + 0x7c)" (* "*") (cast_expression "(int *)(param_1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001e6d60(*(int *)(param_1 + 0x7c));\n  }" ({ "{") (expression_statement "FUN_001e6d60(*(int *)(param_1 + 0x7c));" (call_expression "FUN_001e6d60(*(int *)(param_1 + 0x7c))" (identifier "FUN_001e6d60") (argument_list "(*(int *)(param_1 + 0x7c))" (( "(") (pointer_expression "*(int *)(param_1 + 0x7c)" (* "*") (cast_expression "(int *)(param_1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x7c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x7c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x7c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x80) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x80) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x80)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x80)" (( "(") (binary_expression "param_1 + 0x80" (identifier "param_1") (+ "+") (number_literal "0x80")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x84) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x84) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x84)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x84)" (( "(") (binary_expression "param_1 + 0x84" (identifier "param_1") (+ "+") (number_literal "0x84")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x88) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x88) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x88)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x88)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wfilebuf::_M_destroy_internal_buffer() */

void __thiscall std::type_1::function_1(type_1 *var_1)

{
  if (var_1[100] != (type_1)0x0) {
    if (*(void **)(var_1 + 0x5c) != (void *)0x0) {
      var_2(*(void **)(var_1 + 0x5c));
    }
    *(type_2 *)(var_1 + 0x5c) = 0;
    var_1[100] = (type_1)0x0;
  }
  if (*(void **)(var_1 + 0x7c) != (void *)0x0) {
    var_2(*(void **)(var_1 + 0x7c));
  }
  *(type_2 *)(var_1 + 0x7c) = 0;
  *(type_2 *)(var_1 + 0x80) = 0;
  *(type_2 *)(var_1 + 0x84) = 0;
  *(type_2 *)(var_1 + 0x88) = 0;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (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: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (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: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (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: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement))))

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

void MASKED(int param_1)

{
  if (*(char *)(param_1 + 100) != '\0') {
    if (*(int *)(param_1 + 0x5c) != 0) {
      FUN_001e6d60(*(int *)(param_1 + 0x5c));
    }
    *(undefined4 *)(param_1 + 0x5c) = 0;
    *(undefined1 *)(param_1 + 100) = 0;
  }
  if (*(int *)(param_1 + 0x7c) != 0) {
    FUN_001e6d60(*(int *)(param_1 + 0x7c));
  }
  *(undefined4 *)(param_1 + 0x7c) = 0;
  *(undefined4 *)(param_1 + 0x80) = 0;
  *(undefined4 *)(param_1 + 0x84) = 0;
  *(undefined4 *)(param_1 + 0x88) = 0;
  return;
}

