Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  1. #ifndef __CROSS_MAPPING_H__
  2. #define __CROSS_MAPPING_H__
  3.  
  4. #pragma once
  5.  
  6. typedef std::unordered_map<uint64_t, uint64_t> nMap;
  7. static std::vector<uint64_t> nativeFailedVec;
  8.  
  9. struct CrossMappingEntry
  10. {
  11.     uint64_t first;
  12.     uint64_t second;
  13. };
  14.  
  15. class CrossMapping
  16. {
  17. public:
  18.     static void initNativeMap();
  19.     static uint64_t MapNative(uint64_t inNative);
  20.     static void dumpNativeMappingCache();
  21.     static bool searchMap(nMap map, uint64_t inNative, uint64_t *outNative);
  22. };
  23.  
  24. #endif // __CROSS_MAPPING_H__
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement