Basic multi arith, need to rewrite
This commit is contained in:
@@ -26,6 +26,7 @@ import net.runelite.deob.deobfuscators.UnusedFields;
|
|||||||
import net.runelite.deob.deobfuscators.UnusedMethods;
|
import net.runelite.deob.deobfuscators.UnusedMethods;
|
||||||
import net.runelite.deob.deobfuscators.UnusedParameters;
|
import net.runelite.deob.deobfuscators.UnusedParameters;
|
||||||
import net.runelite.deob.deobfuscators.arithmetic.ModArith;
|
import net.runelite.deob.deobfuscators.arithmetic.ModArith;
|
||||||
|
import net.runelite.deob.deobfuscators.arithmetic.MultiplicationDeobfuscator;
|
||||||
import net.runelite.deob.execution.Execution;
|
import net.runelite.deob.execution.Execution;
|
||||||
|
|
||||||
//move static methods
|
//move static methods
|
||||||
@@ -86,7 +87,9 @@ public class Deob
|
|||||||
//
|
//
|
||||||
// run(group, new UnusedClass());
|
// run(group, new UnusedClass());
|
||||||
|
|
||||||
new ModArith().run(group);
|
//new ModArith().run(group);
|
||||||
|
|
||||||
|
new MultiplicationDeobfuscator().run(group);
|
||||||
|
|
||||||
saveJar(group, args[1]);
|
saveJar(group, args[1]);
|
||||||
|
|
||||||
|
|||||||
@@ -128,6 +128,9 @@ public abstract class Instruction
|
|||||||
}
|
}
|
||||||
from.clear();
|
from.clear();
|
||||||
|
|
||||||
|
for (Exception e : instructions.getCode().getExceptions().getExceptions())
|
||||||
|
e.replace(this, next);
|
||||||
|
|
||||||
this.getInstructions().remove(this); // calls remove()
|
this.getInstructions().remove(this); // calls remove()
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user