Fix refactor fail in modarith from earlier
This commit is contained in:
@@ -151,9 +151,6 @@ public class ModArith implements Deobfuscator
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (other.getMyField() != null)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (!(pc.getConstant().getObject() instanceof Integer) && !(pc.getConstant().getObject() instanceof Long))
|
if (!(pc.getConstant().getObject() instanceof Integer) && !(pc.getConstant().getObject() instanceof Long))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@@ -172,15 +169,6 @@ public class ModArith implements Deobfuscator
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
InstructionContext popped = ctx.getPushes().get(0).getPopped().get(0);
|
|
||||||
if (popped.getInstruction() instanceof SetFieldInstruction)
|
|
||||||
{
|
|
||||||
SetFieldInstruction sfi = (SetFieldInstruction) popped.getInstruction();
|
|
||||||
|
|
||||||
if (sfi.getMyField() != null)
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.obfuscatedFields.add(other.getMyField());
|
this.obfuscatedFields.add(other.getMyField());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user