| View previous topic :: View next topic |
| Author |
Message |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
Posted: Sat Apr 19, 2014 1:39 pm Post subject: @@ label notation? |
|
|
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 |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Apr 19, 2014 1:50 pm Post subject: Re: @@ label notation? |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25828 Location: The netherlands
|
Posted: Sat Apr 19, 2014 2:43 pm Post subject: |
|
|
@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 |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 893
|
Posted: Sat Apr 19, 2014 3:01 pm Post subject: |
|
|
Wow... that's freaking awesome. Thanks for the info.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Apr 19, 2014 3:16 pm Post subject: |
|
|
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 |
|
 |
|