AS1/2 better deobfuscation

This commit is contained in:
Jindra Petk
2013-03-10 13:57:31 +01:00
parent 4c1485808f
commit c9fe445372
58 changed files with 202 additions and 210 deletions

View File

@@ -32,6 +32,10 @@ public class ReReadableInputStream extends InputStream {
int pos = 0;
int count = 0;
public int getCount() {
return count;
}
public byte[] getAllRead() {
return baos.toByteArray();
}
@@ -46,6 +50,7 @@ public class ReReadableInputStream extends InputStream {
public void setPos(int pos) throws IOException {
if (pos > count) {
this.pos = count;
skip(pos - count);
}
this.pos = pos;