
/* DWARF original prototype: uint get_r_sym(Sized_target<64,_true> * this, uchar * preloc) */

uint __thiscall gold::Sized_target<64,_true>::get_r_sym(Sized_target<64,_true> *this,uchar *preloc)

{
  ulong uVar1;
  
  uVar1 = *(ulong *)(preloc + 8);
  return (uint)(uVar1 >> 0x18) & 0xff | (uint)(uVar1 >> 8) & 0xff00 |
         (uint)(((uVar1 & 0xff00) << 0x28) >> 0x20) | (uint)((uVar1 << 0x38) >> 0x20);
}



ulong FUN_00243f50(undefined8 param_1,long param_2)

{
  ulong uVar1;
  
  uVar1 = *(ulong *)(param_2 + 8);
  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |
         uVar1 << 0x38) >> 0x20;
}


MOV RAX,qword ptr [RSI + 0x8]
BSWAP RAX
SHR RAX,0x20
RET
(translation_unit "ulong FUN_00243f50(undefined8 param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(param_2 + 8);\n  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;\n}\n\n" (function_definition "ulong FUN_00243f50(undefined8 param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(param_2 + 8);\n  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;\n}" type_identifier (function_declarator "FUN_00243f50(undefined8 param_1,long param_2)" identifier (parameter_list "(undefined8 param_1,long param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(param_2 + 8);\n  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(ulong *)(param_2 + 8);" (assignment_expression "uVar1 = *(ulong *)(param_2 + 8)" identifier = (pointer_expression "*(ulong *)(param_2 + 8)" * (cast_expression "(ulong *)(param_2 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (return_statement "return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;" return (binary_expression "((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20" (parenthesized_expression "((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38)" ( (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38" (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28" (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18" (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" ( (binary_expression "uVar1 & 0xff000000" identifier & number_literal) )) << number_literal) | (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x38" identifier << number_literal)) )) >> number_literal) ;) })))
(translation_unit "/* DWARF original prototype: uint get_r_sym(Sized_target<64,_true> * this, uchar * preloc) */\n\nuint __thiscall gold::Sized_target<64,_true>::get_r_sym(Sized_target<64,_true> *this,uchar *preloc)\n\n{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(preloc + 8);\n  return (uint)(uVar1 >> 0x18) & 0xff | (uint)(uVar1 >> 8) & 0xff00 |\n         (uint)(((uVar1 & 0xff00) << 0x28) >> 0x20) | (uint)((uVar1 << 0x38) >> 0x20);\n}\n\n" comment (declaration "uint __thiscall gold::Sized_target<64,_true>::get_r_sym(Sized_target<64,_true> *this,uchar *preloc)\n\n{\n  ulong uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::get_r_sym(Sized_target<64,_true> *this,uchar *preloc)\n\n{\n  ulong" identifier > : : (function_declarator "get_r_sym(Sized_target<64,_true> *this,uchar *preloc)" identifier (parameter_list "(Sized_target<64,_true> *this,uchar *preloc)" ( (parameter_declaration "Sized_target" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *preloc" type_identifier (pointer_declarator "*preloc" * identifier)) ))) { identifier) identifier ;) (expression_statement "uVar1 = *(ulong *)(preloc + 8);" (assignment_expression "uVar1 = *(ulong *)(preloc + 8)" identifier = (pointer_expression "*(ulong *)(preloc + 8)" * (cast_expression "(ulong *)(preloc + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(preloc + 8)" ( (binary_expression "preloc + 8" identifier + number_literal) ))))) ;) (return_statement "return (uint)(uVar1 >> 0x18) & 0xff | (uint)(uVar1 >> 8) & 0xff00 |\n         (uint)(((uVar1 & 0xff00) << 0x28) >> 0x20) | (uint)((uVar1 << 0x38) >> 0x20);" return (binary_expression "(uint)(uVar1 >> 0x18) & 0xff | (uint)(uVar1 >> 8) & 0xff00 |\n         (uint)(((uVar1 & 0xff00) << 0x28) >> 0x20) | (uint)((uVar1 << 0x38) >> 0x20)" (binary_expression "(uint)(uVar1 >> 0x18) & 0xff | (uint)(uVar1 >> 8) & 0xff00 |\n         (uint)(((uVar1 & 0xff00) << 0x28) >> 0x20)" (binary_expression "(uint)(uVar1 >> 0x18) & 0xff | (uint)(uVar1 >> 8) & 0xff00" (binary_expression "(uint)(uVar1 >> 0x18) & 0xff" (call_expression "(uint)(uVar1 >> 0x18)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 >> 0x18)" ( (binary_expression "uVar1 >> 0x18" identifier >> number_literal) ))) & number_literal) | (binary_expression "(uint)(uVar1 >> 8) & 0xff00" (call_expression "(uint)(uVar1 >> 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar1 >> 8)" ( (binary_expression "uVar1 >> 8" identifier >> number_literal) ))) & number_literal)) | (call_expression "(uint)(((uVar1 & 0xff00) << 0x28) >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(((uVar1 & 0xff00) << 0x28) >> 0x20)" ( (binary_expression "((uVar1 & 0xff00) << 0x28) >> 0x20" (parenthesized_expression "((uVar1 & 0xff00) << 0x28)" ( (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal) )) >> number_literal) )))) | (call_expression "(uint)((uVar1 << 0x38) >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uVar1 << 0x38) >> 0x20)" ( (binary_expression "(uVar1 << 0x38) >> 0x20" (parenthesized_expression "(uVar1 << 0x38)" ( (binary_expression "uVar1 << 0x38" identifier << number_literal) )) >> number_literal) )))) ;) (ERROR "}" }))
(translation_unit "ulong FUN_00243f50(undefined8 param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(param_2 + 8);\n  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;\n}\n\n" (function_definition "ulong FUN_00243f50(undefined8 param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(param_2 + 8);\n  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;\n}" type_identifier (function_declarator "FUN_00243f50(undefined8 param_1,long param_2)" identifier (parameter_list "(undefined8 param_1,long param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(param_2 + 8);\n  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(ulong *)(param_2 + 8);" (assignment_expression "uVar1 = *(ulong *)(param_2 + 8)" identifier = (pointer_expression "*(ulong *)(param_2 + 8)" * (cast_expression "(ulong *)(param_2 + 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (return_statement "return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;" return (binary_expression "((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20" (parenthesized_expression "((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38)" ( (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38" (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28" (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18" (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" ( (binary_expression "uVar1 & 0xff000000" identifier & number_literal) )) << number_literal) | (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x38" identifier << number_literal)) )) >> number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) )) >> LIT) ;) })))
(function_definition "ulong FUN_00243f50(undefined8 param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(param_2 + 8);\n  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;\n}" (type_identifier "ulong") (function_declarator "FUN_00243f50(undefined8 param_1,long param_2)" (identifier "FUN_00243f50") (parameter_list "(undefined8 param_1,long param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  ulong uVar1;\n  \n  uVar1 = *(ulong *)(param_2 + 8);\n  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(ulong *)(param_2 + 8);" (assignment_expression "uVar1 = *(ulong *)(param_2 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(ulong *)(param_2 + 8)" (* "*") (cast_expression "(ulong *)(param_2 + 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (return_statement "return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20;" (return "return") (binary_expression "((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38) >> 0x20" (parenthesized_expression "((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38)" (( "(") (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |\n         uVar1 << 0x38" (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28" (binary_expression "(uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18" (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" (( "(") (binary_expression "uVar1 & 0xff000000" (identifier "uVar1") (& "&") (number_literal "0xff000000")) () ")")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (<< "<<") (number_literal "0x18"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "0x28"))) (| "|") (binary_expression "uVar1 << 0x38" (identifier "uVar1") (<< "<<") (number_literal "0x38"))) () ")")) (>> ">>") (number_literal "0x20")) (; ";")) (} "}")))

/* DWARF original prototype: uint get_r_sym(Sized_target<64,_true> * this, uchar * preloc) */

type_1 __thiscall gold::Sized_target<64,_true>::get_r_sym(Sized_target<64,_true> *this,uchar *var_1)

{
  type_2 var_2;
  
  var_2 = *(type_2 *)(var_1 + 8);
  return (type_1)(var_2 >> 0x18) & 0xff | (type_1)(var_2 >> 8) & 0xff00 |
         (type_1)(((var_2 & 0xff00) << 0x28) >> 0x20) | (type_1)((var_2 << 0x38) >> 0x20);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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: (identifier) right: (number_literal))))))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))))

ulong MASKED(undefined8 param_1,long param_2)

{
  ulong uVar1;
  
  uVar1 = *(ulong *)(param_2 + 8);
  return ((uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 |
         uVar1 << 0x38) >> 0x20;
}

