
/* DWARF original prototype: uint64_t next_addend(Track_relocs<64,_false> * this) */

uint64_t __thiscall gold::Track_relocs<64,_false>::next_addend(Track_relocs<64,_false> *this)

{
  uint64_t uVar1;
  
  uVar1 = 0;
  if ((this->pos_ < this->len_) && (this->reloc_size_ != 0x10)) {
    uVar1 = *(uint64_t *)(this->prelocs_ + this->pos_ + 0x10);
  }
  return uVar1;
}



undefined8 FUN_001faaf0(long *param_1)

{
  undefined8 uVar1;
  
  uVar1 = 0;
  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {
    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);
  }
  return uVar1;
}


MOV RDX,qword ptr [RDI + 0x10]
XOR EAX,EAX
CMP RDX,qword ptr [RDI + 0x8]
JNC 0x001fab0a
CMP dword ptr [RDI + 0x18],0x10
JZ 0x001fab0a
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + RDX*0x1 + 0x10]
RET
(translation_unit "undefined8 FUN_001faaf0(long *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = 0;\n  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined8 FUN_001faaf0(long *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = 0;\n  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_001faaf0(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  undefined8 uVar1;\n  \n  uVar1 = 0;\n  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }" if (parenthesized_expression "(((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10))" ( (binary_expression "((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)" (parenthesized_expression "((ulong)param_1[2] < (ulong)param_1[1])" ( (binary_expression "(ulong)param_1[2] < (ulong)param_1[1]" (cast_expression "(ulong)param_1[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) < (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) && (parenthesized_expression "((int)param_1[3] != 0x10)" ( (binary_expression "(int)param_1[3] != 0x10" (cast_expression "(int)param_1[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) != number_literal) ))) )) (compound_statement "{\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }" { (expression_statement "uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);" (assignment_expression "uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2])" identifier = (pointer_expression "*(undefined8 *)(*param_1 + 0x10 + param_1[2])" * (cast_expression "(undefined8 *)(*param_1 + 0x10 + param_1[2])" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10 + param_1[2])" ( (binary_expression "*param_1 + 0x10 + param_1[2]" (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) + (subscript_expression "param_1[2]" identifier [ number_literal ])) ))))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: uint64_t next_addend(Track_relocs<64,_false> * this) */\n\nuint64_t __thiscall gold::Track_relocs<64,_false>::next_addend(Track_relocs<64,_false> *this)\n\n{\n  uint64_t uVar1;\n  \n  uVar1 = 0;\n  if ((this->pos_ < this->len_) && (this->reloc_size_ != 0x10)) {\n    uVar1 = *(uint64_t *)(this->prelocs_ + this->pos_ + 0x10);\n  }\n  return uVar1;\n}\n\n" comment (declaration "uint64_t __thiscall gold::Track_relocs<64,_false>::next_addend(Track_relocs<64,_false> *this)\n\n{\n  uint64_t uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::next_addend(Track_relocs<64,_false> *this)\n\n{\n  uint64_t" identifier > : : (function_declarator "next_addend(Track_relocs<64,_false> *this)" identifier (parameter_list "(Track_relocs<64,_false> *this)" ( (parameter_declaration "Track_relocs" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) ))) { primitive_type) identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((this->pos_ < this->len_) && (this->reloc_size_ != 0x10)) {\n    uVar1 = *(uint64_t *)(this->prelocs_ + this->pos_ + 0x10);\n  }" if (parenthesized_expression "((this->pos_ < this->len_) && (this->reloc_size_ != 0x10))" ( (binary_expression "(this->pos_ < this->len_) && (this->reloc_size_ != 0x10)" (parenthesized_expression "(this->pos_ < this->len_)" ( (binary_expression "this->pos_ < this->len_" (field_expression "this->pos_" identifier -> field_identifier) < (field_expression "this->len_" identifier -> field_identifier)) )) && (parenthesized_expression "(this->reloc_size_ != 0x10)" ( (binary_expression "this->reloc_size_ != 0x10" (field_expression "this->reloc_size_" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n    uVar1 = *(uint64_t *)(this->prelocs_ + this->pos_ + 0x10);\n  }" { (expression_statement "uVar1 = *(uint64_t *)(this->prelocs_ + this->pos_ + 0x10);" (assignment_expression "uVar1 = *(uint64_t *)(this->prelocs_ + this->pos_ + 0x10)" identifier = (pointer_expression "*(uint64_t *)(this->prelocs_ + this->pos_ + 0x10)" * (cast_expression "(uint64_t *)(this->prelocs_ + this->pos_ + 0x10)" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this->prelocs_ + this->pos_ + 0x10)" ( (binary_expression "this->prelocs_ + this->pos_ + 0x10" (binary_expression "this->prelocs_ + this->pos_" (field_expression "this->prelocs_" identifier -> field_identifier) + (field_expression "this->pos_" identifier -> field_identifier)) + number_literal) ))))) ;) })) (return_statement "return uVar1;" return identifier ;) (ERROR "}" }))
(translation_unit "undefined8 FUN_001faaf0(long *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = 0;\n  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined8 FUN_001faaf0(long *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = 0;\n  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_001faaf0(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  undefined8 uVar1;\n  \n  uVar1 = 0;\n  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }\n  return uVar1;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }" if (parenthesized_expression "(((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10))" ( (binary_expression "((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)" (parenthesized_expression "((ulong)param_1[2] < (ulong)param_1[1])" ( (binary_expression "(ulong)param_1[2] < (ulong)param_1[1]" (cast_expression "(ulong)param_1[2]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) < (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) && (parenthesized_expression "((int)param_1[3] != 0x10)" ( (binary_expression "(int)param_1[3] != 0x10" (cast_expression "(int)param_1[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ])) != number_literal) ))) )) (compound_statement "{\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }" { (expression_statement "uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);" (assignment_expression "uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2])" identifier = (pointer_expression "*(undefined8 *)(*param_1 + 0x10 + param_1[2])" * (cast_expression "(undefined8 *)(*param_1 + 0x10 + param_1[2])" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10 + param_1[2])" ( (binary_expression "*param_1 + 0x10 + param_1[2]" (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) + (subscript_expression "param_1[2]" identifier [ number_literal ])) ))))) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) + (subscript_expression IDENT [ LIT ])) ))))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined8 FUN_001faaf0(long *param_1)\n\n{\n  undefined8 uVar1;\n  \n  uVar1 = 0;\n  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }\n  return uVar1;\n}" (type_identifier "undefined8") (function_declarator "FUN_001faaf0(long *param_1)" (identifier "FUN_001faaf0") (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  undefined8 uVar1;\n  \n  uVar1 = 0;\n  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }" (if "if") (parenthesized_expression "(((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10))" (( "(") (binary_expression "((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)" (parenthesized_expression "((ulong)param_1[2] < (ulong)param_1[1])" (( "(") (binary_expression "(ulong)param_1[2] < (ulong)param_1[1]" (cast_expression "(ulong)param_1[2]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(ulong)param_1[1]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (&& "&&") (parenthesized_expression "((int)param_1[3] != 0x10)" (( "(") (binary_expression "(int)param_1[3] != 0x10" (cast_expression "(int)param_1[3]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (!= "!=") (number_literal "0x10")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);\n  }" ({ "{") (expression_statement "uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);" (assignment_expression "uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2])" (identifier "uVar1") (= "=") (pointer_expression "*(undefined8 *)(*param_1 + 0x10 + param_1[2])" (* "*") (cast_expression "(undefined8 *)(*param_1 + 0x10 + param_1[2])" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10 + param_1[2])" (( "(") (binary_expression "*param_1 + 0x10 + param_1[2]" (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) (+ "+") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")"))))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* DWARF original prototype: uint64_t next_addend(Track_relocs<64,_false> * this) */

uint64_t __thiscall gold::Track_relocs<64,_false>::next_addend(Track_relocs<64,_false> *this)

{
  uint64_t uVar1;
  
  uVar1 = 0;
  if ((this->pos_ < this->len_) && (this->reloc_size_ != 0x10)) {
    uVar1 = *(uint64_t *)(this->prelocs_ + this->pos_ + 0x10);
  }
  return uVar1;
}


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

undefined8 MASKED(long *param_1)

{
  undefined8 uVar1;
  
  uVar1 = 0;
  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 0x10)) {
    uVar1 = *(undefined8 *)(*param_1 + 0x10 + param_1[2]);
  }
  return uVar1;
}

