
/* DWARF original prototype: Symbol * global_symbol(Sized_relobj_file<32,_false> * this, uint sym)
    */

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

{
  pointer ppSVar1;
  ulong uVar2;
  
  if (sym < this->local_symbol_count_) {
    return (Symbol *)0x0;
  }
  uVar2 = (ulong)(sym - this->local_symbol_count_);
  ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.
            _M_impl._M_start;
  if (uVar2 < (ulong)((long)(this->symbols_).
                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.
                            _M_impl._M_finish - (long)ppSVar1 >> 3)) {
    return ppSVar1[uVar2];
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.h",0x8ad,"global_symbol");
}



undefined8 FUN_001c15c0(long param_1,uint param_2)

{
  ulong uVar1;
  
  if (param_2 < *(uint *)(param_1 + 0x120)) {
    return 0;
  }
  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));
  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {
    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");
}


MOV EAX,dword ptr [RDI + 0x120]
CMP EAX,ESI
JA 0x001c15f0
SUB ESI,EAX
MOV RDX,qword ptr [RDI + 0x130]
MOV RAX,qword ptr [RDI + 0x138]
SUB RAX,RDX
SAR RAX,0x3
CMP RSI,RAX
JNC 0x001c15f3
MOV RAX,qword ptr [RDX + RSI*0x8]
RET
XOR EAX,EAX
RET
PUSH RAX
LEA RDX,[0x379680]
MOV ESI,0x8ad
LEA RDI,[0x36b016]
CALL 0x0017c650
(translation_unit "undefined8 FUN_001c15c0(long param_1,uint param_2)\n\n{\n  ulong uVar1;\n  \n  if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }\n  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));\n  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");\n}\n\n" (function_definition "undefined8 FUN_001c15c0(long param_1,uint param_2)\n\n{\n  ulong uVar1;\n  \n  if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }\n  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));\n  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");\n}" type_identifier (function_declarator "FUN_001c15c0(long param_1,uint param_2)" identifier (parameter_list "(long param_1,uint param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }\n  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));\n  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 < *(uint *)(param_1 + 0x120))" ( (binary_expression "param_2 < *(uint *)(param_1 + 0x120)" identifier < (pointer_expression "*(uint *)(param_1 + 0x120)" * (cast_expression "(uint *)(param_1 + 0x120)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));" (assignment_expression "uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120))" identifier = (call_expression "(ulong)(param_2 - *(uint *)(param_1 + 0x120))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_2 - *(uint *)(param_1 + 0x120))" ( (binary_expression "param_2 - *(uint *)(param_1 + 0x120)" identifier - (pointer_expression "*(uint *)(param_1 + 0x120)" * (cast_expression "(uint *)(param_1 + 0x120)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) ))))) )))) ;) (if_statement "if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }" if (parenthesized_expression "(uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3))" ( (binary_expression "uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" identifier < (call_expression "(ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" ( (binary_expression "*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3" (binary_expression "*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130)" (pointer_expression "*(long *)(param_1 + 0x138)" * (cast_expression "(long *)(param_1 + 0x138)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x138)" ( (binary_expression "param_1 + 0x138" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_1 + 0x130)" * (cast_expression "(long *)(param_1 + 0x130)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) >> number_literal) )))) )) (compound_statement "{\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }" { (return_statement "return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);" return (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x130) + uVar1 * 8)" ( (binary_expression "*(long *)(param_1 + 0x130) + uVar1 * 8" (pointer_expression "*(long *)(param_1 + 0x130)" * (cast_expression "(long *)(param_1 + 0x130)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) )))) + (binary_expression "uVar1 * 8" identifier * number_literal)) )))) ;) })) comment (expression_statement "FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol")" identifier (argument_list "("../../gold/object.h",0x8ad,"global_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""global_symbol"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: Symbol * global_symbol(Sized_relobj_file<32,_false> * this, uint sym)\n    */\n\nSymbol * __thiscall\ngold::Sized_relobj_file<32,_false>::global_symbol(Sized_relobj_file<32,_false> *this,uint sym)\n\n{\n  pointer ppSVar1;\n  ulong uVar2;\n  \n  if (sym < this->local_symbol_count_) {\n    return (Symbol *)0x0;\n  }\n  uVar2 = (ulong)(sym - this->local_symbol_count_);\n  ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n            _M_impl._M_start;\n  if (uVar2 < (ulong)((long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1 >> 3)) {\n    return ppSVar1[uVar2];\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x8ad,"global_symbol");\n}\n\n" comment (ERROR "Symbol * __thiscall\ngold::Sized_relobj_file<32,_false>::global_symbol(Sized_relobj_file<32,_false> *this,uint sym)" (binary_expression "Symbol * __thiscall\ngold::Sized_relobj_file<32,_false>::global_symbol(Sized_relobj_file<32,_false> *this,uint sym)" (binary_expression "Symbol * __thiscall\ngold::Sized_relobj_file<32" (binary_expression "Symbol * __thiscall" identifier * identifier) (ERROR "gold::Sized_relobj_file" identifier : : identifier) < number_literal) (ERROR ",_false" , identifier) > (ERROR "::" : :) (call_expression "global_symbol(Sized_relobj_file<32,_false> *this,uint sym)" identifier (argument_list "(Sized_relobj_file<32,_false> *this,uint sym)" ( (binary_expression "Sized_relobj_file<32" identifier < number_literal) , (binary_expression "_false> *this" identifier > (pointer_expression "*this" * identifier)) , identifier (ERROR "sym" identifier) ))))) (compound_statement "{\n  pointer ppSVar1;\n  ulong uVar2;\n  \n  if (sym < this->local_symbol_count_) {\n    return (Symbol *)0x0;\n  }\n  uVar2 = (ulong)(sym - this->local_symbol_count_);\n  ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n            _M_impl._M_start;\n  if (uVar2 < (ulong)((long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1 >> 3)) {\n    return ppSVar1[uVar2];\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x8ad,"global_symbol");\n}" { (declaration "pointer ppSVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (if_statement "if (sym < this->local_symbol_count_) {\n    return (Symbol *)0x0;\n  }" if (parenthesized_expression "(sym < this->local_symbol_count_)" ( (binary_expression "sym < this->local_symbol_count_" identifier < (field_expression "this->local_symbol_count_" identifier -> field_identifier)) )) (compound_statement "{\n    return (Symbol *)0x0;\n  }" { (return_statement "return (Symbol *)0x0;" return (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "uVar2 = (ulong)(sym - this->local_symbol_count_);" (assignment_expression "uVar2 = (ulong)(sym - this->local_symbol_count_)" identifier = (call_expression "(ulong)(sym - this->local_symbol_count_)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(sym - this->local_symbol_count_)" ( (binary_expression "sym - this->local_symbol_count_" identifier - (field_expression "this->local_symbol_count_" identifier -> field_identifier)) )))) ;) (expression_statement "ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n            _M_impl._M_start;" (field_expression "ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n            _M_impl._M_start" (field_expression "ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n            _M_impl" (binary_expression "ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "ppSVar1 = (this->symbols_).super__Vector_base<gold::Symbol*,_std" (assignment_expression "ppSVar1 = (this->symbols_).super__Vector_base<gold" identifier = (binary_expression "(this->symbols_).super__Vector_base<gold" (field_expression "(this->symbols_).super__Vector_base" (parenthesized_expression "(this->symbols_)" ( (field_expression "this->symbols_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (uVar2 < (ulong)((long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1 >> 3)) {\n    return ppSVar1[uVar2];\n  }" if (parenthesized_expression "(uVar2 < (ulong)((long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1 >> 3))" ( (binary_expression "uVar2 < (ulong)((long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1 >> 3)" identifier < (call_expression "(ulong)((long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1 >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1 >> 3)" ( (binary_expression "(long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1 >> 3" (binary_expression "(long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish - (long)ppSVar1" (field_expression "(long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl._M_finish" (field_expression "(long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_>.\n                            _M_impl" (binary_expression "(long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold::Symbol*>_" (binary_expression "(long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std::allocator<gold" (binary_expression "(long)(this->symbols_).\n                            super__Vector_base<gold::Symbol*,_std" (binary_expression "(long)(this->symbols_).\n                            super__Vector_base<gold" (cast_expression "(long)(this->symbols_).\n                            super__Vector_base" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->symbols_).\n                            super__Vector_base" (parenthesized_expression "(this->symbols_)" ( (field_expression "this->symbols_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(long)ppSVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    return ppSVar1[uVar2];\n  }" { (return_statement "return ppSVar1[uVar2];" return (subscript_expression "ppSVar1[uVar2]" identifier [ identifier ]) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x8ad,"global_symbol");" (call_expression "do_gold_unreachable("../../gold/object.h",0x8ad,"global_symbol")" identifier (argument_list "("../../gold/object.h",0x8ad,"global_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""global_symbol"" " string_content ") ))) ;) }))
(translation_unit "undefined8 FUN_001c15c0(long param_1,uint param_2)\n\n{\n  ulong uVar1;\n  \n  if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }\n  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));\n  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");\n}\n\n" (function_definition "undefined8 FUN_001c15c0(long param_1,uint param_2)\n\n{\n  ulong uVar1;\n  \n  if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }\n  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));\n  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");\n}" type_identifier (function_declarator "FUN_001c15c0(long param_1,uint param_2)" identifier (parameter_list "(long param_1,uint param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }\n  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));\n  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 < *(uint *)(param_1 + 0x120))" ( (binary_expression "param_2 < *(uint *)(param_1 + 0x120)" identifier < (pointer_expression "*(uint *)(param_1 + 0x120)" * (cast_expression "(uint *)(param_1 + 0x120)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));" (assignment_expression "uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120))" identifier = (call_expression "(ulong)(param_2 - *(uint *)(param_1 + 0x120))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_2 - *(uint *)(param_1 + 0x120))" ( (binary_expression "param_2 - *(uint *)(param_1 + 0x120)" identifier - (pointer_expression "*(uint *)(param_1 + 0x120)" * (cast_expression "(uint *)(param_1 + 0x120)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x120)" ( (binary_expression "param_1 + 0x120" identifier + number_literal) ))))) )))) ;) (if_statement "if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }" if (parenthesized_expression "(uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3))" ( (binary_expression "uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" identifier < (call_expression "(ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" ( (binary_expression "*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3" (binary_expression "*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130)" (pointer_expression "*(long *)(param_1 + 0x138)" * (cast_expression "(long *)(param_1 + 0x138)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x138)" ( (binary_expression "param_1 + 0x138" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_1 + 0x130)" * (cast_expression "(long *)(param_1 + 0x130)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) >> number_literal) )))) )) (compound_statement "{\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }" { (return_statement "return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);" return (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x130) + uVar1 * 8)" ( (binary_expression "*(long *)(param_1 + 0x130) + uVar1 * 8" (pointer_expression "*(long *)(param_1 + 0x130)" * (cast_expression "(long *)(param_1 + 0x130)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) )))) + (binary_expression "uVar1 * 8" identifier * number_literal)) )))) ;) })) (expression_statement "FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol")" identifier (argument_list "("../../gold/object.h",0x8ad,"global_symbol")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""global_symbol"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) )))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined8 FUN_001c15c0(long param_1,uint param_2)\n\n{\n  ulong uVar1;\n  \n  if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }\n  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));\n  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");\n}" (type_identifier "undefined8") (function_declarator "FUN_001c15c0(long param_1,uint param_2)" (identifier "FUN_001c15c0") (parameter_list "(long param_1,uint param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  ulong uVar1;\n  \n  if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }\n  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));\n  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }\n                    \n  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (if_statement "if (param_2 < *(uint *)(param_1 + 0x120)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 < *(uint *)(param_1 + 0x120))" (( "(") (binary_expression "param_2 < *(uint *)(param_1 + 0x120)" (identifier "param_2") (< "<") (pointer_expression "*(uint *)(param_1 + 0x120)" (* "*") (cast_expression "(uint *)(param_1 + 0x120)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x120)" (( "(") (binary_expression "param_1 + 0x120" (identifier "param_1") (+ "+") (number_literal "0x120")) () ")"))))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));" (assignment_expression "uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120))" (identifier "uVar1") (= "=") (call_expression "(ulong)(param_2 - *(uint *)(param_1 + 0x120))" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(param_2 - *(uint *)(param_1 + 0x120))" (( "(") (binary_expression "param_2 - *(uint *)(param_1 + 0x120)" (identifier "param_2") (- "-") (pointer_expression "*(uint *)(param_1 + 0x120)" (* "*") (cast_expression "(uint *)(param_1 + 0x120)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x120)" (( "(") (binary_expression "param_1 + 0x120" (identifier "param_1") (+ "+") (number_literal "0x120")) () ")"))))) () ")")))) (; ";")) (if_statement "if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }" (if "if") (parenthesized_expression "(uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3))" (( "(") (binary_expression "uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" (identifier "uVar1") (< "<") (call_expression "(ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)" (( "(") (binary_expression "*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3" (binary_expression "*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130)" (pointer_expression "*(long *)(param_1 + 0x138)" (* "*") (cast_expression "(long *)(param_1 + 0x138)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x138)" (( "(") (binary_expression "param_1 + 0x138" (identifier "param_1") (+ "+") (number_literal "0x138")) () ")")))) (- "-") (pointer_expression "*(long *)(param_1 + 0x130)" (* "*") (cast_expression "(long *)(param_1 + 0x130)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x130)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")"))))) (>> ">>") (number_literal "3")) () ")")))) () ")")) (compound_statement "{\n    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);\n  }" ({ "{") (return_statement "return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);" (return "return") (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8)" (* "*") (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x130) + uVar1 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x130) + uVar1 * 8" (pointer_expression "*(long *)(param_1 + 0x130)" (* "*") (cast_expression "(long *)(param_1 + 0x130)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x130)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")")))) (+ "+") (binary_expression "uVar1 * 8" (identifier "uVar1") (* "*") (number_literal "8"))) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");" (call_expression "FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol")" (identifier "FUN_0017c650") (argument_list "("../../gold/object.h",0x8ad,"global_symbol")" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x8ad") (, ",") (string_literal ""global_symbol"" (" """) (string_content "global_symbol") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: Symbol * global_symbol(Sized_relobj_file<32,_false> * this, uint sym)
    */

type_3 * __thiscall
var_2::Sized_relobj_file<32,_false>::global_symbol(Sized_relobj_file<32,_false> *this,uint var_1)

{
  type_1 ppSVar1;
  type_2 var_5;
  
  if (var_1 < this->local_symbol_count_) {
    return (type_3 *)0x0;
  }
  var_5 = (type_2)(var_1 - this->local_symbol_count_);
  ppSVar1 = (this->symbols_).super__Vector_base<var_2::type_3*,var_3::allocator<var_2::type_3*>var_4>.
            _M_impl._M_start;
  if (var_5 < (type_2)((long)(this->symbols_).
                            super__Vector_base<var_2::type_3*,var_3::allocator<var_2::type_3*>var_4>.
                            _M_impl._M_finish - (long)ppSVar1 >> 3)) {
    return ppSVar1[var_5];
  }
                    /* WARNING: Subroutine does not return */
  var_6("../../gold/object.h",0x8ad,"global_symbol");
}


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

undefined8 MASKED(long param_1,uint param_2)

{
  ulong uVar1;
  
  if (param_2 < *(uint *)(param_1 + 0x120)) {
    return 0;
  }
  uVar1 = (ulong)(param_2 - *(uint *)(param_1 + 0x120));
  if (uVar1 < (ulong)(*(long *)(param_1 + 0x138) - *(long *)(param_1 + 0x130) >> 3)) {
    return *(undefined8 *)(*(long *)(param_1 + 0x130) + uVar1 * 8);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0017c650("../../gold/object.h",0x8ad,"global_symbol");
}

