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

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

{
  _Base_ptr 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 (p_Var1[3]._M_color != _S_red) {
        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);
        pCVar2 = this->compressed_sections_;
        p_Var1[3]._M_color = _S_red;
      }
      p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(p_Var1);
    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);
  }
  return;
}



/* gold::Object::discard_decompressed_sections() */

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

{
  int iVar1;
  int iVar2;
  
  iVar2 = *(int *)(this + 0x34);
  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {
    do {
      if (*(int *)(iVar1 + 0x30) != 0) {
        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));
        iVar2 = *(int *)(this + 0x34);
        *(undefined4 *)(iVar1 + 0x30) = 0;
      }
      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);
    } while (iVar1 != iVar2 + 4);
  }
  return;
}


lui gp,0x30
addiu gp,gp,-0x6630
addu gp,gp,t9
addiu sp,sp,-0x28
sw s1,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s0,0x18(sp)
lw s1,0x34(a0)
beq s1,zero,0x001cf8ec
_addiu v0,s1,0x4
lw s0,0xc(s1)
beq s0,v0,0x001cf8ec
_or s2,a0,zero
lw v0,0x30(s0)
lw t9,-0x7088(gp)
beq v0,zero,0x001cf8d0
_or a0,v0,zero
jalr t9
_nop
lw gp,0x10(sp)
lw s1,0x34(s2)
sw zero,0x30(s0)
lw t9,-0x76d4(gp)
jalr t9
_or a0,s0,zero
addiu v1,s1,0x4
lw gp,0x10(sp)
bne v0,v1,0x001cf8ac
_or s0,v0,zero
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "/* gold::Object::discard_decompressed_sections() */\n\nvoid __thiscall gold::Object::discard_decompressed_sections(Object *this)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(this + 0x34);\n  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Object::discard_decompressed_sections(Object *this)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(this + 0x34);\n  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\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  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(this + 0x34);\n  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(this + 0x34);" (assignment_expression "iVar2 = *(int *)(this + 0x34)" identifier = (pointer_expression "*(int *)(this + 0x34)" * (cast_expression "(int *)(this + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x34)" ( (binary_expression "this + 0x34" identifier + number_literal) ))))) ;) (if_statement "if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }" if (parenthesized_expression "((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4))" ( (binary_expression "(iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)" ( (comma_expression "iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) , (binary_expression "iVar1 != iVar2 + 4" identifier != (binary_expression "iVar2 + 4" identifier + number_literal))) ))) )) (compound_statement "{\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }" { (do_statement "do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);" do (compound_statement "{\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    }" { (if_statement "if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 0x30) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x30) != 0" (pointer_expression "*(int *)(iVar1 + 0x30)" * (cast_expression "(int *)(iVar1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }" { (expression_statement "(*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));" (call_expression "(*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30))" (parenthesized_expression "(*(code *)PTR_operator_delete___004c21b8)" ( (pointer_expression "*(code *)PTR_operator_delete___004c21b8" * (cast_expression "(code *)PTR_operator_delete___004c21b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(iVar1 + 0x30))" ( (pointer_expression "*(int *)(iVar1 + 0x30)" * (cast_expression "(int *)(iVar1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(this + 0x34);" (assignment_expression "iVar2 = *(int *)(this + 0x34)" identifier = (pointer_expression "*(int *)(this + 0x34)" * (cast_expression "(int *)(this + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x34)" ( (binary_expression "this + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);" (assignment_expression "iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1)" identifier = (call_expression "(*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1)" (parenthesized_expression "(*(code *)PTR__Rb_tree_increment_004c1b6c)" ( (pointer_expression "*(code *)PTR__Rb_tree_increment_004c1b6c" * (cast_expression "(code *)PTR__Rb_tree_increment_004c1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) }) while (parenthesized_expression "(iVar1 != iVar2 + 4)" ( (binary_expression "iVar1 != iVar2 + 4" identifier != (binary_expression "iVar2 + 4" 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  _Base_ptr 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 (p_Var1[3]._M_color != _S_red) {\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }\n      p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(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  _Base_ptr 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 (p_Var1[3]._M_color != _S_red) {\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }\n      p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(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  _Base_ptr 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 (p_Var1[3]._M_color != _S_red) {\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }\n      p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);\n  }\n  return;\n}" { (declaration "_Base_ptr p_Var1;" type_identifier 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 (p_Var1[3]._M_color != _S_red) {\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }\n      p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(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 (p_Var1[3]._M_color != _S_red) {\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }\n      p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);\n  }" { (do_statement "do {\n      if (p_Var1[3]._M_color != _S_red) {\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }\n      p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(p_Var1);\n    } while ((_Rb_tree_header *)p_Var1 != &(pCVar2->_M_t)._M_impl.super__Rb_tree_header);" do (compound_statement "{\n      if (p_Var1[3]._M_color != _S_red) {\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }\n      p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(p_Var1);\n    }" { (if_statement "if (p_Var1[3]._M_color != _S_red) {\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }" if (parenthesized_expression "(p_Var1[3]._M_color != _S_red)" ( (binary_expression "p_Var1[3]._M_color != _S_red" (field_expression "p_Var1[3]._M_color" (subscript_expression "p_Var1[3]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n        (*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);\n        pCVar2 = this->compressed_sections_;\n        p_Var1[3]._M_color = _S_red;\n      }" { (expression_statement "(*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);" (call_expression "(*(code *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color)" (parenthesized_expression "(*(code *)PTR_operator_delete___004c21b8)" ( (pointer_expression "*(code *)PTR_operator_delete___004c21b8" * (cast_expression "(code *)PTR_operator_delete___004c21b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p_Var1[3]._M_color)" ( (field_expression "p_Var1[3]._M_color" (subscript_expression "p_Var1[3]" identifier [ number_literal ]) . field_identifier) ))) ;) (expression_statement "pCVar2 = this->compressed_sections_;" (assignment_expression "pCVar2 = this->compressed_sections_" identifier = (field_expression "this->compressed_sections_" identifier -> field_identifier)) ;) (expression_statement "p_Var1[3]._M_color = _S_red;" (assignment_expression "p_Var1[3]._M_color = _S_red" (field_expression "p_Var1[3]._M_color" (subscript_expression "p_Var1[3]" identifier [ number_literal ]) . field_identifier) = identifier) ;) })) (expression_statement "p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(p_Var1);" (assignment_expression "p_Var1 = (_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(p_Var1)" identifier = (call_expression "(_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)(p_Var1)" (call_expression "(_Base_ptr)(*(code *)PTR__Rb_tree_increment_004c1b6c)" (parenthesized_expression "(_Base_ptr)" ( identifier )) (argument_list "(*(code *)PTR__Rb_tree_increment_004c1b6c)" ( (pointer_expression "*(code *)PTR__Rb_tree_increment_004c1b6c" * (cast_expression "(code *)PTR__Rb_tree_increment_004c1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) 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 __thiscall gold::Object::discard_decompressed_sections(Object *this)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(this + 0x34);\n  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }\n  return;\n}\n\n" (function_definition "void __thiscall gold::Object::discard_decompressed_sections(Object *this)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(this + 0x34);\n  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\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  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(this + 0x34);\n  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(this + 0x34);" (assignment_expression "iVar2 = *(int *)(this + 0x34)" identifier = (pointer_expression "*(int *)(this + 0x34)" * (cast_expression "(int *)(this + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x34)" ( (binary_expression "this + 0x34" identifier + number_literal) ))))) ;) (if_statement "if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }" if (parenthesized_expression "((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4))" ( (binary_expression "(iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)" ( (comma_expression "iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) , (binary_expression "iVar1 != iVar2 + 4" identifier != (binary_expression "iVar2 + 4" identifier + number_literal))) ))) )) (compound_statement "{\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }" { (do_statement "do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);" do (compound_statement "{\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    }" { (if_statement "if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }" if (parenthesized_expression "(*(int *)(iVar1 + 0x30) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x30) != 0" (pointer_expression "*(int *)(iVar1 + 0x30)" * (cast_expression "(int *)(iVar1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }" { (expression_statement "(*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));" (call_expression "(*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30))" (parenthesized_expression "(*(code *)PTR_operator_delete___004c21b8)" ( (pointer_expression "*(code *)PTR_operator_delete___004c21b8" * (cast_expression "(code *)PTR_operator_delete___004c21b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(iVar1 + 0x30))" ( (pointer_expression "*(int *)(iVar1 + 0x30)" * (cast_expression "(int *)(iVar1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = *(int *)(this + 0x34);" (assignment_expression "iVar2 = *(int *)(this + 0x34)" identifier = (pointer_expression "*(int *)(this + 0x34)" * (cast_expression "(int *)(this + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x34)" ( (binary_expression "this + 0x34" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);" (assignment_expression "iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1)" identifier = (call_expression "(*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1)" (parenthesized_expression "(*(code *)PTR__Rb_tree_increment_004c1b6c)" ( (pointer_expression "*(code *)PTR__Rb_tree_increment_004c1b6c" * (cast_expression "(code *)PTR__Rb_tree_increment_004c1b6c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) }) while (parenthesized_expression "(iVar1 != iVar2 + 4)" ( (binary_expression "iVar1 != iVar2 + 4" identifier != (binary_expression "iVar2 + 4" identifier + number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 TYPE (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) })) (return_statement return ;) })))
(function_definition "void __thiscall gold::Object::discard_decompressed_sections(Object *this)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(this + 0x34);\n  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Object::" (identifier "gold") (: ":") (: ":") (identifier "Object") (: ":") (: ":")) (function_declarator "discard_decompressed_sections(Object *this)" (identifier "discard_decompressed_sections") (parameter_list "(Object *this)" (( "(") (parameter_declaration "Object *this" (type_identifier "Object") (pointer_declarator "*this" (* "*") (identifier "this"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(this + 0x34);\n  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = *(int *)(this + 0x34);" (assignment_expression "iVar2 = *(int *)(this + 0x34)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 0x34)" (* "*") (cast_expression "(int *)(this + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x34)" (( "(") (binary_expression "this + 0x34" (identifier "this") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (if_statement "if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }" (if "if") (parenthesized_expression "((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4))" (( "(") (binary_expression "(iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)" (( "(") (comma_expression "iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4" (assignment_expression "iVar1 = *(int *)(iVar2 + 0xc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (, ",") (binary_expression "iVar1 != iVar2 + 4" (identifier "iVar1") (!= "!=") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")))) () ")"))) () ")")) (compound_statement "{\n    do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);\n  }" ({ "{") (do_statement "do {\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    } while (iVar1 != iVar2 + 4);" (do "do") (compound_statement "{\n      if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }\n      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);\n    }" ({ "{") (if_statement "if (*(int *)(iVar1 + 0x30) != 0) {\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x30) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x30) != 0" (pointer_expression "*(int *)(iVar1 + 0x30)" (* "*") (cast_expression "(int *)(iVar1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x30)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));\n        iVar2 = *(int *)(this + 0x34);\n        *(undefined4 *)(iVar1 + 0x30) = 0;\n      }" ({ "{") (expression_statement "(*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));" (call_expression "(*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30))" (parenthesized_expression "(*(code *)PTR_operator_delete___004c21b8)" (( "(") (pointer_expression "*(code *)PTR_operator_delete___004c21b8" (* "*") (cast_expression "(code *)PTR_operator_delete___004c21b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_delete___004c21b8"))) () ")")) (argument_list "(*(int *)(iVar1 + 0x30))" (( "(") (pointer_expression "*(int *)(iVar1 + 0x30)" (* "*") (cast_expression "(int *)(iVar1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x30)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(this + 0x34);" (assignment_expression "iVar2 = *(int *)(this + 0x34)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 0x34)" (* "*") (cast_expression "(int *)(this + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x34)" (( "(") (binary_expression "this + 0x34" (identifier "this") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x30)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);" (assignment_expression "iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1)" (parenthesized_expression "(*(code *)PTR__Rb_tree_increment_004c1b6c)" (( "(") (pointer_expression "*(code *)PTR__Rb_tree_increment_004c1b6c" (* "*") (cast_expression "(code *)PTR__Rb_tree_increment_004c1b6c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__Rb_tree_increment_004c1b6c"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != iVar2 + 4)" (( "(") (binary_expression "iVar1 != iVar2 + 4" (identifier "iVar1") (!= "!=") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4"))) () ")")) (; ";")) (} "}"))) (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 p_Var1;
  type_3 *var_1;
  
  var_1 = this->compressed_sections_;
  if ((var_1 != (type_3 *)0x0) &&
     (p_Var1 = (var_1->_M_t)._M_impl.super__Rb_tree_header._M_header._M_left,
     (type_4 *)p_Var1 != &(var_1->_M_t)._M_impl.super__Rb_tree_header)) {
    do {
      if (p_Var1[3]._M_color != var_2) {
        (*(type_5 *)PTR_operator_delete___004c21b8)(p_Var1[3]._M_color);
        var_1 = this->compressed_sections_;
        p_Var1[3]._M_color = var_2;
      }
      p_Var1 = (type_2)(*(type_5 *)PTR__Rb_tree_increment_004c1b6c)(p_Var1);
    } while ((type_4 *)p_Var1 != &(var_1->_M_t)._M_impl.super__Rb_tree_header);
  }
  return;
}


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

/* gold::Object::MASKED() */

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

{
  int iVar1;
  int iVar2;
  
  iVar2 = *(int *)(this + 0x34);
  if ((iVar2 != 0) && (iVar1 = *(int *)(iVar2 + 0xc), iVar1 != iVar2 + 4)) {
    do {
      if (*(int *)(iVar1 + 0x30) != 0) {
        (*(code *)PTR_operator_delete___004c21b8)(*(int *)(iVar1 + 0x30));
        iVar2 = *(int *)(this + 0x34);
        *(undefined4 *)(iVar1 + 0x30) = 0;
      }
      iVar1 = (*(code *)PTR__Rb_tree_increment_004c1b6c)(iVar1);
    } while (iVar1 != iVar2 + 4);
  }
  return;
}

