From a66e3eeb9ba45a8b2fe14fb344b9ef6c06468f19 Mon Sep 17 00:00:00 2001 From: Graham Date: Mon, 17 Feb 2020 18:55:06 +0000 Subject: [PATCH] Move CounterTransformer later in the pipeline This allows us to remove a counter whose code I suspect was mixed with a dummy local variable declaration. --- deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt index 78c7d544b1..c376251384 100644 --- a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt +++ b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.kt @@ -151,7 +151,6 @@ class Deobfuscator(private val input: Path, private val output: Path) { OpaquePredicateTransformer(), ExceptionTracingTransformer(), BitShiftTransformer(), - CounterTransformer(), CanvasTransformer(), FieldOrderTransformer(), BitwiseOpTransformer(), @@ -159,6 +158,7 @@ class Deobfuscator(private val input: Path, private val output: Path) { DummyArgTransformer(), DummyLocalTransformer(), UnusedArgTransformer(), + CounterTransformer(), ResetTransformer(), AccessTransformer(), OverrideTransformer()