project: hello again rev206

This commit is contained in:
JumpIfZero
2022-04-22 12:43:18 +03:00
parent 1cdb6e9060
commit 2dc9359cba
466 changed files with 55930 additions and 56034 deletions

View File

@@ -6,72 +6,72 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("pz")
@ObfuscatedName("pb")
@Implements("BufferedFile")
public class BufferedFile {
@ObfuscatedName("o")
@ObfuscatedName("c")
@ObfuscatedSignature(
descriptor = "Lpr;"
descriptor = "Lph;"
)
@Export("accessFile")
AccessFile accessFile;
@ObfuscatedName("h")
@ObfuscatedName("i")
@Export("readBuffer")
byte[] readBuffer;
@ObfuscatedName("g")
@ObfuscatedName("f")
@ObfuscatedGetter(
longValue = -5225665844654198299L
longValue = -8920442284336145207L
)
@Export("readBufferOffset")
long readBufferOffset;
@ObfuscatedName("l")
@ObfuscatedName("b")
@ObfuscatedGetter(
intValue = 2137604271
intValue = 959546987
)
@Export("readBufferLength")
int readBufferLength;
@ObfuscatedName("n")
@Export("writeBuffer")
byte[] writeBuffer;
@ObfuscatedName("d")
@ObfuscatedName("s")
@ObfuscatedGetter(
longValue = -4541434785534963L
longValue = -5995632714871070967L
)
@Export("writeBufferOffset")
long writeBufferOffset;
@ObfuscatedName("f")
@ObfuscatedName("l")
@ObfuscatedGetter(
intValue = -1877380551
intValue = -694187419
)
@Export("writeBufferLength")
int writeBufferLength;
@ObfuscatedName("u")
@ObfuscatedName("q")
@ObfuscatedGetter(
longValue = -796283726861942643L
longValue = -7698547287886108579L
)
@Export("offset")
long offset;
@ObfuscatedName("r")
@ObfuscatedName("o")
@ObfuscatedGetter(
longValue = 8209701102495998653L
longValue = -6174188026311387211L
)
@Export("fileLength")
long fileLength;
@ObfuscatedName("k")
@ObfuscatedName("r")
@ObfuscatedGetter(
longValue = -5139704882362271567L
longValue = 2714224379906109785L
)
@Export("length")
long length;
@ObfuscatedName("x")
@ObfuscatedName("p")
@ObfuscatedGetter(
longValue = -29223109042721993L
longValue = -8095417685979246741L
)
@Export("fileOffset")
long fileOffset;
@ObfuscatedSignature(
descriptor = "(Lpr;II)V"
descriptor = "(Lph;II)V"
)
public BufferedFile(AccessFile var1, int var2, int var3) throws IOException {
this.readBufferOffset = -1L; // L: 9
@@ -86,8 +86,8 @@ public class BufferedFile {
@ObfuscatedName("v")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "-1681250175"
descriptor = "(B)V",
garbageValue = "78"
)
@Export("close")
public void close() throws IOException {
@@ -95,7 +95,7 @@ public class BufferedFile {
this.accessFile.close(); // L: 29
} // L: 30
@ObfuscatedName("o")
@ObfuscatedName("c")
@Export("seek")
public void seek(long var1) throws IOException {
if (var1 < 0L) { // L: 33
@@ -105,30 +105,30 @@ public class BufferedFile {
}
} // L: 35
@ObfuscatedName("h")
@ObfuscatedName("i")
@ObfuscatedSignature(
descriptor = "(I)J",
garbageValue = "-2004441305"
garbageValue = "-776750742"
)
@Export("length")
public long length() {
return this.length; // L: 38
}
@ObfuscatedName("g")
@ObfuscatedName("f")
@ObfuscatedSignature(
descriptor = "([BI)V",
garbageValue = "1543415552"
garbageValue = "1551073346"
)
@Export("readFully")
public void readFully(byte[] var1) throws IOException {
this.read(var1, 0, var1.length); // L: 42
} // L: 43
@ObfuscatedName("l")
@ObfuscatedName("b")
@ObfuscatedSignature(
descriptor = "([BIIB)V",
garbageValue = "16"
garbageValue = "0"
)
@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 (-1L != this.writeBufferOffset && this.offset >= this.writeBufferOffset && (long)var3 + this.offset <= this.writeBufferOffset + (long)this.writeBufferLength) { // 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 (this.writeBufferOffset != -1L) { // L: 85
if (-1L != this.writeBufferOffset) { // 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
@@ -200,15 +200,15 @@ public class BufferedFile {
long var13 = -1L; // L: 95
long var10 = -1L; // L: 96
if (this.writeBufferOffset >= var4 && this.writeBufferOffset < (long)var7 + var4) { // L: 97
if (this.writeBufferOffset >= var4 && this.writeBufferOffset < var4 + (long)var7) { // 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 && (long)this.writeBufferLength + this.writeBufferOffset <= (long)var7 + var4) { // L: 103
if (this.writeBufferOffset + (long)this.writeBufferLength > var4 && this.writeBufferOffset + (long)this.writeBufferLength <= var4 + (long)var7) { // L: 103
var10 = (long)this.writeBufferLength + this.writeBufferOffset; // L: 104
} else if ((long)var7 + var4 > this.writeBufferOffset && var4 + (long)var7 <= this.writeBufferOffset + (long)this.writeBufferLength) { // L: 106
} else if ((long)var7 + var4 > this.writeBufferOffset && var4 + (long)var7 <= (long)this.writeBufferLength + this.writeBufferOffset) { // L: 106
var10 = var4 + (long)var7; // L: 107
}
@@ -233,8 +233,8 @@ public class BufferedFile {
@ObfuscatedName("n")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "783523213"
descriptor = "(B)V",
garbageValue = "4"
)
@Export("load")
void load() throws IOException {
@@ -261,10 +261,10 @@ public class BufferedFile {
} // L: 142
@ObfuscatedName("d")
@ObfuscatedName("s")
@ObfuscatedSignature(
descriptor = "([BIII)V",
garbageValue = "-900915447"
garbageValue = "-1226704883"
)
@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 > (long)this.writeBufferLength + this.writeBufferOffset)) { // L: 147
if (this.writeBufferOffset != -1L && (this.offset < this.writeBufferOffset || this.offset > this.writeBufferOffset + (long)this.writeBufferLength)) { // L: 147
this.flush(); // L: 148
}
if (-1L != this.writeBufferOffset && (long)var3 + this.offset > this.writeBufferOffset + (long)this.writeBuffer.length) { // 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
@@ -314,19 +314,19 @@ public class BufferedFile {
long var9 = -1L; // L: 167
long var6 = -1L; // L: 168
if (this.offset >= this.readBufferOffset && this.offset < (long)this.readBufferLength + this.readBufferOffset) { // L: 169
if (this.offset >= this.readBufferOffset && this.offset < this.readBufferOffset + (long)this.readBufferLength) { // L: 169
var9 = this.offset; // L: 170
} else if (this.readBufferOffset >= this.offset && this.readBufferOffset < (long)var3 + this.offset) { // L: 172
} else if (this.readBufferOffset >= this.offset && this.readBufferOffset < this.offset + (long)var3) { // L: 172
var9 = this.readBufferOffset; // L: 173
}
if ((long)var3 + this.offset > this.readBufferOffset && this.offset + (long)var3 <= (long)this.readBufferLength + this.readBufferOffset) { // L: 175
if (this.offset + (long)var3 > this.readBufferOffset && this.offset + (long)var3 <= (long)this.readBufferLength + this.readBufferOffset) { // L: 175
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
} 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
}
if (var9 > -1L && var6 > var9) {
if (var9 > -1L && var6 > var9) { // L: 181
int var8 = (int)(var6 - var9); // L: 182
System.arraycopy(var1, (int)(var9 + (long)var2 - this.offset), this.readBuffer, (int)(var9 - this.readBufferOffset), var8); // L: 183
}
@@ -339,21 +339,21 @@ public class BufferedFile {
}
} // L: 186 193 200
@ObfuscatedName("f")
@ObfuscatedName("l")
@ObfuscatedSignature(
descriptor = "(B)V",
garbageValue = "41"
descriptor = "(I)V",
garbageValue = "352436768"
)
@Export("flush")
void flush() throws IOException {
if (-1L != this.writeBufferOffset) { // L: 203
if (this.writeBufferOffset != -1L) { // 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 * 3511588097550712833L; // L: 209
this.fileOffset += (long)this.writeBufferLength * 1276428477523820545L; // L: 209
if (this.fileOffset > this.fileLength) { // L: 210
this.fileLength = this.fileOffset;
}
@@ -362,13 +362,13 @@ public class BufferedFile {
long var3 = -1L; // L: 212
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 < this.writeBufferOffset + (long)this.writeBufferLength) { // L: 216
} else if (this.readBufferOffset >= this.writeBufferOffset && this.readBufferOffset < (long)this.writeBufferLength + this.writeBufferOffset) { // L: 216
var1 = this.readBufferOffset; // L: 217
}
if (this.writeBufferOffset + (long)this.writeBufferLength > this.readBufferOffset && (long)this.writeBufferLength + this.writeBufferOffset <= this.readBufferOffset + (long)this.readBufferLength) { // L: 219
if ((long)this.writeBufferLength + this.writeBufferOffset > this.readBufferOffset && (long)this.writeBufferLength + this.writeBufferOffset <= (long)this.readBufferLength + this.readBufferOffset) { // L: 219
var3 = this.writeBufferOffset + (long)this.writeBufferLength; // L: 220
} else if (this.readBufferOffset + (long)this.readBufferLength > this.writeBufferOffset && (long)this.readBufferLength + this.readBufferOffset <= (long)this.writeBufferLength + this.writeBufferOffset) { // L: 222
} else if (this.readBufferOffset + (long)this.readBufferLength > this.writeBufferOffset && this.readBufferOffset + (long)this.readBufferLength <= this.writeBufferOffset + (long)this.writeBufferLength) { // L: 222
var3 = (long)this.readBufferLength + this.readBufferOffset; // L: 223
}
@@ -382,13 +382,4 @@ public class BufferedFile {
}
} // L: 232
@ObfuscatedName("o")
@ObfuscatedSignature(
descriptor = "(I)I",
garbageValue = "-1547448852"
)
static int method7626() {
return Login.field914.length + Login.field881.length; // L: 181
}
}