project: uwu (197)

This commit is contained in:
ThatGamerBlue
2021-06-16 11:24:56 +01:00
parent 6278fd9835
commit fbbafc7285
437 changed files with 52595 additions and 52141 deletions

View File

@@ -6,72 +6,72 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("nf")
@ObfuscatedName("na")
@Implements("BufferedFile")
public class BufferedFile {
@ObfuscatedName("n")
@ObfuscatedName("e")
@ObfuscatedSignature(
descriptor = "Lnm;"
descriptor = "Lnp;"
)
@Export("accessFile")
AccessFile accessFile;
@ObfuscatedName("f")
@ObfuscatedName("v")
@Export("readBuffer")
byte[] readBuffer;
@ObfuscatedName("y")
@ObfuscatedGetter(
longValue = 4024474701341933375L
longValue = 1625805143389921353L
)
@Export("readBufferOffset")
long readBufferOffset;
@ObfuscatedName("p")
@ObfuscatedName("j")
@ObfuscatedGetter(
intValue = -1725800063
intValue = -1336939793
)
@Export("readBufferLength")
int readBufferLength;
@ObfuscatedName("j")
@ObfuscatedName("o")
@Export("writeBuffer")
byte[] writeBuffer;
@ObfuscatedName("r")
@ObfuscatedName("m")
@ObfuscatedGetter(
longValue = 8737860925507049089L
longValue = -8547575166494072957L
)
@Export("writeBufferOffset")
long writeBufferOffset;
@ObfuscatedName("b")
@ObfuscatedName("r")
@ObfuscatedGetter(
intValue = -97062741
intValue = -1991100171
)
@Export("writeBufferLength")
int writeBufferLength;
@ObfuscatedName("d")
@ObfuscatedName("h")
@ObfuscatedGetter(
longValue = -3326324260793149209L
longValue = -3424275237197031151L
)
@Export("offset")
long offset;
@ObfuscatedName("s")
@ObfuscatedName("d")
@ObfuscatedGetter(
longValue = -6829996619110357721L
longValue = 4274241302856356315L
)
@Export("fileLength")
long fileLength;
@ObfuscatedName("u")
@ObfuscatedName("z")
@ObfuscatedGetter(
longValue = 3454228653685997387L
longValue = -5713730759396535535L
)
@Export("length")
long length;
@ObfuscatedName("l")
@ObfuscatedName("b")
@ObfuscatedGetter(
longValue = 1780782613106431365L
longValue = -9215570933618315831L
)
@Export("fileOffset")
long fileOffset;
@ObfuscatedSignature(
descriptor = "(Lnm;II)V"
descriptor = "(Lnp;II)V"
)
public BufferedFile(AccessFile var1, int var2, int var3) throws IOException {
this.readBufferOffset = -1L; // L: 9
@@ -84,10 +84,10 @@ public class BufferedFile {
this.offset = 0L; // L: 24
} // L: 25
@ObfuscatedName("v")
@ObfuscatedName("f")
@ObfuscatedSignature(
descriptor = "(B)V",
garbageValue = "116"
descriptor = "(I)V",
garbageValue = "-1059998601"
)
@Export("close")
public void close() throws IOException {
@@ -95,7 +95,7 @@ public class BufferedFile {
this.accessFile.close(); // L: 29
} // L: 30
@ObfuscatedName("n")
@ObfuscatedName("e")
@Export("seek")
public void seek(long var1) throws IOException {
if (var1 < 0L) { // L: 33
@@ -105,10 +105,10 @@ public class BufferedFile {
}
} // L: 35
@ObfuscatedName("f")
@ObfuscatedName("v")
@ObfuscatedSignature(
descriptor = "(B)J",
garbageValue = "17"
descriptor = "(I)J",
garbageValue = "-1576818774"
)
@Export("length")
public long length() {
@@ -118,17 +118,17 @@ public class BufferedFile {
@ObfuscatedName("y")
@ObfuscatedSignature(
descriptor = "([BB)V",
garbageValue = "-4"
garbageValue = "-110"
)
@Export("readFully")
public void readFully(byte[] var1) throws IOException {
this.read(var1, 0, var1.length); // L: 42
} // L: 43
@ObfuscatedName("p")
@ObfuscatedName("j")
@ObfuscatedSignature(
descriptor = "([BIII)V",
garbageValue = "1635241805"
garbageValue = "16711680"
)
@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 <= (long)this.writeBufferLength + this.writeBufferOffset) { // L: 48
if (this.writeBufferOffset != -1L && this.offset >= this.writeBufferOffset && this.offset + (long)var3 <= (long)this.writeBufferLength + this.writeBufferOffset) { // L: 48
System.arraycopy(this.writeBuffer, (int)(this.offset - this.writeBufferOffset), var1, var2, var3); // L: 49
this.offset += (long)var3; // L: 50
return; // L: 51
@@ -146,7 +146,7 @@ public class BufferedFile {
long var4 = this.offset; // L: 53
int var7 = var3; // L: 55
int var8;
if (this.offset >= this.readBufferOffset && this.offset < this.readBufferOffset + (long)this.readBufferLength) { // L: 56
if (this.offset >= this.readBufferOffset && this.offset < (long)this.readBufferLength + this.readBufferOffset) { // L: 56
var8 = (int)((long)this.readBufferLength - (this.offset - this.readBufferOffset)); // L: 57
if (var8 > var3) { // L: 58
var8 = var3;
@@ -184,7 +184,7 @@ public class BufferedFile {
this.offset += (long)var8; // L: 83
}
if (-1L != this.writeBufferOffset) { // L: 85
if (this.writeBufferOffset != -1L) { // L: 85
if (this.writeBufferOffset > this.offset && var3 > 0) { // L: 86
var8 = var2 + (int)(this.writeBufferOffset - this.offset); // L: 87
if (var8 > var3 + var2) { // L: 88
@@ -202,13 +202,13 @@ public class BufferedFile {
long var10 = -1L; // L: 96
if (this.writeBufferOffset >= var4 && this.writeBufferOffset < (long)var7 + var4) { // L: 97
var13 = this.writeBufferOffset; // L: 98
} else if (var4 >= this.writeBufferOffset && var4 < this.writeBufferOffset + (long)this.writeBufferLength) { // L: 100
} else if (var4 >= this.writeBufferOffset && var4 < (long)this.writeBufferLength + this.writeBufferOffset) { // L: 100
var13 = var4; // L: 101
}
if ((long)this.writeBufferLength + this.writeBufferOffset > var4 && this.writeBufferOffset + (long)this.writeBufferLength <= (long)var7 + var4) { // L: 103
var10 = this.writeBufferOffset + (long)this.writeBufferLength; // L: 104
} else if (var4 + (long)var7 > this.writeBufferOffset && (long)var7 + var4 <= (long)this.writeBufferLength + this.writeBufferOffset) { // L: 106
var10 = (long)this.writeBufferLength + this.writeBufferOffset; // L: 104
} else if ((long)var7 + var4 > this.writeBufferOffset && (long)var7 + var4 <= this.writeBufferOffset + (long)this.writeBufferLength) { // L: 106
var10 = var4 + (long)var7; // L: 107
}
@@ -231,15 +231,15 @@ public class BufferedFile {
}
} // L: 125
@ObfuscatedName("j")
@ObfuscatedName("o")
@ObfuscatedSignature(
descriptor = "(B)V",
garbageValue = "104"
descriptor = "(I)V",
garbageValue = "537841417"
)
@Export("load")
void load() throws IOException {
this.readBufferLength = 0; // L: 128
if (this.offset != this.fileOffset) { // L: 129
if (this.fileOffset != this.offset) { // L: 129
this.accessFile.seek(this.offset); // L: 130
this.fileOffset = this.offset; // L: 131
}
@@ -261,10 +261,10 @@ public class BufferedFile {
} // L: 142
@ObfuscatedName("r")
@ObfuscatedName("m")
@ObfuscatedSignature(
descriptor = "([BIII)V",
garbageValue = "231162903"
garbageValue = "-1975796753"
)
@Export("write")
public void write(byte[] var1, int var2, int var3) throws IOException {
@@ -273,11 +273,11 @@ public class BufferedFile {
this.length = (long)var3 + this.offset;
}
if (this.writeBufferOffset != -1L && (this.offset < this.writeBufferOffset || this.offset > this.writeBufferOffset + (long)this.writeBufferLength)) { // L: 147
if (-1L != this.writeBufferOffset && (this.offset < this.writeBufferOffset || this.offset > (long)this.writeBufferLength + this.writeBufferOffset)) { // L: 147
this.flush(); // L: 148
}
if (this.writeBufferOffset != -1L && this.offset + (long)var3 > (long)this.writeBuffer.length + this.writeBufferOffset) { // L: 150
if (-1L != this.writeBufferOffset && (long)var3 + this.offset > (long)this.writeBuffer.length + this.writeBufferOffset) { // L: 150
int var4 = (int)((long)this.writeBuffer.length - (this.offset - this.writeBufferOffset)); // L: 151
System.arraycopy(var1, var2, this.writeBuffer, (int)(this.offset - this.writeBufferOffset), var4); // L: 152
this.offset += (long)var4; // L: 153
@@ -289,7 +289,7 @@ public class BufferedFile {
if (var3 <= this.writeBuffer.length) { // L: 159
if (var3 > 0) { // L: 188
if (-1L == this.writeBufferOffset) { // L: 189
if (this.writeBufferOffset == -1L) { // L: 189
this.writeBufferOffset = this.offset;
}
@@ -301,7 +301,7 @@ public class BufferedFile {
}
} else {
if (this.fileOffset != this.offset) { // L: 160
if (this.offset != this.fileOffset) { // L: 160
this.accessFile.seek(this.offset); // L: 161
this.fileOffset = this.offset; // L: 162
}
@@ -314,16 +314,16 @@ public class BufferedFile {
long var9 = -1L; // L: 167
long var6 = -1L; // L: 168
if (this.offset >= this.readBufferOffset && this.offset < this.readBufferOffset + (long)this.readBufferLength) { // L: 169
if (this.offset >= this.readBufferOffset && this.offset < (long)this.readBufferLength + this.readBufferOffset) { // L: 169
var9 = this.offset; // L: 170
} else if (this.readBufferOffset >= this.offset && this.readBufferOffset < this.offset + (long)var3) { // L: 172
var9 = this.readBufferOffset; // L: 173
}
if (this.offset + (long)var3 > this.readBufferOffset && this.offset + (long)var3 <= (long)this.readBufferLength + this.readBufferOffset) { // L: 175
var6 = this.offset + (long)var3; // L: 176
} else if ((long)this.readBufferLength + this.readBufferOffset > this.offset && (long)this.readBufferLength + this.readBufferOffset <= (long)var3 + this.offset) { // L: 178
var6 = this.readBufferOffset + (long)this.readBufferLength; // L: 179
var6 = (long)var3 + this.offset; // L: 176
} else if (this.readBufferOffset + (long)this.readBufferLength > this.offset && this.readBufferOffset + (long)this.readBufferLength <= this.offset + (long)var3) { // L: 178
var6 = (long)this.readBufferLength + this.readBufferOffset; // L: 179
}
if (var9 > -1L && var6 > var9) { // L: 181
@@ -339,37 +339,37 @@ public class BufferedFile {
}
} // L: 186 193 200
@ObfuscatedName("b")
@ObfuscatedName("r")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "1231168990"
garbageValue = "715951043"
)
@Export("flush")
void flush() throws IOException {
if (this.writeBufferOffset != -1L) { // L: 203
if (this.fileOffset != this.writeBufferOffset) { // L: 204
if (-1L != this.writeBufferOffset) { // L: 203
if (this.writeBufferOffset != this.fileOffset) { // L: 204
this.accessFile.seek(this.writeBufferOffset); // L: 205
this.fileOffset = this.writeBufferOffset; // L: 206
}
this.accessFile.write(this.writeBuffer, 0, this.writeBufferLength); // L: 208
this.fileOffset += (long)this.writeBufferLength * -27464314403160063L; // L: 209
this.fileOffset += (long)this.writeBufferLength * -3518850809938837503L; // L: 209
if (this.fileOffset > this.fileLength) { // L: 210
this.fileLength = this.fileOffset;
}
long var1 = -1L; // L: 211
long var3 = -1L; // L: 212
if (this.writeBufferOffset >= this.readBufferOffset && this.writeBufferOffset < this.readBufferOffset + (long)this.readBufferLength) { // L: 213
if (this.writeBufferOffset >= this.readBufferOffset && this.writeBufferOffset < (long)this.readBufferLength + this.readBufferOffset) { // L: 213
var1 = this.writeBufferOffset; // L: 214
} else if (this.readBufferOffset >= this.writeBufferOffset && this.readBufferOffset < (long)this.writeBufferLength + this.writeBufferOffset) { // L: 216
} else if (this.readBufferOffset >= this.writeBufferOffset && this.readBufferOffset < this.writeBufferOffset + (long)this.writeBufferLength) { // L: 216
var1 = this.readBufferOffset; // L: 217
}
if ((long)this.writeBufferLength + this.writeBufferOffset > this.readBufferOffset && (long)this.writeBufferLength + this.writeBufferOffset <= this.readBufferOffset + (long)this.readBufferLength) { // L: 219
if (this.writeBufferOffset + (long)this.writeBufferLength > this.readBufferOffset && (long)this.writeBufferLength + this.writeBufferOffset <= this.readBufferOffset + (long)this.readBufferLength) { // L: 219
var3 = this.writeBufferOffset + (long)this.writeBufferLength; // L: 220
} else if ((long)this.readBufferLength + this.readBufferOffset > this.writeBufferOffset && this.readBufferOffset + (long)this.readBufferLength <= this.writeBufferOffset + (long)this.writeBufferLength) { // L: 222
var3 = (long)this.readBufferLength + this.readBufferOffset; // L: 223
} else if (this.readBufferOffset + (long)this.readBufferLength > this.writeBufferOffset && (long)this.readBufferLength + this.readBufferOffset <= (long)this.writeBufferLength + this.writeBufferOffset) { // L: 222
var3 = this.readBufferOffset + (long)this.readBufferLength; // L: 223
}
if (var1 > -1L && var3 > var1) { // L: 225
@@ -382,13 +382,4 @@ public class BufferedFile {
}
} // L: 232
@ObfuscatedName("ah")
@ObfuscatedSignature(
descriptor = "(Ljava/lang/String;I)I",
garbageValue = "-387323412"
)
public static int method6418(String var0) {
return var0.length() + 2; // L: 126
}
}