diff --git a/src/main/java/net/runelite/deob/attributes/code/instructions/IfICmpNe.java b/src/main/java/net/runelite/deob/attributes/code/instructions/IfICmpNe.java index bc19564106..2cf81f9926 100644 --- a/src/main/java/net/runelite/deob/attributes/code/instructions/IfICmpNe.java +++ b/src/main/java/net/runelite/deob/attributes/code/instructions/IfICmpNe.java @@ -24,6 +24,10 @@ public class IfICmpNe extends If if (o instanceof Integer && (int) o == 0) return true; } + else if (s.getPushed().getInstruction() instanceof IfICmpEq) + { + return true; + } return false; } @@ -43,6 +47,10 @@ public class IfICmpNe extends If if (isZero(s1) || isZero(s2)) return true; } + else if (otherIc.getInstruction() instanceof IfICmpEq) + { + return true; + } return false; }