
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint finalize(Verneed * this, uint index) */

uint __thiscall gold::Verneed::finalize(Verneed *this,uint index)

{
  pointer ppVVar1;
  Verneed_version *pVVar2;
  pointer ppVVar3;
  
  ppVVar3 = (this->need_versions_).
            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.
            _M_impl._M_start;
  ppVVar1 = (this->need_versions_).
            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.
            _M_impl._M_finish;
  while( true ) {
    if (ppVVar3 == ppVVar1) {
      return index;
    }
    pVVar2 = *ppVVar3;
    if ((pVVar2->super_Version_base).index_ != 0xffffffff) break;
    ppVVar3 = ppVVar3 + 1;
    (pVVar2->super_Version_base).index_ = index;
    index = index + 1;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/dynobj.h",0x181,"set_index");
}



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

void FUN_001a2c80(int param_1,int param_2)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  
  piVar3 = *(int **)(param_1 + 4);
  piVar1 = *(int **)(param_1 + 8);
  while( true ) {
    if (piVar3 == piVar1) {
      return;
    }
    iVar2 = *piVar3;
    if (*(int *)(iVar2 + 4) != -1) break;
    piVar3 = piVar3 + 1;
    *(int *)(iVar2 + 4) = param_2;
    param_2 = param_2 + 1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1ec379
SUB ESP,0x4
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ECX + 0x4]
MOV ESI,dword ptr [ECX + 0x8]
CMP EDX,ESI
JZ 0x001a2cbd
LEA ESI,[ESI]
MOV ECX,dword ptr [EDX]
CMP dword ptr [ECX + 0x4],-0x1
JNZ 0x001a2cc3
ADD EDX,0x4
MOV dword ptr [ECX + 0x4],EAX
ADD EAX,0x1
CMP EDX,ESI
JNZ 0x001a2ca8
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfff0f8ac]
PUSH EAX
LEA EAX,[EBX + 0xffef8ef3]
PUSH 0x181
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001a2c80(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 4);\n  piVar1 = *(int **)(param_1 + 8);\n  while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");\n}\n\n" comment (function_definition "void FUN_001a2c80(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 4);\n  piVar1 = *(int **)(param_1 + 8);\n  while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");\n}" primitive_type (function_declarator "FUN_001a2c80(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 4);\n  piVar1 = *(int **)(param_1 + 8);\n  while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar3 = *(int **)(param_1 + 4);" (assignment_expression "piVar3 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_1 + 8);" (assignment_expression "piVar1 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }" { (if_statement "if (piVar3 == piVar1) {\n      return;\n    }" if (parenthesized_expression "(piVar3 == piVar1)" ( (binary_expression "piVar3 == piVar1" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (*(int *)(iVar2 + 4) != -1) break;" if (parenthesized_expression "(*(int *)(iVar2 + 4) != -1)" ( (binary_expression "*(int *)(iVar2 + 4) != -1" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar2 + 4) = param_2;" (assignment_expression "*(int *)(iVar2 + 4) = param_2" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) comment (expression_statement "FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");" (call_expression "FUN_00069d00("../../gold/dynobj.h",0x181,"set_index")" identifier (argument_list "("../../gold/dynobj.h",0x181,"set_index")" ( (string_literal ""../../gold/dynobj.h"" " string_content ") , number_literal , (string_literal ""set_index"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint finalize(Verneed * this, uint index) */\n\nuint __thiscall gold::Verneed::finalize(Verneed *this,uint index)\n\n{\n  pointer ppVVar1;\n  Verneed_version *pVVar2;\n  pointer ppVVar3;\n  \n  ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_start;\n  ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_finish;\n  while( true ) {\n    if (ppVVar3 == ppVVar1) {\n      return index;\n    }\n    pVVar2 = *ppVVar3;\n    if ((pVVar2->super_Version_base).index_ != 0xffffffff) break;\n    ppVVar3 = ppVVar3 + 1;\n    (pVVar2->super_Version_base).index_ = index;\n    index = index + 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/dynobj.h",0x181,"set_index");\n}\n\n" comment comment (function_definition "uint __thiscall gold::Verneed::finalize(Verneed *this,uint index)\n\n{\n  pointer ppVVar1;\n  Verneed_version *pVVar2;\n  pointer ppVVar3;\n  \n  ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_start;\n  ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_finish;\n  while( true ) {\n    if (ppVVar3 == ppVVar1) {\n      return index;\n    }\n    pVVar2 = *ppVVar3;\n    if ((pVVar2->super_Version_base).index_ != 0xffffffff) break;\n    ppVVar3 = ppVVar3 + 1;\n    (pVVar2->super_Version_base).index_ = index;\n    index = index + 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/dynobj.h",0x181,"set_index");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Verneed::" identifier : : identifier : :) (function_declarator "finalize(Verneed *this,uint index)" identifier (parameter_list "(Verneed *this,uint index)" ( (parameter_declaration "Verneed *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint index" type_identifier identifier) ))) (compound_statement "{\n  pointer ppVVar1;\n  Verneed_version *pVVar2;\n  pointer ppVVar3;\n  \n  ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_start;\n  ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_finish;\n  while( true ) {\n    if (ppVVar3 == ppVVar1) {\n      return index;\n    }\n    pVVar2 = *ppVVar3;\n    if ((pVVar2->super_Version_base).index_ != 0xffffffff) break;\n    ppVVar3 = ppVVar3 + 1;\n    (pVVar2->super_Version_base).index_ = index;\n    index = index + 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/dynobj.h",0x181,"set_index");\n}" { (declaration "pointer ppVVar1;" type_identifier identifier ;) (declaration "Verneed_version *pVVar2;" type_identifier (pointer_declarator "*pVVar2" * identifier) ;) (declaration "pointer ppVVar3;" type_identifier identifier ;) (expression_statement "ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_start;" (field_expression "ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_start" (field_expression "ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl" (binary_expression "ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_" (binary_expression "ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold" (binary_expression "ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std" (assignment_expression "ppVVar3 = (this->need_versions_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->need_versions_).\n            super__Vector_base<gold" (field_expression "(this->need_versions_).\n            super__Vector_base" (parenthesized_expression "(this->need_versions_)" ( (field_expression "this->need_versions_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Verneed_version" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Verneed_version" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_finish;" (field_expression "ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl._M_finish" (field_expression "ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_>.\n            _M_impl" (binary_expression "ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold::Verneed_version*>_" (binary_expression "ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std::allocator<gold" (binary_expression "ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold::Verneed_version*,_std" (assignment_expression "ppVVar1 = (this->need_versions_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->need_versions_).\n            super__Vector_base<gold" (field_expression "(this->need_versions_).\n            super__Vector_base" (parenthesized_expression "(this->need_versions_)" ( (field_expression "this->need_versions_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Verneed_version" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Verneed_version" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (while_statement "while( true ) {\n    if (ppVVar3 == ppVVar1) {\n      return index;\n    }\n    pVVar2 = *ppVVar3;\n    if ((pVVar2->super_Version_base).index_ != 0xffffffff) break;\n    ppVVar3 = ppVVar3 + 1;\n    (pVVar2->super_Version_base).index_ = index;\n    index = index + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (ppVVar3 == ppVVar1) {\n      return index;\n    }\n    pVVar2 = *ppVVar3;\n    if ((pVVar2->super_Version_base).index_ != 0xffffffff) break;\n    ppVVar3 = ppVVar3 + 1;\n    (pVVar2->super_Version_base).index_ = index;\n    index = index + 1;\n  }" { (if_statement "if (ppVVar3 == ppVVar1) {\n      return index;\n    }" if (parenthesized_expression "(ppVVar3 == ppVVar1)" ( (binary_expression "ppVVar3 == ppVVar1" identifier == identifier) )) (compound_statement "{\n      return index;\n    }" { (return_statement "return index;" return identifier ;) })) (expression_statement "pVVar2 = *ppVVar3;" (assignment_expression "pVVar2 = *ppVVar3" identifier = (pointer_expression "*ppVVar3" * identifier)) ;) (if_statement "if ((pVVar2->super_Version_base).index_ != 0xffffffff) break;" if (parenthesized_expression "((pVVar2->super_Version_base).index_ != 0xffffffff)" ( (binary_expression "(pVVar2->super_Version_base).index_ != 0xffffffff" (field_expression "(pVVar2->super_Version_base).index_" (parenthesized_expression "(pVVar2->super_Version_base)" ( (field_expression "pVVar2->super_Version_base" identifier -> field_identifier) )) . field_identifier) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "ppVVar3 = ppVVar3 + 1;" (assignment_expression "ppVVar3 = ppVVar3 + 1" identifier = (binary_expression "ppVVar3 + 1" identifier + number_literal)) ;) (expression_statement "(pVVar2->super_Version_base).index_ = index;" (assignment_expression "(pVVar2->super_Version_base).index_ = index" (field_expression "(pVVar2->super_Version_base).index_" (parenthesized_expression "(pVVar2->super_Version_base)" ( (field_expression "pVVar2->super_Version_base" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "index = index + 1;" (assignment_expression "index = index + 1" identifier = (binary_expression "index + 1" identifier + number_literal)) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/dynobj.h",0x181,"set_index");" (call_expression "do_gold_unreachable("../../gold/dynobj.h",0x181,"set_index")" identifier (argument_list "("../../gold/dynobj.h",0x181,"set_index")" ( (string_literal ""../../gold/dynobj.h"" " string_content ") , number_literal , (string_literal ""set_index"" " string_content ") ))) ;) })))
(translation_unit "void FUN_001a2c80(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 4);\n  piVar1 = *(int **)(param_1 + 8);\n  while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }\n                    \n  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");\n}\n\n" (function_definition "void FUN_001a2c80(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 4);\n  piVar1 = *(int **)(param_1 + 8);\n  while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }\n                    \n  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");\n}" primitive_type (function_declarator "FUN_001a2c80(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 4);\n  piVar1 = *(int **)(param_1 + 8);\n  while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }\n                    \n  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar3 = *(int **)(param_1 + 4);" (assignment_expression "piVar3 = *(int **)(param_1 + 4)" identifier = (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(param_1 + 8);" (assignment_expression "piVar1 = *(int **)(param_1 + 8)" identifier = (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (while_statement "while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }" { (if_statement "if (piVar3 == piVar1) {\n      return;\n    }" if (parenthesized_expression "(piVar3 == piVar1)" ( (binary_expression "piVar3 == piVar1" identifier == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (*(int *)(iVar2 + 4) != -1) break;" if (parenthesized_expression "(*(int *)(iVar2 + 4) != -1)" ( (binary_expression "*(int *)(iVar2 + 4) != -1" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar2 + 4) = param_2;" (assignment_expression "*(int *)(iVar2 + 4) = param_2" (pointer_expression "*(int *)(iVar2 + 4)" * (cast_expression "(int *)(iVar2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (expression_statement "FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");" (call_expression "FUN_00069d00("../../gold/dynobj.h",0x181,"set_index")" identifier (argument_list "("../../gold/dynobj.h",0x181,"set_index")" ( (string_literal ""../../gold/dynobj.h"" " string_content ") , number_literal , (string_literal ""set_index"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_001a2c80(int param_1,int param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 4);\n  piVar1 = *(int **)(param_1 + 8);\n  while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }\n                    \n  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");\n}" (primitive_type "void") (function_declarator "FUN_001a2c80(int param_1,int param_2)" (identifier "FUN_001a2c80") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 4);\n  piVar1 = *(int **)(param_1 + 8);\n  while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }\n                    \n  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (expression_statement "piVar3 = *(int **)(param_1 + 4);" (assignment_expression "piVar3 = *(int **)(param_1 + 4)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(param_1 + 8);" (assignment_expression "piVar1 = *(int **)(param_1 + 8)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (while_statement "while( true ) {\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (piVar3 == piVar1) {\n      return;\n    }\n    iVar2 = *piVar3;\n    if (*(int *)(iVar2 + 4) != -1) break;\n    piVar3 = piVar3 + 1;\n    *(int *)(iVar2 + 4) = param_2;\n    param_2 = param_2 + 1;\n  }" ({ "{") (if_statement "if (piVar3 == piVar1) {\n      return;\n    }" (if "if") (parenthesized_expression "(piVar3 == piVar1)" (( "(") (binary_expression "piVar3 == piVar1" (identifier "piVar3") (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = *piVar3;" (assignment_expression "iVar2 = *piVar3" (identifier "iVar2") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 4) != -1) break;" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 4) != -1)" (( "(") (binary_expression "*(int *)(iVar2 + 4) != -1" (pointer_expression "*(int *)(iVar2 + 4)" (* "*") (cast_expression "(int *)(iVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(iVar2 + 4) = param_2;" (assignment_expression "*(int *)(iVar2 + 4) = param_2" (pointer_expression "*(int *)(iVar2 + 4)" (* "*") (cast_expression "(int *)(iVar2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");" (call_expression "FUN_00069d00("../../gold/dynobj.h",0x181,"set_index")" (identifier "FUN_00069d00") (argument_list "("../../gold/dynobj.h",0x181,"set_index")" (( "(") (string_literal ""../../gold/dynobj.h"" (" """) (string_content "../../gold/dynobj.h") (" """)) (, ",") (number_literal "0x181") (, ",") (string_literal ""set_index"" (" """) (string_content "set_index") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint finalize(Verneed * this, uint index) */

type_1 __thiscall var_1::type_2::function_1(type_2 *this,type_1 var_6)

{
  type_3 var_5;
  type_4 *pVVar2;
  type_3 var_4;
  
  var_4 = (this->need_versions_).
            super__Vector_base<var_1::type_4*,var_2::allocator<var_1::type_4*>var_3>.
            _M_impl._M_start;
  var_5 = (this->need_versions_).
            super__Vector_base<var_1::type_4*,var_2::allocator<var_1::type_4*>var_3>.
            _M_impl._M_finish;
  while( true ) {
    if (var_4 == var_5) {
      return var_6;
    }
    pVVar2 = *var_4;
    if ((pVVar2->super_Version_base).index_ != 0xffffffff) break;
    var_4 = var_4 + 1;
    (pVVar2->super_Version_base).index_ = var_6;
    var_6 = var_6 + 1;
  }
                    /* WARNING: Subroutine does not return */
  var_7("../../gold/dynobj.h",0x181,"set_index");
}


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

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

void MASKED(int param_1,int param_2)

{
  int *piVar1;
  int iVar2;
  int *piVar3;
  
  piVar3 = *(int **)(param_1 + 4);
  piVar1 = *(int **)(param_1 + 8);
  while( true ) {
    if (piVar3 == piVar1) {
      return;
    }
    iVar2 = *piVar3;
    if (*(int *)(iVar2 + 4) != -1) break;
    piVar3 = piVar3 + 1;
    *(int *)(iVar2 + 4) = param_2;
    param_2 = param_2 + 1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/dynobj.h",0x181,"set_index");
}

