Merge remote-tracking branch 'upstream/master' into master
Nice insider info btw, be nice if you shared it, so-called "open source" client.
This commit is contained in:
@@ -4,54 +4,54 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("gf")
|
||||
@ObfuscatedName("gv")
|
||||
@Implements("ItemLayer")
|
||||
public final class ItemLayer {
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1420989371
|
||||
intValue = 1950267115
|
||||
)
|
||||
@Export("tileHeight")
|
||||
int tileHeight;
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -488248925
|
||||
intValue = -840082071
|
||||
)
|
||||
@Export("x")
|
||||
int x;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -984495605
|
||||
intValue = -1958043433
|
||||
)
|
||||
@Export("y")
|
||||
int y;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lge;"
|
||||
descriptor = "Lgl;"
|
||||
)
|
||||
@Export("first")
|
||||
Renderable first;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lge;"
|
||||
descriptor = "Lgl;"
|
||||
)
|
||||
@Export("second")
|
||||
Renderable second;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lge;"
|
||||
descriptor = "Lgl;"
|
||||
)
|
||||
@Export("third")
|
||||
Renderable third;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedGetter(
|
||||
longValue = -8281197282247893905L
|
||||
longValue = 8707211480451132889L
|
||||
)
|
||||
@Export("tag")
|
||||
long tag;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -415134249
|
||||
intValue = 1688818251
|
||||
)
|
||||
@Export("height")
|
||||
int height;
|
||||
@@ -59,14 +59,101 @@ public final class ItemLayer {
|
||||
ItemLayer() {
|
||||
} // L: 13
|
||||
|
||||
@ObfuscatedName("kj")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIB)V",
|
||||
garbageValue = "-22"
|
||||
descriptor = "([BI)V",
|
||||
garbageValue = "-830600929"
|
||||
)
|
||||
static void method3715(int var0, int var1) {
|
||||
MenuAction var2 = class9.tempMenuAction; // L: 11069
|
||||
HorizontalAlignment.menuAction(var2.param0, var2.param1, var2.opcode, var2.identifier, var2.action, var2.action, var0, var1); // L: 11071
|
||||
class9.tempMenuAction = null; // L: 11073
|
||||
} // L: 11074
|
||||
@Export("ByteArrayPool_release")
|
||||
public static synchronized void ByteArrayPool_release(byte[] var0) {
|
||||
if (var0.length == 100 && ByteArrayPool.ByteArrayPool_smallCount < 1000) { // L: 76
|
||||
ByteArrayPool.ByteArrayPool_small[++ByteArrayPool.ByteArrayPool_smallCount - 1] = var0; // L: 77
|
||||
} else if (var0.length == 5000 && ByteArrayPool.ByteArrayPool_mediumCount < 250) { // L: 80
|
||||
ByteArrayPool.ByteArrayPool_medium[++ByteArrayPool.ByteArrayPool_mediumCount - 1] = var0; // L: 81
|
||||
} else if (var0.length == 30000 && ByteArrayPool.ByteArrayPool_largeCount < 50) { // L: 84
|
||||
ByteArrayPool.ByteArrayPool_large[++ByteArrayPool.ByteArrayPool_largeCount - 1] = var0; // L: 85
|
||||
} else {
|
||||
if (class20.ByteArrayPool_arrays != null) { // L: 88
|
||||
for (int var1 = 0; var1 < ByteArrayPool.ByteArrayPool_alternativeSizes.length; ++var1) { // L: 89
|
||||
if (var0.length == ByteArrayPool.ByteArrayPool_alternativeSizes[var1] && ByteArrayPool.ByteArrayPool_altSizeArrayCounts[var1] < class20.ByteArrayPool_arrays[var1].length) { // L: 90
|
||||
class20.ByteArrayPool_arrays[var1][ByteArrayPool.ByteArrayPool_altSizeArrayCounts[var1]++] = var0; // L: 91
|
||||
return; // L: 92
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} // L: 78 82 86 96
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "([BB)V",
|
||||
garbageValue = "1"
|
||||
)
|
||||
@Export("SpriteBuffer_decode")
|
||||
public static void SpriteBuffer_decode(byte[] var0) {
|
||||
Buffer var1 = new Buffer(var0); // L: 196
|
||||
var1.offset = var0.length - 2; // L: 197
|
||||
class396.SpriteBuffer_spriteCount = var1.readUnsignedShort(); // L: 198
|
||||
WorldMapDecoration.SpriteBuffer_xOffsets = new int[class396.SpriteBuffer_spriteCount]; // L: 199
|
||||
Calendar.SpriteBuffer_yOffsets = new int[class396.SpriteBuffer_spriteCount]; // L: 200
|
||||
class396.SpriteBuffer_spriteWidths = new int[class396.SpriteBuffer_spriteCount]; // L: 201
|
||||
class302.SpriteBuffer_spriteHeights = new int[class396.SpriteBuffer_spriteCount]; // L: 202
|
||||
class396.SpriteBuffer_pixels = new byte[class396.SpriteBuffer_spriteCount][]; // L: 203
|
||||
var1.offset = var0.length - 7 - class396.SpriteBuffer_spriteCount * 8; // L: 204
|
||||
class396.SpriteBuffer_spriteWidth = var1.readUnsignedShort(); // L: 205
|
||||
UserComparator2.SpriteBuffer_spriteHeight = var1.readUnsignedShort(); // L: 206
|
||||
int var2 = (var1.readUnsignedByte() & 255) + 1; // L: 207
|
||||
|
||||
int var3;
|
||||
for (var3 = 0; var3 < class396.SpriteBuffer_spriteCount; ++var3) { // L: 208
|
||||
WorldMapDecoration.SpriteBuffer_xOffsets[var3] = var1.readUnsignedShort();
|
||||
}
|
||||
|
||||
for (var3 = 0; var3 < class396.SpriteBuffer_spriteCount; ++var3) { // L: 209
|
||||
Calendar.SpriteBuffer_yOffsets[var3] = var1.readUnsignedShort();
|
||||
}
|
||||
|
||||
for (var3 = 0; var3 < class396.SpriteBuffer_spriteCount; ++var3) { // L: 210
|
||||
class396.SpriteBuffer_spriteWidths[var3] = var1.readUnsignedShort();
|
||||
}
|
||||
|
||||
for (var3 = 0; var3 < class396.SpriteBuffer_spriteCount; ++var3) { // L: 211
|
||||
class302.SpriteBuffer_spriteHeights[var3] = var1.readUnsignedShort();
|
||||
}
|
||||
|
||||
var1.offset = var0.length - 7 - class396.SpriteBuffer_spriteCount * 8 - (var2 - 1) * 3; // L: 212
|
||||
MilliClock.SpriteBuffer_spritePalette = new int[var2]; // L: 213
|
||||
|
||||
for (var3 = 1; var3 < var2; ++var3) { // L: 214
|
||||
MilliClock.SpriteBuffer_spritePalette[var3] = var1.readMedium(); // L: 215
|
||||
if (MilliClock.SpriteBuffer_spritePalette[var3] == 0) { // L: 216
|
||||
MilliClock.SpriteBuffer_spritePalette[var3] = 1;
|
||||
}
|
||||
}
|
||||
|
||||
var1.offset = 0; // L: 218
|
||||
|
||||
for (var3 = 0; var3 < class396.SpriteBuffer_spriteCount; ++var3) { // L: 219
|
||||
int var4 = class396.SpriteBuffer_spriteWidths[var3]; // L: 220
|
||||
int var5 = class302.SpriteBuffer_spriteHeights[var3]; // L: 221
|
||||
int var6 = var4 * var5; // L: 222
|
||||
byte[] var7 = new byte[var6]; // L: 223
|
||||
class396.SpriteBuffer_pixels[var3] = var7; // L: 224
|
||||
int var8 = var1.readUnsignedByte(); // L: 225
|
||||
int var9;
|
||||
if (var8 == 0) { // L: 226
|
||||
for (var9 = 0; var9 < var6; ++var9) { // L: 227
|
||||
var7[var9] = var1.readByte();
|
||||
}
|
||||
} else if (var8 == 1) { // L: 229
|
||||
for (var9 = 0; var9 < var4; ++var9) { // L: 230
|
||||
for (int var10 = 0; var10 < var5; ++var10) { // L: 231
|
||||
var7[var9 + var4 * var10] = var1.readByte(); // L: 232
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // L: 237
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user