I'm trying to read the user's GUID from OOP vs. calling GetPlayerGUID(). Has anyone achieved this?
I'm simply trying to navigate it through cheat engine but it looks liek the 64-bit integer I'm getting can't be a traditional GUID (based on my knowledge of wow, so it could be completely correct)
Code:
signed int __cdecl GetPlayerGUID()
{
int v0; // esi@1
int v1; // eax@3
int v2; // eax@4
signed int result; // eax@5
v0 = *(_DWORD *)(dword_156C8CC + 0x934);
if ( v0
&& *(_DWORD *)v0 != -1
&& (v1 = *(_DWORD *)(sub_94BB80() + 0xA8)) != 0
&& (v2 = 0x7FF8 * *(_DWORD *)v0 + v1 + 0x58) != 0 )
result = *(_DWORD *)(v2 + 8);
else
result = -1;
return result;
}
v0 = [[Diablo III.exe+156C8CC] + 0x934]
v1 = [[[Diablo III.exe+156C8CC] + 0x77C] + 0xA8]
v2 = 0x7FF8 * [v0 + v1 + 0x58]
Then the GUID should be here: [v2 + 8], but of course, this isn't what I'm getting. Thoughts?