mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 02:10:58 +00:00
#910 Missing "add" instruction in obfuscated code (obfuscated u30, u32, s32 reading fix)
This commit is contained in:
@@ -182,7 +182,7 @@ public class ABCInputStream implements AutoCloseable {
|
||||
ret += (((long) i) << bytePos);
|
||||
byteCount++;
|
||||
bytePos += 7;
|
||||
} while (nextByte);
|
||||
} while (nextByte && byteCount < 5);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -243,7 +243,7 @@ public class ABCInputStream implements AutoCloseable {
|
||||
}
|
||||
break;
|
||||
}
|
||||
} while (nextByte);
|
||||
} while (nextByte && byteCount < 5);
|
||||
endDumpLevel(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ public final class MethodBody implements Cloneable {
|
||||
}
|
||||
|
||||
public synchronized byte[] getCodeBytes() {
|
||||
if (code == null) {
|
||||
if (codeBytes != null) {
|
||||
return codeBytes;
|
||||
} else {
|
||||
return code.getBytes();
|
||||
@@ -125,6 +125,7 @@ public final class MethodBody implements Cloneable {
|
||||
|
||||
public void setCode(AVM2Code code) {
|
||||
this.code = code;
|
||||
this.codeBytes = null;
|
||||
}
|
||||
|
||||
public List<Integer> getExceptionEntries() {
|
||||
|
||||
Reference in New Issue
Block a user