
/* DWARF original prototype: void discard_decompressed_sections(Object * this) */

void __thiscall gold::Object::discard_decompressed_sections(Object *this)

{
  _Rb_tree_node_base *p_Var1;
  Compressed_section_map *pCVar2;
  
  pCVar2 = this->compressed_sections_;
  if ((pCVar2 != (Compressed_section_map *)0x0) &&
     (p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,
     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header)) {
    do {
      if (*(void **)(p_Var1 + 2) != (void *)0x0) {
        operator_delete__(*(void **)(p_Var1 + 2));
        *(undefined8 *)(p_Var1 + 2) = 0;
        pCVar2 = this->compressed_sections_;
      }
      p_Var1 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var1);
    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);
  }
  return;
}



void FUN_001bdaa0(long param_1)

{
  long lVar1;
  long lVar2;
  
  lVar2 = *(long *)(param_1 + 0x48);
  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {
    do {
      if (*(long *)(lVar1 + 0x40) != 0) {
        thunk_FUN_002dac60();
        *(undefined8 *)(lVar1 + 0x40) = 0;
        lVar2 = *(long *)(param_1 + 0x48);
      }
      lVar1 = FUN_002dc020(lVar1);
    } while (lVar1 != lVar2 + 8);
  }
  return;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBP,qword ptr [RDI + 0x48]
TEST RBP,RBP
JZ 0x001bdaef
MOV RBX,qword ptr [RBP + 0x18]
LEA RAX,[RBP + 0x8]
MOV R12,RDI
CMP RBX,RAX
JZ 0x001bdaef
NOP dword ptr [RAX]
MOV RDI,qword ptr [RBX + 0x40]
TEST RDI,RDI
JZ 0x001bdadb
CALL 0x002dac30
MOV qword ptr [RBX + 0x40],0x0
MOV RBP,qword ptr [R12 + 0x48]
MOV RDI,RBX
CALL 0x002dc020
MOV RBX,RAX
LEA RAX,[RBP + 0x8]
CMP RBX,RAX
JNZ 0x001bdac0
POP RBX
POP RBP
POP R12
RET
(translation_unit "void FUN_001bdaa0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 0x48);\n  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001bdaa0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 0x48);\n  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001bdaa0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 0x48);\n  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x48);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x48)" identifier = (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }" if (parenthesized_expression "((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8))" ( (binary_expression "(lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)" (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)" ( (comma_expression "lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8" (assignment_expression "lVar1 = *(long *)(lVar2 + 0x18)" identifier = (pointer_expression "*(long *)(lVar2 + 0x18)" * (cast_expression "(long *)(lVar2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x18)" ( (binary_expression "lVar2 + 0x18" identifier + number_literal) ))))) , (binary_expression "lVar1 != lVar2 + 8" identifier != (binary_expression "lVar2 + 8" identifier + number_literal))) ))) )) (compound_statement "{\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }" { (do_statement "do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);" do (compound_statement "{\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    }" { (if_statement "if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }" if (parenthesized_expression "(*(long *)(lVar1 + 0x40) != 0)" ( (binary_expression "*(long *)(lVar1 + 0x40) != 0" (pointer_expression "*(long *)(lVar1 + 0x40)" * (cast_expression "(long *)(lVar1 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }" { (expression_statement "thunk_FUN_002dac60();" (call_expression "thunk_FUN_002dac60()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x40)" * (cast_expression "(undefined8 *)(lVar1 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x48);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x48)" identifier = (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) })) (expression_statement "lVar1 = FUN_002dc020(lVar1);" (assignment_expression "lVar1 = FUN_002dc020(lVar1)" identifier = (call_expression "FUN_002dc020(lVar1)" identifier (argument_list "(lVar1)" ( identifier )))) ;) }) while (parenthesized_expression "(lVar1 != lVar2 + 8)" ( (binary_expression "lVar1 != lVar2 + 8" identifier != (binary_expression "lVar2 + 8" identifier + number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void discard_decompressed_sections(Object * this) */\n\nvoid __thiscall gold::Object::discard_decompressed_sections(Object *this)\n\n{\n  _Rb_tree_node_base *p_Var1;\n  Compressed_section_map *pCVar2;\n  \n  pCVar2 = this->compressed_sections_;\n  if ((pCVar2 != (Compressed_section_map *)0x0) &&\n     (p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,\n     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header)) {\n    do {\n      if (*(void **)(p_Var1 + 2) != (void *)0x0) {\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }\n      p_Var1 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Object::discard_decompressed_sections(Object *this)\n\n{\n  _Rb_tree_node_base *p_Var1;\n  Compressed_section_map *pCVar2;\n  \n  pCVar2 = this->compressed_sections_;\n  if ((pCVar2 != (Compressed_section_map *)0x0) &&\n     (p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,\n     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header)) {\n    do {\n      if (*(void **)(p_Var1 + 2) != (void *)0x0) {\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }\n      p_Var1 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Object::" identifier : : identifier : :) (function_declarator "discard_decompressed_sections(Object *this)" identifier (parameter_list "(Object *this)" ( (parameter_declaration "Object *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  _Rb_tree_node_base *p_Var1;\n  Compressed_section_map *pCVar2;\n  \n  pCVar2 = this->compressed_sections_;\n  if ((pCVar2 != (Compressed_section_map *)0x0) &&\n     (p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,\n     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header)) {\n    do {\n      if (*(void **)(p_Var1 + 2) != (void *)0x0) {\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }\n      p_Var1 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);\n  }\n  return;\n}" { (declaration "_Rb_tree_node_base *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "Compressed_section_map *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (expression_statement "pCVar2 = this->compressed_sections_;" (assignment_expression "pCVar2 = this->compressed_sections_" identifier = (field_expression "this->compressed_sections_" identifier -> field_identifier)) ;) (if_statement "if ((pCVar2 != (Compressed_section_map *)0x0) &&\n     (p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,\n     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header)) {\n    do {\n      if (*(void **)(p_Var1 + 2) != (void *)0x0) {\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }\n      p_Var1 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);\n  }" if (parenthesized_expression "((pCVar2 != (Compressed_section_map *)0x0) &&\n     (p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,\n     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header))" ( (binary_expression "(pCVar2 != (Compressed_section_map *)0x0) &&\n     (p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,\n     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header)" (parenthesized_expression "(pCVar2 != (Compressed_section_map *)0x0)" ( (binary_expression "pCVar2 != (Compressed_section_map *)0x0" identifier != (cast_expression "(Compressed_section_map *)0x0" ( (type_descriptor "Compressed_section_map *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,\n     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header)" ( (comma_expression "p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,\n     (_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header" (assignment_expression "p_Var1 = (pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left" identifier = (field_expression "(pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left" (field_expression "(pCVar2->_M_t)._M_impl.super__Rb_tree_header._M_header" (field_expression "(pCVar2->_M_t)._M_impl.super__Rb_tree_header" (field_expression "(pCVar2->_M_t)._M_impl" (parenthesized_expression "(pCVar2->_M_t)" ( (field_expression "pCVar2->_M_t" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) , (binary_expression "(_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header" (cast_expression "(_Rb_tree_header *)p_Var1" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (pointer_expression "&(pCVar2->_M_t)._M_impl.super__Rb_tree_header" & (field_expression "(pCVar2->_M_t)._M_impl.super__Rb_tree_header" (field_expression "(pCVar2->_M_t)._M_impl" (parenthesized_expression "(pCVar2->_M_t)" ( (field_expression "pCVar2->_M_t" identifier -> field_identifier) )) . field_identifier) . field_identifier)))) ))) )) (compound_statement "{\n    do {\n      if (*(void **)(p_Var1 + 2) != (void *)0x0) {\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }\n      p_Var1 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);\n  }" { (do_statement "do {\n      if (*(void **)(p_Var1 + 2) != (void *)0x0) {\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }\n      p_Var1 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);" do (compound_statement "{\n      if (*(void **)(p_Var1 + 2) != (void *)0x0) {\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }\n      p_Var1 = (_Rb_tree_node_base *)std::_Rb_tree_increment(p_Var1);\n    }" { (if_statement "if (*(void **)(p_Var1 + 2) != (void *)0x0) {\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }" if (parenthesized_expression "(*(void **)(p_Var1 + 2) != (void *)0x0)" ( (binary_expression "*(void **)(p_Var1 + 2) != (void *)0x0" (pointer_expression "*(void **)(p_Var1 + 2)" * (cast_expression "(void **)(p_Var1 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var1 + 2)" ( (binary_expression "p_Var1 + 2" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        operator_delete__(*(void **)(p_Var1 + 2));\n        *(undefined8 *)(p_Var1 + 2) = 0;\n        pCVar2 = this->compressed_sections_;\n      }" { (expression_statement "operator_delete__(*(void **)(p_Var1 + 2));" (call_expression "operator_delete__(*(void **)(p_Var1 + 2))" identifier (argument_list "(*(void **)(p_Var1 + 2))" ( (pointer_expression "*(void **)(p_Var1 + 2)" * (cast_expression "(void **)(p_Var1 + 2)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var1 + 2)" ( (binary_expression "p_Var1 + 2" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined8 *)(p_Var1 + 2) = 0;" (assignment_expression "*(undefined8 *)(p_Var1 + 2) = 0" (pointer_expression "*(undefined8 *)(p_Var1 + 2)" * (cast_expression "(undefined8 *)(p_Var1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var1 + 2)" ( (binary_expression "p_Var1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pCVar2 = this->compressed_sections_;" (assignment_expression "pCVar2 = this->compressed_sections_" identifier = (field_expression "this->compressed_sections_" identifier -> field_identifier)) ;) })) (ERROR "p_Var1 = (_Rb_tree_node_base *)std::" (assignment_expression "p_Var1 = (_Rb_tree_node_base *)std" identifier = (cast_expression "(_Rb_tree_node_base *)std" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) : :) (expression_statement "_Rb_tree_increment(p_Var1);" (call_expression "_Rb_tree_increment(p_Var1)" identifier (argument_list "(p_Var1)" ( identifier ))) ;) }) while (parenthesized_expression "((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header)" ( (binary_expression "(_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header" (cast_expression "(_Rb_tree_header *)p_Var1" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (pointer_expression "&(pCVar2->_M_t)._M_impl.super__Rb_tree_header" & (field_expression "(pCVar2->_M_t)._M_impl.super__Rb_tree_header" (field_expression "(pCVar2->_M_t)._M_impl" (parenthesized_expression "(pCVar2->_M_t)" ( (field_expression "pCVar2->_M_t" identifier -> field_identifier) )) . field_identifier) . field_identifier))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001bdaa0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 0x48);\n  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001bdaa0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 0x48);\n  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001bdaa0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 0x48);\n  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x48);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x48)" identifier = (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }" if (parenthesized_expression "((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8))" ( (binary_expression "(lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)" (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)" ( (comma_expression "lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8" (assignment_expression "lVar1 = *(long *)(lVar2 + 0x18)" identifier = (pointer_expression "*(long *)(lVar2 + 0x18)" * (cast_expression "(long *)(lVar2 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x18)" ( (binary_expression "lVar2 + 0x18" identifier + number_literal) ))))) , (binary_expression "lVar1 != lVar2 + 8" identifier != (binary_expression "lVar2 + 8" identifier + number_literal))) ))) )) (compound_statement "{\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }" { (do_statement "do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);" do (compound_statement "{\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    }" { (if_statement "if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }" if (parenthesized_expression "(*(long *)(lVar1 + 0x40) != 0)" ( (binary_expression "*(long *)(lVar1 + 0x40) != 0" (pointer_expression "*(long *)(lVar1 + 0x40)" * (cast_expression "(long *)(lVar1 + 0x40)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }" { (expression_statement "thunk_FUN_002dac60();" (call_expression "thunk_FUN_002dac60()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x40)" * (cast_expression "(undefined8 *)(lVar1 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar2 = *(long *)(param_1 + 0x48);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x48)" identifier = (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) })) (expression_statement "lVar1 = FUN_002dc020(lVar1);" (assignment_expression "lVar1 = FUN_002dc020(lVar1)" identifier = (call_expression "FUN_002dc020(lVar1)" identifier (argument_list "(lVar1)" ( identifier )))) ;) }) while (parenthesized_expression "(lVar1 != lVar2 + 8)" ( (binary_expression "lVar1 != lVar2 + 8" identifier != (binary_expression "lVar2 + 8" identifier + number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != (binary_expression IDENT + LIT))) ))) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001bdaa0(long param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 0x48);\n  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001bdaa0(long param_1)" (identifier "FUN_001bdaa0") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 0x48);\n  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0x48);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x48)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0x48)" (* "*") (cast_expression "(long *)(param_1 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (if_statement "if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }" (if "if") (parenthesized_expression "((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8))" (( "(") (binary_expression "(lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)" (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)" (( "(") (comma_expression "lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8" (assignment_expression "lVar1 = *(long *)(lVar2 + 0x18)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(lVar2 + 0x18)" (* "*") (cast_expression "(long *)(lVar2 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x18)" (( "(") (binary_expression "lVar2 + 0x18" (identifier "lVar2") (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (binary_expression "lVar1 != lVar2 + 8" (identifier "lVar1") (!= "!=") (binary_expression "lVar2 + 8" (identifier "lVar2") (+ "+") (number_literal "8")))) () ")"))) () ")")) (compound_statement "{\n    do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);\n  }" ({ "{") (do_statement "do {\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    } while (lVar1 != lVar2 + 8);" (do "do") (compound_statement "{\n      if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }\n      lVar1 = FUN_002dc020(lVar1);\n    }" ({ "{") (if_statement "if (*(long *)(lVar1 + 0x40) != 0) {\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }" (if "if") (parenthesized_expression "(*(long *)(lVar1 + 0x40) != 0)" (( "(") (binary_expression "*(long *)(lVar1 + 0x40) != 0" (pointer_expression "*(long *)(lVar1 + 0x40)" (* "*") (cast_expression "(long *)(lVar1 + 0x40)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x40)" (( "(") (binary_expression "lVar1 + 0x40" (identifier "lVar1") (+ "+") (number_literal "0x40")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        thunk_FUN_002dac60();\n        *(undefined8 *)(lVar1 + 0x40) = 0;\n        lVar2 = *(long *)(param_1 + 0x48);\n      }" ({ "{") (expression_statement "thunk_FUN_002dac60();" (call_expression "thunk_FUN_002dac60()" (identifier "thunk_FUN_002dac60") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined8 *)(lVar1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x40)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x40)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x40)" (( "(") (binary_expression "lVar1 + 0x40" (identifier "lVar1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 0x48);" (assignment_expression "lVar2 = *(long *)(param_1 + 0x48)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(param_1 + 0x48)" (* "*") (cast_expression "(long *)(param_1 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (} "}"))) (expression_statement "lVar1 = FUN_002dc020(lVar1);" (assignment_expression "lVar1 = FUN_002dc020(lVar1)" (identifier "lVar1") (= "=") (call_expression "FUN_002dc020(lVar1)" (identifier "FUN_002dc020") (argument_list "(lVar1)" (( "(") (identifier "lVar1") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar1 != lVar2 + 8)" (( "(") (binary_expression "lVar1 != lVar2 + 8" (identifier "lVar1") (!= "!=") (binary_expression "lVar2 + 8" (identifier "lVar2") (+ "+") (number_literal "8"))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void discard_decompressed_sections(Object * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  type_2 *var_2;
  type_3 *var_1;
  
  var_1 = this->compressed_sections_;
  if ((var_1 != (type_3 *)0x0) &&
     (var_2 = (var_1->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,
     (type_4 *)var_2 != &(var_1->_M_t)._M_impl.super__Rb_tree_header)) {
    do {
      if (*(void **)(var_2 + 2) != (void *)0x0) {
        var_3(*(void **)(var_2 + 2));
        *(type_5 *)(var_2 + 2) = 0;
        var_1 = this->compressed_sections_;
      }
      var_2 = (type_2 *)std::var_4(var_2);
    } while ((type_4 *)var_2 != &(var_1->_M_t)._M_impl.super__Rb_tree_header);
  }
  return;
}


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

void MASKED(long param_1)

{
  long lVar1;
  long lVar2;
  
  lVar2 = *(long *)(param_1 + 0x48);
  if ((lVar2 != 0) && (lVar1 = *(long *)(lVar2 + 0x18), lVar1 != lVar2 + 8)) {
    do {
      if (*(long *)(lVar1 + 0x40) != 0) {
        thunk_FUN_002dac60();
        *(undefined8 *)(lVar1 + 0x40) = 0;
        lVar2 = *(long *)(param_1 + 0x48);
      }
      lVar1 = FUN_002dc020(lVar1);
    } while (lVar1 != lVar2 + 8);
  }
  return;
}

