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 


A question about Borland Delphi ASM

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
xamlooc
How do I cheat?
Reputation: 0

Joined: 19 Mar 2008
Posts: 6

PostPosted: Tue Apr 15, 2008 8:58 am    Post subject: A question about Borland Delphi ASM Reply with quote

first, I have some ASM codes as follows:
__________________

begin
address:=pointer($0042CF14);

asm
pushad


mov eax, pointer($0045a83c) //this pointer points to a string 'Hello world'

call address

popad


end;

_________________

when I call this function, the destination (hooked .exe file, i made it) will show a dialogue 'hello world'. I attached my tool to this .exe process and called the function within the .exe file.

So, if I want to substitute 'hello world' with another string such as 'welcome!', what should I do? Where should I modify the ASM code?

I have asked many people but I got nothing...So I come here for help.

Can anybody help me? I would appreciate any help or even hints!
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Wed Apr 16, 2008 2:26 am    Post subject: Reply with quote

Goto 0045a83c with hex editor(like CE) and change the string.
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