Remove unused methods before unused arguments

Fixes #99, which was caused by a method call in an unused method with a
non-constant dummy argument. This prevented the argument being removed,
but it wasn't obvious why as the method preventing the argument removal
was also removed.
bzip2
Graham 5 years ago
parent 0395224000
commit 4cd1b7b457
  1. 2
      deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt

@ -157,8 +157,8 @@ class Deobfuscator(private val input: Path, private val output: Path) {
RemapTransformer(),
ConstantArgTransformer(),
UnusedLocalTransformer(),
UnusedArgTransformer(),
UnusedMethodTransformer(),
UnusedArgTransformer(),
CounterTransformer(),
ResetTransformer(),
ClassLiteralTransformer(),

Loading…
Cancel
Save