
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void ~Input_group(Input_group * this, int __in_chrg) */

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

{
  Archive *pAVar1;
  pointer ppAVar2;
  pointer ppAVar3;
  
  ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.
            _M_impl._M_start;
  ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.
            _M_impl._M_finish;
  if (ppAVar3 != ppAVar2) {
    do {
      pAVar1 = *ppAVar3;
      if (pAVar1 != (Archive *)0x0) {
        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);
      }
      ppAVar3 = ppAVar3 + 1;
    } while ((this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.
             _M_impl._M_finish != ppAVar3);
    ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.
              _M_impl._M_start;
  }
  if (ppAVar2 != (pointer)0x0) {
    operator_delete(ppAVar2);
  }
  return;
}



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

void FUN_001226d0(int *param_1)

{
  int *piVar1;
  int *piVar2;
  
  piVar2 = (int *)*param_1;
  piVar1 = (int *)param_1[1];
  if (piVar2 != piVar1) {
    do {
      piVar1 = (int *)*piVar2;
      if (piVar1 != (int *)0x0) {
        (**(code **)(*piVar1 + 4))(piVar1);
      }
      piVar2 = piVar2 + 1;
    } while ((int *)param_1[1] != piVar2);
    piVar1 = (int *)*param_1;
  }
  if (piVar1 != (int *)0x0) {
    FUN_001ac470(piVar1);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00035680
ADD EBX,0x21c924
MOV ESI,dword ptr [EDI]
MOV EAX,dword ptr [EDI + 0x4]
CMP ESI,EAX
JZ 0x0012270c
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00122702
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x4]
ADD ESP,0x10
ADD ESI,0x4
CMP dword ptr [EDI + 0x4],ESI
JNZ 0x001226f0
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x0012271c
SUB ESP,0xc
PUSH EAX
CALL 0x001ac470
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001226d0(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  piVar1 = (int *)param_1[1];\n  if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001226d0(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  piVar1 = (int *)param_1[1];\n  if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001226d0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  piVar1 = (int *)param_1[1];\n  if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "piVar1 = (int *)param_1[1];" (assignment_expression "piVar1 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }" if (parenthesized_expression "(piVar2 != piVar1)" ( (binary_expression "piVar2 != piVar1" identifier != identifier) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }" { (do_statement "do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);" do (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    }" { (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\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        (**(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 "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int *)param_1[1] != piVar2)" ( (binary_expression "(int *)param_1[1] != piVar2" (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != identifier) )) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (if_statement "if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\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    FUN_001ac470(piVar1);\n  }" { (expression_statement "FUN_001ac470(piVar1);" (call_expression "FUN_001ac470(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void ~Input_group(Input_group * this, int __in_chrg) */\n\nvoid __thiscall gold::Input_group::~Input_group(Input_group *this,int __in_chrg)\n\n{\n  Archive *pAVar1;\n  pointer ppAVar2;\n  pointer ppAVar3;\n  \n  ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_start;\n  ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_finish;\n  if (ppAVar3 != ppAVar2) {\n    do {\n      pAVar1 = *ppAVar3;\n      if (pAVar1 != (Archive *)0x0) {\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }\n      ppAVar3 = ppAVar3 + 1;\n    } while ((this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish != ppAVar3);\n    ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n              _M_impl._M_start;\n  }\n  if (ppAVar2 != (pointer)0x0) {\n    operator_delete(ppAVar2);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Input_group::~Input_group(Input_group *this,int __in_chrg)\n\n{\n  Archive *pAVar1;\n  pointer ppAVar2;\n  pointer ppAVar3;\n  \n  ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_start;\n  ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_finish;\n  if (ppAVar3 != ppAVar2) {\n    do {\n      pAVar1 = *ppAVar3;\n      if (pAVar1 != (Archive *)0x0) {\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }\n      ppAVar3 = ppAVar3 + 1;\n    } while ((this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish != ppAVar3);\n    ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n              _M_impl._M_start;\n  }\n  if (ppAVar2 != (pointer)0x0) {\n    operator_delete(ppAVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Input_group::~" identifier : : identifier : : ~) (function_declarator "Input_group(Input_group *this,int __in_chrg)" identifier (parameter_list "(Input_group *this,int __in_chrg)" ( (parameter_declaration "Input_group *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  Archive *pAVar1;\n  pointer ppAVar2;\n  pointer ppAVar3;\n  \n  ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_start;\n  ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_finish;\n  if (ppAVar3 != ppAVar2) {\n    do {\n      pAVar1 = *ppAVar3;\n      if (pAVar1 != (Archive *)0x0) {\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }\n      ppAVar3 = ppAVar3 + 1;\n    } while ((this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish != ppAVar3);\n    ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n              _M_impl._M_start;\n  }\n  if (ppAVar2 != (pointer)0x0) {\n    operator_delete(ppAVar2);\n  }\n  return;\n}" { (declaration "Archive *pAVar1;" type_identifier (pointer_declarator "*pAVar1" * identifier) ;) (declaration "pointer ppAVar2;" type_identifier identifier ;) (declaration "pointer ppAVar3;" type_identifier identifier ;) (expression_statement "ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_start;" (field_expression "ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_start" (field_expression "ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl" (binary_expression "ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_" (binary_expression "ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold" (binary_expression "ppAVar3 = (this->archives_).super__Vector_base<gold::Archive*,_std" (assignment_expression "ppAVar3 = (this->archives_).super__Vector_base<gold" identifier = (binary_expression "(this->archives_).super__Vector_base<gold" (field_expression "(this->archives_).super__Vector_base" (parenthesized_expression "(this->archives_)" ( (field_expression "this->archives_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Archive" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Archive" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_finish;" (field_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl._M_finish" (field_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n            _M_impl" (binary_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_" (binary_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold" (binary_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std" (assignment_expression "ppAVar2 = (this->archives_).super__Vector_base<gold" identifier = (binary_expression "(this->archives_).super__Vector_base<gold" (field_expression "(this->archives_).super__Vector_base" (parenthesized_expression "(this->archives_)" ( (field_expression "this->archives_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Archive" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Archive" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppAVar3 != ppAVar2) {\n    do {\n      pAVar1 = *ppAVar3;\n      if (pAVar1 != (Archive *)0x0) {\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }\n      ppAVar3 = ppAVar3 + 1;\n    } while ((this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish != ppAVar3);\n    ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n              _M_impl._M_start;\n  }" if (parenthesized_expression "(ppAVar3 != ppAVar2)" ( (binary_expression "ppAVar3 != ppAVar2" identifier != identifier) )) (compound_statement "{\n    do {\n      pAVar1 = *ppAVar3;\n      if (pAVar1 != (Archive *)0x0) {\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }\n      ppAVar3 = ppAVar3 + 1;\n    } while ((this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish != ppAVar3);\n    ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n              _M_impl._M_start;\n  }" { (do_statement "do {\n      pAVar1 = *ppAVar3;\n      if (pAVar1 != (Archive *)0x0) {\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }\n      ppAVar3 = ppAVar3 + 1;\n    } while ((this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish != ppAVar3);" do (compound_statement "{\n      pAVar1 = *ppAVar3;\n      if (pAVar1 != (Archive *)0x0) {\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }\n      ppAVar3 = ppAVar3 + 1;\n    }" { (expression_statement "pAVar1 = *ppAVar3;" (assignment_expression "pAVar1 = *ppAVar3" identifier = (pointer_expression "*ppAVar3" * identifier)) ;) (if_statement "if (pAVar1 != (Archive *)0x0) {\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }" if (parenthesized_expression "(pAVar1 != (Archive *)0x0)" ( (binary_expression "pAVar1 != (Archive *)0x0" identifier != (cast_expression "(Archive *)0x0" ( (type_descriptor "Archive *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        (*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);\n      }" { (expression_statement "(*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1);" (call_expression "(*(pAVar1->super_Library_base)._vptr_Library_base[1])(pAVar1)" (parenthesized_expression "(*(pAVar1->super_Library_base)._vptr_Library_base[1])" ( (pointer_expression "*(pAVar1->super_Library_base)._vptr_Library_base[1]" * (subscript_expression "(pAVar1->super_Library_base)._vptr_Library_base[1]" (field_expression "(pAVar1->super_Library_base)._vptr_Library_base" (parenthesized_expression "(pAVar1->super_Library_base)" ( (field_expression "pAVar1->super_Library_base" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(pAVar1)" ( identifier ))) ;) })) (expression_statement "ppAVar3 = ppAVar3 + 1;" (assignment_expression "ppAVar3 = ppAVar3 + 1" identifier = (binary_expression "ppAVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish != ppAVar3)" ( (binary_expression "(this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish != ppAVar3" (field_expression "(this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl._M_finish" (field_expression "(this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n             _M_impl" (binary_expression "(this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_" (binary_expression "(this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold" (binary_expression "(this->archives_).super__Vector_base<gold::Archive*,_std" (binary_expression "(this->archives_).super__Vector_base<gold" (field_expression "(this->archives_).super__Vector_base" (parenthesized_expression "(this->archives_)" ( (field_expression "this->archives_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Archive" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Archive" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) (expression_statement "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n              _M_impl._M_start;" (field_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n              _M_impl._M_start" (field_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_>.\n              _M_impl" (binary_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold::Archive*>_" (binary_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std::allocator<gold" (binary_expression "ppAVar2 = (this->archives_).super__Vector_base<gold::Archive*,_std" (assignment_expression "ppAVar2 = (this->archives_).super__Vector_base<gold" identifier = (binary_expression "(this->archives_).super__Vector_base<gold" (field_expression "(this->archives_).super__Vector_base" (parenthesized_expression "(this->archives_)" ( (field_expression "this->archives_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Archive" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Archive" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) })) (if_statement "if (ppAVar2 != (pointer)0x0) {\n    operator_delete(ppAVar2);\n  }" if (parenthesized_expression "(ppAVar2 != (pointer)0x0)" ( (binary_expression "ppAVar2 != (pointer)0x0" identifier != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n    operator_delete(ppAVar2);\n  }" { (expression_statement "operator_delete(ppAVar2);" (call_expression "operator_delete(ppAVar2)" identifier (argument_list "(ppAVar2)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001226d0(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  piVar1 = (int *)param_1[1];\n  if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001226d0(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  piVar1 = (int *)param_1[1];\n  if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001226d0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  piVar1 = (int *)param_1[1];\n  if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "piVar1 = (int *)param_1[1];" (assignment_expression "piVar1 = (int *)param_1[1]" identifier = (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }" if (parenthesized_expression "(piVar2 != piVar1)" ( (binary_expression "piVar2 != piVar1" identifier != identifier) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }" { (do_statement "do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);" do (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    }" { (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\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        (**(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 "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int *)param_1[1] != piVar2)" ( (binary_expression "(int *)param_1[1] != piVar2" (cast_expression "(int *)param_1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != identifier) )) ;) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (if_statement "if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\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    FUN_001ac470(piVar1);\n  }" { (expression_statement "FUN_001ac470(piVar1);" (call_expression "FUN_001ac470(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) })) (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) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (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 = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001226d0(int *param_1)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  piVar1 = (int *)param_1[1];\n  if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001226d0(int *param_1)" (identifier "FUN_001226d0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_1;\n  piVar1 = (int *)param_1[1];\n  if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }\n  if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = (int *)*param_1;" (assignment_expression "piVar2 = (int *)*param_1" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "piVar1 = (int *)param_1[1];" (assignment_expression "piVar1 = (int *)param_1[1]" (identifier "piVar1") (= "=") (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (piVar2 != piVar1) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }" (if "if") (parenthesized_expression "(piVar2 != piVar1)" (( "(") (binary_expression "piVar2 != piVar1" (identifier "piVar2") (!= "!=") (identifier "piVar1")) () ")")) (compound_statement "{\n    do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);\n    piVar1 = (int *)*param_1;\n  }" ({ "{") (do_statement "do {\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    } while ((int *)param_1[1] != piVar2);" (do "do") (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\n      }\n      piVar2 = piVar2 + 1;\n    }" ({ "{") (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n        (**(code **)(*piVar1 + 4))(piVar1);\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        (**(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 "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int *)param_1[1] != piVar2)" (( "(") (binary_expression "(int *)param_1[1] != piVar2" (cast_expression "(int *)param_1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "piVar2")) () ")")) (; ";")) (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (if_statement "if (piVar1 != (int *)0x0) {\n    FUN_001ac470(piVar1);\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    FUN_001ac470(piVar1);\n  }" ({ "{") (expression_statement "FUN_001ac470(piVar1);" (call_expression "FUN_001ac470(piVar1)" (identifier "FUN_001ac470") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void ~Input_group(Input_group * this, int __in_chrg) */

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

{
  type_1 *var_6;
  type_2 var_5;
  type_2 var_4;
  
  var_4 = (this->archives_).super__Vector_base<var_1::type_1*,var_2::allocator<var_1::type_1*>var_3>.
            _M_impl._M_start;
  var_5 = (this->archives_).super__Vector_base<var_1::type_1*,var_2::allocator<var_1::type_1*>var_3>.
            _M_impl._M_finish;
  if (var_4 != var_5) {
    do {
      var_6 = *var_4;
      if (var_6 != (type_1 *)0x0) {
        (*(var_6->super_Library_base)._vptr_Library_base[1])(var_6);
      }
      var_4 = var_4 + 1;
    } while ((this->archives_).super__Vector_base<var_1::type_1*,var_2::allocator<var_1::type_1*>var_3>.
             _M_impl._M_finish != var_4);
    var_5 = (this->archives_).super__Vector_base<var_1::type_1*,var_2::allocator<var_1::type_1*>var_3>.
              _M_impl._M_start;
  }
  if (var_5 != (type_2)0x0) {
    var_7(var_5);
  }
  return;
}


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

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

void MASKED(int *param_1)

{
  int *piVar1;
  int *piVar2;
  
  piVar2 = (int *)*param_1;
  piVar1 = (int *)param_1[1];
  if (piVar2 != piVar1) {
    do {
      piVar1 = (int *)*piVar2;
      if (piVar1 != (int *)0x0) {
        (**(code **)(*piVar1 + 4))(piVar1);
      }
      piVar2 = piVar2 + 1;
    } while ((int *)param_1[1] != piVar2);
    piVar1 = (int *)*param_1;
  }
  if (piVar1 != (int *)0x0) {
    FUN_001ac470(piVar1);
  }
  return;
}

