
/* DWARF original prototype: uint64_t next_addend(Track_relocs<32,_true> * this) */

uint64_t __thiscall gold::Track_relocs<32,_true>::next_addend(Track_relocs<32,_true> *this)

{
  uint uVar1;
  uint64_t uVar2;
  
  uVar2 = 0;
  if ((this->pos_ < this->len_) && (this->reloc_size_ != 8)) {
    uVar1 = *(uint *)(this->prelocs_ + this->pos_ + 8);
    uVar2 = (uint64_t)
            (int)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);
  }
  return uVar2;
}



long FUN_00245680(long *param_1)

{
  uint uVar1;
  long lVar2;
  
  lVar2 = 0;
  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 8)) {
    uVar1 = *(uint *)(*param_1 + 8 + param_1[2]);
    lVar2 = (long)(int)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |
                       uVar1 << 0x18);
  }
  return lVar2;
}


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

/* DWARF original prototype: uint64_t next_addend(Track_relocs<32,_true> * this) */

uint64_t __thiscall gold::Track_relocs<32,_true>::next_addend(Track_relocs<32,_true> *this)

{
  type_1 var_1;
  uint64_t uVar2;
  
  uVar2 = 0;
  if ((this->pos_ < this->len_) && (this->reloc_size_ != 8)) {
    var_1 = *(type_1 *)(this->prelocs_ + this->pos_ + 8);
    uVar2 = (uint64_t)
            (int)(var_1 >> 0x18 | (var_1 & 0xff0000) >> 8 | (var_1 & 0xff00) << 8 | var_1 << 0x18);
  }
  return uVar2;
}


(translation_unit (function_definition type: (sized_type_specifier) 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)) (declaration type: (sized_type_specifier) 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)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (identifier)))))

long MASKED(long *param_1)

{
  uint uVar1;
  long lVar2;
  
  lVar2 = 0;
  if (((ulong)param_1[2] < (ulong)param_1[1]) && ((int)param_1[3] != 8)) {
    uVar1 = *(uint *)(*param_1 + 8 + param_1[2]);
    lVar2 = (long)(int)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 |
                       uVar1 << 0x18);
  }
  return lVar2;
}

