
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: void ~Output_section(Output_section * this, int __in_chrg) */

void __thiscall gold::Output_section::~Output_section(Output_section *this,int __in_chrg)

{
  Checkpoint_output_section *pCVar1;
  pointer pIVar2;
  _List_node_base *p_Var3;
  pointer pFVar4;
  _List_node_base *p_Var5;
  
  pCVar1 = this->checkpoint_;
  (this->super_Output_data)._vptr_Output_data = (_func_int_varargs **)&PTR__Output_section_002f8670;
  if (pCVar1 != (Checkpoint_output_section *)0x0) {
    if (pCVar1->_vptr_Checkpoint_output_section[1] ==
        Checkpoint_output_section::~Checkpoint_output_section) {
      pCVar1->_vptr_Checkpoint_output_section =
           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;
      pIVar2 = (pCVar1->input_sections_copy_).
               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>
               ._M_impl._M_start;
      if (pIVar2 != (pointer)0x0) {
        operator_delete(pIVar2);
      }
      operator_delete(pCVar1,0x34);
    }
    else {
      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);
    }
  }
  p_Var5 = (this->free_list_).list_.
           super__List_base<gold::Free_list::Free_list_node,_std::allocator<gold::Free_list::Free_list_node>_>
           ._M_impl._M_node.super__List_node_base._M_next;
  while ((Free_list *)p_Var5 != &this->free_list_) {
    p_Var3 = p_Var5->_M_next;
    operator_delete(p_Var5);
    p_Var5 = p_Var3;
  }
  pFVar4 = (this->fills_).
           super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>
           ._M_impl._M_start;
  if (pFVar4 != (pointer)0x0) {
    operator_delete(pFVar4);
  }
  pIVar2 = (this->input_sections_).
           super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>
           ._M_impl._M_start;
  if (pIVar2 != (pointer)0x0) {
    operator_delete(pIVar2);
  }
  return;
}



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

void FUN_000b9e60(undefined4 *param_1)

