Fix AS3 deobfuscator damaged in 59042fb8

This commit is contained in:
Jindra Petřík
2021-02-07 14:23:54 +01:00
parent e24f3b6d40
commit 56b196f0dd

View File

@@ -405,6 +405,7 @@ public class AVM2DeobfuscatorSimpleOld extends AVM2DeobfuscatorZeroJumpsNullPush
boolean ifed = false;
if (def instanceof PopIns) {
code.replaceInstruction(idx, new AVM2Instruction(ins.getAddress(), DeobfuscatePopIns.getInstance(), null), body);
idx++;
} else if (def instanceof JumpIns) {
long address = ins.getTargetAddress();
idx = code.adr2pos(address);