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

@@ -3,21 +3,21 @@ import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ft")
@ObfuscatedName("fo")
@Implements("WorldMapData_0")
public class WorldMapData_0 extends AbstractWorldMapData {
WorldMapData_0() {
} // L: 6
@ObfuscatedName("v")
@ObfuscatedName("f")
@ObfuscatedSignature(
descriptor = "(Lnd;I)V",
garbageValue = "1254081030"
descriptor = "(Lnt;B)V",
garbageValue = "68"
)
@Export("init")
void init(Buffer var1) {
int var2 = var1.readUnsignedByte(); // L: 9
if (var2 != WorldMapID.field2110.value) { // L: 10
if (var2 != WorldMapID.field2111.value) { // L: 10
throw new IllegalStateException(""); // L: 11
} else {
super.minPlane = var1.readUnsignedByte(); // L: 13
@@ -26,26 +26,26 @@ public class WorldMapData_0 extends AbstractWorldMapData {
super.regionYLow = var1.readUnsignedShort(); // L: 16
super.regionX = var1.readUnsignedShort(); // L: 17
super.regionY = var1.readUnsignedShort(); // L: 18
super.groupId = var1.method6583(); // L: 19
super.fileId = var1.method6583(); // L: 20
super.groupId = var1.method6630(); // L: 19
super.fileId = var1.method6630(); // L: 20
}
} // L: 21
@ObfuscatedName("n")
@ObfuscatedName("e")
@ObfuscatedSignature(
descriptor = "(Lnd;I)V",
garbageValue = "1223315238"
descriptor = "(Lnt;I)V",
garbageValue = "-1563875465"
)
@Export("readGeography")
void readGeography(Buffer var1) {
super.planes = Math.min(super.planes, 4); // L: 24
super.floorUnderlayIds = new short[1][64][64]; // L: 25
super.floorOverlayIds = new short[super.planes][64][64]; // L: 26
super.field2067 = new byte[super.planes][64][64]; // L: 27
super.field2065 = new byte[super.planes][64][64]; // L: 28
super.field2068 = new byte[super.planes][64][64]; // L: 27
super.field2074 = new byte[super.planes][64][64]; // L: 28
super.decorations = new WorldMapDecoration[super.planes][64][64][]; // L: 29
int var2 = var1.readUnsignedByte(); // L: 30
if (var2 != class179.field2100.value) { // L: 31
if (var2 != class180.field2102.value) { // L: 31
throw new IllegalStateException(""); // L: 32
} else {
int var3 = var1.readUnsignedByte(); // L: 34
@@ -63,16 +63,36 @@ public class WorldMapData_0 extends AbstractWorldMapData {
}
} // L: 44
public int hashCode() {
return super.regionX | super.regionY << 8; // L: 55
}
public boolean equals(Object var1) {
if (!(var1 instanceof WorldMapData_0)) { // L: 47
return false; // L: 48
} else {
WorldMapData_0 var2 = (WorldMapData_0)var1; // L: 50
return var2.regionX == super.regionX && var2.regionY == super.regionY; // L: 51
return var2.regionX == super.regionX && super.regionY == var2.regionY; // L: 51
}
}
public int hashCode() {
return super.regionX | super.regionY << 8; // L: 55
@ObfuscatedName("ak")
@ObfuscatedSignature(
descriptor = "(ILcf;ZI)I",
garbageValue = "-1824219320"
)
static int method3267(int var0, Script var1, boolean var2) {
if (var0 != 3700 && var0 != 3701) { // L: 2442
if (var0 == 3702) { // L: 2447
++ChatChannel.Interpreter_intStackSize; // L: 2448
return 1; // L: 2449
} else {
return 2; // L: 2451
}
} else {
--ChatChannel.Interpreter_intStackSize; // L: 2443
--UserComparator9.Interpreter_stringStackSize; // L: 2444
return 1; // L: 2445
}
}
}