Thanks for the reply, I tried that first but no luck, here is how I am reading:
Code:
uintptr_t moduleBase = (uintptr_t)GetModuleHandle(L"wow.exe");
moduleBase = (uintptr_t)GetModuleHandle(NULL);
uintptr_t playerXPDump = mem::FindDMAAddy(moduleBase + 0x00AC66D8, { 0x9E8 });
uintptr_t playerXPPointer = mem::FindDMAAddy(moduleBase + 0x006EEDD0, { 0x14, 0x20, 0x4, 0x34, 0x24, 0xC, 0x984 });
Code:
uintptr_t mem::FindDMAAddy(uintptr_t ptr, std::vector<unsigned int> offsets)
{
uintptr_t addr = ptr;
for (unsigned int i = 0; i < offsets.size(); ++i)
{
addr = *(uintptr_t*)addr;
addr += offsets[i];
}
return addr;
}
Edit:
When I open cheat engine and put the wow.exe + address and then add the offset I don't get anything either, see screenshot.
Screenshot: Screenshot by Lightshot