Hello,
i am playing around with injection at the moment and just did some detours and an endscene hook. Now i want to read memory from wow. I think i just can create a pointer to an address, but i always get wrong results.
Example:
Code:
DWORD *adresse = (DWORD*)0xCAF6D4;
int test = (int)adresse;
char buffer[512];
wsprintfA(buffer,"%d",test);
MessageBoxA(NULL,buffer,"asd",MB_OK);
This is the "isIndoors" address, so my MessageBox should show 1 or 0 after injecting. But i always get values like '412253423'.
Someone can show me please, how to read memory in process the right way?