AS2: p-code deobfuscation

This commit is contained in:
Jindra Pet��k
2013-02-10 14:00:49 +01:00
parent 83758ae746
commit 92b02e3b56
52 changed files with 614 additions and 26 deletions
@@ -24,4 +24,11 @@ public class BitNotTreeItem extends UnaryOpTreeItem {
public BitNotTreeItem(Action instruction, TreeItem value) {
super(instruction, PRECEDENCE_UNARY, value, "~");
}
@Override
public double toNumber() {
return ~((int)value.toNumber());
}
}