Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Using isbadreadptr multiple times

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
thefreestyle
Cheater
Reputation: 0

Joined: 29 Oct 2015
Posts: 35

PostPosted: Sun Sep 30, 2018 2:08 pm    Post subject: Using isbadreadptr multiple times Reply with quote

Hi guys,

quick question, i need to check multiple offsets with isbadreadptr, i can do it with one offset using this example :
https://forum.cheatengine.org/viewtopic.php?t=511049

But since im not that good with asm i need example how to use use multiple times,

thanks,

p.s. - (its 32 bit game)
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Sun Sep 30, 2018 8:25 pm    Post subject: Reply with quote

Code:
main:
mov ebx,data

callloop:
push 04
push [ebx]
call isbadreadptr
cmp eax,00
jnz invalidmemory

validmemory:
...
do stuff
...

cmp dword ptr [ebx],00400000 // or cmp ebx,data+0C // not sure if its supported by CE // i cant check because i dont have CE installed
jz domorestuff
add ebx,04
jmp callloop

invalidmemory:
...
do other stuff
...

domorestuff:
...
do more stuff // at this point all pointers checked
...

data:
dd  
dd 00200000
dd 00300000
dd 00400000

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
thefreestyle
Cheater
Reputation: 0

Joined: 29 Oct 2015
Posts: 35

PostPosted: Mon Oct 01, 2018 8:00 am    Post subject: Reply with quote

Ok, i think i understand, gonna try this.

Thank you very much for assist OldCheatEngineUser
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites