samedi 25 octobre 2014

How to WriteProcessMemory with multipointers


Vote count:

0




First of all, what I am trying to do is changing a value in the memory of a game. In order to write to that variable I need to add the following pointer and offsets because thats the static address:



baseAddr + offset1 + offset2 + offset3 = myDesiredAddr


Now, this is what I have tried to do...



ReadProcessMemory(
hProc, (LPVOID)(BaseAddr + offset1), &myDesiredAddr, sizeof(myDesiredAddr), 0
);
ReadProcessMemory(
hProc, (LPVOID)(myDesiredAddr + offset2), &myDesiredAddr, sizeof(myDesiredAddr), 0
);
ReadProcessMemory(
hProc, (LPVOID)(myDesiredAddr + offset3), &myDesiredAddr, sizeof(myDesiredAddr), 0
);


I've tired to WriteProcessMemory on the final address that I got but it does not read and write successfully. Any advice will be helpful.



asked 32 secs ago







How to WriteProcessMemory with multipointers

Aucun commentaire:

Enregistrer un commentaire