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 


what Changes ebx in this code?

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

Joined: 28 Jan 2014
Posts: 160

PostPosted: Sun Jun 28, 2015 1:02 pm    Post subject: what Changes ebx in this code? Reply with quote

Hi i have this picture here. its for CE tutorial Step three.
the blue line decreases the health by ebx, i wanna know what changes ebx, how should i find that out.
well above blue line it says:
Code:

inc eax
mov ebx,eax

does this changes ebx?
if so, what changes eax it self?



Untitled.png
 Description:
 Filesize:  27.63 KB
 Viewed:  3279 Time(s)

Untitled.png



_________________
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Jun 28, 2015 1:32 pm    Post subject: Reply with quote

You are correct. EAX is increased by 1 and then moved to EBX.
You'll need to trace inside of the call ahove to find out where EAX comes from.
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Mon Jun 29, 2015 12:08 am    Post subject: Reply with quote

How should i do that?
_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Jun 29, 2015 2:45 am    Post subject: Reply with quote

it probably get eax from the function result of tutorial.exe+cd60, which takes the value 10 as parameter.

most likely it's the random number generator and 10 makes it returns a value between 0 and 9 (which is why there is an inc eax because 0 is not valid)

_________________
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
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Mon Jun 29, 2015 3:24 am    Post subject: Reply with quote

Wow! And i did "break and trace instruction, it showed every thing thanks for help Smile
_________________
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