From: kramm Date: Sun, 11 Nov 2001 18:10:10 +0000 (+0000) Subject: added jump rewriting for actionscript X-Git-Tag: release-0-1-2~19 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=fd636cfbba7f6009b4db96438820265094292fa4 added jump rewriting for actionscript --- 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