
/* DWARF original prototype: uint next_symndx(Track_relocs<64,_true> * this) */

uint __thiscall gold::Track_relocs<64,_true>::next_symndx(Track_relocs<64,_true> *this)

{
  int *piVar1;
  uint uVar2;
  
  if (this->len_ <= this->pos_) {
    return 0xffffffff;
  }
  piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);
  if (piVar1 != (int *)0x0) {
    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {
      return *(uint *)(this->prelocs_ + this->pos_ + 8);
    }
                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);
    return uVar2;
  }
  piVar1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);
  (*(code *)PTR_do_gold_unreachable_004c1a30)
            (piVar1,0x73,PTR_s_in_a_linker_script_004c191c + -0x3c0);
  if ((uint)piVar1[1] <= (uint)piVar1[2]) {
    return 0;
  }
  if (piVar1[3] != 0x10) {
    return *(uint *)(*piVar1 + piVar1[2] + 0x10);
  }
  return 0;
}



/* gold::Track_relocs<64, true>::next_symndx() const */

undefined4 __thiscall gold::Track_relocs<64,true>::next_symndx(Track_relocs<64,true> *this)

{
  int *piVar1;
  undefined4 uVar2;
  
  if (*(uint *)(this + 4) <= *(uint *)(this + 8)) {
    return 0xffffffff;
  }
  piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);
  if (piVar1 != (int *)0x0) {
    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {
      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);
    }
                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);
    return uVar2;
  }
  uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)
                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,
                     PTR_s_in_a_linker_script_004c191c + -0x3c0);
  return uVar2;
}


