From e907a37d2e7b09b7284dd45854f239eafeea71f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 12 Mar 2023 13:02:33 +0100 Subject: [PATCH] Fixed AS3 p-code - remove findpropglobal,findpropglobalstrict - they are internal only --- .../src/com/jpexs/decompiler/flash/abc/avm2/AVM2Code.java | 2 +- .../abc/avm2/instructions/other/unknown/FindPropGlobalIns.java | 3 ++- .../instructions/other/unknown/FindPropGlobalStrictIns.java | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) 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 431b480a8..180c9504a 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 @@ -548,7 +548,7 @@ public class AVM2Code implements Cloneable { /*0x59*/ new GetDescendantsIns(), /*0x5A*/ new NewCatchIns(), /*0x5B*/ new DelDescendantsIns(), //deldescendants according to Flex, findpropglobalstrict(internal-only) according to Tamarin - /*0x5C*/ new FindPropGlobalIns(), //Tamarin (internal-only) + /*0x5C*/ //new FindPropGlobalIns(), //Tamarin (internal-only) /*0x5D*/ new FindPropertyStrictIns(), /*0x5E*/ new FindPropertyIns(), /*0x5F*/ new FindDefIns(), diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/unknown/FindPropGlobalIns.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/unknown/FindPropGlobalIns.java index 0af02659d..e2f512d30 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/unknown/FindPropGlobalIns.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/unknown/FindPropGlobalIns.java @@ -30,7 +30,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition; * * @author JPEXS * - * source: https://github.com/magicalhobo/SWFWire/blob/master/SWFWireDecompiler/src/com/swfwire/decompiler/abc/ABCInstructions.as + * source: https://github.com/adobe-flash/avmplus/blob/65a05927767f3735db37823eebf7d743531f5d37/utils/abcdis/abc/Constants.as + * (internal only) */ public class FindPropGlobalIns extends InstructionDefinition { diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/unknown/FindPropGlobalStrictIns.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/unknown/FindPropGlobalStrictIns.java index 62dda0004..fced35701 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/unknown/FindPropGlobalStrictIns.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/unknown/FindPropGlobalStrictIns.java @@ -30,7 +30,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition; * * @author JPEXS * - * source: https://github.com/magicalhobo/SWFWire/blob/master/SWFWireDecompiler/src/com/swfwire/decompiler/abc/ABCInstructions.as + * source: https://github.com/adobe-flash/avmplus/blob/65a05927767f3735db37823eebf7d743531f5d37/utils/abcdis/abc/Constants.as + * (internal only) */ public class FindPropGlobalStrictIns extends InstructionDefinition {