6READING FROM AND WRITING TO GAME MEMORY
Earlier chapters discussed how memory is structured as well as how to scan and modify memory using Cheat Engine and OllyDbg. Working with memory will be essential when you begin to write bots, and your code will need to know how to do so.
This chapter digs into the code-level details of memory manipulation. First, you’ll learn how to use code to locate and obtain handles to game processes. Next, you’ll learn how to use those handles to read from and write to memory both from remote processes and from injected code. To wrap up, you’ll learn bypasses for a certain memory protection technique, complete with ...
Get Game Hacking now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.