From ea677871d486164d2a251039ac169a1ee68f1371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 14 Mar 2015 08:02:50 +0100 Subject: [PATCH] AS3: Added few new (unknown) OPCodes found in RABCDasm, Sweezy --- .../decompiler/flash/abc/avm2/AVM2Code.java | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java index ea4b650bd..ac8491f7f 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java @@ -453,6 +453,12 @@ public class AVM2Code implements Cloneable { } }, new GetPropertyIns(), + new InstructionDefinition(0x67, "getpropertylate", new int[]{}) { + @Override + public int getStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + }, new GetScopeObjectIns(), new GetSlotIns(), new GetSuperIns(), @@ -565,6 +571,17 @@ public class AVM2Code implements Cloneable { new PushTrueIns(), new PushUIntIns(), new PushUndefinedIns(), + new InstructionDefinition(0x22, "pushuninitialized", new int[]{AVM2Code.OPT_U30}) { + @Override + public int getStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + + @Override + public int getScopeStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + }, new PushWithIns(), new ReturnValueIns(), new ReturnVoidIns(), @@ -748,6 +765,39 @@ public class AVM2Code implements Cloneable { throw new UnsupportedOperationException(); } + @Override + public int getScopeStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + }, + new InstructionDefinition(0xfe, "verifyop", new int[]{}) { + @Override + public int getStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + + @Override + public int getScopeStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + }, + new InstructionDefinition(0xf5, "verifypass", new int[]{}) { + @Override + public int getStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + + @Override + public int getScopeStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + }, + new InstructionDefinition(0xf8, "wb", new int[]{}) { + @Override + public int getStackDelta(AVM2Instruction ins, ABC abc) { + throw new UnsupportedOperationException(); + } + @Override public int getScopeStackDelta(AVM2Instruction ins, ABC abc) { throw new UnsupportedOperationException();