mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-03 23:11:57 +03:00
Full decomp.
This commit is contained in:
parent
850b83ea9d
commit
d0d92fcf86
1 changed files with 2 additions and 2 deletions
|
@ -129,14 +129,14 @@ private AntiDecomp() {
|
||||||
public static byte[] antiDecomp(final byte[] input, ClassMetadataReader reader) {
|
public static byte[] antiDecomp(final byte[] input, ClassMetadataReader reader) {
|
||||||
ClassReader cr = new ClassReader(input);
|
ClassReader cr = new ClassReader(input);
|
||||||
ClassWriter cw = new SafeClassWriter(reader, ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS);
|
ClassWriter cw = new SafeClassWriter(reader, ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS);
|
||||||
cr.accept(new AObfClassVisitor(cw), ClassReader.SKIP_DEBUG | ClassReader.EXPAND_FRAMES);
|
cr.accept(new AObfClassVisitor(cw), ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES);
|
||||||
return cw.toByteArray();
|
return cw.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static byte[] expAntiDecomp(byte[] input, ClassMetadataReader reader) {
|
public static byte[] expAntiDecomp(byte[] input, ClassMetadataReader reader) {
|
||||||
ClassReader cr = new ClassReader(input);
|
ClassReader cr = new ClassReader(input);
|
||||||
ClassWriter cw = new SafeClassWriter(reader, ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS);
|
ClassWriter cw = new SafeClassWriter(reader, ClassWriter.COMPUTE_FRAMES | ClassWriter.COMPUTE_MAXS);
|
||||||
cr.accept(new ObfClassVisitor(cw), ClassReader.SKIP_DEBUG | ClassReader.EXPAND_FRAMES);
|
cr.accept(new ObfClassVisitor(cw), ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES);
|
||||||
return cw.toByteArray();
|
return cw.toByteArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue