From fd636cfbba7f6009b4db96438820265094292fa4 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 11 Nov 2001 18:10:10 +0000 Subject: [PATCH] added jump rewriting for actionscript --- lib/rfxswf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/rfxswf.h b/lib/rfxswf.h index a860b77..aa7c4da 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -100,6 +100,10 @@ typedef struct _ActionTAG U8 tmp[4]; // store small operands here. } ActionTAG; +typedef struct _ActionMarker +{ + ActionTAG* atag; +} ActionMarker; typedef struct _SWF { U8 fileVersion; @@ -590,5 +594,7 @@ void action_If(U16 branch); void action_Call(); void action_GotoFrame2(U8 method); void swf_ActionEnd(); +ActionMarker action_setMarker(); +void action_fixjump(ActionMarker m1, ActionMarker m2); #endif -- 1.7.10.4