mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-04 00:34:41 +00:00
Fixed #1896 NullPointer during deobfuscation
This commit is contained in:
@@ -133,7 +133,7 @@ public abstract class GetLocalTypeIns extends InstructionDefinition {
|
||||
SetLocalAVM2Item setLocal = (SetLocalAVM2Item) setItem.value.getNotCoerced();
|
||||
if (setLocal.regIndex == regId) {
|
||||
int setLocalIp = localData.code.adr2pos(setLocal.getSrc().getAddress());
|
||||
if (localData.setLocalPosToGetLocalPos.get(setLocalIp).size() == 1) {
|
||||
if (localData.getSetLocalUsages(setLocalIp).size() == 1) {
|
||||
if ((setItem.value instanceof CoerceAVM2Item) || (setItem.value instanceof ConvertAVM2Item)) {
|
||||
setItem.value.value = setLocal.value;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user