
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint dynsym_index(Sized_relobj_file<32,_false> * this, uint sym) */

uint __thiscall
gold::Sized_relobj_file<32,_false>::dynsym_index(Sized_relobj_file<32,_false> *this,uint sym)

{
  pointer pSVar1;
  uint uVar2;
  
  pSVar1 = (this->local_values_).
           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.
           _M_impl._M_start;
  if ((uint)((int)(this->local_values_).
                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>
                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= sym) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");
  }
  uVar2 = pSVar1[sym].output_dynsym_index_;
  if (uVar2 - 1 < 0xfffffffe) {
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.h",0x74a,"output_dynsym_index");
}



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

void FUN_00094e40(int param_1,uint param_2)

{
  int iVar1;
  
  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);
  }
  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);
  if (iVar1 - 1U < 0xfffffffe) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x26d1ba
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [EAX + 0xdc]
MOV EAX,dword ptr [EAX + 0xe0]
SUB EAX,ECX
SAR EAX,0x4
CMP EDX,EAX
JNC 0x00094e80
SHL EDX,0x4
MOV EAX,dword ptr [ECX + EDX*0x1 + 0x4]
LEA EDX,[EAX + -0x1]
CMP EDX,-0x3
JA 0x00094e99
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0xfff236f4]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff1801a]
PUSH 0x8d3
PUSH EAX
CALL 0x0005f0b0
PUSH EAX
LEA EAX,[EBX + 0xfff236e0]
PUSH EAX
LEA EAX,[EBX + 0xfff1801a]
PUSH 0x74a
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00094e40(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);\n  if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);\n}\n\n" comment (function_definition "void FUN_00094e40(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);\n  if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);\n}" primitive_type (function_declarator "FUN_00094e40(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);\n  if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }" if (parenthesized_expression "((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2)" ( (binary_expression "(uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2" (call_expression "(uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4)" ( (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc)" (pointer_expression "*(int *)(param_1 + 0xe0)" * (cast_expression "(int *)(param_1 + 0xe0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0xdc)" * (cast_expression "(int *)(param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) ))))) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }" { comment (expression_statement "FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2)" identifier (argument_list "("../../gold/object.h",0x8d3,"dynsym_index",param_2)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""dynsym_index"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" ( (binary_expression "*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10" (binary_expression "*(int *)(param_1 + 0xdc) + 4" (pointer_expression "*(int *)(param_1 + 0xdc)" * (cast_expression "(int *)(param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) )))) + number_literal) + (binary_expression "param_2 * 0x10" identifier * number_literal)) ))))) ;) (if_statement "if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }" if (parenthesized_expression "(iVar1 - 1U < 0xfffffffe)" ( (binary_expression "iVar1 - 1U < 0xfffffffe" (binary_expression "iVar1 - 1U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1)" identifier (argument_list "("../../gold/object.h",0x74a,"output_dynsym_index",iVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""output_dynsym_index"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: uint dynsym_index(Sized_relobj_file<32,_false> * this, uint sym) */\n\nuint __thiscall\ngold::Sized_relobj_file<32,_false>::dynsym_index(Sized_relobj_file<32,_false> *this,uint sym)\n\n{\n  pointer pSVar1;\n  uint uVar2;\n  \n  pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start;\n  if ((uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= sym) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");\n  }\n  uVar2 = pSVar1[sym].output_dynsym_index_;\n  if (uVar2 - 1 < 0xfffffffe) {\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x74a,"output_dynsym_index");\n}\n\n" comment comment (declaration "uint __thiscall\ngold::Sized_relobj_file<32,_false>::dynsym_index(Sized_relobj_file<32,_false> *this,uint sym)\n\n{\n  pointer pSVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::dynsym_index(Sized_relobj_file<32,_false> *this,uint sym)\n\n{\n  pointer" identifier > : : (function_declarator "dynsym_index(Sized_relobj_file<32,_false> *this,uint sym)" identifier (parameter_list "(Sized_relobj_file<32,_false> *this,uint sym)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint sym" type_identifier identifier) ))) { identifier) identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start;" (field_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl._M_start" (field_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>.\n           _M_impl" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32>,_std" (binary_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold::Symbol_value<32" (assignment_expression "pSVar1 = (this->local_values_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->local_values_).\n           super__Vector_base<gold" (field_expression "(this->local_values_).\n           super__Vector_base" (parenthesized_expression "(this->local_values_)" ( (field_expression "this->local_values_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Symbol_value" : : identifier) < number_literal) > (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if ((uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= sym) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");\n  }" if (parenthesized_expression "((uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= sym)" ( (binary_expression "(uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= sym" (call_expression "(uint)((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4)" ( (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1 >> 4" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish - (int)pSVar1" (field_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl._M_finish" (field_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_>\n                  ._M_impl" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_>_" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32>_" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold::Symbol_value<32" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std::allocator<gold" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32>,_std" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold::Symbol_value<32" (binary_expression "(int)(this->local_values_).\n                  super__Vector_base<gold" (cast_expression "(int)(this->local_values_).\n                  super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->local_values_).\n                  super__Vector_base" (parenthesized_expression "(this->local_values_)" ( (field_expression "this->local_values_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_value" : : identifier) < number_literal) > identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(int)pSVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index");" (call_expression "do_gold_unreachable("../../gold/object.h",0x8d3,"dynsym_index")" identifier (argument_list "("../../gold/object.h",0x8d3,"dynsym_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""dynsym_index"" " string_content ") ))) ;) })) (expression_statement "uVar2 = pSVar1[sym].output_dynsym_index_;" (assignment_expression "uVar2 = pSVar1[sym].output_dynsym_index_" identifier = (field_expression "pSVar1[sym].output_dynsym_index_" (subscript_expression "pSVar1[sym]" identifier [ identifier ]) . field_identifier)) ;) (if_statement "if (uVar2 - 1 < 0xfffffffe) {\n    return uVar2;\n  }" if (parenthesized_expression "(uVar2 - 1 < 0xfffffffe)" ( (binary_expression "uVar2 - 1 < 0xfffffffe" (binary_expression "uVar2 - 1" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return uVar2;\n  }" { (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x74a,"output_dynsym_index");" (call_expression "do_gold_unreachable("../../gold/object.h",0x74a,"output_dynsym_index")" identifier (argument_list "("../../gold/object.h",0x74a,"output_dynsym_index")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""output_dynsym_index"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00094e40(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);\n  if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);\n}\n\n" (function_definition "void FUN_00094e40(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);\n  if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);\n}" primitive_type (function_declarator "FUN_00094e40(int param_1,uint param_2)" identifier (parameter_list "(int param_1,uint param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);\n  if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }" if (parenthesized_expression "((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2)" ( (binary_expression "(uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2" (call_expression "(uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4)" ( (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc)" (pointer_expression "*(int *)(param_1 + 0xe0)" * (cast_expression "(int *)(param_1 + 0xe0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe0)" ( (binary_expression "param_1 + 0xe0" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0xdc)" * (cast_expression "(int *)(param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) ))))) >> number_literal) ))) <= identifier) )) (compound_statement "{\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }" { (expression_statement "FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2)" identifier (argument_list "("../../gold/object.h",0x8d3,"dynsym_index",param_2)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""dynsym_index"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" * (cast_expression "(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" ( (binary_expression "*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10" (binary_expression "*(int *)(param_1 + 0xdc) + 4" (pointer_expression "*(int *)(param_1 + 0xdc)" * (cast_expression "(int *)(param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xdc)" ( (binary_expression "param_1 + 0xdc" identifier + number_literal) )))) + number_literal) + (binary_expression "param_2 * 0x10" identifier * number_literal)) ))))) ;) (if_statement "if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }" if (parenthesized_expression "(iVar1 - 1U < 0xfffffffe)" ( (binary_expression "iVar1 - 1U < 0xfffffffe" (binary_expression "iVar1 - 1U" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1)" identifier (argument_list "("../../gold/object.h",0x74a,"output_dynsym_index",iVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""output_dynsym_index"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) ))) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00094e40(int param_1,uint param_2)\n\n{\n  int iVar1;\n  \n  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);\n  if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);\n}" (primitive_type "void") (function_declarator "FUN_00094e40(int param_1,uint param_2)" (identifier "FUN_00094e40") (parameter_list "(int param_1,uint param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }\n  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);\n  if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }" (if "if") (parenthesized_expression "((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2)" (( "(") (binary_expression "(uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2" (call_expression "(uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc)" (pointer_expression "*(int *)(param_1 + 0xe0)" (* "*") (cast_expression "(int *)(param_1 + 0xe0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe0)" (( "(") (binary_expression "param_1 + 0xe0" (identifier "param_1") (+ "+") (number_literal "0xe0")) () ")")))) (- "-") (pointer_expression "*(int *)(param_1 + 0xdc)" (* "*") (cast_expression "(int *)(param_1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdc)" (( "(") (binary_expression "param_1 + 0xdc" (identifier "param_1") (+ "+") (number_literal "0xdc")) () ")"))))) (>> ">>") (number_literal "4")) () ")"))) (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);\n  }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/object.h",0x8d3,"dynsym_index",param_2)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x8d3") (, ",") (string_literal ""dynsym_index"" (" """) (string_content "dynsym_index") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);" (assignment_expression "iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10)" (( "(") (binary_expression "*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10" (binary_expression "*(int *)(param_1 + 0xdc) + 4" (pointer_expression "*(int *)(param_1 + 0xdc)" (* "*") (cast_expression "(int *)(param_1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xdc)" (( "(") (binary_expression "param_1 + 0xdc" (identifier "param_1") (+ "+") (number_literal "0xdc")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (binary_expression "param_2 * 0x10" (identifier "param_2") (* "*") (number_literal "0x10"))) () ")"))))) (; ";")) (if_statement "if (iVar1 - 1U < 0xfffffffe) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 - 1U < 0xfffffffe)" (( "(") (binary_expression "iVar1 - 1U < 0xfffffffe" (binary_expression "iVar1 - 1U" (identifier "iVar1") (- "-") (number_literal "1U")) (< "<") (number_literal "0xfffffffe")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/object.h",0x74a,"output_dynsym_index",iVar1)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x74a") (, ",") (string_literal ""output_dynsym_index"" (" """) (string_content "output_dynsym_index") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: uint dynsym_index(Sized_relobj_file<32,_false> * this, uint sym) */

type_1 __thiscall
var_1::Sized_relobj_file<32,_false>::dynsym_index(Sized_relobj_file<32,_false> *this,type_1 var_4)

{
  pointer pSVar1;
  type_1 var_6;
  
  pSVar1 = (this->local_values_).
           super__Vector_base<var_1::Symbol_value<32>,var_2::allocator<var_1::Symbol_value<32>var_3>var_3>.
           _M_impl._M_start;
  if ((type_1)((int)(this->local_values_).
                  super__Vector_base<var_1::Symbol_value<32>,var_2::allocator<var_1::Symbol_value<32>var_3>var_3>
                  ._M_impl._M_finish - (int)pSVar1 >> 4) <= var_4) {
                    /* WARNING: Subroutine does not return */
    var_5("../../gold/object.h",0x8d3,"dynsym_index");
  }
  var_6 = pSVar1[var_4].output_dynsym_index_;
  if (var_6 - 1 < 0xfffffffe) {
    return var_6;
  }
                    /* WARNING: Subroutine does not return */
  var_5("../../gold/object.h",0x74a,"output_dynsym_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: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (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: (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)))) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void MASKED(int param_1,uint param_2)

{
  int iVar1;
  
  if ((uint)(*(int *)(param_1 + 0xe0) - *(int *)(param_1 + 0xdc) >> 4) <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/object.h",0x8d3,"dynsym_index",param_2);
  }
  iVar1 = *(int *)(*(int *)(param_1 + 0xdc) + 4 + param_2 * 0x10);
  if (iVar1 - 1U < 0xfffffffe) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/object.h",0x74a,"output_dynsym_index",iVar1);
}

