nullpointer exception fix

This commit is contained in:
honfika@gmail.com
2015-09-04 09:11:33 +02:00
parent b47f5358fe
commit 671daba936

View File

@@ -296,6 +296,10 @@ public class AVM2DeobfuscatorSimple implements SWFDecompilerListener {
stack.pop();
AVM2Instruction pushins = makePush(abc.constants, staticRegs.get(regId));
if (pushins == null) {
return;
}
code.replaceInstruction(idx, pushins, body);
stack.push(staticRegs.get(regId));
ins = pushins;