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 is the eax,ebx,...?

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

Joined: 31 Aug 2013
Posts: 305

PostPosted: Sun Sep 13, 2015 11:57 pm    Post subject: What is the eax,ebx,...? Reply with quote

What is the eax in auto assembler.
What is the number for eax
in What codes There are application
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Mon Sep 14, 2015 1:00 am    Post subject: Reply with quote

Fortunately, this stuff has already been explained in easy terms for you.

http://home.comcast.net/~wiccaan/downloads/asm/asmd1.txt
http://home.comcast.net/~wiccaan/downloads/asm/asmd2.txt
http://home.comcast.net/~wiccaan/downloads/asm/asmd3.txt

Credit: Dabhand

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

Joined: 31 Aug 2013
Posts: 305

PostPosted: Mon Sep 14, 2015 1:15 am    Post subject: Reply with quote

What is this code work.
mov [pPlayer],eax
movzx ebx,byte ptr [eax+28]
mov [iID],ebx
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Mon Sep 14, 2015 3:42 am    Post subject: Reply with quote

eax and such are registers, you can think of them as very very simplistic variable names.

You should probably learn some basic programming stuff first if you want to get more into it.

_________________
Back to top
View user's profile Send private message
Snow1337
Catastrophic Cheatah
Reputation: 1

Joined: 12 Oct 2004
Posts: 183
Location: Your, Computer

PostPosted: Mon Sep 14, 2015 5:10 am    Post subject: Reply with quote

sjl002 wrote:
What is this code work.
mov [pPlayer],eax
movzx ebx,byte ptr [eax+28]
mov [iID],ebx


It moves the value of eax into pPlayer, which the value of eax was specified above this then a byte pointer with Zero Extend into ebx

movzx - Copies the contents of the source operand (register or memory location) to the destination operand (register) and zero extends the value to 16 or 32 bits. The size of the converted value depends on the operand-size attribute.

Then moves that pointer into iID

Registers are predefined in the code above where you are looking..

It is moving a pointer into a iID, what iID is, is beyond me.. some part of the player data structure, the pointer could be health, ammo, speed.. anything.. try editing it with

mov ebx, 0A

see what increases by 10

_________________
Back to top
View user's profile Send private message Visit poster's website
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Mon Sep 14, 2015 11:47 am    Post subject: Reply with quote

STN wrote:
Fortunately, this stuff has already been explained in easy terms for you.

http://home.comcast.net/~wiccaan/downloads/asm/asmd1.txt
http://home.comcast.net/~wiccaan/downloads/asm/asmd2.txt
http://home.comcast.net/~wiccaan/downloads/asm/asmd3.txt

Credit: Dabhand


Comcast is shutting down their hosted sites, which means my site is going to be gone soon. I have reuploaded these to my Dropbox instead:
https://www.dropbox.com/sh/gs9lmwvac7a32b4/AACY39ZNaWANaJMiPbdb9zCia?dl=0

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Tue Sep 15, 2015 6:00 am    Post subject: Reply with quote

atom0s wrote:
STN wrote:
Fortunately, this stuff has already been explained in easy terms for you.

http://home.comcast.net/~wiccaan/downloads/asm/asmd1.txt
http://home.comcast.net/~wiccaan/downloads/asm/asmd2.txt
http://home.comcast.net/~wiccaan/downloads/asm/asmd3.txt

Credit: Dabhand


Comcast is shutting down their hosted sites, which means my site is going to be gone soon. I have reuploaded these to my Dropbox instead:
https://www.dropbox.com/sh/gs9lmwvac7a32b4/AACY39ZNaWANaJMiPbdb9zCia?dl=0


Thanks, will link to that from now on

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

Joined: 03 Jan 2012
Posts: 841
Location: Maryland, United States

PostPosted: Wed Sep 16, 2015 8:45 am    Post subject: Reply with quote

They used to serve a greater nomenclature back in the day. Now the compiler just uses whatever register is available.

Just use whatever register is blank at the time of injection. Obviously registers like EIP/ESP should not be blank. EBP might be sometimes if /Oy is turned on.


Last edited by gir489 on Wed Sep 16, 2015 10:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed Sep 16, 2015 9:32 am    Post subject: Reply with quote

If you need the use of a register and you're not sure what's free, you could push/pop.

push ebx //Store ebx on the stack.
mov ebx,[eax+20] //Move something into the now-"free" ebx.
mov [eax+10],ebx //Move that ebx value into something else.
pop ebx //Restore the saved value of ebx from the stack.

_________________
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