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] ReadProcAdr @ longjump OPCODE addr

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

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Fri Mar 27, 2009 5:10 am    Post subject: [Delphi] ReadProcAdr @ longjump OPCODE addr Reply with quote

The solution:

http://forum.cheatengine.org/viewtopic.php?p=3966066#3966066

_________________



Last edited by h4c0r-BG on Sat Mar 28, 2009 6:57 am; edited 1 time in total
Back to top
View user's profile Send private message
Zand
Master Cheater
Reputation: 0

Joined: 21 Jul 2006
Posts: 424

PostPosted: Fri Mar 27, 2009 6:10 am    Post subject: Reply with quote

Formula to use is

Code:

DEST - SRC - 5
Back to top
View user's profile Send private message
h4c0r-BG
Master Cheater
Reputation: 0

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Fri Mar 27, 2009 7:42 am    Post subject: Reply with quote

Quote:
dest refers to the parameter into which the result of the operation will be stored.

src refers to the source of any extra data required by the operation.


So what value SRC is going to hold. And what are those "-"`es and why "5" ...

And am i going to use this via:
Code:
asm
end;


Thank you.

_________________

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

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Fri Mar 27, 2009 7:43 am    Post subject: Reply with quote

h4c0r-BG wrote:
Quote:
dest refers to the parameter into which the result of the operation will be stored.

src refers to the source of any extra data required by the operation.


So what value SRC is going to hold. And what are those "-"`es and why "5" ...

And am i going to use this via:
Code:
asm
end;


Thank you.


Why use asm/end; ? High-Level (Something Normal Humans Read) are ment to keep you away from Low-Level (Something Chinese Aliens Read), lol.


Last edited by DeletedUser14087 on Fri Mar 27, 2009 7:44 am; edited 1 time in total
Back to top
View user's profile Send private message
h4c0r-BG
Master Cheater
Reputation: 0

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Fri Mar 27, 2009 7:44 am    Post subject: Reply with quote

Rot1, I am asking because i do not know how to do it at all.. Confused
_________________

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

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Fri Mar 27, 2009 7:45 am    Post subject: Reply with quote

h4c0r-BG wrote:
Rot1, I am asking because i do not know how to do it at all.. Confused


Get on messenger.
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Mar 27, 2009 7:51 am    Post subject: Reply with quote

h4c0r-BG wrote:
Quote:
dest refers to the parameter into which the result of the operation will be stored.

src refers to the source of any extra data required by the operation.


So what value SRC is going to hold. And what are those "-"`es and why "5" ...

And am i going to use this via:
Code:
asm
end;


Thank you.


The 5 is there becuase it signals the opcode. The opcode that takes up the jump is 5 bytes E9 ?? ?? ?? ??.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Fri Mar 27, 2009 12:28 pm    Post subject: Reply with quote

Algebra, use it.

Code:
JUMP_OFFSET = TO - FROM - 5

Code:
TO = JUMP_OFFSET + FROM + 5
Back to top
View user's profile Send private message
h4c0r-BG
Master Cheater
Reputation: 0

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Sat Mar 28, 2009 6:54 am    Post subject: Reply with quote

Thanks for anyone who willed to help me. If anyone is curious what exactly is the solution:

10000001 - 53 43 03 f0/F0034353 - jmp 00034358
10000006 - 4e 43 03 f0/F003434E - jmp 00034358





FFFFFFFF-10000001=EFFFFFFE
F0034353-EFFFFFFE=34355
34355+3=34358


FFFFFFFF-10000006=EFFFFFF9
F003434E-EFFFFFF9=34355
34355+3=34358

_________________

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