X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Fopcodes.c;fp=lib%2Fas3%2Fopcodes.c;h=c333f3c43efbd36de4a07169d62533a6720961f7;hb=2daadb492b21a94a54c73b0d524b636d3e9da009;hp=b21bccb013976496d6cde1ee5ca877ac593891ac;hpb=2504bb3d310627620c3575aff8481d1df3efd6ca;p=swftools.git diff --git a/lib/as3/opcodes.c b/lib/as3/opcodes.c index b21bccb..c333f3c 100644 --- a/lib/as3/opcodes.c +++ b/lib/as3/opcodes.c @@ -929,14 +929,10 @@ code_t* abc_urshift(code_t*prev) code_t*self = add_opcode(prev, 0xa7); return self; } -code_t* abc_xxx1(code_t*prev) +code_t* abc_applytype(code_t*prev, int v) { code_t*self = add_opcode(prev, 0x53); - return self; -} -code_t* abc_xxx2(code_t*prev) -{ - code_t*self = add_opcode(prev, 0x01); + self->data[0] = (void*)(ptroff_t)v; return self; } code_t* abc___break__(code_t*prev)