fenix01/cheatengine-library

register of address

9fl0w opened this issue · 2 comments

9fl0w commented

h

Hi,

What do you mean by changing the register of an address ?
Registers are small pieces of memory inside your CPU.
From a script you can change the value of a register with the help of the mov instruction.

You can do something like this mov eax, 0. But be careful because RIP is a special register used to point to the next instruction to execute.

With this library you can inject assembly code in the program. So it would be possible to hook one function to jump into your own code.
You can patch the program, to replace one instruction by an unconditionnal jmp (jmp instruction) to your section. If I was you, I would try to write this code with cheat engine to check if the script works. Then, I'll use the script in the library.

And about Lua, the library is not based on the latest release of cheat engine, so lua is not supported. But you can use all the power of (c, c++, delphi) to extend this library.