From e73be1528651f36be14626cb929dbf24de61a6d2 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 24 Mar 2016 10:14:22 -0400 Subject: [PATCH] duh --- .../deob/deobfuscators/IllegalStateExceptions.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main/java/net/runelite/deob/deobfuscators/IllegalStateExceptions.java b/src/main/java/net/runelite/deob/deobfuscators/IllegalStateExceptions.java index fb99889f5f..ba15bc4a7c 100644 --- a/src/main/java/net/runelite/deob/deobfuscators/IllegalStateExceptions.java +++ b/src/main/java/net/runelite/deob/deobfuscators/IllegalStateExceptions.java @@ -65,20 +65,12 @@ public class IllegalStateExceptions implements Deobfuscator if (ics == null) continue; // never executed - boolean found = false; for (InstructionContext ic : ics) { - found = true; - if (ins instanceof If) ic.removeStack(1); ic.removeStack(0); - break; - } - if (!found) - { - System.out.println("Unable to locate instruction ctx to remove stack for illegalstateexception " + ins.getType().getName() + " in method " + m.getName() + " class " + m.getMethods().getClassFile().getName()); - continue; + break; // XXX I guess this doesnt matter we're only removing one path } // instruction is no longer at 'i' because we've just removed stuff...