Files
2006Scape/2006Redone Client/src/main/java/Class29.java
T
Daniel Ginovker eebc60084f Make project setup easier with Maven (#411)
* Remove a bunch of .ideas and class files to see if it makes the setup easier

* remove some .idea's and imkls

* Remove a ton of .class files

* [TASK] Switched to maven instead of gradle

* [TASK] Added target to gitignore

* Remove ignored files

* [TASK] Fixed file_server source

* [TASK] Fixed client source

* [BUGFIX] Main Class

* [BUGFIX] Fixed SLF4J

* [TASK] Server Libs cleanup

* Update setup guide/debug

* Maven cli compile instructions

* [TASK] Jar building

* Update runServer and runFileServer.sh

Co-authored-by: Sandro Coutinho <sandro@farrelltech.org>
2020-08-04 17:57:19 -04:00

65 lines
1.4 KiB
Java

// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
final class Class29 {
public void method325(Stream stream) {
anInt540 = stream.readUnsignedByte();
anInt538 = stream.readDWord();
anInt539 = stream.readDWord();
method326(stream);
}
public void method326(Stream stream) {
anInt535 = stream.readUnsignedByte();
anIntArray536 = new int[anInt535];
anIntArray537 = new int[anInt535];
for (int i = 0; i < anInt535; i++) {
anIntArray536[i] = stream.readUnsignedWord();
anIntArray537[i] = stream.readUnsignedWord();
}
}
void resetValues() {
anInt541 = 0;
anInt542 = 0;
anInt543 = 0;
anInt544 = 0;
anInt545 = 0;
}
int method328(int i) {
if (anInt545 >= anInt541) {
anInt544 = anIntArray537[anInt542++] << 15;
if (anInt542 >= anInt535) {
anInt542 = anInt535 - 1;
}
anInt541 = (int) (anIntArray536[anInt542] / 65536D * i);
if (anInt541 > anInt545) {
anInt543 = ((anIntArray537[anInt542] << 15) - anInt544) / (anInt541 - anInt545);
}
}
anInt544 += anInt543;
anInt545++;
return anInt544 - anInt543 >> 15;
}
public Class29() {
}
private int anInt535;
private int[] anIntArray536;
private int[] anIntArray537;
int anInt538;
int anInt539;
int anInt540;
private int anInt541;
private int anInt542;
private int anInt543;
private int anInt544;
private int anInt545;
public static int anInt546;
}