From 36640ba221aa62fb69d54ce390a4884b9e66d2be Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Sun, 22 Nov 2015 15:19:10 +0100 Subject: [PATCH] deobfscator fix --- .../flash/abc/avm2/deobfuscation/AVM2DeobfuscatorSimple.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/deobfuscation/AVM2DeobfuscatorSimple.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/deobfuscation/AVM2DeobfuscatorSimple.java index 2eaaa1c6b..6dd2b2808 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/deobfuscation/AVM2DeobfuscatorSimple.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/deobfuscation/AVM2DeobfuscatorSimple.java @@ -181,6 +181,7 @@ public class AVM2DeobfuscatorSimple extends SWFDecompilerAdapter { int regId = ((SetLocalTypeIns) def).getRegisterId(ins); staticRegs.put(regId, localData.localRegisters.get(regId)); code.replaceInstruction(idx, new AVM2Instruction(0, DeobfuscatePopIns.getInstance(), null), body); + modified = true; } } if (def instanceof GetLocalTypeIns) { @@ -192,6 +193,7 @@ public class AVM2DeobfuscatorSimple extends SWFDecompilerAdapter { } code.replaceInstruction(idx, pushins, body); + modified = true; ins = pushins; def = ins.definition; }