Closed JojOatXGME closed 9 years ago
If Krakatau produces multiple methods, that means the class being decompiled has multiple methods.
Most likely, you're seeing methods that were autogenerated by the compiler. Krakatau does very little resugaring, unlike most other decompilers, since it adds enormous complexity and is useless for obfuscated code anyway.
Sometimes your decompiler produce the same method multiple times. This happens if a class
A
inherits fromB
(directly or indirectly) and overwrites the methodf
but the return-type off
inA
is more specific as inB
.I'm not sure if that's always happens but I have several occurrences.
For example your decompiler produce something like that:
The solution would be to write only the first function (with more specific return-type or from more specific class) to the sources.