
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: uint next_symndx(Track_relocs<32,_false> * this) */

uint __thiscall gold::Track_relocs<32,_false>::next_symndx(Track_relocs<32,_false> *this)

{
  Target *pTVar1;
  uint uVar2;
  
  if (this->len_ <= this->pos_) {
    return 0xffffffff;
  }
  pTVar1 = parameters->target_;
  if (pTVar1 != (Target *)0x0) {
    if (pTVar1->_vptr_Target[0x3e] == Sized_target<32,_false>::get_r_sym) {
      return *(uint *)(this->prelocs_ + this->pos_ + 4) >> 8;
    }
                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (*pTVar1->_vptr_Target[0x3e])(pTVar1);
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target");
}



ulong FUN_002adf70(long *param_1)

{
  long *plVar1;
  ulong uVar2;
  
  if ((ulong)param_1[1] <= (ulong)param_1[2]) {
    return 0xffffffff;
  }
  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);
  if (plVar1 != (long *)0x0) {
    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {
      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);
    }
                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");
}


MOV RSI,qword ptr [RDI + 0x10]
CMP RSI,qword ptr [RDI + 0x8]
JNC 0x002adfb0
MOV RAX,qword ptr [0x004ba7c8]
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JZ 0x002adfc5
MOV RDX,qword ptr [RAX]
LEA RCX,[0x1b8e40]
ADD RSI,qword ptr [RDI]
MOV RDX,qword ptr [RDX + 0x1f0]
CMP RDX,RCX
JNZ 0x002adfc0
MOV EAX,dword ptr [RSI + 0x4]
SHR EAX,0x8
RET
MOV EAX,0xffffffff
RET
MOV RDI,RAX
JMP RDX
PUSH RAX
LEA RDX,[0x3f2bf8]
MOV ESI,0x73
LEA RDI,[0x3c9279]
CALL 0x001e9890
(translation_unit "ulong FUN_002adf70(long *param_1)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  \n  if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }\n  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);\n  if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");\n}\n\n" (function_definition "ulong FUN_002adf70(long *param_1)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  \n  if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }\n  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);\n  if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");\n}" type_identifier (function_declarator "FUN_002adf70(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  \n  if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }\n  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);\n  if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (if_statement "if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "((ulong)param_1[1] <= (ulong)param_1[2])" ( (binary_expression "(ulong)param_1[1] <= (ulong)param_1[2]" (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) <= (cast_expression "(ulong)param_1[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);" (assignment_expression "plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18)" identifier = (pointer_expression "*(long **)(PTR_DAT_004ba7c8 + 0x18)" * (cast_expression "(long **)(PTR_DAT_004ba7c8 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_004ba7c8 + 0x18)" ( (binary_expression "PTR_DAT_004ba7c8 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }" { (if_statement "if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }" if (parenthesized_expression "(*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40)" ( (binary_expression "*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40" (pointer_expression "*(code **)(*plVar1 + 0x1f0)" * (cast_expression "(code **)(*plVar1 + 0x1f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x1f0)" ( (binary_expression "*plVar1 + 0x1f0" (pointer_expression "*plVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }" { (return_statement "return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);" return (call_expression "(ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(uint *)(param_1[2] + *param_1 + 4) >> 8)" ( (binary_expression "*(uint *)(param_1[2] + *param_1 + 4) >> 8" (pointer_expression "*(uint *)(param_1[2] + *param_1 + 4)" * (cast_expression "(uint *)(param_1[2] + *param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + *param_1 + 4)" ( (binary_expression "param_1[2] + *param_1 + 4" (binary_expression "param_1[2] + *param_1" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (pointer_expression "*param_1" * identifier)) + number_literal) )))) >> number_literal) ))) ;) })) comment comment (expression_statement "uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);" (assignment_expression "uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x1f0))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x1f0))" ( (pointer_expression "**(code **)(*plVar1 + 0x1f0)" * (pointer_expression "*(code **)(*plVar1 + 0x1f0)" * (cast_expression "(code **)(*plVar1 + 0x1f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x1f0)" ( (binary_expression "*plVar1 + 0x1f0" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");" (call_expression "FUN_001e9890("../../gold/parameters.h",0x73,"sized_target")" identifier (argument_list "("../../gold/parameters.h",0x73,"sized_target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""sized_target"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: uint next_symndx(Track_relocs<32,_false> * this) */\n\nuint __thiscall gold::Track_relocs<32,_false>::next_symndx(Track_relocs<32,_false> *this)\n\n{\n  Target *pTVar1;\n  uint uVar2;\n  \n  if (this->len_ <= this->pos_) {\n    return 0xffffffff;\n  }\n  pTVar1 = parameters->target_;\n  if (pTVar1 != (Target *)0x0) {\n    if (pTVar1->_vptr_Target[0x3e] == Sized_target<32,_false>::get_r_sym) {\n      return *(uint *)(this->prelocs_ + this->pos_ + 4) >> 8;\n    }\n                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*pTVar1->_vptr_Target[0x3e])(pTVar1);\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target");\n}\n\n" comment comment comment (declaration "uint __thiscall gold::Track_relocs<32,_false>::next_symndx(Track_relocs<32,_false> *this)\n\n{\n  Target *pTVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::next_symndx(Track_relocs<32,_false> *this)\n\n{\n  Target" identifier > : : (function_declarator "next_symndx(Track_relocs<32,_false> *this)" identifier (parameter_list "(Track_relocs<32,_false> *this)" ( (parameter_declaration "Track_relocs" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { identifier) (pointer_declarator "*pTVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (this->len_ <= this->pos_) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "(this->len_ <= this->pos_)" ( (binary_expression "this->len_ <= this->pos_" (field_expression "this->len_" identifier -> field_identifier) <= (field_expression "this->pos_" identifier -> field_identifier)) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "pTVar1 = parameters->target_;" (assignment_expression "pTVar1 = parameters->target_" identifier = (field_expression "parameters->target_" identifier -> field_identifier)) ;) (if_statement "if (pTVar1 != (Target *)0x0) {\n    if (pTVar1->_vptr_Target[0x3e] == Sized_target<32,_false>::get_r_sym) {\n      return *(uint *)(this->prelocs_ + this->pos_ + 4) >> 8;\n    }\n                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*pTVar1->_vptr_Target[0x3e])(pTVar1);\n    return uVar2;\n  }" if (parenthesized_expression "(pTVar1 != (Target *)0x0)" ( (binary_expression "pTVar1 != (Target *)0x0" identifier != (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pTVar1->_vptr_Target[0x3e] == Sized_target<32,_false>::get_r_sym) {\n      return *(uint *)(this->prelocs_ + this->pos_ + 4) >> 8;\n    }\n                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (*pTVar1->_vptr_Target[0x3e])(pTVar1);\n    return uVar2;\n  }" { (if_statement "if (pTVar1->_vptr_Target[0x3e] == Sized_target<32,_false>::get_r_sym) {\n      return *(uint *)(this->prelocs_ + this->pos_ + 4) >> 8;\n    }" if (parenthesized_expression "(pTVar1->_vptr_Target[0x3e] == Sized_target<32,_false>::get_r_sym)" ( (comma_expression "pTVar1->_vptr_Target[0x3e] == Sized_target<32,_false>::get_r_sym" (binary_expression "pTVar1->_vptr_Target[0x3e] == Sized_target<32" (subscript_expression "pTVar1->_vptr_Target[0x3e]" (field_expression "pTVar1->_vptr_Target" identifier -> field_identifier) [ number_literal ]) == (binary_expression "Sized_target<32" identifier < number_literal)) , (binary_expression "_false>::get_r_sym" identifier > (ERROR "::" : :) identifier)) )) (compound_statement "{\n      return *(uint *)(this->prelocs_ + this->pos_ + 4) >> 8;\n    }" { (return_statement "return *(uint *)(this->prelocs_ + this->pos_ + 4) >> 8;" return (binary_expression "*(uint *)(this->prelocs_ + this->pos_ + 4) >> 8" (pointer_expression "*(uint *)(this->prelocs_ + this->pos_ + 4)" * (cast_expression "(uint *)(this->prelocs_ + this->pos_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this->prelocs_ + this->pos_ + 4)" ( (binary_expression "this->prelocs_ + this->pos_ + 4" (binary_expression "this->prelocs_ + this->pos_" (field_expression "this->prelocs_" identifier -> field_identifier) + (field_expression "this->pos_" identifier -> field_identifier)) + number_literal) )))) >> number_literal) ;) })) comment comment (expression_statement "uVar2 = (*pTVar1->_vptr_Target[0x3e])(pTVar1);" (assignment_expression "uVar2 = (*pTVar1->_vptr_Target[0x3e])(pTVar1)" identifier = (call_expression "(*pTVar1->_vptr_Target[0x3e])(pTVar1)" (parenthesized_expression "(*pTVar1->_vptr_Target[0x3e])" ( (pointer_expression "*pTVar1->_vptr_Target[0x3e]" * (subscript_expression "pTVar1->_vptr_Target[0x3e]" (field_expression "pTVar1->_vptr_Target" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pTVar1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x73,"sized_target")" identifier (argument_list "("../../gold/parameters.h",0x73,"sized_target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""sized_target"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "ulong FUN_002adf70(long *param_1)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  \n  if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }\n  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);\n  if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }\n                    \n  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");\n}\n\n" (function_definition "ulong FUN_002adf70(long *param_1)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  \n  if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }\n  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);\n  if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }\n                    \n  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");\n}" type_identifier (function_declarator "FUN_002adf70(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  \n  if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }\n  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);\n  if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }\n                    \n  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "ulong uVar2;" type_identifier identifier ;) (if_statement "if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "((ulong)param_1[1] <= (ulong)param_1[2])" ( (binary_expression "(ulong)param_1[1] <= (ulong)param_1[2]" (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) <= (cast_expression "(ulong)param_1[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);" (assignment_expression "plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18)" identifier = (pointer_expression "*(long **)(PTR_DAT_004ba7c8 + 0x18)" * (cast_expression "(long **)(PTR_DAT_004ba7c8 + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_004ba7c8 + 0x18)" ( (binary_expression "PTR_DAT_004ba7c8 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }" if (parenthesized_expression "(plVar1 != (long *)0x0)" ( (binary_expression "plVar1 != (long *)0x0" identifier != (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }" { (if_statement "if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }" if (parenthesized_expression "(*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40)" ( (binary_expression "*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40" (pointer_expression "*(code **)(*plVar1 + 0x1f0)" * (cast_expression "(code **)(*plVar1 + 0x1f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x1f0)" ( (binary_expression "*plVar1 + 0x1f0" (pointer_expression "*plVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }" { (return_statement "return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);" return (call_expression "(ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(uint *)(param_1[2] + *param_1 + 4) >> 8)" ( (binary_expression "*(uint *)(param_1[2] + *param_1 + 4) >> 8" (pointer_expression "*(uint *)(param_1[2] + *param_1 + 4)" * (cast_expression "(uint *)(param_1[2] + *param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + *param_1 + 4)" ( (binary_expression "param_1[2] + *param_1 + 4" (binary_expression "param_1[2] + *param_1" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (pointer_expression "*param_1" * identifier)) + number_literal) )))) >> number_literal) ))) ;) })) (expression_statement "uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);" (assignment_expression "uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x1f0))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x1f0))" ( (pointer_expression "**(code **)(*plVar1 + 0x1f0)" * (pointer_expression "*(code **)(*plVar1 + 0x1f0)" * (cast_expression "(code **)(*plVar1 + 0x1f0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x1f0)" ( (binary_expression "*plVar1 + 0x1f0" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");" (call_expression "FUN_001e9890("../../gold/parameters.h",0x73,"sized_target")" identifier (argument_list "("../../gold/parameters.h",0x73,"sized_target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""sized_target"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (pointer_expression * IDENT)) + LIT) )))) >> LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "ulong FUN_002adf70(long *param_1)\n\n{\n  long *plVar1;\n  ulong uVar2;\n  \n  if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }\n  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);\n  if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }\n                    \n  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");\n}" (type_identifier "ulong") (function_declarator "FUN_002adf70(long *param_1)" (identifier "FUN_002adf70") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long *plVar1;\n  ulong uVar2;\n  \n  if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }\n  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);\n  if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }\n                    \n  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (if_statement "if ((ulong)param_1[1] <= (ulong)param_1[2]) {\n    return 0xffffffff;\n  }" (if "if") (parenthesized_expression "((ulong)param_1[1] <= (ulong)param_1[2])" (( "(") (binary_expression "(ulong)param_1[1] <= (ulong)param_1[2]" (cast_expression "(ulong)param_1[1]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (<= "<=") (cast_expression "(ulong)param_1[2]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    return 0xffffffff;\n  }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (expression_statement "plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);" (assignment_expression "plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)(PTR_DAT_004ba7c8 + 0x18)" (* "*") (cast_expression "(long **)(PTR_DAT_004ba7c8 + 0x18)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_004ba7c8 + 0x18)" (( "(") (binary_expression "PTR_DAT_004ba7c8 + 0x18" (identifier "PTR_DAT_004ba7c8") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (plVar1 != (long *)0x0) {\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(plVar1 != (long *)0x0)" (( "(") (binary_expression "plVar1 != (long *)0x0" (identifier "plVar1") (!= "!=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);\n    return uVar2;\n  }" ({ "{") (if_statement "if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }" (if "if") (parenthesized_expression "(*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40)" (( "(") (binary_expression "*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40" (pointer_expression "*(code **)(*plVar1 + 0x1f0)" (* "*") (cast_expression "(code **)(*plVar1 + 0x1f0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x1f0)" (( "(") (binary_expression "*plVar1 + 0x1f0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x1f0")) () ")")))) (== "==") (identifier "FUN_001b8e40")) () ")")) (compound_statement "{\n      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);\n    }" ({ "{") (return_statement "return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);" (return "return") (call_expression "(ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(*(uint *)(param_1[2] + *param_1 + 4) >> 8)" (( "(") (binary_expression "*(uint *)(param_1[2] + *param_1 + 4) >> 8" (pointer_expression "*(uint *)(param_1[2] + *param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1[2] + *param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + *param_1 + 4)" (( "(") (binary_expression "param_1[2] + *param_1 + 4" (binary_expression "param_1[2] + *param_1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (+ "+") (number_literal "4")) () ")")))) (>> ">>") (number_literal "8")) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);" (assignment_expression "uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*plVar1 + 0x1f0))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x1f0))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x1f0)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x1f0)" (* "*") (cast_expression "(code **)(*plVar1 + 0x1f0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x1f0)" (( "(") (binary_expression "*plVar1 + 0x1f0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x1f0")) () ")"))))) () ")")) (argument_list "(plVar1)" (( "(") (identifier "plVar1") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");" (call_expression "FUN_001e9890("../../gold/parameters.h",0x73,"sized_target")" (identifier "FUN_001e9890") (argument_list "("../../gold/parameters.h",0x73,"sized_target")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x73") (, ",") (string_literal ""sized_target"" (" """) (string_content "sized_target") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: uint next_symndx(Track_relocs<32,_false> * this) */

type_1 __thiscall gold::Track_relocs<32,var_3>::next_symndx(Track_relocs<32,var_3> *this)

{
  type_2 *var_1;
  type_1 uVar2;
  
  if (this->len_ <= this->pos_) {
    return 0xffffffff;
  }
  var_1 = parameters->target_;
  if (var_1 != (type_2 *)0x0) {
    if (var_1->_vptr_Target[0x3e] == var_2<32,var_3>::var_4) {
      return *(type_1 *)(this->prelocs_ + this->pos_ + 4) >> 8;
    }
                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (*var_1->_vptr_Target[0x3e])(var_1);
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  var_5("../../gold/parameters.h",0x73,"sized_target");
}


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

ulong MASKED(long *param_1)

{
  long *plVar1;
  ulong uVar2;
  
  if ((ulong)param_1[1] <= (ulong)param_1[2]) {
    return 0xffffffff;
  }
  plVar1 = *(long **)(PTR_DAT_004ba7c8 + 0x18);
  if (plVar1 != (long *)0x0) {
    if (*(code **)(*plVar1 + 0x1f0) == FUN_001b8e40) {
      return (ulong)(*(uint *)(param_1[2] + *param_1 + 4) >> 8);
    }
                    /* WARNING: Could not recover jumptable at 0x002adfc3. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (**(code **)(*plVar1 + 0x1f0))(plVar1);
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001e9890("../../gold/parameters.h",0x73,"sized_target");
}

