From 6b3f6ad00f862c201df4003f8ac7cda3f501e337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sat, 3 Aug 2024 08:32:24 +0200 Subject: [PATCH] Fixed usages of namespaces in slotconsts and thus fixed ABC cleaner --- .../flash/abc/usages/simple/ABCSimpleUsageDetector.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCSimpleUsageDetector.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCSimpleUsageDetector.java index 9e4e9d9dd..074de8977 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCSimpleUsageDetector.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/usages/simple/ABCSimpleUsageDetector.java @@ -333,14 +333,14 @@ public class ABCSimpleUsageDetector { case ValueKind.CONSTANT_ExplicitNamespace: case ValueKind.CONSTANT_StaticProtectedNs: case ValueKind.CONSTANT_PrivateNs: - handleUsage(ItemKind.NAMESPACE, value_index, description); + handleUsageNamespace(value_index, description); break; } } @Override protected void handleTraitSlotConst(ABC abc, TraitSlotConst trait, int scriptIndex, int scriptTraitIndex, int classIndex, int traitIndex, int bodyIndex, int bodyTraitIndex, ABCWalker.WalkType walkType, Stack callStack) { - + String description = ""; if (callStack.size() > 1) { if (bodyTraitIndex != -1) {