{
  int *piVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  
  piVar1 = (int *)param_1[0x2b];
  *param_1 = &PTR_FUN_002f8670;
  if (piVar1 != (int *)0x0) {
    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {
      *piVar1 = (int)&PTR_FUN_002f830c;
      if (piVar1[7] != 0) {
        FUN_001807a0(piVar1[7]);
      }
      FUN_00180780(piVar1,0x34);
    }
    else {
      (**(code **)(*piVar1 + 4))(piVar1);
    }
  }
  puVar3 = (undefined4 *)param_1[0x2d];
  while (puVar3 != param_1 + 0x2d) {
    puVar2 = (undefined4 *)*puVar3;
    FUN_001807a0(puVar3);
    puVar3 = puVar2;
  }
  if (param_1[0x20] != 0) {
    FUN_001807a0(param_1[0x20]);
  }
  if (param_1[0x1b] != 0) {
    FUN_001807a0(param_1[0x1b]);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x248197
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [EBP + 0xac]
LEA EAX,[EBX + 0xffff6670]
MOV dword ptr [EBP],EAX
TEST ESI,ESI
JZ 0x000b9ec5
MOV EAX,dword ptr [ESI]
LEA EDX,[EBX + 0xffdc2220]
MOV EAX,dword ptr [EAX + 0x4]
CMP EAX,EDX
JNZ 0x000b9f20
LEA EAX,[EBX + 0xffff630c]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESI + 0x1c]
TEST EAX,EAX
JZ 0x000b9eb7
SUB ESP,0xc
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
SUB ESP,0x8
PUSH 0x34
PUSH ESI
CALL 0x00180780
ADD ESP,0x10
MOV EAX,dword ptr [EBP + 0xb4]
LEA EDI,[EBP + 0xb4]
CMP EAX,EDI
JZ 0x000b9eec
LEA ESI,[ESI]
SUB ESP,0xc
MOV ESI,dword ptr [EAX]
PUSH EAX
CALL 0x001807a0
MOV EAX,ESI
ADD ESP,0x10
CMP ESI,EDI
JNZ 0x000b9ed8
MOV EAX,dword ptr [EBP + 0x80]
TEST EAX,EAX
JZ 0x000b9f02
SUB ESP,0xc
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
MOV EAX,dword ptr [EBP + 0x6c]
TEST EAX,EAX
JZ 0x000b9f15
SUB ESP,0xc
PUSH EAX
CALL 0x001807a0
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH ESI
CALL EAX
ADD ESP,0x10
JMP 0x000b9ec5
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000b9e60(undefined4 *param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)param_1[0x2b];\n  *param_1 = &PTR_FUN_002f8670;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }\n  puVar3 = (undefined4 *)param_1[0x2d];\n  while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }\n  if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }\n  if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000b9e60(undefined4 *param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)param_1[0x2b];\n  *param_1 = &PTR_FUN_002f8670;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }\n  puVar3 = (undefined4 *)param_1[0x2d];\n  while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }\n  if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }\n  if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000b9e60(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)param_1[0x2b];\n  *param_1 = &PTR_FUN_002f8670;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }\n  puVar3 = (undefined4 *)param_1[0x2d];\n  while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }\n  if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }\n  if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "piVar1 = (int *)param_1[0x2b];" (assignment_expression "piVar1 = (int *)param_1[0x2b]" identifier = (cast_expression "(int *)param_1[0x2b]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x2b]" identifier [ number_literal ]))) ;) (expression_statement "*param_1 = &PTR_FUN_002f8670;" (assignment_expression "*param_1 = &PTR_FUN_002f8670" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_002f8670" & identifier)) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }" { (if_statement "if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 4) == FUN_000c4220)" ( (binary_expression "*(code **)(*piVar1 + 4) == FUN_000c4220" (pointer_expression "*(code **)(*piVar1 + 4)" * (cast_expression "(code **)(*piVar1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }" { (expression_statement "*piVar1 = (int)&PTR_FUN_002f830c;" (assignment_expression "*piVar1 = (int)&PTR_FUN_002f830c" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)&PTR_FUN_002f830c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&PTR_FUN_002f830c" & identifier))) ;) (if_statement "if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }" if (parenthesized_expression "(piVar1[7] != 0)" ( (binary_expression "piVar1[7] != 0" (subscript_expression "piVar1[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_001807a0(piVar1[7]);\n      }" { (expression_statement "FUN_001807a0(piVar1[7]);" (call_expression "FUN_001807a0(piVar1[7])" identifier (argument_list "(piVar1[7])" ( (subscript_expression "piVar1[7]" identifier [ number_literal ]) ))) ;) })) (expression_statement "FUN_00180780(piVar1,0x34);" (call_expression "FUN_00180780(piVar1,0x34)" identifier (argument_list "(piVar1,0x34)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" else (compound_statement "{\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" { (expression_statement "(**(code **)(*piVar1 + 4))(piVar1);" (call_expression "(**(code **)(*piVar1 + 4))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 4))" ( (pointer_expression "**(code **)(*piVar1 + 4)" * (pointer_expression "*(code **)(*piVar1 + 4)" * (cast_expression "(code **)(*piVar1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) }))) })) (expression_statement "puVar3 = (undefined4 *)param_1[0x2d];" (assignment_expression "puVar3 = (undefined4 *)param_1[0x2d]" identifier = (cast_expression "(undefined4 *)param_1[0x2d]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x2d]" identifier [ number_literal ]))) ;) (while_statement "while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }" while (parenthesized_expression "(puVar3 != param_1 + 0x2d)" ( (binary_expression "puVar3 != param_1 + 0x2d" identifier != (binary_expression "param_1 + 0x2d" identifier + number_literal)) )) (compound_statement "{\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }" { (expression_statement "puVar2 = (undefined4 *)*puVar3;" (assignment_expression "puVar2 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "FUN_001807a0(puVar3);" (call_expression "FUN_001807a0(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" identifier = identifier) ;) })) (if_statement "if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }" if (parenthesized_expression "(param_1[0x20] != 0)" ( (binary_expression "param_1[0x20] != 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001807a0(param_1[0x20]);\n  }" { (expression_statement "FUN_001807a0(param_1[0x20]);" (call_expression "FUN_001807a0(param_1[0x20])" identifier (argument_list "(param_1[0x20])" ( (subscript_expression "param_1[0x20]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }" if (parenthesized_expression "(param_1[0x1b] != 0)" ( (binary_expression "param_1[0x1b] != 0" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001807a0(param_1[0x1b]);\n  }" { (expression_statement "FUN_001807a0(param_1[0x1b]);" (call_expression "FUN_001807a0(param_1[0x1b])" identifier (argument_list "(param_1[0x1b])" ( (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n/* DWARF original prototype: void ~Output_section(Output_section * this, int __in_chrg) */\n\nvoid __thiscall gold::Output_section::~Output_section(Output_section *this,int __in_chrg)\n\n{\n  Checkpoint_output_section *pCVar1;\n  pointer pIVar2;\n  _List_node_base *p_Var3;\n  pointer pFVar4;\n  _List_node_base *p_Var5;\n  \n  pCVar1 = this->checkpoint_;\n  (this->super_Output_data)._vptr_Output_data = (_func_int_varargs **)&PTR__Output_section_002f8670;\n  if (pCVar1 != (Checkpoint_output_section *)0x0) {\n    if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section::~Checkpoint_output_section) {\n      pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;\n      pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               ._M_impl._M_start;\n      if (pIVar2 != (pointer)0x0) {\n        operator_delete(pIVar2);\n      }\n      operator_delete(pCVar1,0x34);\n    }\n    else {\n      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n    }\n  }\n  p_Var5 = (this->free_list_).list_.\n           super__List_base<gold::Free_list::Free_list_node,_std::allocator<gold::Free_list::Free_list_node>_>\n           ._M_impl._M_node.super__List_node_base._M_next;\n  while ((Free_list *)p_Var5 != &this->free_list_) {\n    p_Var3 = p_Var5->_M_next;\n    operator_delete(p_Var5);\n    p_Var5 = p_Var3;\n  }\n  pFVar4 = (this->fills_).\n           super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>\n           ._M_impl._M_start;\n  if (pFVar4 != (pointer)0x0) {\n    operator_delete(pFVar4);\n  }\n  pIVar2 = (this->input_sections_).\n           super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n           ._M_impl._M_start;\n  if (pIVar2 != (pointer)0x0) {\n    operator_delete(pIVar2);\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Output_section::~Output_section(Output_section *this,int __in_chrg)\n\n{\n  Checkpoint_output_section *pCVar1;\n  pointer pIVar2;\n  _List_node_base *p_Var3;\n  pointer pFVar4;\n  _List_node_base *p_Var5;\n  \n  pCVar1 = this->checkpoint_;\n  (this->super_Output_data)._vptr_Output_data = (_func_int_varargs **)&PTR__Output_section_002f8670;\n  if (pCVar1 != (Checkpoint_output_section *)0x0) {\n    if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section::~Checkpoint_output_section) {\n      pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;\n      pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               ._M_impl._M_start;\n      if (pIVar2 != (pointer)0x0) {\n        operator_delete(pIVar2);\n      }\n      operator_delete(pCVar1,0x34);\n    }\n    else {\n      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n    }\n  }\n  p_Var5 = (this->free_list_).list_.\n           super__List_base<gold::Free_list::Free_list_node,_std::allocator<gold::Free_list::Free_list_node>_>\n           ._M_impl._M_node.super__List_node_base._M_next;\n  while ((Free_list *)p_Var5 != &this->free_list_) {\n    p_Var3 = p_Var5->_M_next;\n    operator_delete(p_Var5);\n    p_Var5 = p_Var3;\n  }\n  pFVar4 = (this->fills_).\n           super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>\n           ._M_impl._M_start;\n  if (pFVar4 != (pointer)0x0) {\n    operator_delete(pFVar4);\n  }\n  pIVar2 = (this->input_sections_).\n           super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n           ._M_impl._M_start;\n  if (pIVar2 != (pointer)0x0) {\n    operator_delete(pIVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::~" identifier : : identifier : : ~) (function_declarator "Output_section(Output_section *this,int __in_chrg)" identifier (parameter_list "(Output_section *this,int __in_chrg)" ( (parameter_declaration "Output_section *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  Checkpoint_output_section *pCVar1;\n  pointer pIVar2;\n  _List_node_base *p_Var3;\n  pointer pFVar4;\n  _List_node_base *p_Var5;\n  \n  pCVar1 = this->checkpoint_;\n  (this->super_Output_data)._vptr_Output_data = (_func_int_varargs **)&PTR__Output_section_002f8670;\n  if (pCVar1 != (Checkpoint_output_section *)0x0) {\n    if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section::~Checkpoint_output_section) {\n      pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;\n      pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               ._M_impl._M_start;\n      if (pIVar2 != (pointer)0x0) {\n        operator_delete(pIVar2);\n      }\n      operator_delete(pCVar1,0x34);\n    }\n    else {\n      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n    }\n  }\n  p_Var5 = (this->free_list_).list_.\n           super__List_base<gold::Free_list::Free_list_node,_std::allocator<gold::Free_list::Free_list_node>_>\n           ._M_impl._M_node.super__List_node_base._M_next;\n  while ((Free_list *)p_Var5 != &this->free_list_) {\n    p_Var3 = p_Var5->_M_next;\n    operator_delete(p_Var5);\n    p_Var5 = p_Var3;\n  }\n  pFVar4 = (this->fills_).\n           super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>\n           ._M_impl._M_start;\n  if (pFVar4 != (pointer)0x0) {\n    operator_delete(pFVar4);\n  }\n  pIVar2 = (this->input_sections_).\n           super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n           ._M_impl._M_start;\n  if (pIVar2 != (pointer)0x0) {\n    operator_delete(pIVar2);\n  }\n  return;\n}" { (declaration "Checkpoint_output_section *pCVar1;" type_identifier (pointer_declarator "*pCVar1" * identifier) ;) (declaration "pointer pIVar2;" type_identifier identifier ;) (declaration "_List_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "pointer pFVar4;" type_identifier identifier ;) (declaration "_List_node_base *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (expression_statement "pCVar1 = this->checkpoint_;" (assignment_expression "pCVar1 = this->checkpoint_" identifier = (field_expression "this->checkpoint_" identifier -> field_identifier)) ;) (expression_statement "(this->super_Output_data)._vptr_Output_data = (_func_int_varargs **)&PTR__Output_section_002f8670;" (assignment_expression "(this->super_Output_data)._vptr_Output_data = (_func_int_varargs **)&PTR__Output_section_002f8670" (field_expression "(this->super_Output_data)._vptr_Output_data" (parenthesized_expression "(this->super_Output_data)" ( (field_expression "this->super_Output_data" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Output_section_002f8670" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Output_section_002f8670" & identifier))) ;) (if_statement "if (pCVar1 != (Checkpoint_output_section *)0x0) {\n    if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section::~Checkpoint_output_section) {\n      pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;\n      pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               ._M_impl._M_start;\n      if (pIVar2 != (pointer)0x0) {\n        operator_delete(pIVar2);\n      }\n      operator_delete(pCVar1,0x34);\n    }\n    else {\n      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n    }\n  }" if (parenthesized_expression "(pCVar1 != (Checkpoint_output_section *)0x0)" ( (binary_expression "pCVar1 != (Checkpoint_output_section *)0x0" identifier != (cast_expression "(Checkpoint_output_section *)0x0" ( (type_descriptor "Checkpoint_output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section::~Checkpoint_output_section) {\n      pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;\n      pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               ._M_impl._M_start;\n      if (pIVar2 != (pointer)0x0) {\n        operator_delete(pIVar2);\n      }\n      operator_delete(pCVar1,0x34);\n    }\n    else {\n      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n    }\n  }" { (if_statement "if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section::~Checkpoint_output_section) {\n      pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;\n      pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               ._M_impl._M_start;\n      if (pIVar2 != (pointer)0x0) {\n        operator_delete(pIVar2);\n      }\n      operator_delete(pCVar1,0x34);\n    }\n    else {\n      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n    }" if (parenthesized_expression "(pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section::~Checkpoint_output_section)" ( (ERROR "pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section::" (binary_expression "pCVar1->_vptr_Checkpoint_output_section[1] ==\n        Checkpoint_output_section" (subscript_expression "pCVar1->_vptr_Checkpoint_output_section[1]" (field_expression "pCVar1->_vptr_Checkpoint_output_section" identifier -> field_identifier) [ number_literal ]) == identifier) : :) (unary_expression "~Checkpoint_output_section" ~ identifier) )) (compound_statement "{\n      pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;\n      pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               ._M_impl._M_start;\n      if (pIVar2 != (pointer)0x0) {\n        operator_delete(pIVar2);\n      }\n      operator_delete(pCVar1,0x34);\n    }" { (expression_statement "pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c;" (assignment_expression "pCVar1->_vptr_Checkpoint_output_section =\n           (_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c" (field_expression "pCVar1->_vptr_Checkpoint_output_section" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Checkpoint_output_section_002f830c" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Checkpoint_output_section_002f830c" & identifier))) ;) (ERROR "pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold::" (assignment_expression "pIVar2 = (pCVar1->input_sections_copy_).\n               super__Vector_base<gold" identifier = (binary_expression "(pCVar1->input_sections_copy_).\n               super__Vector_base<gold" (field_expression "(pCVar1->input_sections_copy_).\n               super__Vector_base" (parenthesized_expression "(pCVar1->input_sections_copy_)" ( (field_expression "pCVar1->input_sections_copy_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n               ._M_impl._M_start;" statement_identifier (ERROR "::Input_section,_std::allocator<gold:" : : (comma_expression "Input_section,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Output_section::Input_section>_>\n               ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Input_section>_>\n               ._M_impl._M_start;" (field_expression "Input_section>_>\n               ._M_impl._M_start" (field_expression "Input_section>_>\n               ._M_impl" (binary_expression "Input_section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (if_statement "if (pIVar2 != (pointer)0x0) {\n        operator_delete(pIVar2);\n      }" if (parenthesized_expression "(pIVar2 != (pointer)0x0)" ( (binary_expression "pIVar2 != (pointer)0x0" identifier != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n        operator_delete(pIVar2);\n      }" { (expression_statement "operator_delete(pIVar2);" (call_expression "operator_delete(pIVar2)" identifier (argument_list "(pIVar2)" ( identifier ))) ;) })) (expression_statement "operator_delete(pCVar1,0x34);" (call_expression "operator_delete(pCVar1,0x34)" identifier (argument_list "(pCVar1,0x34)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n    }" else (compound_statement "{\n      (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n    }" { (expression_statement "(*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);" (call_expression "(*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1)" (parenthesized_expression "(*pCVar1->_vptr_Checkpoint_output_section[1])" ( (pointer_expression "*pCVar1->_vptr_Checkpoint_output_section[1]" * (subscript_expression "pCVar1->_vptr_Checkpoint_output_section[1]" (field_expression "pCVar1->_vptr_Checkpoint_output_section" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pCVar1)" ( identifier ))) ;) }))) })) (ERROR "p_Var5 = (this->free_list_).list_.\n           super__List_base<gold::" (assignment_expression "p_Var5 = (this->free_list_).list_.\n           super__List_base<gold" identifier = (binary_expression "(this->free_list_).list_.\n           super__List_base<gold" (field_expression "(this->free_list_).list_.\n           super__List_base" (field_expression "(this->free_list_).list_" (parenthesized_expression "(this->free_list_)" ( (field_expression "this->free_list_" identifier -> field_identifier) )) . field_identifier) . field_identifier) < identifier)) : :) (labeled_statement "Free_list::Free_list_node,_std::allocator<gold::Free_list::Free_list_node>_>\n           ._M_impl._M_node.super__List_node_base._M_next;" statement_identifier (ERROR "::Free_list_node,_std::allocator<gold:" : : (comma_expression "Free_list_node,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Free_list::Free_list_node>_>\n           ._M_impl._M_node.super__List_node_base._M_next;" statement_identifier : (ERROR ":" :) (expression_statement "Free_list_node>_>\n           ._M_impl._M_node.super__List_node_base._M_next;" (field_expression "Free_list_node>_>\n           ._M_impl._M_node.super__List_node_base._M_next" (field_expression "Free_list_node>_>\n           ._M_impl._M_node.super__List_node_base" (field_expression "Free_list_node>_>\n           ._M_impl._M_node" (field_expression "Free_list_node>_>\n           ._M_impl" (binary_expression "Free_list_node>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) . field_identifier) . field_identifier) ;))) (while_statement "while ((Free_list *)p_Var5 != &this->free_list_) {\n    p_Var3 = p_Var5->_M_next;\n    operator_delete(p_Var5);\n    p_Var5 = p_Var3;\n  }" while (parenthesized_expression "((Free_list *)p_Var5 != &this->free_list_)" ( (binary_expression "(Free_list *)p_Var5 != &this->free_list_" (cast_expression "(Free_list *)p_Var5" ( (type_descriptor "Free_list *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) != (pointer_expression "&this->free_list_" & (field_expression "this->free_list_" identifier -> field_identifier))) )) (compound_statement "{\n    p_Var3 = p_Var5->_M_next;\n    operator_delete(p_Var5);\n    p_Var5 = p_Var3;\n  }" { (expression_statement "p_Var3 = p_Var5->_M_next;" (assignment_expression "p_Var3 = p_Var5->_M_next" identifier = (field_expression "p_Var5->_M_next" identifier -> field_identifier)) ;) (expression_statement "operator_delete(p_Var5);" (call_expression "operator_delete(p_Var5)" identifier (argument_list "(p_Var5)" ( identifier ))) ;) (expression_statement "p_Var5 = p_Var3;" (assignment_expression "p_Var5 = p_Var3" identifier = identifier) ;) })) (ERROR "pFVar4 = (this->fills_).\n           super__Vector_base<gold::" (assignment_expression "pFVar4 = (this->fills_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->fills_).\n           super__Vector_base<gold" (field_expression "(this->fills_).\n           super__Vector_base" (parenthesized_expression "(this->fills_)" ( (field_expression "this->fills_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>\n           ._M_impl._M_start;" statement_identifier (ERROR "::Fill,_std::allocator<gold:" : : (comma_expression "Fill,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Output_section::Fill>_>\n           ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Fill>_>\n           ._M_impl._M_start;" (field_expression "Fill>_>\n           ._M_impl._M_start" (field_expression "Fill>_>\n           ._M_impl" (binary_expression "Fill>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (if_statement "if (pFVar4 != (pointer)0x0) {\n    operator_delete(pFVar4);\n  }" if (parenthesized_expression "(pFVar4 != (pointer)0x0)" ( (binary_expression "pFVar4 != (pointer)0x0" identifier != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n    operator_delete(pFVar4);\n  }" { (expression_statement "operator_delete(pFVar4);" (call_expression "operator_delete(pFVar4)" identifier (argument_list "(pFVar4)" ( identifier ))) ;) })) (ERROR "pIVar2 = (this->input_sections_).\n           super__Vector_base<gold::" (assignment_expression "pIVar2 = (this->input_sections_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->input_sections_).\n           super__Vector_base<gold" (field_expression "(this->input_sections_).\n           super__Vector_base" (parenthesized_expression "(this->input_sections_)" ( (field_expression "this->input_sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n           ._M_impl._M_start;" statement_identifier (ERROR "::Input_section,_std::allocator<gold:" : : (comma_expression "Input_section,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Output_section::Input_section>_>\n           ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Input_section>_>\n           ._M_impl._M_start;" (field_expression "Input_section>_>\n           ._M_impl._M_start" (field_expression "Input_section>_>\n           ._M_impl" (binary_expression "Input_section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (if_statement "if (pIVar2 != (pointer)0x0) {\n    operator_delete(pIVar2);\n  }" if (parenthesized_expression "(pIVar2 != (pointer)0x0)" ( (binary_expression "pIVar2 != (pointer)0x0" identifier != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n    operator_delete(pIVar2);\n  }" { (expression_statement "operator_delete(pIVar2);" (call_expression "operator_delete(pIVar2)" identifier (argument_list "(pIVar2)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000b9e60(undefined4 *param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)param_1[0x2b];\n  *param_1 = &PTR_FUN_002f8670;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }\n  puVar3 = (undefined4 *)param_1[0x2d];\n  while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }\n  if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }\n  if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000b9e60(undefined4 *param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)param_1[0x2b];\n  *param_1 = &PTR_FUN_002f8670;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }\n  puVar3 = (undefined4 *)param_1[0x2d];\n  while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }\n  if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }\n  if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000b9e60(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)param_1[0x2b];\n  *param_1 = &PTR_FUN_002f8670;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }\n  puVar3 = (undefined4 *)param_1[0x2d];\n  while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }\n  if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }\n  if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "piVar1 = (int *)param_1[0x2b];" (assignment_expression "piVar1 = (int *)param_1[0x2b]" identifier = (cast_expression "(int *)param_1[0x2b]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x2b]" identifier [ number_literal ]))) ;) (expression_statement "*param_1 = &PTR_FUN_002f8670;" (assignment_expression "*param_1 = &PTR_FUN_002f8670" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_002f8670" & identifier)) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }" { (if_statement "if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 4) == FUN_000c4220)" ( (binary_expression "*(code **)(*piVar1 + 4) == FUN_000c4220" (pointer_expression "*(code **)(*piVar1 + 4)" * (cast_expression "(code **)(*piVar1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }" { (expression_statement "*piVar1 = (int)&PTR_FUN_002f830c;" (assignment_expression "*piVar1 = (int)&PTR_FUN_002f830c" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)&PTR_FUN_002f830c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&PTR_FUN_002f830c" & identifier))) ;) (if_statement "if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }" if (parenthesized_expression "(piVar1[7] != 0)" ( (binary_expression "piVar1[7] != 0" (subscript_expression "piVar1[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_001807a0(piVar1[7]);\n      }" { (expression_statement "FUN_001807a0(piVar1[7]);" (call_expression "FUN_001807a0(piVar1[7])" identifier (argument_list "(piVar1[7])" ( (subscript_expression "piVar1[7]" identifier [ number_literal ]) ))) ;) })) (expression_statement "FUN_00180780(piVar1,0x34);" (call_expression "FUN_00180780(piVar1,0x34)" identifier (argument_list "(piVar1,0x34)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" else (compound_statement "{\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" { (expression_statement "(**(code **)(*piVar1 + 4))(piVar1);" (call_expression "(**(code **)(*piVar1 + 4))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 4))" ( (pointer_expression "**(code **)(*piVar1 + 4)" * (pointer_expression "*(code **)(*piVar1 + 4)" * (cast_expression "(code **)(*piVar1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) }))) })) (expression_statement "puVar3 = (undefined4 *)param_1[0x2d];" (assignment_expression "puVar3 = (undefined4 *)param_1[0x2d]" identifier = (cast_expression "(undefined4 *)param_1[0x2d]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x2d]" identifier [ number_literal ]))) ;) (while_statement "while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }" while (parenthesized_expression "(puVar3 != param_1 + 0x2d)" ( (binary_expression "puVar3 != param_1 + 0x2d" identifier != (binary_expression "param_1 + 0x2d" identifier + number_literal)) )) (compound_statement "{\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }" { (expression_statement "puVar2 = (undefined4 *)*puVar3;" (assignment_expression "puVar2 = (undefined4 *)*puVar3" identifier = (cast_expression "(undefined4 *)*puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "FUN_001807a0(puVar3);" (call_expression "FUN_001807a0(puVar3)" identifier (argument_list "(puVar3)" ( identifier ))) ;) (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" identifier = identifier) ;) })) (if_statement "if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }" if (parenthesized_expression "(param_1[0x20] != 0)" ( (binary_expression "param_1[0x20] != 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001807a0(param_1[0x20]);\n  }" { (expression_statement "FUN_001807a0(param_1[0x20]);" (call_expression "FUN_001807a0(param_1[0x20])" identifier (argument_list "(param_1[0x20])" ( (subscript_expression "param_1[0x20]" identifier [ number_literal ]) ))) ;) })) (if_statement "if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }" if (parenthesized_expression "(param_1[0x1b] != 0)" ( (binary_expression "param_1[0x1b] != 0" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001807a0(param_1[0x1b]);\n  }" { (expression_statement "FUN_001807a0(param_1[0x1b]);" (call_expression "FUN_001807a0(param_1[0x1b])" identifier (argument_list "(param_1[0x1b])" ( (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) }))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000b9e60(undefined4 *param_1)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)param_1[0x2b];\n  *param_1 = &PTR_FUN_002f8670;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }\n  puVar3 = (undefined4 *)param_1[0x2d];\n  while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }\n  if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }\n  if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000b9e60(undefined4 *param_1)" (identifier "FUN_000b9e60") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  piVar1 = (int *)param_1[0x2b];\n  *param_1 = &PTR_FUN_002f8670;\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }\n  puVar3 = (undefined4 *)param_1[0x2d];\n  while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }\n  if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }\n  if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "piVar1 = (int *)param_1[0x2b];" (assignment_expression "piVar1 = (int *)param_1[0x2b]" (identifier "piVar1") (= "=") (cast_expression "(int *)param_1[0x2b]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x2b]" (identifier "param_1") ([ "[") (number_literal "0x2b") (] "]")))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_002f8670;" (assignment_expression "*param_1 = &PTR_FUN_002f8670" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_002f8670" (& "&") (identifier "PTR_FUN_002f8670"))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }\n  }" ({ "{") (if_statement "if (*(code **)(*piVar1 + 4) == FUN_000c4220) {\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }\n    else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" (if "if") (parenthesized_expression "(*(code **)(*piVar1 + 4) == FUN_000c4220)" (( "(") (binary_expression "*(code **)(*piVar1 + 4) == FUN_000c4220" (pointer_expression "*(code **)(*piVar1 + 4)" (* "*") (cast_expression "(code **)(*piVar1 + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 4)" (( "(") (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "FUN_000c4220")) () ")")) (compound_statement "{\n      *piVar1 = (int)&PTR_FUN_002f830c;\n      if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }\n      FUN_00180780(piVar1,0x34);\n    }" ({ "{") (expression_statement "*piVar1 = (int)&PTR_FUN_002f830c;" (assignment_expression "*piVar1 = (int)&PTR_FUN_002f830c" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)&PTR_FUN_002f830c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&PTR_FUN_002f830c" (& "&") (identifier "PTR_FUN_002f830c")))) (; ";")) (if_statement "if (piVar1[7] != 0) {\n        FUN_001807a0(piVar1[7]);\n      }" (if "if") (parenthesized_expression "(piVar1[7] != 0)" (( "(") (binary_expression "piVar1[7] != 0" (subscript_expression "piVar1[7]" (identifier "piVar1") ([ "[") (number_literal "7") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_001807a0(piVar1[7]);\n      }" ({ "{") (expression_statement "FUN_001807a0(piVar1[7]);" (call_expression "FUN_001807a0(piVar1[7])" (identifier "FUN_001807a0") (argument_list "(piVar1[7])" (( "(") (subscript_expression "piVar1[7]" (identifier "piVar1") ([ "[") (number_literal "7") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180780(piVar1,0x34);" (call_expression "FUN_00180780(piVar1,0x34)" (identifier "FUN_00180780") (argument_list "(piVar1,0x34)" (( "(") (identifier "piVar1") (, ",") (number_literal "0x34") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" (else "else") (compound_statement "{\n      (**(code **)(*piVar1 + 4))(piVar1);\n    }" ({ "{") (expression_statement "(**(code **)(*piVar1 + 4))(piVar1);" (call_expression "(**(code **)(*piVar1 + 4))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 4))" (( "(") (pointer_expression "**(code **)(*piVar1 + 4)" (* "*") (pointer_expression "*(code **)(*piVar1 + 4)" (* "*") (cast_expression "(code **)(*piVar1 + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 4)" (( "(") (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (} "}")))) (} "}"))) (expression_statement "puVar3 = (undefined4 *)param_1[0x2d];" (assignment_expression "puVar3 = (undefined4 *)param_1[0x2d]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)param_1[0x2d]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x2d]" (identifier "param_1") ([ "[") (number_literal "0x2d") (] "]")))) (; ";")) (while_statement "while (puVar3 != param_1 + 0x2d) {\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }" (while "while") (parenthesized_expression "(puVar3 != param_1 + 0x2d)" (( "(") (binary_expression "puVar3 != param_1 + 0x2d" (identifier "puVar3") (!= "!=") (binary_expression "param_1 + 0x2d" (identifier "param_1") (+ "+") (number_literal "0x2d"))) () ")")) (compound_statement "{\n    puVar2 = (undefined4 *)*puVar3;\n    FUN_001807a0(puVar3);\n    puVar3 = puVar2;\n  }" ({ "{") (expression_statement "puVar2 = (undefined4 *)*puVar3;" (assignment_expression "puVar2 = (undefined4 *)*puVar3" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (expression_statement "FUN_001807a0(puVar3);" (call_expression "FUN_001807a0(puVar3)" (identifier "FUN_001807a0") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "puVar3 = puVar2;" (assignment_expression "puVar3 = puVar2" (identifier "puVar3") (= "=") (identifier "puVar2")) (; ";")) (} "}"))) (if_statement "if (param_1[0x20] != 0) {\n    FUN_001807a0(param_1[0x20]);\n  }" (if "if") (parenthesized_expression "(param_1[0x20] != 0)" (( "(") (binary_expression "param_1[0x20] != 0" (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001807a0(param_1[0x20]);\n  }" ({ "{") (expression_statement "FUN_001807a0(param_1[0x20]);" (call_expression "FUN_001807a0(param_1[0x20])" (identifier "FUN_001807a0") (argument_list "(param_1[0x20])" (( "(") (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[0x1b] != 0) {\n    FUN_001807a0(param_1[0x1b]);\n  }" (if "if") (parenthesized_expression "(param_1[0x1b] != 0)" (( "(") (binary_expression "param_1[0x1b] != 0" (subscript_expression "param_1[0x1b]" (identifier "param_1") ([ "[") (number_literal "0x1b") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001807a0(param_1[0x1b]);\n  }" ({ "{") (expression_statement "FUN_001807a0(param_1[0x1b]);" (call_expression "FUN_001807a0(param_1[0x1b])" (identifier "FUN_001807a0") (argument_list "(param_1[0x1b])" (( "(") (subscript_expression "param_1[0x1b]" (identifier "param_1") ([ "[") (number_literal "0x1b") (] "]")) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: void ~Output_section(Output_section * this, int __in_chrg) */

void __thiscall gold::function_1::~function_1(function_1 *this,int __in_chrg)

{
  type_1 *var_1;
  type_2 var_4;
  type_3 *p_Var3;
  type_2 var_8;
  type_3 *p_Var5;
  
  var_1 = this->checkpoint_;
  (this->super_Output_data)._vptr_Output_data = (type_4 **)&PTR__Output_section_002f8670;
  if (var_1 != (type_1 *)0x0) {
    if (var_1->_vptr_Checkpoint_output_section[1] ==
        type_1::~type_1) {
      var_1->_vptr_Checkpoint_output_section =
           (type_4 **)&PTR__Checkpoint_output_section_002f830c;
      var_4 = (var_1->input_sections_copy_).
               super__Vector_base<gold::Output_section::var_2,_std::allocator<gold::Output_section::var_2>var_3>
               ._M_impl._M_start;
      if (var_4 != (type_2)0x0) {
        var_5(var_4);
      }
      var_5(var_1,0x34);
    }
    else {
      (*var_1->_vptr_Checkpoint_output_section[1])(var_1);
    }
  }
  p_Var5 = (this->free_list_).list_.
           super__List_base<gold::Free_list::var_6,_std::allocator<gold::Free_list::var_6>var_3>
           ._M_impl._M_node.super__List_node_base._M_next;
  while ((type_5 *)p_Var5 != &this->free_list_) {
    p_Var3 = p_Var5->_M_next;
    var_5(p_Var5);
    p_Var5 = p_Var3;
  }
  var_8 = (this->fills_).
           super__Vector_base<gold::Output_section::var_7,_std::allocator<gold::Output_section::var_7>var_3>
           ._M_impl._M_start;
  if (var_8 != (type_2)0x0) {
    var_5(var_8);
  }
  var_4 = (this->input_sections_).
           super__Vector_base<gold::Output_section::var_2,_std::allocator<gold::Output_section::var_2>var_3>
           ._M_impl._M_start;
  if (var_4 != (type_2)0x0) {
    var_5(var_4);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  int *piVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  
  piVar1 = (int *)param_1[0x2b];
  *param_1 = &PTR_FUN_002f8670;
  if (piVar1 != (int *)0x0) {
    if (*(code **)(*piVar1 + 4) == FUN_000c4220) {
      *piVar1 = (int)&PTR_FUN_002f830c;
      if (piVar1[7] != 0) {
        FUN_001807a0(piVar1[7]);
      }
      FUN_00180780(piVar1,0x34);
    }
    else {
      (**(code **)(*piVar1 + 4))(piVar1);
    }
  }
  puVar3 = (undefined4 *)param_1[0x2d];
  while (puVar3 != param_1 + 0x2d) {
    puVar2 = (undefined4 *)*puVar3;
    FUN_001807a0(puVar3);
    puVar3 = puVar2;
  }
  if (param_1[0x20] != 0) {
    FUN_001807a0(param_1[0x20]);
  }
  if (param_1[0x1b] != 0) {
    FUN_001807a0(param_1[0x1b]);
  }
  return;
}

