project: hello again rev206

This commit is contained in:
JumpIfZero
2022-04-22 12:43:18 +03:00
parent 1cdb6e9060
commit 2dc9359cba
466 changed files with 55930 additions and 56034 deletions

View File

@@ -1,553 +1,558 @@
import java.lang.management.GarbageCollectorMXBean;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ao")
@ObfuscatedName("ay")
@Implements("PcmPlayer")
public class PcmPlayer {
@ObfuscatedName("up")
@ObfuscatedSignature(
descriptor = "Lnn;"
)
@Export("masterDisk")
static ArchiveDisk masterDisk;
@ObfuscatedName("sg")
@ObfuscatedName("tf")
@ObfuscatedGetter(
intValue = -1524812773
intValue = -1674990359
)
static int field302;
static int field294;
@ObfuscatedName("b")
@ObfuscatedGetter(
intValue = -100861485
)
public static int field268;
@ObfuscatedName("n")
@Export("PcmPlayer_stereo")
protected static boolean PcmPlayer_stereo;
@ObfuscatedName("j")
@ObfuscatedName("q")
@ObfuscatedGetter(
intValue = -876322285
)
static int field295;
@ObfuscatedName("ax")
@Export("garbageCollector")
static GarbageCollectorMXBean garbageCollector;
@ObfuscatedName("iw")
@ObfuscatedSignature(
descriptor = "[Lqq;"
)
@Export("modIconSprites")
static IndexedSprite[] modIconSprites;
@ObfuscatedName("k")
@Export("samples")
protected int[] samples;
@ObfuscatedName("p")
@ObfuscatedName("d")
@ObfuscatedSignature(
descriptor = "Lal;"
descriptor = "Laf;"
)
@Export("stream")
PcmStream stream;
@ObfuscatedName("s")
@ObfuscatedName("m")
@ObfuscatedGetter(
intValue = -1674689975
intValue = 219086691
)
int field289;
@ObfuscatedName("b")
int field292;
@ObfuscatedName("u")
@ObfuscatedGetter(
longValue = -146289790672909629L
longValue = 7132959178591486869L
)
@Export("timeMs")
long timeMs;
@ObfuscatedName("w")
@ObfuscatedName("t")
@ObfuscatedGetter(
intValue = -2098648259
intValue = -1707278451
)
@Export("capacity")
int capacity;
@ObfuscatedName("g")
@ObfuscatedGetter(
intValue = 918986377
)
int field289;
@ObfuscatedName("x")
@ObfuscatedGetter(
intValue = -1421867195
)
int field279;
@ObfuscatedName("a")
@ObfuscatedGetter(
intValue = 901701685
longValue = 9027155764200073789L
)
int field282;
@ObfuscatedName("m")
@ObfuscatedGetter(
intValue = 1678649401
)
int field286;
@ObfuscatedName("q")
@ObfuscatedGetter(
longValue = -962258044052042289L
)
long field287;
long field280;
@ObfuscatedName("y")
@ObfuscatedGetter(
intValue = 674233675
intValue = -742253307
)
int field288;
@ObfuscatedName("z")
int field281;
@ObfuscatedName("j")
@ObfuscatedGetter(
intValue = 327498169
intValue = -220533853
)
int field285;
int field275;
@ObfuscatedName("e")
@ObfuscatedGetter(
intValue = 1102402763
intValue = -220706099
)
int field294;
@ObfuscatedName("t")
int field283;
@ObfuscatedName("z")
@ObfuscatedGetter(
longValue = -8423144863370094901L
longValue = -5317730937569531851L
)
long field291;
@ObfuscatedName("i")
boolean field292;
@ObfuscatedName("aw")
long field284;
@ObfuscatedName("h")
boolean field285;
@ObfuscatedName("ao")
@ObfuscatedGetter(
intValue = -1149709291
intValue = -473229249
)
int field298;
@ObfuscatedName("ar")
int field277;
@ObfuscatedName("aj")
@ObfuscatedSignature(
descriptor = "[Lal;"
descriptor = "[Laf;"
)
PcmStream[] field295;
@ObfuscatedName("ae")
PcmStream[] field272;
@ObfuscatedName("al")
@ObfuscatedSignature(
descriptor = "[Lal;"
descriptor = "[Laf;"
)
PcmStream[] field296;
PcmStream[] field290;
protected PcmPlayer() {
this.field289 = 32; // L: 22
this.timeMs = WorldMapSprite.method4989(); // L: 23
this.field287 = 0L; // L: 27
this.field288 = 0; // L: 28
this.field285 = 0; // L: 29
this.field294 = 0; // L: 30
this.field291 = 0L; // L: 31
this.field292 = true; // L: 32
this.field298 = 0; // L: 38
this.field295 = new PcmStream[8]; // L: 39
this.field296 = new PcmStream[8]; // L: 40
this.field292 = 32; // L: 22
this.timeMs = class136.method2931(); // L: 23
this.field280 = 0L; // L: 27
this.field281 = 0; // L: 28
this.field275 = 0; // L: 29
this.field283 = 0; // L: 30
this.field284 = 0L; // L: 31
this.field285 = true; // L: 32
this.field277 = 0; // L: 38
this.field272 = new PcmStream[8]; // L: 39
this.field290 = new PcmStream[8]; // L: 40
} // L: 42
@ObfuscatedName("v")
@ObfuscatedSignature(
descriptor = "(B)V",
garbageValue = "44"
descriptor = "(I)V",
garbageValue = "-843995592"
)
@Export("init")
protected void init() throws Exception {
} // L: 284
} // L: 280
@ObfuscatedName("o")
@ObfuscatedName("c")
@ObfuscatedSignature(
descriptor = "(IS)V",
garbageValue = "5561"
descriptor = "(II)V",
garbageValue = "1651380399"
)
@Export("open")
protected void open(int var1) throws Exception {
} // L: 285
} // L: 281
@ObfuscatedName("h")
@ObfuscatedName("i")
@ObfuscatedSignature(
descriptor = "(B)I",
garbageValue = "0"
descriptor = "(I)I",
garbageValue = "244839095"
)
@Export("position")
protected int position() throws Exception {
return this.capacity; // L: 288
return this.capacity; // L: 284
}
@ObfuscatedName("g")
@ObfuscatedName("f")
@Export("write")
protected void write() throws Exception {
} // L: 291
} // L: 287
@ObfuscatedName("l")
@ObfuscatedName("b")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "-1892762612"
garbageValue = "-1662003992"
)
@Export("close")
protected void close() {
} // L: 292
} // L: 288
@ObfuscatedName("n")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "-476108420"
garbageValue = "1137884684"
)
@Export("discard")
protected void discard() throws Exception {
} // L: 293
} // L: 289
@ObfuscatedName("y")
@ObfuscatedName("e")
@ObfuscatedSignature(
descriptor = "(Lal;I)V",
garbageValue = "646054771"
descriptor = "(Laf;I)V",
garbageValue = "-1433712556"
)
@Export("setStream")
public final synchronized void setStream(PcmStream var1) {
this.stream = var1; // L: 83
} // L: 84
this.stream = var1; // L: 79
}
@ObfuscatedName("z")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "1960857341"
garbageValue = "-941854175"
)
@Export("run")
public final synchronized void run() {
if (this.samples != null) { // L: 87
long var1 = WorldMapSprite.method4989(); // L: 88
if (this.samples != null) {
long var1 = class136.method2931();
try {
if (this.field287 != 0L) { // L: 90
if (var1 < this.field287) { // L: 91
if (this.field280 != 0L) {
if (var1 < this.field280) {
return;
}
this.open(this.capacity); // L: 92
this.field287 = 0L; // L: 93
this.field292 = true; // L: 94
this.open(this.capacity);
this.field280 = 0L;
this.field285 = true;
}
int var3 = this.position(); // L: 96
if (this.field294 - var3 > this.field288) { // L: 97
this.field288 = this.field294 - var3;
int var3 = this.position();
if (this.field283 - var3 > this.field281) {
this.field281 = this.field283 - var3;
}
int var4 = this.field282 + this.field286; // L: 98
if (var4 + 256 > 16384) { // L: 99
int var4 = this.field279 + this.field289;
if (var4 + 256 > 16384) {
var4 = 16128;
}
if (var4 + 256 > this.capacity) { // L: 100
this.capacity += 1024; // L: 101
if (this.capacity > 16384) { // L: 102
if (var4 + 256 > this.capacity) {
this.capacity += 1024;
if (this.capacity > 16384) {
this.capacity = 16384;
}
this.close(); // L: 103
this.open(this.capacity); // L: 104
var3 = 0; // L: 105
this.field292 = true; // L: 106
if (var4 + 256 > this.capacity) { // L: 107
var4 = this.capacity - 256; // L: 108
this.field286 = var4 - this.field282; // L: 109
this.close();
this.open(this.capacity);
var3 = 0;
this.field285 = true; // L: 102
if (var4 + 256 > this.capacity) { // L: 103
var4 = this.capacity - 256; // L: 104
this.field279 = var4 - this.field289;
}
}
while (var3 < var4) { // L: 112
this.fill(this.samples, 256); // L: 113
this.write(); // L: 114
var3 += 256; // L: 115
while (var3 < var4) {
this.fill(this.samples, 256);
this.write();
var3 += 256;
}
if (var1 > this.field291) { // L: 117
if (!this.field292) { // L: 118
if (this.field288 == 0 && this.field285 == 0) { // L: 119
this.close(); // L: 120
this.field287 = var1 + 2000L; // L: 121
return; // L: 122
if (var1 > this.field284) {
if (!this.field285) {
if (this.field281 == 0 && this.field275 == 0) {
this.close();
this.field280 = var1 + 2000L; // L: 117
return;
}
this.field286 = Math.min(this.field285, this.field288); // L: 124
this.field285 = this.field288; // L: 125
this.field279 = Math.min(this.field275, this.field281); // L: 120
this.field275 = this.field281; // L: 121
} else {
this.field292 = false; // L: 127
this.field285 = false; // L: 123
}
this.field288 = 0; // L: 128
this.field291 = var1 + 2000L; // L: 129
this.field281 = 0; // L: 124
this.field284 = 2000L + var1; // L: 125
}
this.field294 = var3; // L: 131
} catch (Exception var7) { // L: 133
this.close(); // L: 134
this.field287 = 2000L + var1; // L: 135
this.field283 = var3; // L: 127
} catch (Exception var7) { // L: 129
this.close(); // L: 130
this.field280 = 2000L + var1; // L: 131
}
try {
if (var1 > this.timeMs + 500000L) { // L: 138
if (var1 > 500000L + this.timeMs) { // L: 134
var1 = this.timeMs;
}
while (var1 > this.timeMs + 5000L) { // L: 139
this.skip(256); // L: 140
this.timeMs += (long)(256000 / SecureRandomFuture.field949); // L: 141
while (var1 > 5000L + this.timeMs) { // L: 135
this.skip(256); // L: 136
this.timeMs += (long)(256000 / field268); // L: 137
}
} catch (Exception var6) { // L: 144
this.timeMs = var1; // L: 145
} catch (Exception var6) { // L: 140
this.timeMs = var1; // L: 141
}
}
} // L: 143
@ObfuscatedName("h")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "1721057511"
)
public final void method690() {
this.field285 = true; // L: 146
} // L: 147
@ObfuscatedName("e")
@ObfuscatedName("ae")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "-2105118710"
)
public final void method722() {
this.field292 = true; // L: 150
} // L: 151
@ObfuscatedName("t")
@ObfuscatedSignature(
descriptor = "(I)V",
garbageValue = "323324362"
garbageValue = "1697875178"
)
@Export("tryDiscard")
public final synchronized void tryDiscard() {
this.field292 = true; // L: 154
this.field285 = true; // L: 150
try {
this.discard(); // L: 156
} catch (Exception var2) { // L: 158
this.close(); // L: 159
this.field287 = WorldMapSprite.method4989() + 2000L; // L: 160
this.discard(); // L: 152
} catch (Exception var2) { // L: 154
this.close(); // L: 155
this.field280 = class136.method2931() + 2000L; // L: 156
}
} // L: 162
} // L: 158
@ObfuscatedName("i")
@ObfuscatedName("aq")
@ObfuscatedSignature(
descriptor = "(B)V",
garbageValue = "104"
garbageValue = "1"
)
@Export("shutdown")
public final synchronized void shutdown() {
if (VarpDefinition.soundSystem != null) { // L: 165
boolean var1 = true; // L: 166
if (class6.soundSystem != null) { // L: 161
boolean var1 = true; // L: 162
for (int var2 = 0; var2 < 2; ++var2) { // L: 167
if (this == VarpDefinition.soundSystem.players[var2]) { // L: 168
VarpDefinition.soundSystem.players[var2] = null;
for (int var2 = 0; var2 < 2; ++var2) { // L: 163
if (this == class6.soundSystem.players[var2]) {
class6.soundSystem.players[var2] = null; // L: 164
}
if (VarpDefinition.soundSystem.players[var2] != null) { // L: 169
if (class6.soundSystem.players[var2] != null) { // L: 165
var1 = false;
}
}
if (var1) { // L: 171
class342.soundSystemExecutor.shutdownNow(); // L: 172
class342.soundSystemExecutor = null; // L: 173
VarpDefinition.soundSystem = null; // L: 174
if (var1) { // L: 167
WorldMapSection1.soundSystemExecutor.shutdownNow(); // L: 168
WorldMapSection1.soundSystemExecutor = null; // L: 169
class6.soundSystem = null; // L: 170
}
}
this.close(); // L: 177
this.samples = null; // L: 178
} // L: 179
this.close(); // L: 173
this.samples = null; // L: 174
} // L: 175
@ObfuscatedName("ac")
@ObfuscatedName("aw")
@ObfuscatedSignature(
descriptor = "(II)V",
garbageValue = "1425453165"
descriptor = "(IS)V",
garbageValue = "2048"
)
@Export("skip")
final void skip(int var1) {
this.field298 -= var1; // L: 182
if (this.field298 < 0) {
this.field298 = 0; // L: 183
this.field277 -= var1; // L: 178
if (this.field277 < 0) {
this.field277 = 0; // L: 179
}
if (this.stream != null) {
this.stream.skip(var1); // L: 184
this.stream.skip(var1); // L: 180
}
} // L: 185
} // L: 181
@ObfuscatedName("ax")
@ObfuscatedName("am")
@Export("fill")
final void fill(int[] var1, int var2) {
int var3 = var2; // L: 189
if (PcmPlayer_stereo) { // L: 190
int var3 = var2; // L: 185
if (PcmPlayer_stereo) { // L: 186
var3 = var2 << 1;
}
class350.clearIntArray(var1, 0, var3); // L: 191
this.field298 -= var2; // L: 192
if (this.stream != null && this.field298 <= 0) { // L: 193
this.field298 += SecureRandomFuture.field949 >> 4; // L: 194
class341.PcmStream_disable(this.stream); // L: 195
this.method727(this.stream, this.stream.vmethod968()); // L: 196
int var4 = 0; // L: 197
int var5 = 255; // L: 198
class350.clearIntArray(var1, 0, var3); // L: 187
this.field277 -= var2; // L: 188
if (this.stream != null && this.field277 <= 0) { // L: 189
this.field277 += field268 >> 4; // L: 190
class296.PcmStream_disable(this.stream); // L: 191
this.method695(this.stream, this.stream.vmethod962()); // L: 192
int var4 = 0; // L: 193
int var5 = 255; // L: 194
int var6;
PcmStream var10;
label109:
for (var6 = 7; var5 != 0; --var6) { // L: 199
label108:
for (var6 = 7; var5 != 0; --var6) { // L: 195
int var7;
int var8;
if (var6 < 0) { // L: 202
var7 = var6 & 3; // L: 203
var8 = -(var6 >> 2); // L: 204
if (var6 < 0) { // L: 198
var7 = var6 & 3; // L: 199
var8 = -(var6 >> 2); // L: 200
} else {
var7 = var6; // L: 207
var8 = 0; // L: 208
var7 = var6; // L: 203
var8 = 0; // L: 204
}
for (int var9 = var5 >>> var7 & 286331153; var9 != 0; var9 >>>= 4) { // L: 210 212
if ((var9 & 1) != 0) { // L: 215
var5 &= ~(1 << var7); // L: 218
var10 = null; // L: 219
PcmStream var11 = this.field295[var7]; // L: 220
for (int var9 = var5 >>> var7 & 286331153; var9 != 0; var9 >>>= 4) { // L: 206 208
if ((var9 & 1) != 0) { // L: 211
var5 &= ~(1 << var7); // L: 214
var10 = null; // L: 215
PcmStream var11 = this.field272[var7]; // L: 216
label103:
label102:
while (true) {
while (true) {
if (var11 == null) { // L: 221
break label103;
if (var11 == null) { // L: 217
break label102;
}
AbstractSound var12 = var11.sound; // L: 222
if (var12 != null && var12.position > var8) { // L: 223
var5 |= 1 << var7; // L: 224
var10 = var11; // L: 225
var11 = var11.after; // L: 226
AbstractSound var12 = var11.sound; // L: 218
if (var12 != null && var12.position > var8) { // L: 219
var5 |= 1 << var7; // L: 220
var10 = var11; // L: 221
var11 = var11.after; // L: 222
} else {
var11.active = true; // L: 229
int var13 = var11.vmethod5476(); // L: 230
var4 += var13; // L: 231
if (var12 != null) { // L: 232
var11.active = true; // L: 225
int var13 = var11.vmethod5441(); // L: 226
var4 += var13; // L: 227
if (var12 != null) { // L: 228
var12.position += var13;
}
if (var4 >= this.field289) { // L: 233
break label109;
if (var4 >= this.field292) { // L: 229
break label108;
}
PcmStream var14 = var11.firstSubStream(); // L: 234
if (var14 != null) {
for (int var15 = var11.field349; var14 != null; var14 = var11.nextSubStream()) { // L: 237 239
this.method727(var14, var15 * var14.vmethod968() >> 8); // L: 238
PcmStream var14 = var11.firstSubStream(); // L: 230
if (var14 != null) { // L: 231
for (int var15 = var11.field343; var14 != null; var14 = var11.nextSubStream()) { // L: 232 233 235
this.method695(var14, var15 * var14.vmethod962() >> 8); // L: 234
}
}
PcmStream var18 = var11.after; // L: 242
var11.after = null; // L: 243
if (var10 == null) { // L: 244
this.field295[var7] = var18;
PcmStream var18 = var11.after; // L: 238
var11.after = null; // L: 239
if (var10 == null) { // L: 240
this.field272[var7] = var18;
} else {
var10.after = var18; // L: 245
var10.after = var18; // L: 241
}
if (var18 == null) { // L: 246
this.field296[var7] = var10;
if (var18 == null) { // L: 242
this.field290[var7] = var10;
}
var11 = var18; // L: 247
var11 = var18; // L: 243
}
}
}
}
var7 += 4; // L: 211
var7 += 4; // L: 207
++var8;
}
}
for (var6 = 0; var6 < 8; ++var6) { // L: 251
PcmStream var16 = this.field295[var6]; // L: 252
PcmStream[] var17 = this.field295; // L: 253
this.field296[var6] = null; // L: 255
for (var6 = 0; var6 < 8; ++var6) { // L: 247
PcmStream var16 = this.field272[var6]; // L: 248
PcmStream[] var17 = this.field272; // L: 249
this.field290[var6] = null; // L: 251
for (var17[var6] = null; var16 != null; var16 = var10) { // L: 256 257 260
var10 = var16.after; // L: 258
var16.after = null; // L: 259
for (var17[var6] = null; var16 != null; var16 = var10) { // L: 252 253 256
var10 = var16.after; // L: 254
var16.after = null; // L: 255
}
}
}
if (this.field298 < 0) { // L: 264
this.field298 = 0;
if (this.field277 < 0) { // L: 260
this.field277 = 0;
}
if (this.stream != null) { // L: 265
this.stream.fill(var1, 0, var2);
if (this.stream != null) {
this.stream.fill(var1, 0, var2); // L: 261
}
this.timeMs = WorldMapSprite.method4989(); // L: 266
} // L: 267
this.timeMs = class136.method2931(); // L: 262
} // L: 263
@ObfuscatedName("au")
@ObfuscatedName("ao")
@ObfuscatedSignature(
descriptor = "(Lal;II)V",
garbageValue = "98012473"
descriptor = "(Laf;IS)V",
garbageValue = "195"
)
final void method727(PcmStream var1, int var2) {
int var3 = var2 >> 5; // L: 276
PcmStream var4 = this.field296[var3]; // L: 277
if (var4 == null) { // L: 278
this.field295[var3] = var1;
final void method695(PcmStream var1, int var2) {
int var3 = var2 >> 5; // L: 272
PcmStream var4 = this.field290[var3]; // L: 273
if (var4 == null) { // L: 274
this.field272[var3] = var1;
} else {
var4.after = var1; // L: 279
var4.after = var1; // L: 275
}
this.field296[var3] = var1; // L: 280
var1.field349 = var2; // L: 281
} // L: 282
this.field290[var3] = var1; // L: 276
var1.field343 = var2; // L: 277
} // L: 278
@ObfuscatedName("n")
public static int method771(long var0) {
return (int)(var0 >>> 7 & 127L); // L: 69
}
@ObfuscatedName("n")
@ObfuscatedName("f")
@ObfuscatedSignature(
descriptor = "(II)Z",
garbageValue = "-291155965"
descriptor = "([BI)Lbd;",
garbageValue = "1634234442"
)
public static boolean method772(int var0) {
return var0 >= 0 && var0 < 112 ? KeyHandler.field125[var0] : false; // L: 235 236
}
@Export("newScript")
static Script newScript(byte[] var0) {
Script var1 = new Script(); // L: 80
Buffer var2 = new Buffer(var0); // L: 81
var2.offset = var2.array.length - 2; // L: 82
int var3 = var2.readUnsignedShort(); // L: 83
int var4 = var2.array.length - 2 - var3 - 12; // L: 84
var2.offset = var4; // L: 85
int var5 = var2.readInt(); // L: 86
var1.localIntCount = var2.readUnsignedShort(); // L: 87
var1.localStringCount = var2.readUnsignedShort(); // L: 88
var1.intArgumentCount = var2.readUnsignedShort(); // L: 89
var1.stringArgumentCount = var2.readUnsignedShort(); // L: 90
int var6 = var2.readUnsignedByte(); // L: 91
int var7;
int var8;
if (var6 > 0) { // L: 92
var1.switches = var1.newIterableNodeHashTable(var6); // L: 93
@ObfuscatedName("af")
@ObfuscatedSignature(
descriptor = "(ILbo;ZI)I",
garbageValue = "1622893485"
)
static int method770(int var0, Script var1, boolean var2) {
if (var0 >= 7200 && var0 < 7204) { // L: 4639
class295.Interpreter_intStackSize -= 5; // L: 4640
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = -1; // L: 4641
return 1; // L: 4642
} else if (var0 == 7204) { // L: 4644
class295.Interpreter_intStackSize -= 6; // L: 4645
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = -1; // L: 4646
return 1; // L: 4647
} else if (var0 >= 7205 && var0 < 7209) { // L: 4649
Interpreter.Interpreter_intStack[class295.Interpreter_intStackSize - 1] = -1; // L: 4650
return 1; // L: 4651
} else if (var0 == 7209) { // L: 4653
class295.Interpreter_intStackSize -= 2; // L: 4654
Interpreter.Interpreter_intStack[++class295.Interpreter_intStackSize - 1] = -1; // L: 4655
return 1; // L: 4656
} else if (var0 >= 7210 && var0 < 7214) { // L: 4658
--class295.Interpreter_intStackSize; // L: 4659
return 1; // L: 4660
} else if (var0 == 7214) { // L: 4662
class295.Interpreter_intStackSize -= 2; // L: 4663
return 1; // L: 4664
} else {
return 2; // L: 4666
}
}
for (var7 = 0; var7 < var6; ++var7) { // L: 94
var8 = var2.readUnsignedShort(); // L: 95
IterableNodeHashTable var9 = new IterableNodeHashTable(var8 > 0 ? class67.method1909(var8) : 1); // L: 96
var1.switches[var7] = var9; // L: 97
@ObfuscatedName("jw")
@ObfuscatedSignature(
descriptor = "(Lkn;III)V",
garbageValue = "-2138605701"
)
@Export("clickWidget")
static final void clickWidget(Widget var0, int var1, int var2) {
if (Client.clickedWidget == null && !Client.isMenuOpen) { // L: 11149
if (var0 != null && DevicePcmPlayerProvider.method381(var0) != null) { // L: 11150
Client.clickedWidget = var0; // L: 11151
Client.clickedWidgetParent = DevicePcmPlayerProvider.method381(var0); // L: 11152
Client.widgetClickX = var1; // L: 11153
Client.widgetClickY = var2; // L: 11154
class136.widgetDragDuration = 0; // L: 11155
Client.isDraggingWidget = false; // L: 11156
int var3 = class168.method3324(); // L: 11157
if (var3 != -1) { // L: 11158
PacketWriter.tempMenuAction = new MenuAction(); // L: 11159
PacketWriter.tempMenuAction.param0 = Client.menuArguments1[var3]; // L: 11160
PacketWriter.tempMenuAction.param1 = Client.menuArguments2[var3]; // L: 11161
PacketWriter.tempMenuAction.opcode = Client.menuOpcodes[var3]; // L: 11162
PacketWriter.tempMenuAction.identifier = Client.menuIdentifiers[var3]; // L: 11163
PacketWriter.tempMenuAction.action = Client.menuActions[var3]; // L: 11164
while (var8-- > 0) { // L: 98
int var10 = var2.readInt(); // L: 99
int var11 = var2.readInt(); // L: 100
var9.put(new IntegerNode(var11), (long)var10); // L: 101
}
}
}
} // L: 11166
var2.offset = 0; // L: 105
var1.field954 = var2.readStringCp1252NullTerminatedOrNull(); // L: 106
var1.opcodes = new int[var5]; // L: 107
var1.intOperands = new int[var5]; // L: 108
var1.stringOperands = new String[var5]; // L: 109
for (var7 = 0; var2.offset < var4; var1.opcodes[var7++] = var8) { // L: 110 111 116
var8 = var2.readUnsignedShort(); // L: 112
if (var8 == 3) { // L: 113
var1.stringOperands[var7] = var2.readStringCp1252NullTerminated();
} else if (var8 < 100 && var8 != 21 && var8 != 38 && var8 != 39) {
var1.intOperands[var7] = var2.readInt(); // L: 114
} else {
var1.intOperands[var7] = var2.readUnsignedByte(); // L: 115
}
}
return var1; // L: 118
}
@ObfuscatedName("b")
@ObfuscatedSignature(
descriptor = "(Ljava/lang/CharSequence;IB)I",
garbageValue = "42"
)
public static int method746(CharSequence var0, int var1) {
return class263.method5178(var0, var1, true); // L: 71
}
}