From 5b53af3bcd28fbc0bc153329343983bdff8eb28d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Sat, 27 Jul 2013 15:02:17 +0200 Subject: [PATCH] Issue #265 deobfuscation problem --- .../com/jpexs/decompiler/flash/SWFInputStream.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java b/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java index 53fa6edbb..59d385e9b 100644 --- a/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java +++ b/trunk/src/com/jpexs/decompiler/flash/SWFInputStream.java @@ -1021,16 +1021,7 @@ public class SWFInputStream extends InputStream { if ((a instanceof ActionStoreRegister) && stack.isEmpty()) { stack.push(new DirectValueActionItem(null, 0, new Null(), new ArrayList())); } - List localData2 = (List) Helper.deepCopy(localData); - HashMap vars = (HashMap) localData.get(1); - if (a instanceof ActionDefineFunction || a instanceof ActionDefineFunction2) { - for (int r = 0; r < 256; r++) { - if (vars.containsKey("__register" + r)) { - vars.remove("__register" + r); - } - } - } - a.translate(localData2, stack, output, Graph.SOP_USE_STATIC/*Graph.SOP_SKIP_STATIC*/, path); + a.translate(localData, stack, output, Graph.SOP_USE_STATIC/*Graph.SOP_SKIP_STATIC*/, path); } } } catch (RuntimeException ex) {