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 a00009d5b4..3350195244 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 @@ -42,7 +42,7 @@ public class IMul extends Instruction // 'one' is encrypted and we want to decrypt it by dividing by one.encryption - if (other != 1 && other != 0) + //if (other != 1 && other != 0) { int o = other * DMath.modInverse(one.encryption); @@ -56,7 +56,7 @@ public class IMul extends Instruction PushConstantInstruction pci = (PushConstantInstruction) one.getPushed().getInstruction(); int other = (int) pci.getConstant().getObject(); - if (other != 1 && other != 0) + //if (other != 1 && other != 0) { int o = other * DMath.modInverse(two.encryption); diff --git a/src/main/java/net/runelite/deob/attributes/code/instructions/PutStatic.java b/src/main/java/net/runelite/deob/attributes/code/instructions/PutStatic.java index 08c44a7cb5..a769b4edd8 100644 --- a/src/main/java/net/runelite/deob/attributes/code/instructions/PutStatic.java +++ b/src/main/java/net/runelite/deob/attributes/code/instructions/PutStatic.java @@ -86,7 +86,7 @@ public class PutStatic extends Instruction implements SetFieldInstruction if (encryption.hasChange(pci)) return true; - if (value != 0 && value != 1) + //if (value != 0 && value != 1) { value = value * pair.getter;