AS1/2 better deobfuscation

code formatting
This commit is contained in:
Jindra Pet��k
2013-03-10 06:03:15 +01:00
parent 959a413a72
commit 4c1485808f
164 changed files with 1083 additions and 666 deletions
@@ -30,7 +30,7 @@ public class DirectValueTreeItem extends TreeItem {
super(instruction, PRECEDENCE_PRIMARY);
this.constants = constants;
this.value = value;
this.instructionPos = instructionPos;
this.pos = instructionPos;
}
@Override
@@ -44,6 +44,9 @@ public class DirectValueTreeItem extends TreeItem {
if (value instanceof Long) {
return (Long) value;
}
if (value instanceof Boolean) {
return ((Boolean) value) ? 1 : 0;
}
return super.toNumber();
}