 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
IIlIIII How do I cheat?
Reputation: 0
Joined: 28 Jan 2016 Posts: 2
|
Posted: Thu Jan 28, 2016 4:28 pm Post subject: Auto Assembler and Multilevel Pointers |
|
|
i'm not adept at writing Auto Assembler scripts and the documentation for AA and Lua is incomplete. after doing some reading, i gathered AOBSCAN(MODULE) is executed first, then READMEM, and GLOBALALLOC last. this puts me in a bad situation when trying to read multilevel pointers
| Code: | globalalloc(alloc1,4)
alloc(alloc2,4)
aobscanmodule(aob1,...)
alloc2:
readmem(aob+1,4)
alloc1:
readmem(alloc2,4) |
unfortunately, this doesn't work because the memory isn't allocated until after READMEM, which initializes it to 0. detouring (which is what i've seen suggested here) is not an option because it writes to the .text section. my current solution is to use CREATETHREAD, but i'm trying to avoid this. is there any alternative that doesn't involve code injection?
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu Jan 28, 2016 5:05 pm Post subject: |
|
|
| Code: | globalalloc(alloc1,4)
aobscanmodule(aob1,....)
alloc1:
readmem([aob1],4) |
| Code: | globalalloc(alloc1,4)
aobscanmodule(aob1,....)
alloc1:
readmem([[[aob1+offset0]+offset1]+offset2]+offset3,4) |
_________________
|
|
| Back to top |
|
 |
IIlIIII How do I cheat?
Reputation: 0
Joined: 28 Jan 2016 Posts: 2
|
Posted: Thu Jan 28, 2016 5:14 pm Post subject: |
|
|
| thank you very much!
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|