While reversing some J2ME games like Spyro or Tekken 5 Mobile I have encountered a weird obfuscation where all fields, methods and classes have names like A, a, B, b, Aa, Bb etc.
It's really hard to read source code like that. Example method can look like this:
public static void a(final boolean b) {
f.b = b;
if (!b && f.a != null) {
try {
f.a.stop();
}
catch (Exception ex) {}
f.a = null;
}
}
Is there a way to restore original names or at least make this code more readable? I would be grateful for any tips.