Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool NamesStore::Initialize()
- {
- const auto address = FindPattern(GetModuleHandleW(nullptr), reinterpret_cast<const unsigned char*>("\x48\x8B\x05\x00\x00\x00\x00\x48\x85\xC0\x75\x56"), "xxx????xxxxx");
- if (address == -1)
- {
- return false;
- }
- const auto offset = *reinterpret_cast<uint32_t*>(address + 3);
- GlobalNames = reinterpret_cast<decltype(GlobalNames)>(*reinterpret_cast<uintptr_t*>(address + 7 + offset));
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement