client: revvy boi 202

This commit is contained in:
JumpIfZero
2021-12-09 15:12:57 +02:00
parent 5d758a3394
commit 9f716fea3a
496 changed files with 62975 additions and 58430 deletions

View File

@@ -4,542 +4,653 @@ import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ct")
@ObfuscatedName("cy")
@Implements("Actor")
public abstract class Actor extends Renderable {
@ObfuscatedName("ht")
@ObfuscatedName("jw")
@ObfuscatedGetter(
intValue = 1224542185
intValue = -920273095
)
static int field1146;
@Export("oculusOrbFocalPointY")
static int oculusOrbFocalPointY;
@ObfuscatedName("an")
@Export("isWalking")
boolean isWalking;
@ObfuscatedName("am")
@ObfuscatedGetter(
intValue = 1060488561
intValue = -797221037
)
@Export("x")
int x;
@ObfuscatedName("ai")
@ObfuscatedName("az")
@ObfuscatedGetter(
intValue = 1758566435
intValue = -378004067
)
@Export("y")
int y;
@ObfuscatedName("ah")
@ObfuscatedName("au")
@ObfuscatedGetter(
intValue = -780864819
intValue = 1848624375
)
@Export("rotation")
int rotation;
@ObfuscatedName("as")
@Export("isWalking")
boolean isWalking;
@ObfuscatedName("at")
@ObfuscatedName("av")
@ObfuscatedGetter(
intValue = 1850945247
intValue = 1728936343
)
int field1087;
@ObfuscatedName("az")
int field1120;
@ObfuscatedName("ap")
@ObfuscatedGetter(
intValue = 1010787109
intValue = 467296973
)
@Export("playerCycle")
int playerCycle;
@ObfuscatedName("ac")
@ObfuscatedGetter(
intValue = 1162942381
intValue = -913877769
)
@Export("idleSequence")
int idleSequence;
@ObfuscatedName("ak")
@ObfuscatedName("aj")
@ObfuscatedGetter(
intValue = -976729951
intValue = 383490447
)
@Export("turnLeftSequence")
int turnLeftSequence;
@ObfuscatedName("ab")
@ObfuscatedName("af")
@ObfuscatedGetter(
intValue = 1205631887
intValue = -15560867
)
@Export("turnRightSequence")
int turnRightSequence;
@ObfuscatedName("ar")
@ObfuscatedGetter(
intValue = 1698656563
intValue = 1191511995
)
@Export("walkSequence")
int walkSequence;
@ObfuscatedName("ad")
@ObfuscatedName("ag")
@ObfuscatedGetter(
intValue = -1827265149
intValue = -1495792429
)
@Export("walkBackSequence")
int walkBackSequence;
@ObfuscatedName("an")
@ObfuscatedName("al")
@ObfuscatedGetter(
intValue = -862066401
intValue = 731481149
)
@Export("walkLeftSequence")
int walkLeftSequence;
@ObfuscatedName("ax")
@ObfuscatedName("aa")
@ObfuscatedGetter(
intValue = -680764833
intValue = -1761005899
)
@Export("walkRightSequence")
int walkRightSequence;
@ObfuscatedName("av")
@ObfuscatedName("as")
@ObfuscatedGetter(
intValue = 528537939
intValue = 80446087
)
@Export("runSequence")
int runSequence;
@ObfuscatedName("ap")
@ObfuscatedName("at")
@Export("overheadText")
String overheadText;
@ObfuscatedName("au")
@ObfuscatedName("ai")
@Export("isAutoChatting")
boolean isAutoChatting;
@ObfuscatedName("aj")
boolean field1099;
@ObfuscatedName("af")
@ObfuscatedName("aq")
boolean field1114;
@ObfuscatedName("aw")
@ObfuscatedGetter(
intValue = -1349162329
intValue = 1997962917
)
@Export("overheadTextCyclesRemaining")
int overheadTextCyclesRemaining;
@ObfuscatedName("aw")
@ObfuscatedName("ay")
@ObfuscatedGetter(
intValue = -485598179
intValue = -662438945
)
@Export("overheadTextColor")
int overheadTextColor;
@ObfuscatedName("ao")
@ObfuscatedName("ae")
@ObfuscatedGetter(
intValue = 1527060029
intValue = 106086783
)
@Export("overheadTextEffect")
int overheadTextEffect;
@ObfuscatedName("ay")
@ObfuscatedName("ad")
@Export("hitSplatCount")
byte hitSplatCount;
@ObfuscatedName("bg")
@ObfuscatedName("bp")
@Export("hitSplatTypes")
int[] hitSplatTypes;
@ObfuscatedName("bl")
@ObfuscatedName("bd")
@Export("hitSplatValues")
int[] hitSplatValues;
@ObfuscatedName("bx")
@ObfuscatedName("ba")
@Export("hitSplatCycles")
int[] hitSplatCycles;
@ObfuscatedName("bd")
@ObfuscatedName("bq")
@Export("hitSplatTypes2")
int[] hitSplatTypes2;
@ObfuscatedName("bt")
@ObfuscatedName("bg")
@Export("hitSplatValues2")
int[] hitSplatValues2;
@ObfuscatedName("bf")
@ObfuscatedName("br")
@ObfuscatedSignature(
descriptor = "Lkf;"
descriptor = "Llr;"
)
@Export("healthBars")
IterableNodeDeque healthBars;
@ObfuscatedName("bs")
@ObfuscatedName("bi")
@ObfuscatedGetter(
intValue = -1726125141
intValue = -962879023
)
@Export("targetIndex")
int targetIndex;
@ObfuscatedName("bh")
@ObfuscatedName("bm")
@Export("false0")
boolean false0;
@ObfuscatedName("bw")
@ObfuscatedGetter(
intValue = -1484671141
intValue = -1964951137
)
int field1112;
@ObfuscatedName("bm")
boolean field1127;
@ObfuscatedName("br")
int field1122;
@ObfuscatedName("bl")
boolean field1118;
@ObfuscatedName("bz")
@ObfuscatedGetter(
intValue = 1478500765
intValue = 1411460693
)
@Export("movementSequence")
int movementSequence;
@ObfuscatedName("bj")
@ObfuscatedName("bu")
@ObfuscatedGetter(
intValue = 1354844887
intValue = -1470905675
)
@Export("movementFrame")
int movementFrame;
@ObfuscatedName("bo")
@ObfuscatedName("bs")
@ObfuscatedGetter(
intValue = 909600967
intValue = 892078037
)
@Export("movementFrameCycle")
int movementFrameCycle;
@ObfuscatedName("bv")
@ObfuscatedGetter(
intValue = -153672255
intValue = -1419164143
)
@Export("sequence")
int sequence;
@ObfuscatedName("bu")
@ObfuscatedName("bb")
@ObfuscatedGetter(
intValue = 688727445
intValue = 126354783
)
@Export("sequenceFrame")
int sequenceFrame;
@ObfuscatedName("bz")
@ObfuscatedName("bc")
@ObfuscatedGetter(
intValue = -701592673
intValue = -1624543435
)
@Export("sequenceFrameCycle")
int sequenceFrameCycle;
@ObfuscatedName("bc")
@ObfuscatedName("bx")
@ObfuscatedGetter(
intValue = 1424121639
intValue = -538098431
)
@Export("sequenceDelay")
int sequenceDelay;
@ObfuscatedName("bi")
@ObfuscatedName("bt")
@ObfuscatedGetter(
intValue = -1810491641
intValue = -524732497
)
int field1116;
@ObfuscatedName("bk")
int field1126;
@ObfuscatedName("bh")
@ObfuscatedGetter(
intValue = -1442456691
intValue = -1337511095
)
@Export("spotAnimation")
int spotAnimation;
@ObfuscatedName("bp")
@ObfuscatedName("bn")
@ObfuscatedGetter(
intValue = 1112868275
intValue = -2016638493
)
@Export("spotAnimationFrame")
int spotAnimationFrame;
@ObfuscatedName("bn")
@ObfuscatedName("bj")
@ObfuscatedGetter(
intValue = 914687343
intValue = -921802207
)
@Export("spotAnimationFrameCycle")
int spotAnimationFrameCycle;
@ObfuscatedName("be")
@ObfuscatedGetter(
intValue = -577715243
)
int field1125;
@ObfuscatedName("bb")
@ObfuscatedGetter(
intValue = 539982077
)
int field1126;
@ObfuscatedName("by")
@ObfuscatedGetter(
intValue = -222009755
)
int field1083;
@ObfuscatedName("ba")
@ObfuscatedGetter(
intValue = 964367307
)
int field1128;
@ObfuscatedName("bq")
@ObfuscatedGetter(
intValue = 646319749
)
int field1100;
@ObfuscatedName("ca")
@ObfuscatedGetter(
intValue = 154596387
intValue = 1121204749
)
int field1130;
@ObfuscatedName("cq")
@ObfuscatedName("bk")
@ObfuscatedGetter(
intValue = -1879657163
intValue = -2034554825
)
int field1131;
@ObfuscatedName("ck")
@ObfuscatedName("bo")
@ObfuscatedGetter(
intValue = -438636187
intValue = -873586319
)
int field1132;
@ObfuscatedName("ci")
@ObfuscatedName("bf")
@ObfuscatedGetter(
intValue = 1091823721
intValue = 1359620153
)
int field1133;
@ObfuscatedName("cx")
@ObfuscatedName("be")
@ObfuscatedGetter(
intValue = -685467991
intValue = 415157759
)
int field1134;
@ObfuscatedName("ce")
@ObfuscatedGetter(
intValue = 288830733
)
int field1135;
@ObfuscatedName("cl")
@ObfuscatedGetter(
intValue = -2010992435
)
int field1136;
@ObfuscatedName("cp")
@ObfuscatedGetter(
intValue = -1055433063
)
int field1157;
@ObfuscatedName("cd")
@ObfuscatedGetter(
intValue = -473786329
)
int field1138;
@ObfuscatedName("ck")
@ObfuscatedGetter(
intValue = 987624827
)
@Export("npcCycle")
int npcCycle;
@ObfuscatedName("cn")
@ObfuscatedName("cg")
@ObfuscatedGetter(
intValue = -1735337961
intValue = 384336211
)
@Export("defaultHeight")
int defaultHeight;
@ObfuscatedName("ct")
@ObfuscatedName("cy")
@ObfuscatedGetter(
intValue = 1488414823
intValue = -529478277
)
int field1141;
@ObfuscatedName("cn")
@ObfuscatedGetter(
intValue = 1020348289
)
int field1140;
@ObfuscatedName("cv")
byte field1143;
@ObfuscatedName("co")
byte field1144;
@ObfuscatedName("cc")
byte field1095;
@ObfuscatedName("cs")
byte field1146;
@ObfuscatedName("cr")
@ObfuscatedGetter(
intValue = 592803175
)
@Export("orientation")
int orientation;
@ObfuscatedName("cd")
@ObfuscatedName("cb")
@ObfuscatedGetter(
intValue = -2044798983
intValue = -399857819
)
int field1137;
int field1148;
@ObfuscatedName("cj")
@ObfuscatedGetter(
intValue = 369982221
intValue = -771997279
)
int field1138;
@ObfuscatedName("cl")
int field1149;
@ObfuscatedName("ca")
@ObfuscatedGetter(
intValue = 274803431
intValue = 832053673
)
@Export("pathLength")
int pathLength;
@ObfuscatedName("cs")
@ObfuscatedName("cz")
@Export("pathX")
int[] pathX;
@ObfuscatedName("ce")
@ObfuscatedName("cw")
@Export("pathY")
int[] pathY;
@ObfuscatedName("cp")
@Export("pathTraversed")
byte[] pathTraversed;
@ObfuscatedName("cg")
@ObfuscatedGetter(
intValue = -405619359
@ObfuscatedName("ct")
@ObfuscatedSignature(
descriptor = "[Lgj;"
)
int field1085;
@ObfuscatedName("cw")
class185[] field1153;
@ObfuscatedName("ci")
@ObfuscatedGetter(
intValue = 910802769
intValue = -154765815
)
int field1144;
@ObfuscatedName("cr")
int field1117;
@ObfuscatedName("ch")
@ObfuscatedGetter(
intValue = -947188393
intValue = 1854868211
)
int field1145;
int field1098;
@ObfuscatedName("cq")
@ObfuscatedGetter(
intValue = 658677507
)
int field1119;
Actor() {
this.isWalking = false; // L: 12
this.field1087 = 1; // L: 13
this.idleSequence = -1; // L: 15
this.turnLeftSequence = -1; // L: 16
this.turnRightSequence = -1; // L: 17
this.walkSequence = -1; // L: 18
this.walkBackSequence = -1; // L: 19
this.walkLeftSequence = -1; // L: 20
this.walkRightSequence = -1; // L: 21
this.runSequence = -1; // L: 22
this.overheadText = null; // L: 23
this.field1099 = false; // L: 25
this.overheadTextCyclesRemaining = 100; // L: 26
this.overheadTextColor = 0; // L: 27
this.overheadTextEffect = 0; // L: 28
this.hitSplatCount = 0; // L: 30
this.hitSplatTypes = new int[4]; // L: 31
this.hitSplatValues = new int[4]; // L: 32
this.hitSplatCycles = new int[4]; // L: 33
this.hitSplatTypes2 = new int[4]; // L: 34
this.hitSplatValues2 = new int[4]; // L: 35
this.healthBars = new IterableNodeDeque(); // L: 36
this.targetIndex = -1; // L: 37
this.false0 = false; // L: 38
this.field1112 = -1; // L: 39
this.movementSequence = -1; // L: 41
this.movementFrame = 0; // L: 42
this.movementFrameCycle = 0; // L: 43
this.sequence = -1; // L: 44
this.sequenceFrame = 0; // L: 45
this.sequenceFrameCycle = 0; // L: 46
this.sequenceDelay = 0; // L: 47
this.field1116 = 0; // L: 48
this.spotAnimation = -1; // L: 49
this.spotAnimationFrame = 0; // L: 50
this.spotAnimationFrameCycle = 0; // L: 51
this.npcCycle = 0; // L: 61
this.defaultHeight = 200; // L: 62
this.field1137 = 0; // L: 64
this.field1138 = 32; // L: 65
this.pathLength = 0; // L: 66
this.pathX = new int[10]; // L: 67
this.pathY = new int[10]; // L: 68
this.pathTraversed = new byte[10]; // L: 69
this.field1085 = 0; // L: 70
this.field1144 = 0; // L: 71
this.field1145 = -1; // L: 72
} // L: 74
this.isWalking = false; // L: 13
this.field1120 = 1; // L: 14
this.idleSequence = -1;
this.turnLeftSequence = -1;
this.turnRightSequence = -1; // L: 18
this.walkSequence = -1;
this.walkBackSequence = -1;
this.walkLeftSequence = -1; // L: 21
this.walkRightSequence = -1;
this.runSequence = -1; // L: 23
this.overheadText = null;
this.field1114 = false; // L: 26
this.overheadTextCyclesRemaining = 100;
this.overheadTextColor = 0;
this.overheadTextEffect = 0; // L: 29
this.hitSplatCount = 0;
this.hitSplatTypes = new int[4];
this.hitSplatValues = new int[4];
this.hitSplatCycles = new int[4]; // L: 34
this.hitSplatTypes2 = new int[4];
this.hitSplatValues2 = new int[4];
this.healthBars = new IterableNodeDeque(); // L: 37
this.targetIndex = -1;
this.false0 = false;
this.field1122 = -1; // L: 40
this.movementSequence = -1;
this.movementFrame = 0;
this.movementFrameCycle = 0;
this.sequence = -1;
this.sequenceFrame = 0; // L: 46
this.sequenceFrameCycle = 0; // L: 47
this.sequenceDelay = 0;
this.field1126 = 0; // L: 49
this.spotAnimation = -1;
this.spotAnimationFrame = 0;
this.spotAnimationFrameCycle = 0; // L: 52
this.npcCycle = 0;
this.defaultHeight = 200;
this.field1141 = -1;
this.field1140 = -1; // L: 65
this.field1148 = 0; // L: 71
this.field1149 = 32; // L: 72
this.pathLength = 0;
this.pathX = new int[10];
this.pathY = new int[10];
this.field1153 = new class185[10];
this.field1117 = 0; // L: 77
this.field1098 = 0; // L: 78
this.field1119 = -1;
} // L: 81
@ObfuscatedName("d")
@ObfuscatedName("f")
@ObfuscatedSignature(
descriptor = "(I)Z",
garbageValue = "-532391824"
descriptor = "(B)Z",
garbageValue = "1"
)
@Export("isVisible")
boolean isVisible() {
return false; // L: 82
return false; // L: 89
}
@ObfuscatedName("bv")
@ObfuscatedSignature(
descriptor = "(B)V",
garbageValue = "64"
descriptor = "(I)V",
garbageValue = "1722592983"
)
final void method2165() {
this.pathLength = 0; // L: 77
this.field1144 = 0; // L: 78
} // L: 79
final void method2228() {
this.pathLength = 0; // L: 84
this.field1098 = 0; // L: 85
} // L: 86
@ObfuscatedName("bu")
@ObfuscatedName("bb")
@ObfuscatedSignature(
descriptor = "(IIIIIIB)V",
garbageValue = "32"
descriptor = "(IIIIIII)V",
garbageValue = "1118050478"
)
@Export("addHitSplat")
final void addHitSplat(int var1, int var2, int var3, int var4, int var5, int var6) {
boolean var7 = true; // L: 86
boolean var8 = true; // L: 87
boolean var7 = true; // L: 93
boolean var8 = true; // L: 94
int var9;
for (var9 = 0; var9 < 4; ++var9) { // L: 88
if (this.hitSplatCycles[var9] > var5) { // L: 89
for (var9 = 0; var9 < 4; ++var9) { // L: 95
if (this.hitSplatCycles[var9] > var5) { // L: 96
var7 = false;
} else {
var8 = false; // L: 90
var8 = false; // L: 97
}
}
var9 = -1; // L: 92
int var10 = -1; // L: 93
int var11 = 0; // L: 94
if (var1 >= 0) { // L: 95
HitSplatDefinition var12 = Canvas.method372(var1); // L: 96
var10 = var12.field1816; // L: 97
var11 = var12.field1805; // L: 98
var9 = -1; // L: 99
int var10 = -1; // L: 100
int var11 = 0; // L: 101
if (var1 >= 0) { // L: 102
HitSplatDefinition var12 = UserComparator6.method2554(var1); // L: 103
var10 = var12.field1946; // L: 104
var11 = var12.field1934; // L: 105
}
int var14;
if (var8) { // L: 100
if (var10 == -1) { // L: 101
if (var8) { // L: 107
if (var10 == -1) { // L: 108
return;
}
var9 = 0; // L: 102
var14 = 0; // L: 103
if (var10 == 0) { // L: 104
var9 = 0; // L: 109
var14 = 0; // L: 110
if (var10 == 0) { // L: 111
var14 = this.hitSplatCycles[0];
} else if (var10 == 1) { // L: 105
} else if (var10 == 1) { // L: 112
var14 = this.hitSplatValues[0];
}
for (int var13 = 1; var13 < 4; ++var13) { // L: 106
if (var10 == 0) { // L: 107
if (this.hitSplatCycles[var13] < var14) { // L: 108
var9 = var13; // L: 109
var14 = this.hitSplatCycles[var13]; // L: 110
for (int var13 = 1; var13 < 4; ++var13) { // L: 113
if (var10 == 0) { // L: 114
if (this.hitSplatCycles[var13] < var14) { // L: 115
var9 = var13; // L: 116
var14 = this.hitSplatCycles[var13]; // L: 117
}
} else if (var10 == 1 && this.hitSplatValues[var13] < var14) { // L: 113 114
var9 = var13; // L: 115
var14 = this.hitSplatValues[var13]; // L: 116
} else if (var10 == 1 && this.hitSplatValues[var13] < var14) { // L: 120 121
var9 = var13; // L: 122
var14 = this.hitSplatValues[var13]; // L: 123
}
}
if (var10 == 1 && var14 >= var2) { // L: 120
if (var10 == 1 && var14 >= var2) { // L: 127
return;
}
} else {
if (var7) { // L: 123
if (var7) { // L: 130
this.hitSplatCount = 0;
}
for (var14 = 0; var14 < 4; ++var14) { // L: 124
byte var15 = this.hitSplatCount; // L: 125
this.hitSplatCount = (byte)((this.hitSplatCount + 1) % 4); // L: 126
if (this.hitSplatCycles[var15] <= var5) { // L: 127
var9 = var15; // L: 128
break; // L: 129
for (var14 = 0; var14 < 4; ++var14) { // L: 131
byte var15 = this.hitSplatCount; // L: 132
this.hitSplatCount = (byte)((this.hitSplatCount + 1) % 4); // L: 133
if (this.hitSplatCycles[var15] <= var5) { // L: 134
var9 = var15; // L: 135
break; // L: 136
}
}
}
if (var9 >= 0) { // L: 133
this.hitSplatTypes[var9] = var1; // L: 134
this.hitSplatValues[var9] = var2; // L: 135
this.hitSplatTypes2[var9] = var3; // L: 136
this.hitSplatValues2[var9] = var4; // L: 137
this.hitSplatCycles[var9] = var5 + var11 + var6; // L: 138
if (var9 >= 0) { // L: 140
this.hitSplatTypes[var9] = var1; // L: 141
this.hitSplatValues[var9] = var2; // L: 142
this.hitSplatTypes2[var9] = var3; // L: 143
this.hitSplatValues2[var9] = var4; // L: 144
this.hitSplatCycles[var9] = var5 + var11 + var6; // L: 145
}
} // L: 139
} // L: 146
@ObfuscatedName("bz")
@ObfuscatedName("bc")
@ObfuscatedSignature(
descriptor = "(IIIIIII)V",
garbageValue = "-2125214461"
garbageValue = "-1630331843"
)
@Export("addHealthBar")
final void addHealthBar(int var1, int var2, int var3, int var4, int var5, int var6) {
HealthBarDefinition var7 = ObjectSound.method1772(var1); // L: 142
HealthBar var8 = null; // L: 143
HealthBar var9 = null; // L: 144
int var10 = var7.int2; // L: 145
int var11 = 0; // L: 146
HealthBarDefinition var7 = class118.method2683(var1); // L: 149
HealthBar var8 = null; // L: 150
HealthBar var9 = null; // L: 151
int var10 = var7.int2; // L: 152
int var11 = 0; // L: 153
HealthBar var12;
for (var12 = (HealthBar)this.healthBars.last(); var12 != null; var12 = (HealthBar)this.healthBars.previous()) { // L: 147
++var11; // L: 148
if (var12.definition.field1668 == var7.field1668) { // L: 149
var12.put(var2 + var4, var5, var6, var3); // L: 150
return; // L: 151
for (var12 = (HealthBar)this.healthBars.last(); var12 != null; var12 = (HealthBar)this.healthBars.previous()) { // L: 154
++var11; // L: 155
if (var12.definition.field1796 == var7.field1796) { // L: 156
var12.put(var2 + var4, var5, var6, var3); // L: 157
return; // L: 158
}
if (var12.definition.int1 <= var7.int1) { // L: 153
if (var12.definition.int1 <= var7.int1) { // L: 160
var8 = var12;
}
if (var12.definition.int2 > var10) { // L: 154
var9 = var12; // L: 155
var10 = var12.definition.int2; // L: 156
if (var12.definition.int2 > var10) { // L: 161
var9 = var12; // L: 162
var10 = var12.definition.int2; // L: 163
}
}
if (var9 != null || var11 < 4) { // L: 159
var12 = new HealthBar(var7); // L: 160
if (var8 == null) { // L: 161
if (var9 != null || var11 < 4) { // L: 166
var12 = new HealthBar(var7); // L: 167
if (var8 == null) { // L: 168
this.healthBars.addLast(var12);
} else {
IterableNodeDeque.IterableNodeDeque_addBefore(var12, var8); // L: 162
IterableNodeDeque.IterableNodeDeque_addBefore(var12, var8); // L: 169
}
var12.put(var2 + var4, var5, var6, var3); // L: 163
if (var11 >= 4) { // L: 164
var12.put(var2 + var4, var5, var6, var3); // L: 170
if (var11 >= 4) { // L: 171
var9.remove();
}
}
} // L: 165
} // L: 172
@ObfuscatedName("bc")
@ObfuscatedName("bx")
@ObfuscatedSignature(
descriptor = "(II)V",
garbageValue = "-1759022108"
descriptor = "(IB)V",
garbageValue = "-93"
)
@Export("removeHealthBar")
final void removeHealthBar(int var1) {
HealthBarDefinition var2 = ObjectSound.method1772(var1); // L: 168
HealthBarDefinition var2 = class118.method2683(var1); // L: 175
for (HealthBar var3 = (HealthBar)this.healthBars.last(); var3 != null; var3 = (HealthBar)this.healthBars.previous()) { // L: 169
if (var2 == var3.definition) { // L: 170
var3.remove(); // L: 171
return; // L: 172
for (HealthBar var3 = (HealthBar)this.healthBars.last(); var3 != null; var3 = (HealthBar)this.healthBars.previous()) { // L: 176
if (var2 == var3.definition) { // L: 177
var3.remove(); // L: 178
return; // L: 179
}
}
} // L: 175
} // L: 182
@ObfuscatedName("c")
@ObfuscatedSignature(
descriptor = "(III)I",
garbageValue = "1718558788"
)
static int method2235(int var0, int var1) {
FloorOverlayDefinition var2 = class18.method302(var0); // L: 15
if (var2 == null) { // L: 16
return var1; // L: 17
} else if (var2.secondaryRgb >= 0) { // L: 19
return var2.secondaryRgb | -16777216; // L: 20
} else {
int var3;
int var4;
byte var5;
int var7;
if (var2.texture >= 0) { // L: 22
var4 = Rasterizer3D.Rasterizer3D_textureLoader.getAverageTextureRGB(var2.texture); // L: 24
var5 = 96; // L: 25
if (var4 == -2) { // L: 27
var3 = 12345678; // L: 28
} else if (var4 == -1) { // L: 31
if (var5 < 0) { // L: 32
var5 = 0; // L: 33
} else if (var5 > 127) { // L: 35
var5 = 127; // L: 36
}
var7 = 127 - var5; // L: 38
var3 = var7; // L: 39
} else {
var7 = var5 * (var4 & 127) / 128; // L: 42
if (var7 < 2) { // L: 43
var7 = 2;
} else if (var7 > 126) { // L: 44
var7 = 126;
}
var3 = var7 + (var4 & 65408); // L: 45
}
return Rasterizer3D.Rasterizer3D_colorPalette[var3] | -16777216; // L: 48
} else if (var2.primaryRgb == 16711935) { // L: 50
return var1; // L: 51
} else {
var3 = WorldMapRectangle.method4794(var2.hue, var2.saturation, var2.lightness); // L: 54
var5 = 96; // L: 56
if (var3 == -2) { // L: 58
var4 = 12345678; // L: 59
} else if (var3 == -1) { // L: 62
if (var5 < 0) { // L: 63
var5 = 0; // L: 64
} else if (var5 > 127) {
var5 = 127;
}
var7 = 127 - var5;
var4 = var7; // L: 70
} else {
var7 = var5 * (var3 & 127) / 128; // L: 73
if (var7 < 2) { // L: 74
var7 = 2;
} else if (var7 > 126) { // L: 75
var7 = 126;
}
var4 = var7 + (var3 & 65408); // L: 76
}
return Rasterizer3D.Rasterizer3D_colorPalette[var4] | -16777216; // L: 79
}
}
}
@ObfuscatedName("w")
@ObfuscatedSignature(
descriptor = "(IB)I",
garbageValue = "28"
)
static int method2233(int var0) {
Message var1 = (Message)Messages.Messages_hashTable.get((long)var0); // L: 66
if (var1 == null) { // L: 67
return -1;
} else {
return var1.nextDual == Messages.Messages_queue.sentinel ? -1 : ((Message)var1.nextDual).count; // L: 68 69
}
}
}