So I've been looking into cheat engine and how it works and was wondering how I could go about writing up a python script that I could attach to a running process that reads from memory, can write to memory, get corresponding hex values and control the EIP. I know most standard debuggers do this but how does it work? What sort of modules are necessary? Any books or resources that could teach me about this?
Bonus question:
Is this how aimbots work in popular fps games? Do they read from memory to get the location of the opponent's head?
Bonus question:
Is this how aimbots work in popular fps games? Do they read from memory to get the location of the opponent's head?

