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 


[questions]

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

Joined: 11 Sep 2007
Posts: 450

PostPosted: Mon Mar 31, 2008 4:56 pm    Post subject: [questions] Reply with quote

1. in AA(auto-assembly) how can u do this?
(script)
00xxxxxx:
push 00
(script end)
what does that mean exactly? does it mean give the address 00xxxxxx the value of 00?

2. how can u do an array of bytes in C++?
3.in AA(auto-assembly) what does this mean?
(script)
00xxxxxx:
jae/je/jmp/jb/ja/jbe 00xxxxxx(different address)
(script end)
does that mean if ?(according to the type of jmp) set the value of the jmped address to the original one?

4. is all AA(auto-assembly) in HEX? so like 52 is 82?

ty if u can answer me

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

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Mar 31, 2008 10:42 pm    Post subject: Reply with quote

1. When you write a script and use the method you showed above:
Code:
100500:
push 00


This means to write the code 'push 00' at that address.


2. You can do an array of bytes like:

BYTE bArray[] = {0x90, 0x90, 0x90, 0x90};

Add onto or remove some if you need to, change the nop bytes to what ever bytes you need inside the array. You can obtain the array size by using sizeof( bArray ) then as well.

3. Each of those are different jumps. Mind you the 2nd part of a jump is not an address in the same sense as you look at it. It is a calculated offset. (To - From)

Again thought, that also means at the given address, write that code.

4. Yes.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
AwayTheWInd
Master Cheater
Reputation: 0

Joined: 11 Sep 2007
Posts: 450

PostPosted: Tue Apr 01, 2008 2:40 pm    Post subject: Reply with quote

ty wicaan but so my 3rd question... what does it do to the (value of the) previous address? +rep
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Apr 01, 2008 5:23 pm    Post subject: Reply with quote

When you write something like:

1005000:
jmp 1005010

This will write the bytes of the opcode 'jmp' to the address of 1005000 along with the calculated offset for the jump, which in this case is 14 bytes. So it would write this to 1005000:

EB 0E

EB representing the 'short jump' and 0E (being 14) as the offset to jump.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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