8MANIPULATING CONTROL FLOW IN A GAME

image

Forcing a game to execute foreign code is definitely powerful, but what if you could alter the way a game executes its own code? What if you could force the game to bypass the code that draws the fog of war, trick it into making enemies visible through walls, or manipulate the arguments it passes to functions? Control flow manipulation lets you do exactly that, allowing you to change what a process does by intercepting code execution and monitoring, modifying, or preventing it.

There are many ways to manipulate the control flow of a process, but almost all require you to modify the process’s assembly code. ...

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.