rev185
This commit is contained in:
@@ -7,37 +7,37 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("kx")
|
||||
@ObfuscatedName("kl")
|
||||
@Implements("BufferedSource")
|
||||
public class BufferedSource implements Runnable {
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("a")
|
||||
@Export("thread")
|
||||
Thread thread;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("t")
|
||||
@Export("inputStream")
|
||||
InputStream inputStream;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1837703949
|
||||
intValue = -1673259479
|
||||
)
|
||||
@Export("capacity")
|
||||
int capacity;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("q")
|
||||
@Export("buffer")
|
||||
byte[] buffer;
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 496960127
|
||||
intValue = 571240185
|
||||
)
|
||||
@Export("position")
|
||||
int position;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -589477741
|
||||
intValue = -143003191
|
||||
)
|
||||
@Export("limit")
|
||||
int limit;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedName("c")
|
||||
@Export("exception")
|
||||
IOException exception;
|
||||
|
||||
@@ -52,10 +52,10 @@ public class BufferedSource implements Runnable {
|
||||
this.thread.start();
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(IB)Z",
|
||||
garbageValue = "-42"
|
||||
signature = "(II)Z",
|
||||
garbageValue = "1194815492"
|
||||
)
|
||||
@Export("isAvailable")
|
||||
boolean isAvailable(int var1) throws IOException {
|
||||
@@ -86,10 +86,10 @@ public class BufferedSource implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)I",
|
||||
garbageValue = "-99"
|
||||
signature = "(S)I",
|
||||
garbageValue = "256"
|
||||
)
|
||||
@Export("available")
|
||||
int available() throws IOException {
|
||||
@@ -110,15 +110,15 @@ public class BufferedSource implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)I",
|
||||
garbageValue = "1540455812"
|
||||
garbageValue = "418616079"
|
||||
)
|
||||
@Export("readUnsignedByte")
|
||||
int readUnsignedByte() throws IOException {
|
||||
synchronized(this) {
|
||||
if (this.limit == this.position) {
|
||||
if (this.position == this.limit) {
|
||||
if (this.exception != null) {
|
||||
throw new IOException(this.exception.toString());
|
||||
} else {
|
||||
@@ -133,10 +133,10 @@ public class BufferedSource implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
signature = "([BIII)I",
|
||||
garbageValue = "2103598010"
|
||||
garbageValue = "153221716"
|
||||
)
|
||||
@Export("read")
|
||||
int read(byte[] var1, int var2, int var3) throws IOException {
|
||||
@@ -174,10 +174,10 @@ public class BufferedSource implements Runnable {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)V",
|
||||
garbageValue = "2069219110"
|
||||
garbageValue = "-206595375"
|
||||
)
|
||||
@Export("close")
|
||||
void close() {
|
||||
@@ -243,4 +243,26 @@ public class BufferedSource implements Runnable {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)Lio;",
|
||||
garbageValue = "-139133141"
|
||||
)
|
||||
@Export("KitDefinition_get")
|
||||
public static KitDefinition KitDefinition_get(int var0) {
|
||||
KitDefinition var1 = (KitDefinition)KitDefinition.KitDefinition_cached.get((long)var0);
|
||||
if (var1 != null) {
|
||||
return var1;
|
||||
} else {
|
||||
byte[] var2 = KitDefinition.KitDefinition_archive.takeFile(3, var0);
|
||||
var1 = new KitDefinition();
|
||||
if (var2 != null) {
|
||||
var1.decode(new Buffer(var2));
|
||||
}
|
||||
|
||||
KitDefinition.KitDefinition_cached.put(var1, (long)var0);
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user