Ok, I know that ZuckeR already has a tutorial, but it is outdated and doesn't work anymore. But I know AS3, a tutorial is not what I need. I need to know the list of bytecode for specific operations, such as "pushbyte" (24), or "returnvoid" (47).
I need to know what the code is for TRUE, I need to unlock some achievements. And I figured that this would be a good place to make an ongoing list of all the codes. I'll start.
These are what I know.
Code:
Input Opcode Opcode Hex Stack (after op)
1 pushbyte 24 01 1
2 pushbyte 24 02 2, 1
4 pushbyte 24 04 4, 2, 1
* multiply a2 8, 1
+ add a0 9
3 pushbyte 24 03 3, 9
+ add a0 12
Pushing values directly.
pushnull 20 (null)
pushundefined 21 (undefined)
pushbyte 24 ?? (0 to 127 and -1 to -128)
pushshort 25 See http://bluecork.net/cheats/short.php for converting values
pushtrue 26 (true)
pushfalse 27 (false)
pushnan 28 (NaN)
Mathematical operands
add A0 (+) Add the last value on the stack to the 2nd last.
subtract A1 (-) Subtracts the last value on the stack from the 2nd last.
multiply A2 (*) Multiplies the last value on the stack with the 2nd last.
divide A3 (/) Devides the 2nd last value on stack by the last.
negate 90 (-X) Negate the last value on stack.
increment 91 (++) Adds 1 to the last value on stack.
decrement 93 (--) Substracts 1 from the last value on stack.
Pushing variables that are saved in the constant pool.
pushint 2D ??
pushuint 2E ??
pushdouble 2F ??
NVM I found it, but this list could really help some newbies. Keep it going, add your codes that are not already here!
Note: Make sure that you copy and paste all the code