chore: revision 189

This commit is contained in:
ThatGamerBlue
2020-03-26 14:17:06 +00:00
parent 60b7d0413f
commit acd339fd70
392 changed files with 43289 additions and 42917 deletions

View File

@@ -6,72 +6,72 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("me")
@ObfuscatedName("ms")
@Implements("BufferedFile")
public class BufferedFile {
@ObfuscatedName("t")
@ObfuscatedName("m")
@ObfuscatedSignature(
signature = "Lmx;"
signature = "Lmb;"
)
@Export("accessFile")
AccessFile accessFile;
@ObfuscatedName("o")
@ObfuscatedName("k")
@Export("readBuffer")
byte[] readBuffer;
@ObfuscatedName("e")
@ObfuscatedName("d")
@ObfuscatedGetter(
longValue = -8444963977777256649L
longValue = -6621394340155458391L
)
@Export("readBufferOffset")
long readBufferOffset;
@ObfuscatedName("i")
@ObfuscatedName("w")
@ObfuscatedGetter(
intValue = 322598023
intValue = -498492055
)
@Export("readBufferLength")
int readBufferLength;
@ObfuscatedName("g")
@ObfuscatedName("v")
@Export("writeBuffer")
byte[] writeBuffer;
@ObfuscatedName("d")
@ObfuscatedName("q")
@ObfuscatedGetter(
longValue = 2521859524399949401L
longValue = -915874801967299919L
)
@Export("writeBufferOffset")
long writeBufferOffset;
@ObfuscatedName("l")
@ObfuscatedName("z")
@ObfuscatedGetter(
intValue = -477832747
intValue = 730352763
)
@Export("writeBufferLength")
int writeBufferLength;
@ObfuscatedName("j")
@ObfuscatedName("t")
@ObfuscatedGetter(
longValue = 8179397345785106237L
longValue = 8841745747932636313L
)
@Export("offset")
long offset;
@ObfuscatedName("m")
@ObfuscatedName("e")
@ObfuscatedGetter(
longValue = 3198798508515629197L
longValue = -5167130975185536305L
)
@Export("fileLength")
long fileLength;
@ObfuscatedName("p")
@ObfuscatedName("s")
@ObfuscatedGetter(
longValue = 4935958229854898805L
longValue = -2996772461190095265L
)
@Export("length")
long length;
@ObfuscatedName("h")
@ObfuscatedName("p")
@ObfuscatedGetter(
longValue = 647147803493944647L
longValue = -2630268660887985841L
)
@Export("fileOffset")
long fileOffset;
@ObfuscatedSignature(
signature = "(Lmx;II)V"
signature = "(Lmb;II)V"
)
public BufferedFile(AccessFile var1, int var2, int var3) throws IOException {
this.readBufferOffset = -1L;
@@ -84,10 +84,10 @@ public class BufferedFile {
this.offset = 0L;
}
@ObfuscatedName("c")
@ObfuscatedName("x")
@ObfuscatedSignature(
signature = "(I)V",
garbageValue = "-1756613502"
garbageValue = "-859079735"
)
@Export("close")
public void close() throws IOException {
@@ -95,7 +95,7 @@ public class BufferedFile {
this.accessFile.close();
}
@ObfuscatedName("t")
@ObfuscatedName("m")
@Export("seek")
public void seek(long var1) throws IOException {
if (var1 < 0L) {
@@ -105,30 +105,30 @@ public class BufferedFile {
}
}
@ObfuscatedName("o")
@ObfuscatedName("k")
@ObfuscatedSignature(
signature = "(B)J",
garbageValue = "-80"
garbageValue = "65"
)
@Export("length")
public long length() {
return this.length;
}
@ObfuscatedName("e")
@ObfuscatedName("d")
@ObfuscatedSignature(
signature = "([BI)V",
garbageValue = "-1589882877"
garbageValue = "1780472721"
)
@Export("readFully")
public void readFully(byte[] var1) throws IOException {
this.read(var1, 0, var1.length);
}
@ObfuscatedName("i")
@ObfuscatedName("w")
@ObfuscatedSignature(
signature = "([BIIB)V",
garbageValue = "22"
signature = "([BIII)V",
garbageValue = "1941673100"
)
@Export("read")
public void read(byte[] var1, int var2, int var3) throws IOException {
@@ -137,7 +137,7 @@ public class BufferedFile {
throw new ArrayIndexOutOfBoundsException(var3 + var2 - var1.length);
}
if (this.writeBufferOffset != -1L && this.offset >= this.writeBufferOffset && (long)var3 + this.offset <= this.writeBufferOffset + (long)this.writeBufferLength) {
if (this.writeBufferOffset != -1L && this.offset >= this.writeBufferOffset && this.offset + (long)var3 <= this.writeBufferOffset + (long)this.writeBufferLength) {
System.arraycopy(this.writeBuffer, (int)(this.offset - this.writeBufferOffset), var1, var2, var3);
this.offset += (long)var3;
return;
@@ -200,16 +200,16 @@ public class BufferedFile {
long var13 = -1L;
long var10 = -1L;
if (this.writeBufferOffset >= var4 && this.writeBufferOffset < (long)var7 + var4) {
if (this.writeBufferOffset >= var4 && this.writeBufferOffset < var4 + (long)var7) {
var13 = this.writeBufferOffset;
} else if (var4 >= this.writeBufferOffset && var4 < this.writeBufferOffset + (long)this.writeBufferLength) {
} else if (var4 >= this.writeBufferOffset && var4 < (long)this.writeBufferLength + this.writeBufferOffset) {
var13 = var4;
}
if ((long)this.writeBufferLength + this.writeBufferOffset > var4 && this.writeBufferOffset + (long)this.writeBufferLength <= (long)var7 + var4) {
var10 = (long)this.writeBufferLength + this.writeBufferOffset;
} else if ((long)var7 + var4 > this.writeBufferOffset && (long)var7 + var4 <= (long)this.writeBufferLength + this.writeBufferOffset) {
var10 = (long)var7 + var4;
var10 = this.writeBufferOffset + (long)this.writeBufferLength;
} else if ((long)var7 + var4 > this.writeBufferOffset && var4 + (long)var7 <= (long)this.writeBufferLength + this.writeBufferOffset) {
var10 = var4 + (long)var7;
}
if (var13 > -1L && var10 > var13) {
@@ -231,15 +231,15 @@ public class BufferedFile {
}
}
@ObfuscatedName("g")
@ObfuscatedName("v")
@ObfuscatedSignature(
signature = "(I)V",
garbageValue = "-1700584004"
garbageValue = "-2013306645"
)
@Export("load")
void load() throws IOException {
this.readBufferLength = 0;
if (this.fileOffset != this.offset) {
if (this.offset != this.fileOffset) {
this.accessFile.seek(this.offset);
this.fileOffset = this.offset;
}
@@ -261,10 +261,10 @@ public class BufferedFile {
}
@ObfuscatedName("d")
@ObfuscatedName("q")
@ObfuscatedSignature(
signature = "([BIII)V",
garbageValue = "-1609695177"
signature = "([BIIB)V",
garbageValue = "-1"
)
@Export("write")
public void write(byte[] var1, int var2, int var3) throws IOException {
@@ -273,11 +273,11 @@ public class BufferedFile {
this.length = this.offset + (long)var3;
}
if (this.writeBufferOffset != -1L && (this.offset < this.writeBufferOffset || this.offset > this.writeBufferOffset + (long)this.writeBufferLength)) {
if (this.writeBufferOffset != -1L && (this.offset < this.writeBufferOffset || this.offset > (long)this.writeBufferLength + this.writeBufferOffset)) {
this.flush();
}
if (-1L != this.writeBufferOffset && this.offset + (long)var3 > this.writeBufferOffset + (long)this.writeBuffer.length) {
if (this.writeBufferOffset != -1L && (long)var3 + this.offset > this.writeBufferOffset + (long)this.writeBuffer.length) {
int var4 = (int)((long)this.writeBuffer.length - (this.offset - this.writeBufferOffset));
System.arraycopy(var1, var2, this.writeBuffer, (int)(this.offset - this.writeBufferOffset), var4);
this.offset += (long)var4;
@@ -314,16 +314,16 @@ public class BufferedFile {
long var9 = -1L;
long var6 = -1L;
if (this.offset >= this.readBufferOffset && this.offset < (long)this.readBufferLength + this.readBufferOffset) {
if (this.offset >= this.readBufferOffset && this.offset < this.readBufferOffset + (long)this.readBufferLength) {
var9 = this.offset;
} else if (this.readBufferOffset >= this.offset && this.readBufferOffset < this.offset + (long)var3) {
} else if (this.readBufferOffset >= this.offset && this.readBufferOffset < (long)var3 + this.offset) {
var9 = this.readBufferOffset;
}
if (this.offset + (long)var3 > this.readBufferOffset && this.offset + (long)var3 <= (long)this.readBufferLength + this.readBufferOffset) {
var6 = this.offset + (long)var3;
if (this.offset + (long)var3 > this.readBufferOffset && (long)var3 + this.offset <= this.readBufferOffset + (long)this.readBufferLength) {
var6 = (long)var3 + this.offset;
} else if ((long)this.readBufferLength + this.readBufferOffset > this.offset && this.readBufferOffset + (long)this.readBufferLength <= (long)var3 + this.offset) {
var6 = this.readBufferOffset + (long)this.readBufferLength;
var6 = (long)this.readBufferLength + this.readBufferOffset;
}
if (var9 > -1L && var6 > var9) {
@@ -339,37 +339,37 @@ public class BufferedFile {
}
}
@ObfuscatedName("l")
@ObfuscatedName("z")
@ObfuscatedSignature(
signature = "(B)V",
garbageValue = "118"
signature = "(I)V",
garbageValue = "-985506123"
)
@Export("flush")
void flush() throws IOException {
if (this.writeBufferOffset != -1L) {
if (this.writeBufferOffset != this.fileOffset) {
if (-1L != this.writeBufferOffset) {
if (this.fileOffset != this.writeBufferOffset) {
this.accessFile.seek(this.writeBufferOffset);
this.fileOffset = this.writeBufferOffset;
}
this.accessFile.write(this.writeBuffer, 0, this.writeBufferLength);
this.fileOffset += (long)(this.writeBufferLength * -2104387715) * -477832747L;
this.fileOffset += (long)this.writeBufferLength * 257304554331176961L;
if (this.fileOffset > this.fileLength) {
this.fileLength = this.fileOffset;
}
long var1 = -1L;
long var3 = -1L;
if (this.writeBufferOffset >= this.readBufferOffset && this.writeBufferOffset < (long)this.readBufferLength + this.readBufferOffset) {
if (this.writeBufferOffset >= this.readBufferOffset && this.writeBufferOffset < this.readBufferOffset + (long)this.readBufferLength) {
var1 = this.writeBufferOffset;
} else if (this.readBufferOffset >= this.writeBufferOffset && this.readBufferOffset < (long)this.writeBufferLength + this.writeBufferOffset) {
var1 = this.readBufferOffset;
}
if ((long)this.writeBufferLength + this.writeBufferOffset > this.readBufferOffset && (long)this.writeBufferLength + this.writeBufferOffset <= (long)this.readBufferLength + this.readBufferOffset) {
var3 = (long)this.writeBufferLength + this.writeBufferOffset;
} else if (this.readBufferOffset + (long)this.readBufferLength > this.writeBufferOffset && this.readBufferOffset + (long)this.readBufferLength <= (long)this.writeBufferLength + this.writeBufferOffset) {
var3 = this.readBufferOffset + (long)this.readBufferLength;
if ((long)this.writeBufferLength + this.writeBufferOffset > this.readBufferOffset && this.writeBufferOffset + (long)this.writeBufferLength <= this.readBufferOffset + (long)this.readBufferLength) {
var3 = this.writeBufferOffset + (long)this.writeBufferLength;
} else if ((long)this.readBufferLength + this.readBufferOffset > this.writeBufferOffset && (long)this.readBufferLength + this.readBufferOffset <= (long)this.writeBufferLength + this.writeBufferOffset) {
var3 = (long)this.readBufferLength + this.readBufferOffset;
}
if (var1 > -1L && var3 > var1) {