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

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

{
  pointer pSVar1;
  
  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",0x8eb,"set_needs_output_dynsym_entry");
  }
  if ((pSVar1[sym].field_0xb & 0x10) == 0) {
    pSVar1[sym].output_dynsym_index_ = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.h",0x727,"set_needs_output_dynsym_entry");
}



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

void FUN_00094fb0(int param_1,uint param_2)

{
  uint uVar1;
  int iVar2;
  
  iVar2 = *(int *)(param_1 + 0xdc);
  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;
  if (uVar1 <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);
  }
  iVar2 = iVar2 + param_2 * 0x10;
  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {
    *(undefined4 *)(iVar2 + 4) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x26d04a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [EAX + 0xdc]
MOV EAX,dword ptr [EAX + 0xe0]
SUB EAX,EDX
SAR EAX,0x4
CMP ECX,EAX
JNC 0x00094ff3
SHL ECX,0x4
ADD EDX,ECX
TEST byte ptr [EDX + 0xb],0x10
JNZ 0x0009500c
MOV dword ptr [EDX + 0x4],0x0
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0xfff23634]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff1801a]
PUSH 0x8eb
PUSH EAX
CALL 0x0005f0b0
PUSH EAX
LEA EAX,[EBX + 0xfff23614]
PUSH EAX
LEA EAX,[EBX + 0xfff1801a]
PUSH 0x727
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00094fb0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0xdc);\n  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;\n  if (uVar1 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }\n  iVar2 = iVar2 + param_2 * 0x10;\n  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);\n}\n\n" comment (function_definition "void FUN_00094fb0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0xdc);\n  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;\n  if (uVar1 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }\n  iVar2 = iVar2 + param_2 * 0x10;\n  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);\n}" primitive_type (function_declarator "FUN_00094fb0(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  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0xdc);\n  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;\n  if (uVar1 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }\n  iVar2 = iVar2 + param_2 * 0x10;\n  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(param_1 + 0xdc)" identifier = (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) ))))) ;) (expression_statement "uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;" (assignment_expression "uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4" identifier = (binary_expression "*(int *)(param_1 + 0xe0) - iVar2 >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - iVar2" (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) )))) - identifier) >> number_literal)) ;) (if_statement "if (uVar1 <= param_2) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }" if (parenthesized_expression "(uVar1 <= param_2)" ( (binary_expression "uVar1 <= param_2" identifier <= identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }" { comment (expression_statement "FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2)" identifier (argument_list "("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_needs_output_dynsym_entry"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = iVar2 + param_2 * 0x10;" (assignment_expression "iVar2 = iVar2 + param_2 * 0x10" identifier = (binary_expression "iVar2 + param_2 * 0x10" identifier + (binary_expression "param_2 * 0x10" identifier * number_literal))) ;) (if_statement "if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }" if (parenthesized_expression "((*(byte *)(iVar2 + 0xb) & 0x10) == 0)" ( (binary_expression "(*(byte *)(iVar2 + 0xb) & 0x10) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0xb) & 0x10)" ( (binary_expression "*(byte *)(iVar2 + 0xb) & 0x10" (pointer_expression "*(byte *)(iVar2 + 0xb)" * (cast_expression "(byte *)(iVar2 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb)" ( (binary_expression "iVar2 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1)" identifier (argument_list "("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_needs_output_dynsym_entry"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void set_needs_output_dynsym_entry(Sized_relobj_file<32,_false> * this,\n   uint sym) */\n\nvoid __thiscall\ngold::Sized_relobj_file<32,_false>::set_needs_output_dynsym_entry\n          (Sized_relobj_file<32,_false> *this,uint sym)\n\n{\n  pointer pSVar1;\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",0x8eb,"set_needs_output_dynsym_entry");\n  }\n  if ((pSVar1[sym].field_0xb & 0x10) == 0) {\n    pSVar1[sym].output_dynsym_index_ = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x727,"set_needs_output_dynsym_entry");\n}\n\n" comment comment (declaration "void __thiscall\ngold::Sized_relobj_file<32,_false>::set_needs_output_dynsym_entry\n          (Sized_relobj_file<32,_false> *this,uint sym)\n\n{\n  pointer pSVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::set_needs_output_dynsym_entry\n          (Sized_relobj_file<32,_false> *this,uint sym)\n\n{\n  pointer" identifier > : : (function_declarator "set_needs_output_dynsym_entry\n          (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 ;) (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",0x8eb,"set_needs_output_dynsym_entry");\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",0x8eb,"set_needs_output_dynsym_entry");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry");" (call_expression "do_gold_unreachable("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry")" identifier (argument_list "("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_needs_output_dynsym_entry"" " string_content ") ))) ;) })) (if_statement "if ((pSVar1[sym].field_0xb & 0x10) == 0) {\n    pSVar1[sym].output_dynsym_index_ = 0;\n    return;\n  }" if (parenthesized_expression "((pSVar1[sym].field_0xb & 0x10) == 0)" ( (binary_expression "(pSVar1[sym].field_0xb & 0x10) == 0" (parenthesized_expression "(pSVar1[sym].field_0xb & 0x10)" ( (binary_expression "pSVar1[sym].field_0xb & 0x10" (field_expression "pSVar1[sym].field_0xb" (subscript_expression "pSVar1[sym]" identifier [ identifier ]) . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    pSVar1[sym].output_dynsym_index_ = 0;\n    return;\n  }" { (expression_statement "pSVar1[sym].output_dynsym_index_ = 0;" (assignment_expression "pSVar1[sym].output_dynsym_index_ = 0" (field_expression "pSVar1[sym].output_dynsym_index_" (subscript_expression "pSVar1[sym]" identifier [ identifier ]) . field_identifier) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x727,"set_needs_output_dynsym_entry");" (call_expression "do_gold_unreachable("../../gold/object.h",0x727,"set_needs_output_dynsym_entry")" identifier (argument_list "("../../gold/object.h",0x727,"set_needs_output_dynsym_entry")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_needs_output_dynsym_entry"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00094fb0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0xdc);\n  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;\n  if (uVar1 <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }\n  iVar2 = iVar2 + param_2 * 0x10;\n  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);\n}\n\n" (function_definition "void FUN_00094fb0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0xdc);\n  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;\n  if (uVar1 <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }\n  iVar2 = iVar2 + param_2 * 0x10;\n  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);\n}" primitive_type (function_declarator "FUN_00094fb0(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  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0xdc);\n  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;\n  if (uVar1 <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }\n  iVar2 = iVar2 + param_2 * 0x10;\n  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(param_1 + 0xdc)" identifier = (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) ))))) ;) (expression_statement "uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;" (assignment_expression "uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4" identifier = (binary_expression "*(int *)(param_1 + 0xe0) - iVar2 >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - iVar2" (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) )))) - identifier) >> number_literal)) ;) (if_statement "if (uVar1 <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }" if (parenthesized_expression "(uVar1 <= param_2)" ( (binary_expression "uVar1 <= param_2" identifier <= identifier) )) (compound_statement "{\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }" { (expression_statement "FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2)" identifier (argument_list "("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_needs_output_dynsym_entry"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar2 = iVar2 + param_2 * 0x10;" (assignment_expression "iVar2 = iVar2 + param_2 * 0x10" identifier = (binary_expression "iVar2 + param_2 * 0x10" identifier + (binary_expression "param_2 * 0x10" identifier * number_literal))) ;) (if_statement "if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }" if (parenthesized_expression "((*(byte *)(iVar2 + 0xb) & 0x10) == 0)" ( (binary_expression "(*(byte *)(iVar2 + 0xb) & 0x10) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0xb) & 0x10)" ( (binary_expression "*(byte *)(iVar2 + 0xb) & 0x10" (pointer_expression "*(byte *)(iVar2 + 0xb)" * (cast_expression "(byte *)(iVar2 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xb)" ( (binary_expression "iVar2 + 0xb" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }" { (expression_statement "*(undefined4 *)(iVar2 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1)" identifier (argument_list "("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_needs_output_dynsym_entry"" " 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 ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= 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 = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00094fb0(int param_1,uint param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0xdc);\n  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;\n  if (uVar1 <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }\n  iVar2 = iVar2 + param_2 * 0x10;\n  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);\n}" (primitive_type "void") (function_declarator "FUN_00094fb0(int param_1,uint param_2)" (identifier "FUN_00094fb0") (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  uint uVar1;\n  int iVar2;\n  \n  iVar2 = *(int *)(param_1 + 0xdc);\n  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;\n  if (uVar1 <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }\n  iVar2 = iVar2 + param_2 * 0x10;\n  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0xdc);" (assignment_expression "iVar2 = *(int *)(param_1 + 0xdc)" (identifier "iVar2") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;" (assignment_expression "uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4" (identifier "uVar1") (= "=") (binary_expression "*(int *)(param_1 + 0xe0) - iVar2 >> 4" (binary_expression "*(int *)(param_1 + 0xe0) - iVar2" (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")) () ")")))) (- "-") (identifier "iVar2")) (>> ">>") (number_literal "4"))) (; ";")) (if_statement "if (uVar1 <= param_2) {\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }" (if "if") (parenthesized_expression "(uVar1 <= param_2)" (( "(") (binary_expression "uVar1 <= param_2" (identifier "uVar1") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n                    \n    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);\n  }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x8eb") (, ",") (string_literal ""set_needs_output_dynsym_entry"" (" """) (string_content "set_needs_output_dynsym_entry") (" """)) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + param_2 * 0x10;" (assignment_expression "iVar2 = iVar2 + param_2 * 0x10" (identifier "iVar2") (= "=") (binary_expression "iVar2 + param_2 * 0x10" (identifier "iVar2") (+ "+") (binary_expression "param_2 * 0x10" (identifier "param_2") (* "*") (number_literal "0x10")))) (; ";")) (if_statement "if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)(iVar2 + 0xb) & 0x10) == 0)" (( "(") (binary_expression "(*(byte *)(iVar2 + 0xb) & 0x10) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0xb) & 0x10)" (( "(") (binary_expression "*(byte *)(iVar2 + 0xb) & 0x10" (pointer_expression "*(byte *)(iVar2 + 0xb)" (* "*") (cast_expression "(byte *)(iVar2 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xb)" (( "(") (binary_expression "iVar2 + 0xb" (identifier "iVar2") (+ "+") (number_literal "0xb")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar2 + 4) = 0;\n    return;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);" (call_expression "FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x727") (, ",") (string_literal ""set_needs_output_dynsym_entry"" (" """) (string_content "set_needs_output_dynsym_entry") (" """)) (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}")))

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

void __thiscall
var_1::Sized_relobj_file<32,_false>::set_needs_output_dynsym_entry
          (Sized_relobj_file<32,_false> *this,uint var_4)

{
  pointer pSVar1;
  
  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 ((uint)((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",0x8eb,"set_needs_output_dynsym_entry");
  }
  if ((pSVar1[var_4].field_0xb & 0x10) == 0) {
    pSVar1[var_4].output_dynsym_index_ = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_5("../../gold/object.h",0x727,"set_needs_output_dynsym_entry");
}


(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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (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)

{
  uint uVar1;
  int iVar2;
  
  iVar2 = *(int *)(param_1 + 0xdc);
  uVar1 = *(int *)(param_1 + 0xe0) - iVar2 >> 4;
  if (uVar1 <= param_2) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/object.h",0x8eb,"set_needs_output_dynsym_entry",iVar2);
  }
  iVar2 = iVar2 + param_2 * 0x10;
  if ((*(byte *)(iVar2 + 0xb) & 0x10) == 0) {
    *(undefined4 *)(iVar2 + 4) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/object.h",0x727,"set_needs_output_dynsym_entry",uVar1);
}

