\r
struct Action\r
{\r
- int flashversion;\r
+ int version;\r
char*name;\r
U8 op;\r
char*flags;\r
{4,"MBCharToAscii", 0x36, ""}, // -1, +1\r
{4,"MBAsciiToChar", 0x37, ""}, // -1, +1\r
{4,"Jump", 0x99, "b"},\r
-{4,"If", 0x9a, "b"}, // -1\r
+{4,"If", 0x9d, "b"}, // -1\r
{4,"Call", 0x9e, ""}, //-1 (frame label/number)\r
{4,"GetVariable", 0x1c,""}, // -1, +1\r
{4,"SetVariable", 0x1d,""}, // -2\r
{5,"Decrement", 0x51,""},\r
{5,"Increment", 0x50,""},\r
{5,"PushDuplicate", 0x4c,""},\r
-{5,"StackSwap", 0x4d,""},\r
+{5,"StackSwap", 0x4d,""}, //?\r
{5,"StoreRegister", 0x87,"r"},\r
{5,"CallFunction", 0x3d,""},\r
{5,"DefineFunction", 0x9b, "{"},\r
{5,"Constantpool", 0x88, "c"},\r
{5,"DefineLocal", 0x3c,""},\r
{5,"DefineLocal2", 0x41,""},\r
-{5,"Delete", 0x3a,""},\r
+{5,"Makehash", 0x43, ""}, //??\r
+{5,"Delete", 0x3a,""}, //?\r
{5,"Delete2", 0x3b,""},\r
{5,"Enumerate", 0x46,""},\r
{5,"Equals2", 0x49,""},\r
{5,"InitArray", 0x42,""}, // InitObject?\r
-{5,"NewMethod", 0x53,""},\r
+{5,"NewMethod", 0x53,""}, //?\r
{5,"NewObject", 0x40,""},\r
-{5,"TargetPath", 0x45,""},\r
+{5,"TargetPath", 0x45,""}, //?\r
{5,"With", 0x94, "o"},\r
-{5,"ToNumber", 0x4a,""},\r
-{5,"ToString", 0x4b,""},\r
+{5,"ToNumber", 0x4a,""}, //?\r
+{5,"ToString", 0x4b,""}, //?\r
{5,"TypeOf", 0x44,""},\r
{5,"Add2", 0x47,""},\r
-{5,"Less2", 0x48,""},\r
-\r
-{5,"???", 0x9d, ""}\r
+{5,"Less2", 0x48,""}\r
};\r
+\r
int definedactions = sizeof(actions)/sizeof(struct Action);\r
\r
+\r
struct _ActionTAG {\r
U8 op;\r
U16 len;\r