lui gp,0x25
addiu gp,gp,-0x6178
addu gp,gp,t9
lw v1,0x8(a0)
lw v0,0x4(a0)
sltu v0,v1,v0
beq v0,zero,0x0027f420
_nop
lw v0,-0x788c(gp)
addiu sp,sp,-0x20
sw gp,0x10(sp)
lw v0,0x0(v0)
sw ra,0x1c(sp)
lw v0,0xc(v0)
beq v0,zero,0x0027f438
_lw a2,-0x7924(gp)
lw a2,0x0(v0)
lw a1,0x0(a0)
lw a0,-0x4cb4(gp)
lw t9,0xf8(a2)
bne t9,a0,0x0027f428
_addu a1,a1,v1
lw ra,0x1c(sp)
lw v0,0x8(a1)
jr ra
_addiu sp,sp,0x20
jr ra
_li v0,-0x1
lw ra,0x1c(sp)
addiu sp,sp,0x20
jr t9
_or a0,v0,zero
li a1,0x73
lw a0,-0x7fc4(gp)
lw t9,-0x7810(gp)
addiu a2,a2,-0x3c0
jalr t9
_addiu a0,a0,-0x9b8
(translation_unit "/* gold::Track_relocs<64, true>::next_symndx() const */\n\nundefined4 __thiscall gold::Track_relocs<64,true>::next_symndx(Track_relocs<64,true> *this)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  if (*(uint *)(this + 4) <= *(uint *)(this + 8)) {\n    return 0xffffffff;\n  }\n  piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0);\n  return uVar2;\n}\n\n" comment (declaration "undefined4 __thiscall gold::Track_relocs<64,true>::next_symndx(Track_relocs<64,true> *this)\n\n{\n  int *piVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "true>::next_symndx(Track_relocs<64,true> *this)\n\n{\n  int" identifier > : : (function_declarator "next_symndx(Track_relocs<64,true> *this)" identifier (parameter_list "(Track_relocs<64,true> *this)" ( (parameter_declaration "Track_relocs" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { primitive_type) (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (*(uint *)(this + 4) <= *(uint *)(this + 8)) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "(*(uint *)(this + 4) <= *(uint *)(this + 8))" ( (binary_expression "*(uint *)(this + 4) <= *(uint *)(this + 8)" (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(this + 8)" * (cast_expression "(uint *)(this + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);" (assignment_expression "piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" identifier = (pointer_expression "*(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" * (cast_expression "(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 0xc)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 0xc" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }" { (if_statement "if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c)" ( (binary_expression "*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c" (pointer_expression "*(code **)(*piVar1 + 0xf8)" * (cast_expression "(code **)(*piVar1 + 0xf8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xf8)" ( (binary_expression "*piVar1 + 0xf8" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_get_r_sym_004c458c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }" { (return_statement "return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);" return (pointer_expression "*(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8)" * (cast_expression "(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + *(uint *)(this + 8) + 8)" ( (binary_expression "*(int *)this + *(uint *)(this + 8) + 8" (binary_expression "*(int *)this + *(uint *)(this + 8)" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (pointer_expression "*(uint *)(this + 8)" * (cast_expression "(uint *)(this + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) + number_literal) )))) ;) })) comment comment (expression_statement "uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0xf8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0xf8))" ( (pointer_expression "**(code **)(*piVar1 + 0xf8)" * (pointer_expression "*(code **)(*piVar1 + 0xf8)" * (cast_expression "(code **)(*piVar1 + 0xf8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xf8)" ( (binary_expression "*piVar1 + 0xf8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0);" (assignment_expression "uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" identifier = (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8" identifier + number_literal) , number_literal , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x3c0" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) (ERROR "}" }))
(translation_unit "/* DWARF original prototype: uint next_symndx(Track_relocs<64,_true> * this) */\n\nuint __thiscall gold::Track_relocs<64,_true>::next_symndx(Track_relocs<64,_true> *this)\n\n{\n  int *piVar1;\n  uint uVar2;\n  \n  if (this->len_ <= this->pos_) {\n    return 0xffffffff;\n  }\n  piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(uint *)(this->prelocs_ + this->pos_ + 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }\n  piVar1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);\n  (*(code *)PTR_do_gold_unreachable_004c1a30)\n            (piVar1,0x73,PTR_s_in_a_linker_script_004c191c + -0x3c0);\n  if ((uint)piVar1[1] <= (uint)piVar1[2]) {\n    return 0;\n  }\n  if (piVar1[3] != 0x10) {\n    return *(uint *)(*piVar1 + piVar1[2] + 0x10);\n  }\n  return 0;\n}\n\n" comment (declaration "uint __thiscall gold::Track_relocs<64,_true>::next_symndx(Track_relocs<64,_true> *this)\n\n{\n  int *piVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::next_symndx(Track_relocs<64,_true> *this)\n\n{\n  int" identifier > : : (function_declarator "next_symndx(Track_relocs<64,_true> *this)" identifier (parameter_list "(Track_relocs<64,_true> *this)" ( (parameter_declaration "Track_relocs" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { primitive_type) (pointer_declarator "*piVar1" * 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 "piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);" (assignment_expression "piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" identifier = (pointer_expression "*(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" * (cast_expression "(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 0xc)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 0xc" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(uint *)(this->prelocs_ + this->pos_ + 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(uint *)(this->prelocs_ + this->pos_ + 8);\n    }\n                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }" { (if_statement "if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(uint *)(this->prelocs_ + this->pos_ + 8);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c)" ( (binary_expression "*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c" (pointer_expression "*(code **)(*piVar1 + 0xf8)" * (cast_expression "(code **)(*piVar1 + 0xf8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xf8)" ( (binary_expression "*piVar1 + 0xf8" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_get_r_sym_004c458c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      return *(uint *)(this->prelocs_ + this->pos_ + 8);\n    }" { (return_statement "return *(uint *)(this->prelocs_ + this->pos_ + 8);" return (pointer_expression "*(uint *)(this->prelocs_ + this->pos_ + 8)" * (cast_expression "(uint *)(this->prelocs_ + this->pos_ + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this->prelocs_ + this->pos_ + 8)" ( (binary_expression "this->prelocs_ + this->pos_ + 8" (binary_expression "this->prelocs_ + this->pos_" (field_expression "this->prelocs_" identifier -> field_identifier) + (field_expression "this->pos_" identifier -> field_identifier)) + number_literal) )))) ;) })) comment comment (expression_statement "uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0xf8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0xf8))" ( (pointer_expression "**(code **)(*piVar1 + 0xf8)" * (pointer_expression "*(code **)(*piVar1 + 0xf8)" * (cast_expression "(code **)(*piVar1 + 0xf8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xf8)" ( (binary_expression "*piVar1 + 0xf8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "piVar1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8);" (assignment_expression "piVar1 = (int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" identifier = (cast_expression "(int *)(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_do_gold_unreachable_004c1a30)\n            (piVar1,0x73,PTR_s_in_a_linker_script_004c191c + -0x3c0);" (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n            (piVar1,0x73,PTR_s_in_a_linker_script_004c191c + -0x3c0)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar1,0x73,PTR_s_in_a_linker_script_004c191c + -0x3c0)" ( identifier , number_literal , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x3c0" identifier + number_literal) ))) ;) (if_statement "if ((uint)piVar1[1] <= (uint)piVar1[2]) {\n    return 0;\n  }" if (parenthesized_expression "((uint)piVar1[1] <= (uint)piVar1[2])" ( (binary_expression "(uint)piVar1[1] <= (uint)piVar1[2]" (cast_expression "(uint)piVar1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[1]" identifier [ number_literal ])) <= (cast_expression "(uint)piVar1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (piVar1[3] != 0x10) {\n    return *(uint *)(*piVar1 + piVar1[2] + 0x10);\n  }" if (parenthesized_expression "(piVar1[3] != 0x10)" ( (binary_expression "piVar1[3] != 0x10" (subscript_expression "piVar1[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    return *(uint *)(*piVar1 + piVar1[2] + 0x10);\n  }" { (return_statement "return *(uint *)(*piVar1 + piVar1[2] + 0x10);" return (pointer_expression "*(uint *)(*piVar1 + piVar1[2] + 0x10)" * (cast_expression "(uint *)(*piVar1 + piVar1[2] + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + piVar1[2] + 0x10)" ( (binary_expression "*piVar1 + piVar1[2] + 0x10" (binary_expression "*piVar1 + piVar1[2]" (pointer_expression "*piVar1" * identifier) + (subscript_expression "piVar1[2]" identifier [ number_literal ])) + number_literal) )))) ;) })) (return_statement "return 0;" return number_literal ;) (ERROR "}" }))
(translation_unit "undefined4 __thiscall gold::Track_relocs<64,true>::next_symndx(Track_relocs<64,true> *this)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  \n  if (*(uint *)(this + 4) <= *(uint *)(this + 8)) {\n    return 0xffffffff;\n  }\n  piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);\n  if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }\n  uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0);\n  return uVar2;\n}\n\n" (declaration "undefined4 __thiscall gold::Track_relocs<64,true>::next_symndx(Track_relocs<64,true> *this)\n\n{\n  int *piVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "true>::next_symndx(Track_relocs<64,true> *this)\n\n{\n  int" identifier > : : (function_declarator "next_symndx(Track_relocs<64,true> *this)" identifier (parameter_list "(Track_relocs<64,true> *this)" ( (parameter_declaration "Track_relocs" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { primitive_type) (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (*(uint *)(this + 4) <= *(uint *)(this + 8)) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "(*(uint *)(this + 4) <= *(uint *)(this + 8))" ( (binary_expression "*(uint *)(this + 4) <= *(uint *)(this + 8)" (pointer_expression "*(uint *)(this + 4)" * (cast_expression "(uint *)(this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(this + 8)" * (cast_expression "(uint *)(this + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);" (assignment_expression "piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" identifier = (pointer_expression "*(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" * (cast_expression "(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 0xc)" ( (binary_expression "*(int *)PTR_parameters_004c19b4 + 0xc" (pointer_expression "*(int *)PTR_parameters_004c19b4" * (cast_expression "(int *)PTR_parameters_004c19b4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }" { (if_statement "if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c)" ( (binary_expression "*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c" (pointer_expression "*(code **)(*piVar1 + 0xf8)" * (cast_expression "(code **)(*piVar1 + 0xf8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xf8)" ( (binary_expression "*piVar1 + 0xf8" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_get_r_sym_004c458c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }" { (return_statement "return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);" return (pointer_expression "*(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8)" * (cast_expression "(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + *(uint *)(this + 8) + 8)" ( (binary_expression "*(int *)this + *(uint *)(this + 8) + 8" (binary_expression "*(int *)this + *(uint *)(this + 8)" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + (pointer_expression "*(uint *)(this + 8)" * (cast_expression "(uint *)(this + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) + number_literal) )))) ;) })) (expression_statement "uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0xf8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0xf8))" ( (pointer_expression "**(code **)(*piVar1 + 0xf8)" * (pointer_expression "*(code **)(*piVar1 + 0xf8)" * (cast_expression "(code **)(*piVar1 + 0xf8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xf8)" ( (binary_expression "*piVar1 + 0xf8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (return_statement "return uVar2;" return identifier ;) })) (expression_statement "uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0);" (assignment_expression "uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" identifier = (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" * (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8" identifier + number_literal) , number_literal , (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x3c0" identifier + number_literal) )))) ;) (return_statement "return uVar2;" return identifier ;) (ERROR "}" }))
(translation_unit (declaration TYPE (ms_call_modifier __thiscall) (ERROR IDENT : :) IDENT (ERROR < LIT) , (ERROR IDENT > : : (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) (ERROR < LIT) , (parameter_declaration TYPE (ERROR >) (pointer_declarator * IDENT)) ))) { TYPE) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (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) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) (ERROR }))
(declaration "undefined4 __thiscall gold::Track_relocs<64,true>::next_symndx(Track_relocs<64,true> *this)\n\n{\n  int *piVar1;" (type_identifier "undefined4") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::" (identifier "gold") (: ":") (: ":")) (identifier "Track_relocs") (ERROR "<64" (< "<") (number_literal "64")) (, ",") (ERROR "true>::next_symndx(Track_relocs<64,true> *this)\n\n{\n  int" (identifier "true") (> ">") (: ":") (: ":") (function_declarator "next_symndx(Track_relocs<64,true> *this)" (identifier "next_symndx") (parameter_list "(Track_relocs<64,true> *this)" (( "(") (parameter_declaration "Track_relocs" (type_identifier "Track_relocs")) (ERROR "<64" (< "<") (number_literal "64")) (, ",") (parameter_declaration "true> *this" (type_identifier "true") (ERROR ">" (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) () ")"))) ({ "{") (primitive_type "int")) (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (*(uint *)(this + 4) <= *(uint *)(this + 8)) {\n    return 0xffffffff;\n  }" (if "if") (parenthesized_expression "(*(uint *)(this + 4) <= *(uint *)(this + 8))" (( "(") (binary_expression "*(uint *)(this + 4) <= *(uint *)(this + 8)" (pointer_expression "*(uint *)(this + 4)" (* "*") (cast_expression "(uint *)(this + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (<= "<=") (pointer_expression "*(uint *)(this + 8)" (* "*") (cast_expression "(uint *)(this + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n    return 0xffffffff;\n  }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (expression_statement "piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);" (assignment_expression "piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" (* "*") (cast_expression "(int **)(*(int *)PTR_parameters_004c19b4 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)PTR_parameters_004c19b4 + 0xc)" (( "(") (binary_expression "*(int *)PTR_parameters_004c19b4 + 0xc" (pointer_expression "*(int *)PTR_parameters_004c19b4" (* "*") (cast_expression "(int *)PTR_parameters_004c19b4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parameters_004c19b4"))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }\n                    \n                    \n    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);\n    return uVar2;\n  }" ({ "{") (if_statement "if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }" (if "if") (parenthesized_expression "(*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c)" (( "(") (binary_expression "*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c" (pointer_expression "*(code **)(*piVar1 + 0xf8)" (* "*") (cast_expression "(code **)(*piVar1 + 0xf8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0xf8)" (( "(") (binary_expression "*piVar1 + 0xf8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0xf8")) () ")")))) (== "==") (cast_expression "(code *)PTR_get_r_sym_004c458c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_get_r_sym_004c458c"))) () ")")) (compound_statement "{\n      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);\n    }" ({ "{") (return_statement "return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);" (return "return") (pointer_expression "*(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)this + *(uint *)(this + 8) + 8)" (( "(") (binary_expression "*(int *)this + *(uint *)(this + 8) + 8" (binary_expression "*(int *)this + *(uint *)(this + 8)" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (+ "+") (pointer_expression "*(uint *)(this + 8)" (* "*") (cast_expression "(uint *)(this + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);" (assignment_expression "uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*piVar1 + 0xf8))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0xf8))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0xf8)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0xf8)" (* "*") (cast_expression "(code **)(*piVar1 + 0xf8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0xf8)" (( "(") (binary_expression "*piVar1 + 0xf8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0xf8")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0);" (assignment_expression "uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)\n                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004c1a30)" (( "(") (pointer_expression "*(code *)PTR_do_gold_unreachable_004c1a30" (* "*") (cast_expression "(code *)PTR_do_gold_unreachable_004c1a30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_gold_unreachable_004c1a30"))) () ")")) (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,\n                     PTR_s_in_a_linker_script_004c191c + -0x3c0)" (( "(") (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8" (identifier "PTR_s_ral_options14Struct_no_crefE_004c127c") (+ "+") (number_literal "-0x9b8")) (, ",") (number_literal "0x73") (, ",") (binary_expression "PTR_s_in_a_linker_script_004c191c + -0x3c0" (identifier "PTR_s_in_a_linker_script_004c191c") (+ "+") (number_literal "-0x3c0")) () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (ERROR "}" (} "}"))

/* DWARF original prototype: uint next_symndx(Track_relocs<64,_true> * this) */

type_1 __thiscall gold::Track_relocs<64,_true>::next_symndx(Track_relocs<64,_true> *this)

{
  int *var_1;
  type_1 uVar2;
  
  if (this->len_ <= this->pos_) {
    return 0xffffffff;
  }
  var_1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);
  if (var_1 != (int *)0x0) {
    if (*(type_2 **)(*var_1 + 0xf8) == (type_2 *)PTR_get_r_sym_004c458c) {
      return *(type_1 *)(this->prelocs_ + this->pos_ + 8);
    }
                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (**(type_2 **)(*var_1 + 0xf8))(var_1);
    return uVar2;
  }
  var_1 = (int *)(var_2 + -0x9b8);
  (*(type_2 *)PTR_do_gold_unreachable_004c1a30)
            (var_1,0x73,var_3 + -0x3c0);
  if ((type_1)var_1[1] <= (type_1)var_1[2]) {
    return 0;
  }
  if (var_1[3] != 0x10) {
    return *(type_1 *)(*var_1 + var_1[2] + 0x10);
  }
  return 0;
}


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

/* gold::Track_relocs<64, true>::MASKED() const */

undefined4 __thiscall gold::Track_relocs<64,true>::MASKED(Track_relocs<64,true> *this)

{
  int *piVar1;
  undefined4 uVar2;
  
  if (*(uint *)(this + 4) <= *(uint *)(this + 8)) {
    return 0xffffffff;
  }
  piVar1 = *(int **)(*(int *)PTR_parameters_004c19b4 + 0xc);
  if (piVar1 != (int *)0x0) {
    if (*(code **)(*piVar1 + 0xf8) == (code *)PTR_get_r_sym_004c458c) {
      return *(undefined4 *)(*(int *)this + *(uint *)(this + 8) + 8);
    }
                    /* WARNING: Could not recover jumptable at 0x0027f430. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar2 = (**(code **)(*piVar1 + 0xf8))(piVar1);
    return uVar2;
  }
  uVar2 = (*(code *)PTR_do_gold_unreachable_004c1a30)
                    (PTR_s_ral_options14Struct_no_crefE_004c127c + -0x9b8,0x73,
                     PTR_s_in_a_linker_script_004c191c + -0x3c0);
  return uVar2;
}

