WriteProcessMemory pointer C ++ 64 bits ?

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
KevinDA
Cheater
Cheater
Posts: 34
Joined: Thu Apr 16, 2020 12:28 pm
Reputation: 0

WriteProcessMemory pointer C ++ 64 bits ?

Post by KevinDA »

Hello, I would like to know how we can recover a pointer address in C ++ (64 bits)?
In order to change a value with WriteProcessMemory.

example my baseadress = base;

WriteProcessMemory (hProc, (LPVOID) (((uint8_t *) base) + ?????, & array, number_BYTE, NULL);

Image

User avatar
SunBeam
Administration
Administration
Posts: 2853
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 1959

Re: WriteProcessMemory pointer C ++ 64 bits ?

Post by SunBeam »

If what you mean is how to get the offset, then subtract the module base from your address. 14257890-14000000 (base). Else I don't know what you mean.

Post Reply

Who is online

Users browsing this forum: No registered users