View previous topic :: View next topic |
Author |
Message |
Screitor Cheater Reputation: 1
Joined: 26 Nov 2012 Posts: 33 Location: Venezuela
|
Posted: Sat Apr 06, 2013 10:48 pm Post subject: Auto Assembler Script - How to read a multi-leveled pointer? |
|
|
Hello, I want to know how to read a multi-level pointer with an auto assembler script, but I have no idea where to start.
The address pointed by the multi-level pointer, stores a byte type variable.
Any idea?
_________________
Everybody lies.
Last edited by Screitor on Sun Apr 07, 2013 12:35 pm; edited 1 time in total |
|
Back to top |
|
|
Mohsen Advanced Cheater Reputation: 1
Joined: 04 Apr 2013 Posts: 69 Location: PE
|
Posted: Sun Apr 07, 2013 4:16 am Post subject: |
|
|
wiki.cheatengine.org/index.php?title=CEAddressString
wiki.cheatengine.org/index.php?title=readInteger
wiki.cheatengine.org/index.php?title=Lua
|
|
Back to top |
|
|
Screitor Cheater Reputation: 1
Joined: 26 Nov 2012 Posts: 33 Location: Venezuela
|
Posted: Sun Apr 07, 2013 6:06 pm Post subject: |
|
|
That's not what I'm looking for.
Anyways thank you, I posted another question in the right subforum.
_________________
Everybody lies. |
|
Back to top |
|
|
happyreadygo Advanced Cheater Reputation: 1
Joined: 14 Sep 2011 Posts: 87
|
Posted: Wed Apr 10, 2013 12:07 am Post subject: |
|
|
Code: | push eax
push ebx
mov eax,[0046ccc0]
mov ebx,[eax+44]
cmp [ebx+1c],2aa
je somewhere
.
.
.
pop ebx
pop eax
|
Here is an example of how to change
In order to modified for the byte type...just change from mov eax to mov al or ah(EX. mov bl,4])
however push and pop must using eax not al or ah(ex. push al //Wrong!)
Last edited by happyreadygo on Wed Apr 10, 2013 12:28 am; edited 1 time in total |
|
Back to top |
|
|
Mohsen Advanced Cheater Reputation: 1
Joined: 04 Apr 2013 Posts: 69 Location: PE
|
Posted: Wed Apr 10, 2013 12:19 am Post subject: |
|
|
Screitor wrote: | That's not what I'm looking for.
Anyways thank you, I posted another question in the right subforum. |
Ops sorry.. missed 'auto assembler' in your question..
In additional to happyreadygo answer :
Code: |
push eax
lea eax, [ebx*4+8]
mov byte ptr[eax], FF
pop eax
|
|
|
Back to top |
|
|
happyreadygo Advanced Cheater Reputation: 1
Joined: 14 Sep 2011 Posts: 87
|
Posted: Wed Apr 10, 2013 12:29 am Post subject: |
|
|
what's lea , can u tell me
|
|
Back to top |
|
|
TsTg Master Cheater Reputation: 5
Joined: 12 Dec 2012 Posts: 334 Location: Somewhere....
|
Posted: Wed Apr 10, 2013 1:10 am Post subject: |
|
|
happyreadygo wrote: | what's lea , can u tell me |
It stands for "Load Effective Address"
will take the address location of [ebx*4+8] as a value, then stores it in eax register.
|
|
Back to top |
|
|
|