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 


@@ label notation?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Sat Apr 19, 2014 1:39 pm    Post subject: @@ label notation? Reply with quote

Hi guys,

I recently saw a table that made use of some notation that I'm not familiar with. It was something like "je @f"..."@@:" I'm a bit embarrassed to admit it, but I have no clue what this is all about. Is this some kind of shorthand for anonymous labels, that allows one to bypass the "label" aa command for quick conditional branching? I tried to google it, but it seems that Google filters out the "@@" symbols, so I don't really know where to go for more info.

Thanks,
JD

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Apr 19, 2014 1:50 pm    Post subject: Re: @@ label notation? Reply with quote

justa_dude wrote:
Is this some kind of shorthand for anonymous labels, that allows one to bypass the "label" aa command for quick conditional branching?


Yes

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Apr 19, 2014 2:43 pm    Post subject: Reply with quote

@f is forward
@b is backward

_________________
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
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Sat Apr 19, 2014 3:01 pm    Post subject: Reply with quote

Wow... that's freaking awesome. Thanks for the info.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Apr 19, 2014 3:16 pm    Post subject: Reply with quote

Example

Code:

cmp [ecx+60],01         // if yes, jump to loop and set array with given EAX
je @f                   // je loop
mov eax,0               // if not, fill array with zeros.

@@:                     // loop:
dec esi
mov [edx+esi],eax
jnz @b                  // jnz loop


cmp [godmode],01
jne @f                  // jne skipgodmode
mov [ecx+4],(float)1


@@:                     // skipgodmode:
cmp [noclip],01
jne @f                  // jne skipnoclip
mov [ecx+9C],01


@@:                     // skipnoclip:
...
...

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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