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

@@ -3,35 +3,35 @@ import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ig")
@ObfuscatedName("iq")
@Implements("EvictingDualNodeHashTable")
public final class EvictingDualNodeHashTable {
@ObfuscatedName("i")
@ObfuscatedName("c")
@ObfuscatedSignature(
descriptor = "Lnt;"
descriptor = "Lnc;"
)
DualNode field2657;
@ObfuscatedName("w")
DualNode field2797;
@ObfuscatedName("b")
@Export("capacity")
int capacity;
@ObfuscatedName("s")
@ObfuscatedName("p")
@Export("remainingCapacity")
int remainingCapacity;
@ObfuscatedName("a")
@ObfuscatedName("m")
@ObfuscatedSignature(
descriptor = "Lnf;"
descriptor = "Loz;"
)
@Export("hashTable")
IterableNodeHashTable hashTable;
@ObfuscatedName("o")
@ObfuscatedName("t")
@ObfuscatedSignature(
descriptor = "Llm;"
descriptor = "Lls;"
)
@Export("deque")
IterableDualNodeQueue deque;
public EvictingDualNodeHashTable(int var1) {
this.field2657 = new DualNode(); // L: 8
this.field2797 = new DualNode(); // L: 8
this.deque = new IterableDualNodeQueue(); // L: 12
this.capacity = var1; // L: 15
this.remainingCapacity = var1; // L: 16
@@ -43,61 +43,61 @@ public final class EvictingDualNodeHashTable {
this.hashTable = new IterableNodeHashTable(var2); // L: 19
} // L: 20
@ObfuscatedName("i")
@ObfuscatedName("c")
@ObfuscatedSignature(
descriptor = "(J)Lnt;"
descriptor = "(J)Lnc;"
)
@Export("get")
public DualNode get(long var1) {
DualNode var3 = (DualNode)this.hashTable.get(var1); // L: 23
if (var3 != null) { // L: 24
this.deque.add(var3); // L: 25
DualNode var3 = (DualNode)this.hashTable.get(var1); // L: 24
if (var3 != null) { // L: 25
this.deque.add(var3); // L: 26
}
return var3; // L: 28
return var3; // L: 29
}
@ObfuscatedName("w")
@ObfuscatedName("b")
@Export("remove")
public void remove(long var1) {
DualNode var3 = (DualNode)this.hashTable.get(var1); // L: 32
if (var3 != null) { // L: 33
var3.remove(); // L: 34
var3.removeDual(); // L: 35
++this.remainingCapacity; // L: 36
DualNode var3 = (DualNode)this.hashTable.get(var1); // L: 33
if (var3 != null) { // L: 34
var3.remove(); // L: 35
var3.removeDual(); // L: 36
++this.remainingCapacity; // L: 37
}
} // L: 38
} // L: 39
@ObfuscatedName("s")
@ObfuscatedName("p")
@ObfuscatedSignature(
descriptor = "(Lnt;J)V"
descriptor = "(Lnc;J)V"
)
@Export("put")
public void put(DualNode var1, long var2) {
if (this.remainingCapacity == 0) { // L: 41
DualNode var4 = this.deque.removeLast(); // L: 42
var4.remove(); // L: 43
var4.removeDual(); // L: 44
if (var4 == this.field2657) { // L: 45
var4 = this.deque.removeLast(); // L: 46
var4.remove(); // L: 47
var4.removeDual(); // L: 48
if (this.remainingCapacity == 0) { // L: 42
DualNode var4 = this.deque.removeLast(); // L: 43
var4.remove(); // L: 44
var4.removeDual(); // L: 45
if (var4 == this.field2797) { // L: 46
var4 = this.deque.removeLast(); // L: 47
var4.remove(); // L: 48
var4.removeDual(); // L: 49
}
} else {
--this.remainingCapacity; // L: 51
--this.remainingCapacity; // L: 52
}
this.hashTable.put(var1, var2); // L: 52
this.deque.add(var1); // L: 53
} // L: 54
this.hashTable.put(var1, var2); // L: 53
this.deque.add(var1); // L: 54
} // L: 55
@ObfuscatedName("a")
@ObfuscatedName("m")
@Export("clear")
public void clear() {
this.deque.clear(); // L: 57
this.hashTable.clear(); // L: 58
this.field2657 = new DualNode(); // L: 59
this.remainingCapacity = this.capacity; // L: 60
} // L: 61
this.deque.clear(); // L: 58
this.hashTable.clear(); // L: 59
this.field2797 = new DualNode(); // L: 60
this.remainingCapacity = this.capacity; // L: 61
} // L: 62
}