diff --git a/src/main/java/net/runelite/deob/deobfuscators/arithmetic/MultiplicationDeobfuscator.java b/src/main/java/net/runelite/deob/deobfuscators/arithmetic/MultiplicationDeobfuscator.java index e3dc8fe725..2e1f603503 100644 --- a/src/main/java/net/runelite/deob/deobfuscators/arithmetic/MultiplicationDeobfuscator.java +++ b/src/main/java/net/runelite/deob/deobfuscators/arithmetic/MultiplicationDeobfuscator.java @@ -14,6 +14,7 @@ import net.runelite.deob.attributes.code.instruction.types.PushConstantInstructi import net.runelite.deob.attributes.code.instructions.BiPush; import net.runelite.deob.attributes.code.instructions.IAdd; import net.runelite.deob.attributes.code.instructions.IConst_M1; +import net.runelite.deob.attributes.code.instructions.IInc; import net.runelite.deob.attributes.code.instructions.IMul; import net.runelite.deob.attributes.code.instructions.ISub; import net.runelite.deob.attributes.code.instructions.LAdd; @@ -75,6 +76,9 @@ public class MultiplicationDeobfuscator implements Deobfuscator LVTInstruction storelvt = (LVTInstruction) storeCtx.getInstruction(); + if (storelvt instanceof IInc) + throw new IllegalStateException(); + assert storelvt.store(); InstructionContext pushed = storeCtx.getPops().get(0).getPushed();