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 


asm help

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

Joined: 10 Apr 2011
Posts: 33

PostPosted: Sun Dec 04, 2011 9:10 pm    Post subject: asm help Reply with quote

I need to store a pointer.
the code that writes to my value is mov ecx,[ebx+eax+0C]
so how would I do this since I can't do mov [40286008],ebx+eax
I know I suck at assembly but this would help me out a lot. thanks in advance Very Happy
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Mon Dec 05, 2011 12:21 am    Post subject: Reply with quote

Just store your address at the register and move the value to it
Code:

Mov edx,40286008
mov ecx,[ebx+eax]
mov [edx],ecx

_________________
Stylo
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25793
Location: The netherlands

PostPosted: Mon Dec 05, 2011 9:20 am    Post subject: Reply with quote

I'd rather do:
Code:

push eax
lea eax,[ebx+eax] //get the result of EBX+EAX and store it into eax
mov [40286008],eax
pop eax

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Mon Dec 05, 2011 9:46 am    Post subject: Reply with quote

I am kind of hurt seeing the post here since you pmed me on deviated as well and i took the time to reply so detailed to you thinking you only asked me.

I posted the same solution as DB but giving more details. Wouldn't have if i knew you posted here as well since time is a bitch.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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