From 53234351f9dcda30e96a26428c5fcc444e4e8388 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 12 Sep 2015 13:53:13 -0400 Subject: [PATCH] the value is still decrypted if it is 1 or 0 since x*1=x and x*0=0 so this was wrong --- .../net/runelite/deob/attributes/code/instructions/IMul.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/net/runelite/deob/attributes/code/instructions/IMul.java b/src/main/java/net/runelite/deob/attributes/code/instructions/IMul.java index a77292e9c8..a00009d5b4 100644 --- a/src/main/java/net/runelite/deob/attributes/code/instructions/IMul.java +++ b/src/main/java/net/runelite/deob/attributes/code/instructions/IMul.java @@ -48,7 +48,6 @@ public class IMul extends Instruction encryption.change(pci, o); } - else encKey = one.encryption; } else if (two.encryption != 0) { @@ -63,7 +62,6 @@ public class IMul extends Instruction encryption.change(pci, o); } - else encKey = two.encryption; } }