Files
runelite/runescape-client/src/main/java/class297.java
2020-03-26 14:17:06 +00:00

53 lines
1.3 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import net.runelite.mapping.Export;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("kn")
public class class297 {
@ObfuscatedName("x")
@Export("cp1252AsciiExtension")
public static final char[] cp1252AsciiExtension;
static {
cp1252AsciiExtension = new char[]{'€', '\u0000', '', 'ƒ', '„', '…', '†', '‡', 'ˆ', '‰', 'Š', '', 'Œ', '\u0000', 'Ž', '\u0000', '\u0000', '', '', '“', '”', '•', '', '—', '˜', '™', 'š', '', 'œ', '\u0000', 'ž', 'Ÿ'};
}
@ObfuscatedName("m")
@ObfuscatedSignature(
signature = "(II)Ljava/lang/String;",
garbageValue = "930990308"
)
@Export("colorStartTag")
static String colorStartTag(int var0) {
return "<col=" + Integer.toHexString(var0) + ">";
}
@ObfuscatedName("n")
@ObfuscatedSignature(
signature = "(III)I",
garbageValue = "-2032356267"
)
static final int method5332(int var0, int var1) {
if (var0 == -2) {
return 12345678;
} else if (var0 == -1) {
if (var1 < 2) {
var1 = 2;
} else if (var1 > 126) {
var1 = 126;
}
return var1;
} else {
var1 = (var0 & 127) * var1 / 128;
if (var1 < 2) {
var1 = 2;
} else if (var1 > 126) {
var1 = 126;
}
return (var0 & 65408) + var1;
}
}
}