chore: rev 193
This commit is contained in:
@@ -4,516 +4,508 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("dh")
|
||||
@ObfuscatedName("dp")
|
||||
@Implements("PcmPlayer")
|
||||
public class PcmPlayer {
|
||||
@ObfuscatedName("rb")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 410930349
|
||||
intValue = -804003183
|
||||
)
|
||||
static int field1449;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 445943663
|
||||
)
|
||||
public static int field1442;
|
||||
@ObfuscatedName("q")
|
||||
public static int field1443;
|
||||
@ObfuscatedName("j")
|
||||
@Export("PcmPlayer_stereo")
|
||||
public static boolean PcmPlayer_stereo;
|
||||
@ObfuscatedName("be")
|
||||
@Export("worldListURL")
|
||||
static String worldListURL;
|
||||
@ObfuscatedName("x")
|
||||
protected static boolean PcmPlayer_stereo;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1343221865
|
||||
)
|
||||
static int field1424;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Ldt;"
|
||||
)
|
||||
@Export("soundSystem")
|
||||
static SoundSystem soundSystem;
|
||||
@ObfuscatedName("c")
|
||||
@Export("samples")
|
||||
protected int[] samples;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lde;"
|
||||
descriptor = "Ldi;"
|
||||
)
|
||||
@Export("stream")
|
||||
PcmStream stream;
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -420218683
|
||||
intValue = 1633759265
|
||||
)
|
||||
int field1438;
|
||||
@ObfuscatedName("y")
|
||||
int field1425;
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedGetter(
|
||||
longValue = -2584674083897744543L
|
||||
longValue = -8429726973010117483L
|
||||
)
|
||||
@Export("timeMs")
|
||||
long timeMs;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2101974297
|
||||
intValue = -1292607887
|
||||
)
|
||||
@Export("capacity")
|
||||
int capacity;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1733688779
|
||||
intValue = 1569726481
|
||||
)
|
||||
int field1441;
|
||||
@ObfuscatedName("w")
|
||||
int field1431;
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1246439087
|
||||
intValue = -246859759
|
||||
)
|
||||
int field1454;
|
||||
@ObfuscatedName("v")
|
||||
int field1432;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedGetter(
|
||||
longValue = -2737488179381108627L
|
||||
longValue = 3904158006998688263L
|
||||
)
|
||||
long field1432;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 704933067
|
||||
)
|
||||
int field1444;
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1488004649
|
||||
)
|
||||
int field1445;
|
||||
long field1433;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 2114790969
|
||||
intValue = -1780329359
|
||||
)
|
||||
int field1427;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1504765301
|
||||
)
|
||||
int field1435;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedGetter(
|
||||
longValue = -7835668176490123993L
|
||||
intValue = -727818553
|
||||
)
|
||||
long field1456;
|
||||
@ObfuscatedName("i")
|
||||
boolean field1448;
|
||||
@ObfuscatedName("ar")
|
||||
int field1436;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1431776873
|
||||
longValue = -674058996011130719L
|
||||
)
|
||||
int field1450;
|
||||
@ObfuscatedName("ay")
|
||||
long field1437;
|
||||
@ObfuscatedName("d")
|
||||
boolean field1422;
|
||||
@ObfuscatedName("as")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 977089873
|
||||
)
|
||||
int field1439;
|
||||
@ObfuscatedName("ae")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "[Lde;"
|
||||
descriptor = "[Ldi;"
|
||||
)
|
||||
PcmStream[] field1451;
|
||||
@ObfuscatedName("ah")
|
||||
PcmStream[] field1440;
|
||||
@ObfuscatedName("ac")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "[Lde;"
|
||||
descriptor = "[Ldi;"
|
||||
)
|
||||
PcmStream[] field1452;
|
||||
PcmStream[] field1428;
|
||||
|
||||
protected PcmPlayer() {
|
||||
this.field1438 = 32; // L: 22
|
||||
this.timeMs = User.currentTimeMillis(); // L: 23
|
||||
this.field1432 = 0L; // L: 27
|
||||
this.field1444 = 0; // L: 28
|
||||
this.field1445 = 0; // L: 29
|
||||
this.field1435 = 0; // L: 30
|
||||
this.field1456 = 0L; // L: 31
|
||||
this.field1448 = true; // L: 32
|
||||
this.field1450 = 0; // L: 38
|
||||
this.field1451 = new PcmStream[8]; // L: 39
|
||||
this.field1452 = new PcmStream[8]; // L: 40
|
||||
} // L: 42
|
||||
this.field1425 = 32;
|
||||
this.timeMs = class298.currentTimeMillis();
|
||||
this.field1433 = 0L;
|
||||
this.field1427 = 0;
|
||||
this.field1435 = 0;
|
||||
this.field1436 = 0;
|
||||
this.field1437 = 0L;
|
||||
this.field1422 = true;
|
||||
this.field1439 = 0;
|
||||
this.field1440 = new PcmStream[8];
|
||||
this.field1428 = new PcmStream[8];
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-906788639"
|
||||
descriptor = "(B)V",
|
||||
garbageValue = "99"
|
||||
)
|
||||
@Export("init")
|
||||
protected void init() throws Exception {
|
||||
} // L: 273
|
||||
}
|
||||
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IB)V",
|
||||
garbageValue = "-32"
|
||||
descriptor = "(IS)V",
|
||||
garbageValue = "3677"
|
||||
)
|
||||
@Export("open")
|
||||
protected void open(int var1) throws Exception {
|
||||
} // L: 274
|
||||
}
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)I",
|
||||
garbageValue = "-612241013"
|
||||
descriptor = "(B)I",
|
||||
garbageValue = "60"
|
||||
)
|
||||
@Export("position")
|
||||
protected int position() throws Exception {
|
||||
return this.capacity; // L: 277
|
||||
return this.capacity;
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedName("w")
|
||||
@Export("write")
|
||||
protected void write() throws Exception {
|
||||
} // L: 280
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)V",
|
||||
garbageValue = "0"
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-310479525"
|
||||
)
|
||||
@Export("close")
|
||||
protected void close() {
|
||||
} // L: 281
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "1393012391"
|
||||
)
|
||||
@Export("discard")
|
||||
protected void discard() throws Exception {
|
||||
} // L: 282
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lde;I)V",
|
||||
garbageValue = "-239504049"
|
||||
)
|
||||
@Export("setStream")
|
||||
public final synchronized void setStream(PcmStream var1) {
|
||||
this.stream = var1; // L: 72
|
||||
} // L: 73
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)V",
|
||||
garbageValue = "29"
|
||||
garbageValue = "-7"
|
||||
)
|
||||
@Export("discard")
|
||||
protected void discard() throws Exception {
|
||||
}
|
||||
|
||||
@ObfuscatedName("au")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ldi;I)V",
|
||||
garbageValue = "2012600293"
|
||||
)
|
||||
@Export("setStream")
|
||||
public final synchronized void setStream(PcmStream var1) {
|
||||
this.stream = var1;
|
||||
}
|
||||
|
||||
@ObfuscatedName("as")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "2081423658"
|
||||
)
|
||||
@Export("run")
|
||||
public final synchronized void run() {
|
||||
if (this.samples != null) { // L: 76
|
||||
long var1 = User.currentTimeMillis(); // L: 77
|
||||
if (this.samples != null) {
|
||||
long var1 = class298.currentTimeMillis();
|
||||
|
||||
try {
|
||||
if (0L != this.field1432) { // L: 79
|
||||
if (var1 < this.field1432) { // L: 80
|
||||
if (this.field1433 != 0L) {
|
||||
if (var1 < this.field1433) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.open(this.capacity); // L: 81
|
||||
this.field1432 = 0L; // L: 82
|
||||
this.field1448 = true; // L: 83
|
||||
this.open(this.capacity);
|
||||
this.field1433 = 0L;
|
||||
this.field1422 = true;
|
||||
}
|
||||
|
||||
int var3 = this.position(); // L: 85
|
||||
if (this.field1435 - var3 > this.field1444) { // L: 86
|
||||
this.field1444 = this.field1435 - var3;
|
||||
int var3 = this.position();
|
||||
if (this.field1436 - var3 > this.field1427) {
|
||||
this.field1427 = this.field1436 - var3;
|
||||
}
|
||||
|
||||
int var4 = this.field1441 + this.field1454; // L: 87
|
||||
if (var4 + 256 > 16384) { // L: 88
|
||||
int var4 = this.field1431 + this.field1432;
|
||||
if (var4 + 256 > 16384) {
|
||||
var4 = 16128;
|
||||
}
|
||||
|
||||
if (var4 + 256 > this.capacity) { // L: 89
|
||||
this.capacity += 1024; // L: 90
|
||||
if (this.capacity > 16384) { // L: 91
|
||||
if (var4 + 256 > this.capacity) {
|
||||
this.capacity += 1024;
|
||||
if (this.capacity > 16384) {
|
||||
this.capacity = 16384;
|
||||
}
|
||||
|
||||
this.close(); // L: 92
|
||||
this.open(this.capacity); // L: 93
|
||||
var3 = 0; // L: 94
|
||||
this.field1448 = true; // L: 95
|
||||
if (var4 + 256 > this.capacity) { // L: 96
|
||||
var4 = this.capacity - 256; // L: 97
|
||||
this.field1454 = var4 - this.field1441; // L: 98
|
||||
this.close();
|
||||
this.open(this.capacity);
|
||||
var3 = 0;
|
||||
this.field1422 = true;
|
||||
if (var4 + 256 > this.capacity) {
|
||||
var4 = this.capacity - 256;
|
||||
this.field1432 = var4 - this.field1431;
|
||||
}
|
||||
}
|
||||
|
||||
while (var3 < var4) { // L: 101
|
||||
this.fill(this.samples, 256); // L: 102
|
||||
this.write(); // L: 103
|
||||
var3 += 256; // L: 104
|
||||
while (var3 < var4) {
|
||||
this.fill(this.samples, 256);
|
||||
this.write();
|
||||
var3 += 256;
|
||||
}
|
||||
|
||||
if (var1 > this.field1456) { // L: 106
|
||||
if (!this.field1448) { // L: 107
|
||||
if (this.field1444 == 0 && this.field1445 == 0) { // L: 108
|
||||
this.close(); // L: 109
|
||||
this.field1432 = 2000L + var1; // L: 110
|
||||
return; // L: 111
|
||||
if (var1 > this.field1437) {
|
||||
if (!this.field1422) {
|
||||
if (this.field1427 == 0 && this.field1435 == 0) {
|
||||
this.close();
|
||||
this.field1433 = var1 + 2000L;
|
||||
return;
|
||||
}
|
||||
|
||||
this.field1454 = Math.min(this.field1445, this.field1444); // L: 113
|
||||
this.field1445 = this.field1444; // L: 114
|
||||
this.field1432 = Math.min(this.field1435, this.field1427);
|
||||
this.field1435 = this.field1427;
|
||||
} else {
|
||||
this.field1448 = false; // L: 116
|
||||
this.field1422 = false;
|
||||
}
|
||||
|
||||
this.field1444 = 0; // L: 117
|
||||
this.field1456 = 2000L + var1; // L: 118
|
||||
this.field1427 = 0;
|
||||
this.field1437 = var1 + 2000L;
|
||||
}
|
||||
|
||||
this.field1435 = var3; // L: 120
|
||||
} catch (Exception var7) { // L: 122
|
||||
this.close(); // L: 123
|
||||
this.field1432 = var1 + 2000L; // L: 124
|
||||
this.field1436 = var3;
|
||||
} catch (Exception var7) {
|
||||
this.close();
|
||||
this.field1433 = var1 + 2000L;
|
||||
}
|
||||
|
||||
try {
|
||||
if (var1 > 500000L + this.timeMs) { // L: 127
|
||||
if (var1 > this.timeMs + 500000L) {
|
||||
var1 = this.timeMs;
|
||||
}
|
||||
|
||||
while (var1 > 5000L + this.timeMs) { // L: 128
|
||||
this.skip(256); // L: 129
|
||||
this.timeMs += (long)(256000 / field1442); // L: 130
|
||||
while (var1 > 5000L + this.timeMs) {
|
||||
this.skip(256);
|
||||
this.timeMs += (long)(256000 / field1443);
|
||||
}
|
||||
} catch (Exception var6) { // L: 133
|
||||
this.timeMs = var1; // L: 134
|
||||
} catch (Exception var6) {
|
||||
this.timeMs = var1;
|
||||
}
|
||||
|
||||
}
|
||||
} // L: 136
|
||||
}
|
||||
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedName("ae")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-170851511"
|
||||
garbageValue = "-764201060"
|
||||
)
|
||||
public final void method2562() {
|
||||
this.field1448 = true; // L: 139
|
||||
} // L: 140
|
||||
public final void method2485() {
|
||||
this.field1422 = true;
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("ac")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "2091297211"
|
||||
garbageValue = "1507981291"
|
||||
)
|
||||
@Export("tryDiscard")
|
||||
public final synchronized void tryDiscard() {
|
||||
this.field1448 = true; // L: 143
|
||||
this.field1422 = true;
|
||||
|
||||
try {
|
||||
this.discard(); // L: 145
|
||||
} catch (Exception var2) { // L: 147
|
||||
this.close(); // L: 148
|
||||
this.field1432 = User.currentTimeMillis() + 2000L; // L: 149
|
||||
this.discard();
|
||||
} catch (Exception var2) {
|
||||
this.close();
|
||||
this.field1433 = class298.currentTimeMillis() + 2000L;
|
||||
}
|
||||
|
||||
} // L: 151
|
||||
}
|
||||
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("ak")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)V",
|
||||
garbageValue = "115"
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "65535"
|
||||
)
|
||||
@Export("shutdown")
|
||||
public final synchronized void shutdown() {
|
||||
if (WorldMapDecoration.soundSystem != null) { // L: 154
|
||||
boolean var1 = true; // L: 155
|
||||
if (soundSystem != null) {
|
||||
boolean var1 = true;
|
||||
|
||||
for (int var2 = 0; var2 < 2; ++var2) { // L: 156
|
||||
if (this == WorldMapDecoration.soundSystem.players[var2]) { // L: 157
|
||||
WorldMapDecoration.soundSystem.players[var2] = null;
|
||||
for (int var2 = 0; var2 < 2; ++var2) {
|
||||
if (this == soundSystem.players[var2]) {
|
||||
soundSystem.players[var2] = null;
|
||||
}
|
||||
|
||||
if (WorldMapDecoration.soundSystem.players[var2] != null) { // L: 158
|
||||
if (soundSystem.players[var2] != null) {
|
||||
var1 = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (var1) { // L: 160
|
||||
RunException.soundSystemExecutor.shutdownNow(); // L: 161
|
||||
RunException.soundSystemExecutor = null; // L: 162
|
||||
WorldMapDecoration.soundSystem = null; // L: 163
|
||||
if (var1) {
|
||||
InterfaceParent.soundSystemExecutor.shutdownNow();
|
||||
InterfaceParent.soundSystemExecutor = null;
|
||||
soundSystem = null;
|
||||
}
|
||||
}
|
||||
|
||||
this.close(); // L: 166
|
||||
this.samples = null; // L: 167
|
||||
} // L: 168
|
||||
this.close();
|
||||
this.samples = null;
|
||||
}
|
||||
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("av")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IB)V",
|
||||
garbageValue = "79"
|
||||
garbageValue = "4"
|
||||
)
|
||||
@Export("skip")
|
||||
final void skip(int var1) {
|
||||
this.field1450 -= var1; // L: 171
|
||||
if (this.field1450 < 0) {
|
||||
this.field1450 = 0; // L: 172
|
||||
this.field1439 -= var1;
|
||||
if (this.field1439 < 0) {
|
||||
this.field1439 = 0;
|
||||
}
|
||||
|
||||
if (this.stream != null) {
|
||||
this.stream.skip(var1); // L: 173
|
||||
this.stream.skip(var1);
|
||||
}
|
||||
|
||||
} // L: 174
|
||||
}
|
||||
|
||||
@ObfuscatedName("ab")
|
||||
@ObfuscatedName("aq")
|
||||
@Export("fill")
|
||||
final void fill(int[] var1, int var2) {
|
||||
int var3 = var2; // L: 178
|
||||
if (PcmPlayer_stereo) { // L: 179
|
||||
int var3 = var2;
|
||||
if (PcmPlayer_stereo) {
|
||||
var3 = var2 << 1;
|
||||
}
|
||||
|
||||
class311.clearIntArray(var1, 0, var3); // L: 180
|
||||
this.field1450 -= var2; // L: 181
|
||||
if (this.stream != null && this.field1450 <= 0) { // L: 182
|
||||
this.field1450 += field1442 >> 4; // L: 183
|
||||
Client.PcmStream_disable(this.stream);
|
||||
this.method2606(this.stream, this.stream.vmethod2850());
|
||||
class311.clearIntArray(var1, 0, var3);
|
||||
this.field1439 -= var2;
|
||||
if (this.stream != null && this.field1439 <= 0) {
|
||||
this.field1439 += field1443 >> 4;
|
||||
Varcs.PcmStream_disable(this.stream);
|
||||
this.method2492(this.stream, this.stream.vmethod2800());
|
||||
int var4 = 0;
|
||||
int var5 = 255; // L: 187
|
||||
int var5 = 255;
|
||||
|
||||
int var6;
|
||||
PcmStream var10;
|
||||
label108:
|
||||
for (var6 = 7; var5 != 0; --var6) { // L: 188
|
||||
for (var6 = 7; var5 != 0; --var6) {
|
||||
int var7;
|
||||
int var8;
|
||||
if (var6 < 0) { // L: 191
|
||||
var7 = var6 & 3; // L: 192
|
||||
var8 = -(var6 >> 2); // L: 193
|
||||
if (var6 < 0) {
|
||||
var7 = var6 & 3;
|
||||
var8 = -(var6 >> 2);
|
||||
} else {
|
||||
var7 = var6; // L: 196
|
||||
var8 = 0; // L: 197
|
||||
var7 = var6;
|
||||
var8 = 0;
|
||||
}
|
||||
|
||||
for (int var9 = var5 >>> var7 & 286331153; var9 != 0; var9 >>>= 4) { // L: 199 201
|
||||
if ((var9 & 1) != 0) { // L: 204
|
||||
var5 &= ~(1 << var7); // L: 207
|
||||
var10 = null; // L: 208
|
||||
PcmStream var11 = this.field1451[var7]; // L: 209
|
||||
for (int var9 = var5 >>> var7 & 286331153; var9 != 0; var9 >>>= 4) {
|
||||
if ((var9 & 1) != 0) {
|
||||
var5 &= ~(1 << var7);
|
||||
var10 = null;
|
||||
PcmStream var11 = this.field1440[var7];
|
||||
|
||||
label102:
|
||||
while (true) {
|
||||
while (true) {
|
||||
if (var11 == null) { // L: 210
|
||||
if (var11 == null) {
|
||||
break label102;
|
||||
}
|
||||
|
||||
AbstractSound var12 = var11.sound; // L: 211
|
||||
if (var12 != null && var12.position > var8) { // L: 212
|
||||
var5 |= 1 << var7; // L: 213
|
||||
var10 = var11; // L: 214
|
||||
var11 = var11.after; // L: 215
|
||||
AbstractSound var12 = var11.sound;
|
||||
if (var12 != null && var12.position > var8) {
|
||||
var5 |= 1 << var7;
|
||||
var10 = var11;
|
||||
var11 = var11.after;
|
||||
} else {
|
||||
var11.active = true; // L: 218
|
||||
int var13 = var11.vmethod4043(); // L: 219
|
||||
var4 += var13; // L: 220
|
||||
var11.active = true;
|
||||
int var13 = var11.vmethod3927();
|
||||
var4 += var13;
|
||||
if (var12 != null) {
|
||||
var12.position += var13; // L: 221
|
||||
var12.position += var13;
|
||||
}
|
||||
|
||||
if (var4 >= this.field1438) { // L: 222
|
||||
if (var4 >= this.field1425) {
|
||||
break label108;
|
||||
}
|
||||
|
||||
PcmStream var14 = var11.firstSubStream(); // L: 223
|
||||
if (var14 != null) { // L: 224
|
||||
for (int var15 = var11.field1520; var14 != null; var14 = var11.nextSubStream()) { // L: 225 226 228
|
||||
this.method2606(var14, var15 * var14.vmethod2850() >> 8); // L: 227
|
||||
PcmStream var14 = var11.firstSubStream();
|
||||
if (var14 != null) {
|
||||
for (int var15 = var11.field1508; var14 != null; var14 = var11.nextSubStream()) {
|
||||
this.method2492(var14, var15 * var14.vmethod2800() >> 8);
|
||||
}
|
||||
}
|
||||
|
||||
PcmStream var18 = var11.after; // L: 231
|
||||
var11.after = null; // L: 232
|
||||
if (var10 == null) { // L: 233
|
||||
this.field1451[var7] = var18;
|
||||
PcmStream var18 = var11.after;
|
||||
var11.after = null;
|
||||
if (var10 == null) {
|
||||
this.field1440[var7] = var18;
|
||||
} else {
|
||||
var10.after = var18; // L: 234
|
||||
var10.after = var18;
|
||||
}
|
||||
|
||||
if (var18 == null) { // L: 235
|
||||
this.field1452[var7] = var10;
|
||||
if (var18 == null) {
|
||||
this.field1428[var7] = var10;
|
||||
}
|
||||
|
||||
var11 = var18; // L: 236
|
||||
var11 = var18;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var7 += 4; // L: 200
|
||||
var7 += 4;
|
||||
++var8;
|
||||
}
|
||||
}
|
||||
|
||||
for (var6 = 0; var6 < 8; ++var6) { // L: 240
|
||||
PcmStream var16 = this.field1451[var6]; // L: 241
|
||||
PcmStream[] var17 = this.field1451; // L: 242
|
||||
this.field1452[var6] = null; // L: 244
|
||||
for (var6 = 0; var6 < 8; ++var6) {
|
||||
PcmStream var16 = this.field1440[var6];
|
||||
PcmStream[] var17 = this.field1440;
|
||||
this.field1428[var6] = null;
|
||||
|
||||
for (var17[var6] = null; var16 != null; var16 = var10) { // L: 245 246 249
|
||||
var10 = var16.after; // L: 247
|
||||
var16.after = null; // L: 248
|
||||
for (var17[var6] = null; var16 != null; var16 = var10) {
|
||||
var10 = var16.after;
|
||||
var16.after = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (this.field1450 < 0) { // L: 253
|
||||
this.field1450 = 0;
|
||||
if (this.field1439 < 0) {
|
||||
this.field1439 = 0;
|
||||
}
|
||||
|
||||
if (this.stream != null) {
|
||||
this.stream.fill(var1, 0, var2); // L: 254
|
||||
this.stream.fill(var1, 0, var2);
|
||||
}
|
||||
|
||||
this.timeMs = User.currentTimeMillis(); // L: 255
|
||||
} // L: 256
|
||||
|
||||
@ObfuscatedName("ao")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lde;II)V",
|
||||
garbageValue = "750775441"
|
||||
)
|
||||
final void method2606(PcmStream var1, int var2) {
|
||||
int var3 = var2 >> 5; // L: 265
|
||||
PcmStream var4 = this.field1452[var3]; // L: 266
|
||||
if (var4 == null) { // L: 267
|
||||
this.field1451[var3] = var1;
|
||||
} else {
|
||||
var4.after = var1; // L: 268
|
||||
}
|
||||
|
||||
this.field1452[var3] = var1; // L: 269
|
||||
var1.field1520 = var2; // L: 270
|
||||
} // L: 271
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(CI)Z",
|
||||
garbageValue = "-1294994184"
|
||||
)
|
||||
@Export("isCharPrintable")
|
||||
public static boolean isCharPrintable(char var0) {
|
||||
if (var0 >= ' ' && var0 <= '~') { // L: 184
|
||||
return true;
|
||||
} else if (var0 >= 160 && var0 <= 255) {
|
||||
return true; // L: 185
|
||||
} else {
|
||||
return var0 == 8364 || var0 == 338 || var0 == 8212 || var0 == 339 || var0 == 376; // L: 186
|
||||
}
|
||||
this.timeMs = class298.currentTimeMillis();
|
||||
}
|
||||
|
||||
@ObfuscatedName("au")
|
||||
@ObfuscatedName("am")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lje;I)Z",
|
||||
garbageValue = "-1268197096"
|
||||
descriptor = "(Ldi;IB)V",
|
||||
garbageValue = "-108"
|
||||
)
|
||||
static boolean method2598(ObjectDefinition var0) {
|
||||
if (var0.transforms != null) { // L: 633
|
||||
int[] var1 = var0.transforms; // L: 635
|
||||
|
||||
for (int var2 = 0; var2 < var1.length; ++var2) { // L: 636
|
||||
int var3 = var1[var2]; // L: 637
|
||||
ObjectDefinition var4 = ScriptEvent.getObjectDefinition(var3); // L: 639
|
||||
if (var4.mapIconId != -1) { // L: 640
|
||||
return true; // L: 641
|
||||
}
|
||||
}
|
||||
} else if (var0.mapIconId != -1) { // L: 647
|
||||
return true; // L: 648
|
||||
final void method2492(PcmStream var1, int var2) {
|
||||
int var3 = var2 >> 5;
|
||||
PcmStream var4 = this.field1428[var3];
|
||||
if (var4 == null) {
|
||||
this.field1440[var3] = var1;
|
||||
} else {
|
||||
var4.after = var1;
|
||||
}
|
||||
|
||||
return false; // L: 650
|
||||
this.field1428[var3] = var1;
|
||||
var1.field1508 = var2;
|
||||
}
|
||||
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lib;Lib;Lib;B)V",
|
||||
garbageValue = "47"
|
||||
)
|
||||
public static void method2538(AbstractArchive var0, AbstractArchive var1, AbstractArchive var2) {
|
||||
SequenceDefinition.SequenceDefinition_archive = var0;
|
||||
SequenceDefinition.SequenceDefinition_animationsArchive = var1;
|
||||
SequenceDefinition.SequenceDefinition_skeletonsArchive = var2;
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(III)I",
|
||||
garbageValue = "-1085535536"
|
||||
)
|
||||
static final int method2544(int var0, int var1) {
|
||||
int var2 = class4.method56(45365 + var0, var1 + 91923, 4) - 128 + (class4.method56(var0 + 10294, 37821 + var1, 2) - 128 >> 1) + (class4.method56(var0, var1, 1) - 128 >> 2);
|
||||
var2 = (int)(0.3D * (double)var2) + 35;
|
||||
if (var2 < 10) {
|
||||
var2 = 10;
|
||||
} else if (var2 > 60) {
|
||||
var2 = 60;
|
||||
}
|
||||
|
||||
return var2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user