Refactor the client's Js5 class

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 693ed579e8
commit 026ffb21c4
  1. 354
      share/deob/map/client.yaml
  2. 8
      share/deob/map/unpackclass.yaml

@ -66,7 +66,7 @@ classes:
client!fe: "Class56_Sub1" client!fe: "Class56_Sub1"
client!ff: "Class57" client!ff: "Class57"
client!fg: "Class4_Sub3_Sub7" client!fg: "Class4_Sub3_Sub7"
client!fh: "Class58" client!fh: "Js5"
client!fi: "Class4_Sub1_Sub8" client!fi: "Class4_Sub1_Sub8"
client!fj: "Class4_Sub1_Sub9" client!fj: "Class4_Sub1_Sub9"
client!fk: "Class59_Sub1" client!fk: "Class59_Sub1"
@ -2598,23 +2598,23 @@ fields:
owner: "Static2" owner: "Static2"
name: "anInt1797" name: "anInt1797"
client!fh.G Lclient!ga;: client!fh.G Lclient!ga;:
owner: "Class58" owner: "Js5"
name: "aClass62_1" name: "aClass62_1"
client!fh.H [Ljava/lang/Object;: client!fh.H [Ljava/lang/Object;:
owner: "Class58" owner: "Js5"
name: "anObjectArray1" name: "packed"
client!fh.L Lclient!fo;: client!fh.L Lclient!fo;:
owner: "Class58" owner: "Js5"
name: "aClass61_1" name: "index"
client!fh.g Z: client!fh.g Z:
owner: "Class58" owner: "Js5"
name: "aBoolean107" name: "discardPacked"
client!fh.p Z: client!fh.p Z:
owner: "Class58" owner: "Js5"
name: "aBoolean108" name: "discardUnpacked"
client!fh.s [[Ljava/lang/Object;: client!fh.s [[Ljava/lang/Object;:
owner: "Class58" owner: "Js5"
name: "anObjectArrayArray1" name: "unpacked"
client!fi.U I: client!fi.U I:
owner: "Class4_Sub1_Sub8" owner: "Class4_Sub1_Sub8"
name: "anInt1831" name: "anInt1831"
@ -4524,8 +4524,8 @@ fields:
owner: "Static4" owner: "Static4"
name: "aCalendar1" name: "aCalendar1"
client!jk.q Z: client!jk.q Z:
owner: "Static4" owner: "Js5"
name: "aBoolean182" name: "RAISE_EXCEPTIONS"
client!jk.s Z: client!jk.s Z:
owner: "Static4" owner: "Static4"
name: "aBoolean183" name: "aBoolean183"
@ -18884,185 +18884,185 @@ methods:
23: "local23" 23: "local23"
52: "local52" 52: "local52"
client!fh.<init> (Lclient!ga;ZZ)V: client!fh.<init> (Lclient!ga;ZZ)V:
owner: "Class58" owner: "Js5"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "arg0"
1: "arg1" 1: "discardPacked"
2: "arg2" 2: "discardUnpacked"
locals: {} locals: {}
client!fh.a (B)Z: client!fh.a (B)Z:
owner: "Class58" owner: "Js5"
name: "method1348" name: "isIndexReady"
arguments: {} arguments: {}
locals: {} locals: {}
client!fh.a (I)I: client!fh.a (I)I:
owner: "Class58" owner: "Js5"
name: "method1345" name: "getReadyPercentage"
arguments: {} arguments: {}
locals: locals:
13: "local13" 13: "total"
15: "local15" 15: "complete"
17: "local17" 17: "i"
client!fh.a (IB)Z: client!fh.a (IB)Z:
owner: "Class58" owner: "Js5"
name: "method1355" name: "isGroupReady"
arguments: arguments:
0: "arg0" 0: "group"
locals: {} locals: {}
client!fh.a (IBI)[B: client!fh.a (IBI)[B:
owner: "Class58" owner: "Js5"
name: "method1372" name: "fetchFile"
arguments: arguments:
0: "arg0" 0: "group"
2: "arg1" 2: "file"
locals: {} locals: {}
client!fh.a (II)V: client!fh.a (II)V:
owner: "Class58" owner: "Js5"
name: "method1341" name: "prefetchGroup"
arguments: arguments:
1: "arg0" 1: "group"
locals: {} locals: {}
client!fh.a (III)Z: client!fh.a (III)Z:
owner: "Class58" owner: "Js5"
name: "method1353" name: "isFileValid"
arguments: arguments:
0: "arg0" 2: "group"
2: "arg1" 0: "file"
locals: {} locals: {}
client!fh.a (II[II)[B: client!fh.a (II[II)[B:
owner: "Class58" owner: "Js5"
name: "method1361" name: "fetchFile"
arguments: arguments:
0: "arg0" 1: "group"
1: "arg1" 0: "file"
2: "arg2" 2: "key"
locals: locals:
32: "local32" 32: "success"
45: "local45" 45: "success2"
62: "local62" 62: "bytes"
client!fh.a (ILjava/lang/String;)V: client!fh.a (ILjava/lang/String;)V:
owner: "Class58" owner: "Js5"
name: "method1357" name: "prefetchGroup"
arguments: arguments:
1: "arg0" 1: "group"
locals: locals:
32: "local32" 32: "groupId"
client!fh.a (ILjava/lang/String;Ljava/lang/String;)[B: client!fh.a (ILjava/lang/String;Ljava/lang/String;)[B:
owner: "Class58" owner: "Js5"
name: "method1358" name: "fetchFile"
arguments: arguments:
1: "arg0" 2: "group"
2: "arg1" 1: "file"
locals: locals:
31: "local31" 31: "groupId"
50: "local50" 50: "fileId"
client!fh.a (IZ)[B: client!fh.a (IZ)[B:
owner: "Class58" owner: "Js5"
name: "method1343" name: "fetchFile"
arguments: arguments:
0: "arg0" 0: "id"
locals: {} locals: {}
client!fh.a (IZI)Z: client!fh.a (IZI)Z:
owner: "Class58" owner: "Js5"
name: "method1370" name: "isFileReady"
arguments: arguments:
0: "arg0" 0: "group"
2: "arg1" 2: "file"
locals: {} locals: {}
client!fh.a (I[II)Z: client!fh.a (I[II)Z:
owner: "Class58" owner: "Js5"
name: "method1354" name: "unpackGroup"
arguments: arguments:
1: "arg0" 2: "group"
2: "arg1" 1: "key"
locals: locals:
27: "local27" 27: "fileIds"
33: "local33" 33: "groupSize"
35: "local35" 35: "valid"
57: "local57" 57: "unpacked"
59: "local59" 59: "i"
71: "local71" 71: "fileId"
123: "local123" 123: "compressed"
128: "local128" 128: "buffer"
151: "local151" 151: "uncompressed"
153: "local153" 153: "ex"
226: "local226" 226: "position"
229: "local229" 229: "lens"
236: "local236" 236: "stripes"
241: "local241" 241: "buffer"
254: "local254" 254: "i"
259: "local259" 259: "len"
261: "local261" 261: "j"
289: "local289" 289: "extracted"
291: "local291" 291: "i"
313: "local313" 313: "off"
315: "local315" 315: "i"
320: "local320" 320: "len"
322: "local322" 322: "j"
366: "local366" 366: "i"
373: "local373" 373: "fileId"
409: "local409" 409: "fileId"
client!fh.a (Ljava/lang/String;B)I: client!fh.a (Ljava/lang/String;B)I:
owner: "Class58" owner: "Js5"
name: "method1342" name: "getReadyPercentage"
arguments: arguments:
0: "arg0" 0: "group"
locals: locals:
30: "local30" 30: "groupId"
client!fh.a (Ljava/lang/String;BLjava/lang/String;)Z: client!fh.a (Ljava/lang/String;BLjava/lang/String;)Z:
owner: "Class58" owner: "Js5"
name: "method1340" name: "isFileReady"
arguments: arguments:
0: "arg0" 0: "group"
2: "arg1" 2: "file"
locals: locals:
25: "local25" 25: "groupId"
52: "local52" 52: "fileId"
client!fh.a (Ljava/lang/String;I)Z: client!fh.a (Ljava/lang/String;I)Z:
owner: "Class58" owner: "Js5"
name: "method1344" name: "isGroupNameValid"
arguments: arguments:
0: "arg0" 0: "group"
locals: locals:
27: "local27" 27: "groupId"
client!fh.a (Z)Z: client!fh.a (Z)Z:
owner: "Class58" owner: "Js5"
name: "method1360" name: "fetchAll"
arguments: {} arguments: {}
locals: locals:
14: "local14" 14: "success"
16: "local16" 16: "i"
32: "local32" 32: "groupId"
client!fh.a (ZI)[I: client!fh.a (ZI)[I:
owner: "Class58" owner: "Js5"
name: "method1363" name: "getFileIds"
arguments: arguments:
1: "arg0" 1: "group"
locals: locals:
27: "local27" 27: "fileIds"
38: "local38" 38: "i"
client!fh.a (ZII)[B: client!fh.a (ZII)[B:
owner: "Class58" owner: "Js5"
name: "method1350" name: "fetchFileNoDiscard"
arguments: arguments:
1: "arg0" 2: "group"
2: "arg1" 1: "file"
locals: locals:
29: "local29" 29: "success"
41: "local41" 41: "success2"
client!fh.a (ZLjava/lang/String;)I: client!fh.a (ZLjava/lang/String;)I:
owner: "Class58" owner: "Js5"
name: "method1362" name: "getGroupId"
arguments: arguments:
1: "arg0" 1: "group"
locals: locals:
22: "local22" 22: "groupId"
client!fh.a (ZZB)V: client!fh.a (ZZB)V:
owner: "Class58" owner: "Js5"
name: "method1356" name: "discardNames"
arguments: arguments:
0: "arg0" 0: "groups"
locals: {} locals: {}
client!fh.b (I)Lclient!fd;: client!fh.b (I)Lclient!fd;:
owner: "Static15" owner: "Static15"
@ -19071,57 +19071,57 @@ methods:
locals: locals:
13: "local13" 13: "local13"
client!fh.b (IB)I: client!fh.b (IB)I:
owner: "Class58" owner: "Js5"
name: "method1367" name: "getGroupId"
arguments: arguments:
0: "arg0" 0: "groupNameHash"
locals: locals:
17: "local17" 17: "groupId"
client!fh.b (II)I: client!fh.b (II)I:
owner: "Class58" owner: "Js5"
name: "method1346" name: "getReadyPercentage"
arguments: arguments:
0: "arg0" 0: "group"
locals: {} locals: {}
client!fh.b (Ljava/lang/String;I)Z: client!fh.b (Ljava/lang/String;I)Z:
owner: "Class58" owner: "Js5"
name: "method1365" name: "isFileReady"
arguments: arguments:
0: "arg0" 0: "group"
locals: locals:
28: "local28" 28: "groupId"
client!fh.b (ZI)V: client!fh.b (ZI)V:
owner: "Class58" owner: "Js5"
name: "method1368" name: "discardUnpacked"
arguments: arguments:
1: "arg0" 1: "group"
locals: {} locals: {}
client!fh.c (I)V: client!fh.c (I)V:
owner: "Class58" owner: "Js5"
name: "method1349" name: "discardUnpacked"
arguments: {} arguments: {}
locals: locals:
11: "local11" 11: "i"
client!fh.c (II)V: client!fh.c (II)V:
owner: "Class58" owner: "Js5"
name: "method1352" name: "fetchGroup"
arguments: arguments:
1: "arg0" 1: "group"
locals: {} locals: {}
client!fh.d (I)I: client!fh.d (I)I:
owner: "Class58" owner: "Js5"
name: "method1351" name: "capacity"
arguments: {} arguments: {}
locals: {} locals: {}
client!fh.d (II)Z: client!fh.d (II)Z:
owner: "Class58" owner: "Js5"
name: "method1359" name: "isFileReady"
arguments: arguments:
0: "arg0" 0: "id"
locals: {} locals: {}
client!fh.e (I)I: client!fh.e (I)I:
owner: "Class58" owner: "Js5"
name: "method1369" name: "getChecksum"
arguments: {} arguments: {}
locals: {} locals: {}
client!fh.e (II)Z: client!fh.e (II)Z:
@ -19135,16 +19135,16 @@ methods:
74: "local74" 74: "local74"
88: "local88" 88: "local88"
client!fh.f (II)Z: client!fh.f (II)Z:
owner: "Class58" owner: "Js5"
name: "method1366" name: "isGroupValid"
arguments: arguments:
0: "arg0" 0: "group"
locals: {} locals: {}
client!fh.g (II)I: client!fh.g (II)I:
owner: "Class58" owner: "Js5"
name: "method1371" name: "getGroupCapacity"
arguments: arguments:
0: "arg0" 0: "group"
locals: {} locals: {}
client!fi.<init> ()V: client!fi.<init> ()V:
owner: "Class4_Sub1_Sub8" owner: "Class4_Sub1_Sub8"
@ -19787,14 +19787,14 @@ methods:
locals: {} locals: {}
client!ga.a (I)Lclient!fo;: client!ga.a (I)Lclient!fo;:
owner: "Class62" owner: "Class62"
name: "method4659" name: "fetchIndex"
arguments: {} arguments: {}
locals: {} locals: {}
client!ga.a (II)I: client!ga.a (II)I:
owner: "Class62" owner: "Class62"
name: "method4655" name: "getReadyPercentage"
arguments: arguments:
0: "arg0" 0: "group"
locals: {} locals: {}
client!ga.a (Lclient!ra;B)V: client!ga.a (Lclient!ra;B)V:
owner: "Static16" owner: "Static16"
@ -19815,15 +19815,15 @@ methods:
24: "local24" 24: "local24"
client!ga.b (II)V: client!ga.b (II)V:
owner: "Class62" owner: "Class62"
name: "method4656" name: "prefetchGroup"
arguments: arguments:
0: "arg0" 0: "group"
locals: {} locals: {}
client!ga.c (II)[B: client!ga.c (II)[B:
owner: "Class62" owner: "Class62"
name: "method4657" name: "fetchGroup"
arguments: arguments:
1: "arg0" 1: "group"
locals: {} locals: {}
client!gb.a (II)[F: client!gb.a (II)[F:
owner: "Static16" owner: "Static16"
@ -45221,7 +45221,7 @@ methods:
locals: {} locals: {}
client!wb.a (I)Lclient!fo;: client!wb.a (I)Lclient!fo;:
owner: "Class62_Sub1" owner: "Class62_Sub1"
name: "method4659" name: "fetchIndex"
arguments: {} arguments: {}
locals: locals:
53: "local53" 53: "local53"
@ -45229,9 +45229,9 @@ methods:
149: "local149" 149: "local149"
client!wb.a (II)I: client!wb.a (II)I:
owner: "Class62_Sub1" owner: "Class62_Sub1"
name: "method4655" name: "getReadyPercentage"
arguments: arguments:
0: "arg0" 0: "group"
locals: locals:
9: "local9" 9: "local9"
client!wb.a (III)Lclient!ng;: client!wb.a (III)Lclient!ng;:
@ -45289,9 +45289,9 @@ methods:
27: "local27" 27: "local27"
client!wb.b (II)V: client!wb.b (II)V:
owner: "Class62_Sub1" owner: "Class62_Sub1"
name: "method4656" name: "prefetchGroup"
arguments: arguments:
0: "arg0" 0: "group"
locals: locals:
22: "local22" 22: "local22"
48: "local48" 48: "local48"
@ -45307,9 +45307,9 @@ methods:
locals: {} locals: {}
client!wb.c (II)[B: client!wb.c (II)[B:
owner: "Class62_Sub1" owner: "Class62_Sub1"
name: "method4657" name: "fetchGroup"
arguments: arguments:
1: "arg0" 1: "group"
locals: locals:
9: "local9" 9: "local9"
25: "local25" 25: "local25"

@ -470,7 +470,7 @@ methods:
locals: {} locals: {}
unpackclass!aa.a (II[I)[B: unpackclass!aa.a (II[I)[B:
owner: "Js5Index" owner: "Js5Index"
name: "getFile" name: "fetchFile"
arguments: arguments:
0: "group" 0: "group"
1: "file" 1: "file"
@ -489,7 +489,7 @@ methods:
19: "groupSize" 19: "groupSize"
24: "fileIds" 24: "fileIds"
43: "unpacked" 43: "unpacked"
45: "found" 45: "valid"
47: "i" 47: "i"
53: "fileId" 53: "fileId"
100: "compressed" 100: "compressed"
@ -499,7 +499,7 @@ methods:
191: "position" 191: "position"
198: "stripes" 198: "stripes"
211: "buffer" 211: "buffer"
214: "sizes" 214: "lens"
219: "i" 219: "i"
223: "len" 223: "len"
225: "j" 225: "j"
@ -550,7 +550,7 @@ methods:
locals: {} locals: {}
unpackclass!aa.b (II)[B: unpackclass!aa.b (II)[B:
owner: "Js5Index" owner: "Js5Index"
name: "getFile" name: "fetchFile"
arguments: arguments:
0: "group" 0: "group"
1: "file" 1: "file"

Loading…
Cancel
Save