mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Moved around more static methods, nothing final
Some of these are "incorrect" - I wanted to decrease the # of static classes first by grouping them if they're slightly related. Then I'll do a second pass in each class to reorganize later.
This commit is contained in:
parent
c988509e8e
commit
ba4debb0d3
150 changed files with 2805 additions and 3034 deletions
|
|
@ -199,7 +199,59 @@ public final class JagString implements StringInterface {
|
|||
return concatenate(new JagString[] { parseInt(arg0 >> 24 & 0xFF), aClass100_994, parseInt(arg0 >> 16 & 0xFF), aClass100_994, parseInt(arg0 >> 8 & 0xFF), aClass100_994, parseInt(arg0 & 0xFF) });
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!na", name = "a", descriptor = "(Z)Ljava/net/URL;")
|
||||
@OriginalMember(owner = "client!k", name = "a", descriptor = "(Lclient!be;Lclient!na;I)Lclient!na;")
|
||||
public static JagString method2465(@OriginalArg(0) Component arg0, @OriginalArg(1) JagString arg1) {
|
||||
if (arg1.indexOf(Static127.PERCENT_SIGN) == -1) {
|
||||
return arg1;
|
||||
}
|
||||
while (true) {
|
||||
@Pc(14) int local14 = arg1.indexOf(Static127.aClass100_133);
|
||||
if (local14 == -1) {
|
||||
while (true) {
|
||||
local14 = arg1.indexOf(Static127.aClass100_1097);
|
||||
if (local14 == -1) {
|
||||
while (true) {
|
||||
local14 = arg1.indexOf(Static127.aClass100_761);
|
||||
if (local14 == -1) {
|
||||
while (true) {
|
||||
local14 = arg1.indexOf(Static127.aClass100_520);
|
||||
if (local14 == -1) {
|
||||
while (true) {
|
||||
local14 = arg1.indexOf(Static127.aClass100_1002);
|
||||
if (local14 == -1) {
|
||||
while (true) {
|
||||
local14 = arg1.indexOf(Static127.aClass100_591);
|
||||
if (local14 == -1) {
|
||||
return arg1;
|
||||
}
|
||||
@Pc(246) JagString local246 = EMPTY;
|
||||
if (Player.lastLogAddress != null) {
|
||||
local246 = formatIp(Player.lastLogAddress.intArg2);
|
||||
if (Player.lastLogAddress.result != null) {
|
||||
@Pc(265) byte[] local265 = ((String) Player.lastLogAddress.result).getBytes(StandardCharsets.ISO_8859_1);
|
||||
local246 = decodeString(local265, local265.length, 0);
|
||||
}
|
||||
}
|
||||
arg1 = concatenate(new JagString[] { arg1.substring(local14, 0), local246, arg1.substring(local14 + 4) });
|
||||
}
|
||||
}
|
||||
arg1 = concatenate(new JagString[] { arg1.substring(local14, 0), StringUtils.method4510(Static127.method3212(4, arg0)), arg1.substring(local14 + 2) });
|
||||
}
|
||||
}
|
||||
arg1 = concatenate(new JagString[] { arg1.substring(local14, 0), StringUtils.method4510(Static127.method3212(3, arg0)), arg1.substring(local14 + 2) });
|
||||
}
|
||||
}
|
||||
arg1 = concatenate(new JagString[] { arg1.substring(local14, 0), StringUtils.method4510(Static127.method3212(2, arg0)), arg1.substring(local14 + 2) });
|
||||
}
|
||||
}
|
||||
arg1 = concatenate(new JagString[] { arg1.substring(local14, 0), StringUtils.method4510(Static127.method3212(1, arg0)), arg1.substring(local14 + 2) });
|
||||
}
|
||||
}
|
||||
arg1 = concatenate(new JagString[] { arg1.substring(local14, 0), StringUtils.method4510(Static127.method3212(0, arg0)), arg1.substring(local14 + 2) });
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!na", name = "a", descriptor = "(Z)Ljava/net/URL;")
|
||||
public final URL method3107() throws MalformedURLException {
|
||||
return new URL(new String(this.chars, 0, this.length));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue