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 


delphi asm

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Sat Feb 02, 2008 3:24 am    Post subject: delphi asm Reply with quote

well i trying to add a code for exampel godmode into delphi but i cant get it to work


Code:


asm
@6b0000   // error
jne 0000000  // error
end;

asm
6b0000   // error
jne @0000000  // error
end;

var
lol:dword;
newvalue:dword;//integer
begin
  asm
jmp lol
je newvalue // error
  end;


etc i cant get it to work ... and i really need help with it thanks =)

and yes im a noob at asm etc just a begginer at delphi but i atleast trying
end;

_________________
dont complain about my english...
1*1 = 2?
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Sat Feb 02, 2008 3:31 am    Post subject: Reply with quote

Whats the "jne" for, when will your code access exacly? when you write asm it writes to your program, not to another process...
if its a dll, inject it and change the bytes of the address you want to change, also you don't "jump at" address, it would be "jne 00000000".

try
Code:
mov byte ptr [address of god mode],75 //75 = jne, 74 = je (short jumps)
Back to top
View user's profile Send private message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Sat Feb 02, 2008 4:36 am    Post subject: Reply with quote

Symbol wrote:
Whats the "jne" for, when will your code access exacly? when you write asm it writes to your program, not to another process...
if its a dll, inject it and change the bytes of the address you want to change, also you don't "jump at" address, it would be "jne 00000000".

try
Code:
mov byte ptr [address of god mode],75 //75 = jne, 74 = je (short jumps)



okay thanks =)

_________________
dont complain about my english...
1*1 = 2?
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