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 


Assembler: Bytes To Opcode and vice versa

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

Joined: 23 Feb 2014
Posts: 39

PostPosted: Sat Oct 04, 2014 12:36 pm    Post subject: Assembler: Bytes To Opcode and vice versa Reply with quote

Hi!
I'm not sure if the title is correct.

I Have a .dll file(test.dll) which I inject in another application(practice.exe).
With that .dll I want to overwrite a "call" operation(ASM) from the original programme.

I figured Out that the ASM Opcode for Call is: $E8

Here's an image that shows the CE Memory viewer:
*See Attachment*

So its
E8 E4 FB D9 03 translating to -> call 041A1550
Where E8 is the Opcode for the Call Operation.

But how are the other Bytes (E4 FB D9 03) calculated to 041A 1550 (test.dll+1550) ?

Hope anyone can shine some light in this darkness.

penpen



wg5Tp9U[1].png
 Description:
 Filesize:  8.58 KB
 Viewed:  2943 Time(s)

wg5Tp9U[1].png


Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Sat Oct 04, 2014 12:46 pm    Post subject: Reply with quote

This should explain it for you

http://stackoverflow.com/questions/9438544/operand-generation-of-call-instruction-on-x86-64-amd

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
penpenpen
Cheater
Reputation: 0

Joined: 23 Feb 2014
Posts: 39

PostPosted: Sat Oct 04, 2014 2:09 pm    Post subject: Reply with quote

Thanks alot.
JMP Relative seems to work just like that.
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 Gamehacking 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