git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added new perturbation, various bugfixes, and postscript output
[swftools.git]
/
lib
/
modules
/
swfabc_ops.c
diff --git
a/lib/modules/swfabc_ops.c
b/lib/modules/swfabc_ops.c
index
a8290e1
..
3f908c4
100644
(file)
--- a/
lib/modules/swfabc_ops.c
+++ b/
lib/modules/swfabc_ops.c
@@
-135,13
+135,13
@@
void abc_convert_s(abc_code_t*c)
{
swf_SetU8(c->tag, 0x70);
}
{
swf_SetU8(c->tag, 0x70);
}
-void abc_debug(abc_code_t*c, int v, char*s, int v, int v)
+void abc_debug(abc_code_t*c, int v, char*s, int v3, int v2)
{
swf_SetU8(c->tag, 0xef);
swf_SetU8(c->tag, v);
swf_SetU30(c->tag, dict_update(c->abc->strings, s, 0));
{
swf_SetU8(c->tag, 0xef);
swf_SetU8(c->tag, v);
swf_SetU30(c->tag, dict_update(c->abc->strings, s, 0));
- swf_SetU8(c->tag, v);
- swf_SetU30(c->tag, v);
+ swf_SetU8(c->tag, v3);
+ swf_SetU30(c->tag, v2);
}
void abc_debugfile(abc_code_t*c, char*s)
{
}
void abc_debugfile(abc_code_t*c, char*s)
{
@@
-283,69
+283,65
@@
void abc_hasnext(abc_code_t*c)
{
swf_SetU8(c->tag, 0x1f);
}
{
swf_SetU8(c->tag, 0x1f);
}
-void abc_hasnext2(abc_code_t*c, int v, int v)
+void abc_hasnext2(abc_code_t*c, int v, int v2)
{
swf_SetU8(c->tag, 0x32);
swf_SetU30(c->tag, v);
{
swf_SetU8(c->tag, 0x32);
swf_SetU30(c->tag, v);
- swf_SetU30(c->tag, v);
+ swf_SetU30(c->tag, v2);
}
}
-void abc_ifeq(abc_code_t*c, )
+void abc_ifeq(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x13);
}
{
swf_SetU8(c->tag, 0x13);
}
-void abc_iffalse(abc_code_t*c, )
+void abc_iffalse(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x12);
}
{
swf_SetU8(c->tag, 0x12);
}
-void abc_ifge(abc_code_t*c, )
+void abc_ifge(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x18);
}
{
swf_SetU8(c->tag, 0x18);
}
-void abc_ifgt(abc_code_t*c, )
+void abc_ifgt(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x17);
}
{
swf_SetU8(c->tag, 0x17);
}
-void abc_ifle(abc_code_t*c, )
+void abc_ifle(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x16);
}
{
swf_SetU8(c->tag, 0x16);
}
-void abc_iflt(abc_code_t*c, )
+void abc_iflt(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x15);
}
{
swf_SetU8(c->tag, 0x15);
}
-void abc_ifnge(abc_code_t*c, )
+void abc_ifnge(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x0f);
}
{
swf_SetU8(c->tag, 0x0f);
}
-void abc_ifngt(abc_code_t*c, )
+void abc_ifngt(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x0e);
}
{
swf_SetU8(c->tag, 0x0e);
}
-void abc_ifnle(abc_code_t*c, )
+void abc_ifnle(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x0d);
}
{
swf_SetU8(c->tag, 0x0d);
}
-void abc_ifnlt(abc_code_t*c, )
+void abc_ifnlt(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x0c);
}
{
swf_SetU8(c->tag, 0x0c);
}
-void abc_ifne(abc_code_t*c, )
+void abc_ifne(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x14);
}
{
swf_SetU8(c->tag, 0x14);
}
-void abc_ifne(abc_code_t*c, )
-{
- swf_SetU8(c->tag, 0x14);
-}
-void abc_ifstricteq(abc_code_t*c, )
+void abc_ifstricteq(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x19);
}
{
swf_SetU8(c->tag, 0x19);
}
-void abc_ifstrictne(abc_code_t*c, )
+void abc_ifstrictne(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x1a);
}
{
swf_SetU8(c->tag, 0x1a);
}
-void abc_iftrue(abc_code_t*c, )
+void abc_iftrue(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x11);
}
{
swf_SetU8(c->tag, 0x11);
}
@@
-389,7
+385,7
@@
void abc_istypelate(abc_code_t*c)
{
swf_SetU8(c->tag, 0xb3);
}
{
swf_SetU8(c->tag, 0xb3);
}
-void abc_jump(abc_code_t*c, )
+void abc_jump(abc_code_t*c, int target)
{
swf_SetU8(c->tag, 0x10);
}
{
swf_SetU8(c->tag, 0x10);
}
@@
-410,10
+406,6
@@
void abc_lessthan(abc_code_t*c)
{
swf_SetU8(c->tag, 0xad);
}
{
swf_SetU8(c->tag, 0xad);
}
-void abc_lookupswitch(abc_code_t*c, )
-{
- swf_SetU8(c->tag, 0x1b);
-}
void abc_lshift(abc_code_t*c)
{
swf_SetU8(c->tag, 0xa5);
void abc_lshift(abc_code_t*c)
{
swf_SetU8(c->tag, 0xa5);
@@
-501,7
+493,7
@@
void abc_pushdouble(abc_code_t*c, int v)
swf_SetU8(c->tag, 0x2f);
swf_SetU30(c->tag, v);
}
swf_SetU8(c->tag, 0x2f);
swf_SetU30(c->tag, v);
}
-void abc_pushtrue(abc_code_t*c)
+void abc_pushfalse(abc_code_t*c)
{
swf_SetU8(c->tag, 0x27);
}
{
swf_SetU8(c->tag, 0x27);
}