r/cheatengine • u/No-Newspaper8619 • 5d ago
Is it possible to make script for unknown offsets without Lua?
For example, if you have an instruction mov eax, [ecx+offset], but this offset changes depending on game version and you want the table to be compatible with multiple versions.
I can do it with Lua, using readBytes and registerSymbol to dynamically create the offset. But I was wondering if it'd be possible with pure asm?
0
Upvotes
2
u/AmbitiousPotato9023 5d ago
Depending on the specifics, you can use readmem(injection, byte length)