chore: rev 188

This commit is contained in:
Owain van Brakel
2020-01-29 14:20:08 +01:00
parent c785d0015b
commit add4ca8005
357 changed files with 41366 additions and 41447 deletions

View File

@@ -6,72 +6,72 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("my")
@ObfuscatedName("me")
@Implements("BufferedFile")
public class BufferedFile {
@ObfuscatedName("i")
@ObfuscatedName("t")
@ObfuscatedSignature(
signature = "Lmk;"
signature = "Lmx;"
)
@Export("accessFile")
AccessFile accessFile;
@ObfuscatedName("y")
@ObfuscatedName("o")
@Export("readBuffer")
byte[] readBuffer;
@ObfuscatedName("w")
@ObfuscatedName("e")
@ObfuscatedGetter(
longValue = -5118577974640492239L
longValue = -8444963977777256649L
)
@Export("readBufferOffset")
long readBufferOffset;
@ObfuscatedName("p")
@ObfuscatedName("i")
@ObfuscatedGetter(
intValue = 999715569
intValue = 322598023
)
@Export("readBufferLength")
int readBufferLength;
@ObfuscatedName("b")
@ObfuscatedName("g")
@Export("writeBuffer")
byte[] writeBuffer;
@ObfuscatedName("e")
@ObfuscatedName("d")
@ObfuscatedGetter(
longValue = -7430138866634347913L
longValue = 2521859524399949401L
)
@Export("writeBufferOffset")
long writeBufferOffset;
@ObfuscatedName("x")
@ObfuscatedName("l")
@ObfuscatedGetter(
intValue = 1565373677
intValue = -477832747
)
@Export("writeBufferLength")
int writeBufferLength;
@ObfuscatedName("a")
@ObfuscatedName("j")
@ObfuscatedGetter(
longValue = -5354612076530734833L
longValue = 8179397345785106237L
)
@Export("offset")
long offset;
@ObfuscatedName("d")
@ObfuscatedName("m")
@ObfuscatedGetter(
longValue = -2323016013084465375L
longValue = 3198798508515629197L
)
@Export("fileLength")
long fileLength;
@ObfuscatedName("c")
@ObfuscatedName("p")
@ObfuscatedGetter(
longValue = 4889558715252805571L
longValue = 4935958229854898805L
)
@Export("length")
long length;
@ObfuscatedName("o")
@ObfuscatedName("h")
@ObfuscatedGetter(
longValue = 7555588731094843747L
longValue = 647147803493944647L
)
@Export("fileOffset")
long fileOffset;
@ObfuscatedSignature(
signature = "(Lmk;II)V"
signature = "(Lmx;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("f")
@ObfuscatedName("c")
@ObfuscatedSignature(
signature = "(I)V",
garbageValue = "1595800163"
garbageValue = "-1756613502"
)
@Export("close")
public void close() throws IOException {
@@ -95,7 +95,7 @@ public class BufferedFile {
this.accessFile.close();
}
@ObfuscatedName("i")
@ObfuscatedName("t")
@Export("seek")
public void seek(long var1) throws IOException {
if (var1 < 0L) {
@@ -105,30 +105,30 @@ public class BufferedFile {
}
}
@ObfuscatedName("y")
@ObfuscatedName("o")
@ObfuscatedSignature(
signature = "(B)J",
garbageValue = "91"
garbageValue = "-80"
)
@Export("length")
public long length() {
return this.length;
}
@ObfuscatedName("w")
@ObfuscatedName("e")
@ObfuscatedSignature(
signature = "([BB)V",
garbageValue = "-24"
signature = "([BI)V",
garbageValue = "-1589882877"
)
@Export("readFully")
public void readFully(byte[] var1) throws IOException {
this.read(var1, 0, var1.length);
}
@ObfuscatedName("p")
@ObfuscatedName("i")
@ObfuscatedSignature(
signature = "([BIIB)V",
garbageValue = "61"
garbageValue = "22"
)
@Export("read")
public void read(byte[] var1, int var2, int var3) throws IOException {
@@ -146,7 +146,7 @@ public class BufferedFile {
long var4 = this.offset;
int var7 = var3;
int var8;
if (this.offset >= this.readBufferOffset && this.offset < (long)this.readBufferLength + this.readBufferOffset) {
if (this.offset >= this.readBufferOffset && this.offset < this.readBufferOffset + (long)this.readBufferLength) {
var8 = (int)((long)this.readBufferLength - (this.offset - this.readBufferOffset));
if (var8 > var3) {
var8 = var3;
@@ -200,15 +200,15 @@ public class BufferedFile {
long var13 = -1L;
long var10 = -1L;
if (this.writeBufferOffset >= var4 && this.writeBufferOffset < var4 + (long)var7) {
if (this.writeBufferOffset >= var4 && this.writeBufferOffset < (long)var7 + var4) {
var13 = this.writeBufferOffset;
} else if (var4 >= this.writeBufferOffset && var4 < (long)this.writeBufferLength + this.writeBufferOffset) {
} else if (var4 >= this.writeBufferOffset && var4 < this.writeBufferOffset + (long)this.writeBufferLength) {
var13 = var4;
}
if (this.writeBufferOffset + (long)this.writeBufferLength > var4 && this.writeBufferOffset + (long)this.writeBufferLength <= (long)var7 + 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 <= this.writeBufferOffset + (long)this.writeBufferLength) {
} else if ((long)var7 + var4 > this.writeBufferOffset && (long)var7 + var4 <= (long)this.writeBufferLength + this.writeBufferOffset) {
var10 = (long)var7 + var4;
}
@@ -231,10 +231,10 @@ public class BufferedFile {
}
}
@ObfuscatedName("b")
@ObfuscatedName("g")
@ObfuscatedSignature(
signature = "(I)V",
garbageValue = "1578743019"
garbageValue = "-1700584004"
)
@Export("load")
void load() throws IOException {
@@ -261,23 +261,23 @@ public class BufferedFile {
}
@ObfuscatedName("e")
@ObfuscatedName("d")
@ObfuscatedSignature(
signature = "([BIII)V",
garbageValue = "732073067"
garbageValue = "-1609695177"
)
@Export("write")
public void write(byte[] var1, int var2, int var3) throws IOException {
try {
if (this.offset + (long)var3 > this.length) {
this.length = (long)var3 + this.offset;
this.length = this.offset + (long)var3;
}
if (-1L != this.writeBufferOffset && (this.offset < this.writeBufferOffset || this.offset > this.writeBufferOffset + (long)this.writeBufferLength)) {
if (this.writeBufferOffset != -1L && (this.offset < this.writeBufferOffset || this.offset > this.writeBufferOffset + (long)this.writeBufferLength)) {
this.flush();
}
if (-1L != this.writeBufferOffset && (long)var3 + this.offset > this.writeBufferOffset + (long)this.writeBuffer.length) {
if (-1L != this.writeBufferOffset && this.offset + (long)var3 > 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,21 +314,21 @@ public class BufferedFile {
long var9 = -1L;
long var6 = -1L;
if (this.offset >= this.readBufferOffset && this.offset < this.readBufferOffset + (long)this.readBufferLength) {
if (this.offset >= this.readBufferOffset && this.offset < (long)this.readBufferLength + this.readBufferOffset) {
var9 = this.offset;
} else if (this.readBufferOffset >= this.offset && this.readBufferOffset < (long)var3 + this.offset) {
} else if (this.readBufferOffset >= this.offset && this.readBufferOffset < this.offset + (long)var3) {
var9 = this.readBufferOffset;
}
if (this.offset + (long)var3 > this.readBufferOffset && (long)var3 + this.offset <= this.readBufferOffset + (long)this.readBufferLength) {
if (this.offset + (long)var3 > this.readBufferOffset && this.offset + (long)var3 <= (long)this.readBufferLength + this.readBufferOffset) {
var6 = this.offset + (long)var3;
} else if (this.readBufferOffset + (long)this.readBufferLength > this.offset && (long)this.readBufferLength + this.readBufferOffset <= (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;
}
if (var9 > -1L && var6 > var9) {
int var8 = (int)(var6 - var9);
System.arraycopy(var1, (int)(var9 + (long)var2 - this.offset), this.readBuffer, (int)(var9 - this.readBufferOffset), var8);
System.arraycopy(var1, (int)((long)var2 + var9 - this.offset), this.readBuffer, (int)(var9 - this.readBufferOffset), var8);
}
this.offset += (long)var3;
@@ -339,37 +339,37 @@ public class BufferedFile {
}
}
@ObfuscatedName("x")
@ObfuscatedName("l")
@ObfuscatedSignature(
signature = "(B)V",
garbageValue = "-37"
garbageValue = "118"
)
@Export("flush")
void flush() throws IOException {
if (-1L != this.writeBufferOffset) {
if (this.fileOffset != this.writeBufferOffset) {
if (this.writeBufferOffset != -1L) {
if (this.writeBufferOffset != this.fileOffset) {
this.accessFile.seek(this.writeBufferOffset);
this.fileOffset = this.writeBufferOffset;
}
this.accessFile.write(this.writeBuffer, 0, this.writeBufferLength);
this.fileOffset += 1565373677L * (long)(this.writeBufferLength * -466302747);
this.fileOffset += (long)(this.writeBufferLength * -2104387715) * -477832747L;
if (this.fileOffset > this.fileLength) {
this.fileLength = this.fileOffset;
}
long var1 = -1L;
long var3 = -1L;
if (this.writeBufferOffset >= this.readBufferOffset && this.writeBufferOffset < this.readBufferOffset + (long)this.readBufferLength) {
if (this.writeBufferOffset >= this.readBufferOffset && this.writeBufferOffset < (long)this.readBufferLength + this.readBufferOffset) {
var1 = this.writeBufferOffset;
} else if (this.readBufferOffset >= this.writeBufferOffset && this.readBufferOffset < (long)this.writeBufferLength + this.writeBufferOffset) {
var1 = this.readBufferOffset;
}
if (this.writeBufferOffset + (long)this.writeBufferLength > this.readBufferOffset && this.writeBufferOffset + (long)this.writeBufferLength <= (long)this.readBufferLength + this.readBufferOffset) {
var3 = this.writeBufferOffset + (long)this.writeBufferLength;
} else if (this.readBufferOffset + (long)this.readBufferLength > this.writeBufferOffset && (long)this.readBufferLength + this.readBufferOffset <= this.writeBufferOffset + (long)this.writeBufferLength) {
var3 = (long)this.readBufferLength + 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 (var1 > -1L && var3 > var1) {