fork download
  1. #include <iostream>
  2. typedef unsigned char uint8_t;
  3.  
  4. #define ADDRESS1 0xD445556BD557
  5. #define ADDRESS2 0xED612BDF113B
  6. static const uint8_t ADDRESS[6] = { 0x57, 0xD5, 0x6B, 0x55, 0x45, 0xD4 };
  7.  
  8. long long addrLL = ADDRESS1;
  9.  
  10. int main()
  11. {
  12. if (ADDRESS1 == (*((long long*)ADDRESS) & 0xFFFFFFFFFFFF)) {
  13. std::cout << "ADDRESS1\n";
  14. }
  15. if (ADDRESS2 == (*((long long*)ADDRESS) & 0xFFFFFFFFFFFF)) {
  16. std::cout << "ADDRESS2\n";
  17. }
  18. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
ADDRESS1