From d0d92fcf8638ad71c4b269d57a604793d19b5049 Mon Sep 17 00:00:00 2001 From: Zaxar163 <35835496+Zaxar163@users.noreply.github.com> Date: Sat, 8 Dec 2018 11:46:31 +0300 Subject: [PATCH] Full decomp. --- .../src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java b/LaunchServer/src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java index 7df0dcdf..917412e7 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/asm/AntiDecomp.java @@ -129,14 +129,14 @@ private AntiDecomp() { public static byte[] antiDecomp(final byte[] input, ClassMetadataReader reader) { ClassReader cr = new ClassReader(input); 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(); } public static byte[] expAntiDecomp(byte[] input, ClassMetadataReader reader) { ClassReader cr = new ClassReader(input); 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(); } }