TalkingOk , MOREE QUESTIONS =]

Posts 110 of 10 · Page 1 of 1
Ok , MOREE QUESTIONS =]
1)if i use the Read memory (something) ' what is the outout of this function ? and how do i use it ? , in wrriting it , should i write for it what adress to read ? , couse if i do ' how i should i know what adress should i write ?
2) how can i make a FLASH games hacks by c++ ?


Hell_Demon: Please refrain from using tons of smilies at the end of your posts.
It returns 0 if the function fails and a non zero if it succeeds.

The function is used to read memory. Use WriteProcessMemory to write to memory.
Write to memory means , to change the value of the adrress right ?
can it be use (c++) to hack any flash game ?
1. This question makes no sense at all ^^
For reading:
hProcess is the process handle that you get by using OpenProcess.

lpBaseAddress is the addy you want to read from
cast it to LPVOID: (void*)0xB4DF00D

lpBuffer is a pointer to the buffer you want to read into.
char mybuffer[32]; //now use &mybuffer in ReadProcessMemory.

nSize is the number of bytes you want to read, if you use the mybuffer from above you'd fill in 32 here.

lpNumberOfBytesRead is a pointer to an integer, just pass null for this, you don't really need it.



For writing:
the exact same as above, but instead of reading into the buffer you write the buffer into the memory, so make sure you give it a value ^^.
char mybuffer[5] = "\x90\x90\x90\x90\x90";

2. Yes, but it's 10x harder to do then with C# or VB.
Can you give an example of it ? witj game and code ?
Quote Originally Posted by thekm1994 View Post
Can you give an example of it ? witj game and code ?
if you have a look on recent threads/post you might find examples... or by using search
i would download the game if its need
So , does its cnage the valuse of the adress ! (right ? i m not sure yet XD)
Quote Originally Posted by thekm1994 View Post
So , does its cnage the valuse of the adress ! (right ? i m not sure yet XD)
If you mean WriteProcessMemory, then yeah.


Edit (more info)

It'll write data to the memory of a certain address of a selected process, so (in Lehman's terms) it is a function that changes the data of an address.
Posts 110 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?