client: revvy boi 202
This commit is contained in:
@@ -4,89 +4,90 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("fh")
|
||||
@ObfuscatedName("fo")
|
||||
@Implements("SpotAnimationDefinition")
|
||||
public class SpotAnimationDefinition extends DualNode {
|
||||
@ObfuscatedName("ss")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1292263875
|
||||
)
|
||||
static int field1761;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lko;"
|
||||
descriptor = "Lku;"
|
||||
)
|
||||
@Export("SpotAnimationDefinition_archive")
|
||||
public static AbstractArchive SpotAnimationDefinition_archive;
|
||||
@ObfuscatedName("s")
|
||||
static AbstractArchive SpotAnimationDefinition_archive;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lig;"
|
||||
descriptor = "Lku;"
|
||||
)
|
||||
@Export("SpotAnimationDefinition_modelArchive")
|
||||
static AbstractArchive SpotAnimationDefinition_modelArchive;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Liq;"
|
||||
)
|
||||
@Export("SpotAnimationDefinition_cached")
|
||||
static EvictingDualNodeHashTable SpotAnimationDefinition_cached;
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lig;"
|
||||
descriptor = "Liq;"
|
||||
)
|
||||
@Export("SpotAnimationDefinition_cachedModels")
|
||||
static EvictingDualNodeHashTable SpotAnimationDefinition_cachedModels;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2092405137
|
||||
intValue = 1041298401
|
||||
)
|
||||
@Export("id")
|
||||
int id;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 913574013
|
||||
intValue = -15968409
|
||||
)
|
||||
@Export("archive")
|
||||
int archive;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1089324125
|
||||
intValue = -373650937
|
||||
)
|
||||
@Export("sequence")
|
||||
public int sequence;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("w")
|
||||
@Export("recolorFrom")
|
||||
short[] recolorFrom;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("n")
|
||||
@Export("recolorTo")
|
||||
short[] recolorTo;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("r")
|
||||
@Export("retextureFrom")
|
||||
short[] retextureFrom;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedName("o")
|
||||
@Export("retextureTo")
|
||||
short[] retextureTo;
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1411126425
|
||||
intValue = -2106085717
|
||||
)
|
||||
@Export("widthScale")
|
||||
int widthScale;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1449901039
|
||||
intValue = 153752537
|
||||
)
|
||||
@Export("heightScale")
|
||||
int heightScale;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1987144689
|
||||
intValue = -1577811829
|
||||
)
|
||||
@Export("orientation")
|
||||
int orientation;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1401289239
|
||||
intValue = -695708245
|
||||
)
|
||||
@Export("ambient")
|
||||
int ambient;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1433437807
|
||||
intValue = 176094243
|
||||
)
|
||||
@Export("contrast")
|
||||
int contrast;
|
||||
@@ -105,129 +106,175 @@ public class SpotAnimationDefinition extends DualNode {
|
||||
this.contrast = 0; // L: 27
|
||||
} // L: 29
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lop;I)V",
|
||||
garbageValue = "-140600950"
|
||||
descriptor = "(Lpi;B)V",
|
||||
garbageValue = "9"
|
||||
)
|
||||
@Export("decode")
|
||||
void decode(Buffer var1) {
|
||||
while (true) {
|
||||
int var2 = var1.readUnsignedByte(); // L: 44
|
||||
if (var2 == 0) { // L: 45
|
||||
return; // L: 48
|
||||
int var2 = var1.readUnsignedByte(); // L: 49
|
||||
if (var2 == 0) { // L: 50
|
||||
return; // L: 53
|
||||
}
|
||||
|
||||
this.decodeNext(var1, var2); // L: 46
|
||||
this.decodeNext(var1, var2); // L: 51
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lop;II)V",
|
||||
garbageValue = "2031603320"
|
||||
descriptor = "(Lpi;IB)V",
|
||||
garbageValue = "99"
|
||||
)
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2) {
|
||||
if (var2 == 1) { // L: 51
|
||||
if (var2 == 1) { // L: 56
|
||||
this.archive = var1.readUnsignedShort();
|
||||
} else if (var2 == 2) { // L: 52
|
||||
} else if (var2 == 2) { // L: 57
|
||||
this.sequence = var1.readUnsignedShort();
|
||||
} else if (var2 == 4) { // L: 53
|
||||
} else if (var2 == 4) { // L: 58
|
||||
this.widthScale = var1.readUnsignedShort();
|
||||
} else if (var2 == 5) { // L: 54
|
||||
} else if (var2 == 5) { // L: 59
|
||||
this.heightScale = var1.readUnsignedShort();
|
||||
} else if (var2 == 6) { // L: 55
|
||||
} else if (var2 == 6) { // L: 60
|
||||
this.orientation = var1.readUnsignedShort();
|
||||
} else if (var2 == 7) { // L: 56
|
||||
} else if (var2 == 7) { // L: 61
|
||||
this.ambient = var1.readUnsignedByte();
|
||||
} else if (var2 == 8) { // L: 57
|
||||
} else if (var2 == 8) { // L: 62
|
||||
this.contrast = var1.readUnsignedByte();
|
||||
} else {
|
||||
int var3;
|
||||
int var4;
|
||||
if (var2 == 40) { // L: 58
|
||||
var3 = var1.readUnsignedByte(); // L: 59
|
||||
this.recolorFrom = new short[var3]; // L: 60
|
||||
this.recolorTo = new short[var3]; // L: 61
|
||||
if (var2 == 40) { // L: 63
|
||||
var3 = var1.readUnsignedByte();
|
||||
this.recolorFrom = new short[var3];
|
||||
this.recolorTo = new short[var3];
|
||||
|
||||
for (var4 = 0; var4 < var3; ++var4) { // L: 62
|
||||
this.recolorFrom[var4] = (short)var1.readUnsignedShort(); // L: 63
|
||||
this.recolorTo[var4] = (short)var1.readUnsignedShort(); // L: 64
|
||||
for (var4 = 0; var4 < var3; ++var4) {
|
||||
this.recolorFrom[var4] = (short)var1.readUnsignedShort();
|
||||
this.recolorTo[var4] = (short)var1.readUnsignedShort();
|
||||
}
|
||||
} else if (var2 == 41) { // L: 67
|
||||
var3 = var1.readUnsignedByte(); // L: 68
|
||||
this.retextureFrom = new short[var3]; // L: 69
|
||||
this.retextureTo = new short[var3]; // L: 70
|
||||
} else if (var2 == 41) { // L: 72
|
||||
var3 = var1.readUnsignedByte(); // L: 73
|
||||
this.retextureFrom = new short[var3]; // L: 74
|
||||
this.retextureTo = new short[var3]; // L: 75
|
||||
|
||||
for (var4 = 0; var4 < var3; ++var4) { // L: 71
|
||||
this.retextureFrom[var4] = (short)var1.readUnsignedShort(); // L: 72
|
||||
this.retextureTo[var4] = (short)var1.readUnsignedShort(); // L: 73
|
||||
for (var4 = 0; var4 < var3; ++var4) { // L: 76
|
||||
this.retextureFrom[var4] = (short)var1.readUnsignedShort(); // L: 77
|
||||
this.retextureTo[var4] = (short)var1.readUnsignedShort(); // L: 78
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // L: 77
|
||||
} // L: 82
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)Lhl;",
|
||||
garbageValue = "630621817"
|
||||
descriptor = "(IB)Lgo;",
|
||||
garbageValue = "15"
|
||||
)
|
||||
@Export("getModel")
|
||||
public final Model getModel(int var1) {
|
||||
Model var2 = (Model)SpotAnimationDefinition_cachedModels.get((long)this.id); // L: 80
|
||||
if (var2 == null) { // L: 81
|
||||
ModelData var3 = ModelData.ModelData_get(class389.SpotAnimationDefinition_modelArchive, this.archive, 0); // L: 82
|
||||
if (var3 == null) { // L: 83
|
||||
Model var2 = (Model)SpotAnimationDefinition_cachedModels.get((long)this.id); // L: 85
|
||||
if (var2 == null) { // L: 86
|
||||
ModelData var3 = ModelData.ModelData_get(SpotAnimationDefinition_modelArchive, this.archive, 0); // L: 87
|
||||
if (var3 == null) { // L: 88
|
||||
return null;
|
||||
}
|
||||
|
||||
int var4;
|
||||
if (this.recolorFrom != null) { // L: 84
|
||||
for (var4 = 0; var4 < this.recolorFrom.length; ++var4) { // L: 85
|
||||
var3.recolor(this.recolorFrom[var4], this.recolorTo[var4]); // L: 86
|
||||
if (this.recolorFrom != null) { // L: 89
|
||||
for (var4 = 0; var4 < this.recolorFrom.length; ++var4) { // L: 90
|
||||
var3.recolor(this.recolorFrom[var4], this.recolorTo[var4]); // L: 91
|
||||
}
|
||||
}
|
||||
|
||||
if (this.retextureFrom != null) { // L: 89
|
||||
for (var4 = 0; var4 < this.retextureFrom.length; ++var4) { // L: 90
|
||||
var3.retexture(this.retextureFrom[var4], this.retextureTo[var4]); // L: 91
|
||||
if (this.retextureFrom != null) { // L: 94
|
||||
for (var4 = 0; var4 < this.retextureFrom.length; ++var4) { // L: 95
|
||||
var3.retexture(this.retextureFrom[var4], this.retextureTo[var4]); // L: 96
|
||||
}
|
||||
}
|
||||
|
||||
var2 = var3.toModel(this.ambient + 64, this.contrast + 850, -30, -50, -30); // L: 94
|
||||
SpotAnimationDefinition_cachedModels.put(var2, (long)this.id); // L: 95
|
||||
var2 = var3.toModel(this.ambient + 64, this.contrast + 850, -30, -50, -30); // L: 99
|
||||
SpotAnimationDefinition_cachedModels.put(var2, (long)this.id); // L: 100
|
||||
}
|
||||
|
||||
Model var5;
|
||||
if (this.sequence != -1 && var1 != -1) { // L: 98
|
||||
var5 = MouseHandler.SequenceDefinition_get(this.sequence).transformSpotAnimationModel(var2, var1);
|
||||
if (this.sequence != -1 && var1 != -1) { // L: 103
|
||||
var5 = UserComparator5.SequenceDefinition_get(this.sequence).transformSpotAnimationModel(var2, var1);
|
||||
} else {
|
||||
var5 = var2.toSharedSpotAnimationModel(true); // L: 99
|
||||
var5 = var2.toSharedSpotAnimationModel(true); // L: 104
|
||||
}
|
||||
|
||||
if (this.widthScale != 128 || this.heightScale != 128) { // L: 100
|
||||
if (this.widthScale != 128 || this.heightScale != 128) { // L: 105
|
||||
var5.scale(this.widthScale, this.heightScale, this.widthScale);
|
||||
}
|
||||
|
||||
if (this.orientation != 0) { // L: 101
|
||||
if (this.orientation == 90) { // L: 102
|
||||
if (this.orientation != 0) { // L: 106
|
||||
if (this.orientation == 90) { // L: 107
|
||||
var5.rotateY90Ccw();
|
||||
}
|
||||
|
||||
if (this.orientation == 180) { // L: 103
|
||||
var5.rotateY90Ccw(); // L: 104
|
||||
var5.rotateY90Ccw(); // L: 105
|
||||
}
|
||||
|
||||
if (this.orientation == 270) { // L: 107
|
||||
var5.rotateY90Ccw(); // L: 108
|
||||
if (this.orientation == 180) { // L: 108
|
||||
var5.rotateY90Ccw(); // L: 109
|
||||
var5.rotateY90Ccw(); // L: 110
|
||||
}
|
||||
|
||||
if (this.orientation == 270) { // L: 112
|
||||
var5.rotateY90Ccw(); // L: 113
|
||||
var5.rotateY90Ccw(); // L: 114
|
||||
var5.rotateY90Ccw(); // L: 115
|
||||
}
|
||||
}
|
||||
|
||||
return var5; // L: 113
|
||||
return var5; // L: 118
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)[Lkw;",
|
||||
garbageValue = "672996916"
|
||||
)
|
||||
@Export("PlayerType_values")
|
||||
public static PlayerType[] PlayerType_values() {
|
||||
return new PlayerType[]{PlayerType.PlayerType_hardcoreIronman, PlayerType.PlayerType_jagexModerator, PlayerType.field3795, PlayerType.PlayerType_ultimateIronman, PlayerType.PlayerType_normal, PlayerType.field3802, PlayerType.field3801, PlayerType.PlayerType_playerModerator, PlayerType.PlayerType_ironman}; // L: 22
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IB)I",
|
||||
garbageValue = "84"
|
||||
)
|
||||
public static int method3362(int var0) {
|
||||
--var0; // L: 64
|
||||
var0 |= var0 >>> 1; // L: 65
|
||||
var0 |= var0 >>> 2; // L: 66
|
||||
var0 |= var0 >>> 4; // L: 67
|
||||
var0 |= var0 >>> 8; // L: 68
|
||||
var0 |= var0 >>> 16; // L: 69
|
||||
return var0 + 1; // L: 70
|
||||
}
|
||||
|
||||
@ObfuscatedName("lc")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljm;I)Ljm;",
|
||||
garbageValue = "-123837697"
|
||||
)
|
||||
static Widget method3340(Widget var0) {
|
||||
int var1 = Frames.method4149(class363.getWidgetFlags(var0)); // L: 12567
|
||||
if (var1 == 0) { // L: 12568
|
||||
return null;
|
||||
} else {
|
||||
for (int var2 = 0; var2 < var1; ++var2) { // L: 12569
|
||||
var0 = ChatChannel.getWidget(var0.parentId); // L: 12570
|
||||
if (var0 == null) { // L: 12571
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
return var0; // L: 12573
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user