Refactor Js5ResourceProvider and associated code

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 07e5a6f488
commit 1bb5cb4e06
  1. 288
      share/deob/map/client.yaml

@ -75,7 +75,7 @@ classes:
client!fn: "Class4_Sub3_Sub8" client!fn: "Class4_Sub3_Sub8"
client!fo: "Js5Index" client!fo: "Js5Index"
client!g: "Class4_Sub3_Sub9" client!g: "Class4_Sub3_Sub9"
client!ga: "Class62" client!ga: "Js5ResourceProvider"
client!gb: "Class63_Sub1" client!gb: "Class63_Sub1"
client!ge: "Class65" client!ge: "Class65"
client!gf: "IntHashTable" client!gf: "IntHashTable"
@ -279,7 +279,7 @@ classes:
client!vn: "Class4_Sub3_Sub14_Sub1" client!vn: "Class4_Sub3_Sub14_Sub1"
client!w: "Class4_Sub3_Sub21" client!w: "Class4_Sub3_Sub21"
client!wa: "Packet" client!wa: "Packet"
client!wb: "Class62_Sub1" client!wb: "Js5ResourceProviderImpl"
client!wd: "Class4_Sub1_Sub21_Sub1" client!wd: "Class4_Sub1_Sub21_Sub1"
client!we: "Class184" client!we: "Class184"
client!wf: "Class185" client!wf: "Class185"
@ -588,8 +588,8 @@ fields:
owner: "Static1" owner: "Static1"
name: "aClass4_Sub3_Sub14Array2" name: "aClass4_Sub3_Sub14Array2"
client!an.f Lclient!wl;: client!an.f Lclient!wl;:
owner: "Static1" owner: "client"
name: "aClass189_1" name: "uid"
client!an.g Lclient!fh;: client!an.g Lclient!fh;:
owner: "Static1" owner: "Static1"
name: "aClass58_7" name: "aClass58_7"
@ -1215,8 +1215,8 @@ fields:
owner: "Class4_Sub3_Sub3" owner: "Class4_Sub3_Sub3"
name: "aClass84_2" name: "aClass84_2"
client!cj.P Lclient!mg;: client!cj.P Lclient!mg;:
owner: "Static1" owner: "client"
name: "aClass117_1" name: "js5MasterIndex"
client!cj.W Lclient!ic;: client!cj.W Lclient!ic;:
owner: "Class4_Sub3_Sub3" owner: "Class4_Sub3_Sub3"
name: "aClass84_3" name: "aClass84_3"
@ -1242,8 +1242,8 @@ fields:
owner: "Static1" owner: "Static1"
name: "aBoolean38" name: "aBoolean38"
client!ck.bb Lclient!fm;: client!ck.bb Lclient!fm;:
owner: "Static1" owner: "client"
name: "aClass60_2" name: "masterCache"
client!ck.db I: client!ck.db I:
owner: "GameShell" owner: "GameShell"
name: "canvasHeight" name: "canvasHeight"
@ -1416,8 +1416,8 @@ fields:
owner: "Class34" owner: "Class34"
name: "anInt839" name: "anInt839"
client!d.n [I: client!d.n [I:
owner: "Static1" owner: "client"
name: "anIntArray60" name: "JS5_ARCHIVE_WEIGHTS"
client!d.o I: client!d.o I:
owner: "Class34" owner: "Class34"
name: "anInt840" name: "anInt840"
@ -2599,7 +2599,7 @@ fields:
name: "anInt1797" name: "anInt1797"
client!fh.G Lclient!ga;: client!fh.G Lclient!ga;:
owner: "Js5" owner: "Js5"
name: "aClass62_1" name: "provider"
client!fh.H [Ljava/lang/Object;: client!fh.H [Ljava/lang/Object;:
owner: "Js5" owner: "Js5"
name: "packed" name: "packed"
@ -3567,8 +3567,8 @@ fields:
owner: "GameShell" owner: "GameShell"
name: "framesPerSecond" name: "framesPerSecond"
client!ho.S Lclient!wl;: client!ho.S Lclient!wl;:
owner: "Static3" owner: "client"
name: "aClass189_4" name: "cacheData"
client!ho.T [I: client!ho.T [I:
owner: "Static3" owner: "Static3"
name: "anIntArray190" name: "anIntArray190"
@ -4416,8 +4416,8 @@ fields:
owner: "Static3" owner: "Static3"
name: "anInt2576" name: "anInt2576"
client!je.l Lclient!wl;: client!je.l Lclient!wl;:
owner: "Static3" owner: "client"
name: "aClass189_5" name: "cacheMasterIndex"
client!je.m Lclient!ic;: client!je.m Lclient!ic;:
owner: "Static3" owner: "Static3"
name: "aClass84_10" name: "aClass84_10"
@ -4995,8 +4995,8 @@ fields:
owner: "Static4" owner: "Static4"
name: "anInt2979" name: "anInt2979"
client!l.A [Lclient!wl;: client!l.A [Lclient!wl;:
owner: "Static4" owner: "client"
name: "aClass189Array1" name: "cacheIndexes"
client!l.p I: client!l.p I:
owner: "Class4_Sub15" owner: "Class4_Sub15"
name: "anInt2988" name: "anInt2988"
@ -5722,7 +5722,7 @@ fields:
name: "request" name: "request"
client!mg.m [Lclient!wb;: client!mg.m [Lclient!wb;:
owner: "Js5MasterIndex" owner: "Js5MasterIndex"
name: "aClass62_Sub1Array1" name: "resourceProviders"
client!mg.p I: client!mg.p I:
owner: "GameShell" owner: "GameShell"
name: "logicCycles" name: "logicCycles"
@ -6616,7 +6616,7 @@ fields:
name: "incomplete" name: "incomplete"
client!ng.E Z: client!ng.E Z:
owner: "Js5Request" owner: "Js5Request"
name: "aBoolean365" name: "orphan"
client!ng.J [I: client!ng.J [I:
owner: "Static5" owner: "Static5"
name: "anIntArray615" name: "anIntArray615"
@ -8586,8 +8586,8 @@ fields:
owner: "Class4_Sub1_Sub26" owner: "Class4_Sub1_Sub26"
name: "anInt4517" name: "anInt4517"
client!rg.ob [Lclient!wb;: client!rg.ob [Lclient!wb;:
owner: "Static6" owner: "client"
name: "aClass62_Sub1Array2" name: "js5Providers"
client!rh.U Ljava/lang/String;: client!rh.U Ljava/lang/String;:
owner: "LocalisedText" owner: "LocalisedText"
name: "CHECKING_FOR_UPDATES" name: "CHECKING_FOR_UPDATES"
@ -11049,74 +11049,74 @@ fields:
owner: "Static7" owner: "Static7"
name: "aBoolean393" name: "aBoolean393"
client!wb.C Lclient!fo;: client!wb.C Lclient!fo;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass61_2" name: "index"
client!wb.D Lsignlink!vk;: client!wb.D Lsignlink!vk;:
owner: "Static7" owner: "Static7"
name: "aClass197_5" name: "aClass197_5"
client!wb.F Lclient!ng;: client!wb.F Lclient!ng;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass4_Sub3_Sub1_1" name: "indexRequest"
client!wb.J I: client!wb.J I:
owner: "Static7" owner: "Static7"
name: "anInt5798" name: "anInt5798"
client!wb.L I: client!wb.L I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "anInt5800" name: "expectedVersion"
client!wb.N I: client!wb.N I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "anInt5802" name: "group"
client!wb.P Z: client!wb.P Z:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aBoolean394" name: "verifyAll"
client!wb.Q Z: client!wb.Q Z:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aBoolean395" name: "prefetchAll"
client!wb.R Lclient!ll;: client!wb.R Lclient!ll;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass112_29" name: "prefetchQueue"
client!wb.S Lclient!ll;: client!wb.S Lclient!ll;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass112_30" name: "groupQueue"
client!wb.T J: client!wb.T J:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aLong199" name: "orphanCheckTime"
client!wb.U Z: client!wb.U Z:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aBoolean396" name: "discardOrphans"
client!wb.g Lclient!en;: client!wb.g Lclient!en;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass51_3" name: "netQueue"
client!wb.i Ljava/lang/String;: client!wb.i Ljava/lang/String;:
owner: "LocalisedText" owner: "LocalisedText"
name: "CHATCOL7" name: "CHATCOL7"
client!wb.j Lclient!ja;: client!wb.j Lclient!ja;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass92_3" name: "cacheQueue"
client!wb.l Lclient!fm;: client!wb.l Lclient!fm;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass60_3" name: "masterCache"
client!wb.n Lclient!fm;: client!wb.n Lclient!fm;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass60_4" name: "cache"
client!wb.o I: client!wb.o I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "anInt5783" name: "verifiedGroups"
client!wb.p I: client!wb.p I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "anInt5784" name: "expectedChecksum"
client!wb.q Lclient!ic;: client!wb.q Lclient!ic;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aClass84_27" name: "requests"
client!wb.t Ljava/lang/String;: client!wb.t Ljava/lang/String;:
owner: "LocalisedText" owner: "LocalisedText"
name: "CHATCOL1" name: "CHATCOL1"
client!wb.x I: client!wb.x I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "anInt5790" name: "archive"
client!wb.z [B: client!wb.z [B:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "aByteArray72" name: "groupStatus"
client!wc.a Lclient!fh;: client!wc.a Lclient!fh;:
owner: "Static7" owner: "Static7"
name: "aClass58_102" name: "aClass58_102"
@ -11907,8 +11907,8 @@ fields:
owner: "Class4_Sub3_Sub24" owner: "Class4_Sub3_Sub24"
name: "anInt6085" name: "anInt6085"
client!wn.B Ljava/util/zip/CRC32;: client!wn.B Ljava/util/zip/CRC32;:
owner: "Static7" owner: "Js5ResourceProviderImpl"
name: "aCRC32_1" name: "crc32"
client!wn.D Lclient!u;: client!wn.D Lclient!u;:
owner: "Class4_Sub3_Sub24" owner: "Class4_Sub3_Sub24"
name: "aClass167_1" name: "aClass167_1"
@ -15367,8 +15367,8 @@ methods:
name: "mainInit" name: "mainInit"
arguments: {} arguments: {}
locals: locals:
174: "local174" 174: "i"
230: "local230" 230: "ex"
client!client.c (Lclient!wf;)Z: client!client.c (Lclient!wf;)Z:
owner: "Static12" owner: "Static12"
name: "method692" name: "method692"
@ -15448,7 +15448,7 @@ methods:
44: "local44" 44: "local44"
93: "local93" 93: "local93"
355: "local355" 355: "local355"
357: "local357" 357: "i"
540: "local540" 540: "local540"
543: "local543" 543: "local543"
582: "local582" 582: "local582"
@ -18887,7 +18887,7 @@ methods:
owner: "Js5" owner: "Js5"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "provider"
1: "discardPacked" 1: "discardPacked"
2: "discardUnpacked" 2: "discardUnpacked"
locals: {} locals: {}
@ -19781,17 +19781,17 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!ga.<init> ()V: client!ga.<init> ()V:
owner: "Class62" owner: "Js5ResourceProvider"
name: "<init>" name: "<init>"
arguments: {} arguments: {}
locals: {} locals: {}
client!ga.a (I)Lclient!fo;: client!ga.a (I)Lclient!fo;:
owner: "Class62" owner: "Js5ResourceProvider"
name: "fetchIndex" name: "fetchIndex"
arguments: {} arguments: {}
locals: {} locals: {}
client!ga.a (II)I: client!ga.a (II)I:
owner: "Class62" owner: "Js5ResourceProvider"
name: "getPercentageComplete" name: "getPercentageComplete"
arguments: arguments:
0: "group" 0: "group"
@ -19814,13 +19814,13 @@ methods:
locals: locals:
24: "local24" 24: "local24"
client!ga.b (II)V: client!ga.b (II)V:
owner: "Class62" owner: "Js5ResourceProvider"
name: "prefetchGroup" name: "prefetchGroup"
arguments: arguments:
0: "group" 0: "group"
locals: {} locals: {}
client!ga.c (II)[B: client!ga.c (II)[B:
owner: "Class62" owner: "Js5ResourceProvider"
name: "fetchGroup" name: "fetchGroup"
arguments: arguments:
1: "group" 1: "group"
@ -29372,26 +29372,26 @@ methods:
locals: {} locals: {}
client!mg.a (Lclient!fm;BLclient!fm;ZI)Lclient!wb;: client!mg.a (Lclient!fm;BLclient!fm;ZI)Lclient!wb;:
owner: "Js5MasterIndex" owner: "Js5MasterIndex"
name: "method2712" name: "getResourceProviderInternal"
arguments: arguments:
0: "arg0" 0: "masterCache"
2: "arg1" 2: "cache"
4: "archive" 4: "archive"
locals: locals:
48: "checksum" 48: "checksum"
55: "version" 55: "version"
76: "local76" 76: "provider"
client!mg.a (Lclient!fm;Lclient!fm;IB)Lclient!wb;: client!mg.a (Lclient!fm;Lclient!fm;IB)Lclient!wb;:
owner: "Js5MasterIndex" owner: "Js5MasterIndex"
name: "method2714" name: "getResourceProvider"
arguments: arguments:
0: "arg0" 0: "masterCache"
1: "arg1" 1: "cache"
2: "archive" 2: "archive"
locals: {} locals: {}
client!mg.a (Z)V: client!mg.a (Z)V:
owner: "Js5MasterIndex" owner: "Js5MasterIndex"
name: "method2706" name: "tick"
arguments: {} arguments: {}
locals: locals:
12: "i" 12: "i"
@ -33509,15 +33509,15 @@ methods:
locals: locals:
13: "local13" 13: "local13"
client!oj.a (ZBZIZ)Lclient!fh;: client!oj.a (ZBZIZ)Lclient!fh;:
owner: "Static27" owner: "client"
name: "method3231" name: "createJs5"
arguments: arguments:
0: "arg0" 3: "archive"
2: "arg1" 2: "discardPacked"
3: "arg2" 0: "discardUnpacked"
4: "arg3" 4: "prefetchAll"
locals: locals:
5: "local5" 5: "cache"
client!oj.b (III[B[BI)I: client!oj.b (III[B[BI)I:
owner: "HuffmanCodec" owner: "HuffmanCodec"
name: "decode" name: "decode"
@ -45207,49 +45207,49 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!wb.<init> (ILclient!fm;Lclient!fm;Lclient!en;Lclient!ja;IIZ)V: client!wb.<init> (ILclient!fm;Lclient!fm;Lclient!en;Lclient!ja;IIZ)V:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "archive"
1: "arg1" 1: "cache"
2: "arg2" 2: "masterCache"
3: "arg3" 3: "netQueue"
4: "arg4" 4: "cacheQueue"
5: "arg5" 5: "expectedChecksum"
6: "arg6" 6: "expectedVersion"
7: "arg7" 7: "dicardOrphans"
locals: {} locals: {}
client!wb.a (I)Lclient!fo;: client!wb.a (I)Lclient!fo;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "fetchIndex" name: "fetchIndex"
arguments: {} arguments: {}
locals: locals:
53: "local53" 53: "data"
74: "local74" 74: "ex"
149: "local149" 149: "ex"
client!wb.a (II)I: client!wb.a (II)I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "getPercentageComplete" name: "getPercentageComplete"
arguments: arguments:
0: "group" 0: "group"
locals: locals:
9: "local9" 9: "request"
client!wb.a (III)Lclient!ng;: client!wb.a (III)Lclient!ng;:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "method4672" name: "fetchGroupInner"
arguments: arguments:
1: "arg0" 1: "group"
2: "arg1" 2: "type"
locals: locals:
13: "local13" 13: "request"
169: "local169" 169: "data"
197: "local197" 197: "checksum"
219: "local219" 219: "ex"
244: "local244" 244: "newRequest"
346: "local346" 346: "checksum"
378: "local378" 378: "truncatedVersion"
428: "local428" 428: "ex"
455: "local455" 455: "newRequest"
client!wb.a (IIII)V: client!wb.a (IIII)V:
owner: "Static37" owner: "Static37"
name: "method4661" name: "method4661"
@ -45270,25 +45270,25 @@ methods:
7: "local7" 7: "local7"
46: "local46" 46: "local46"
client!wb.a (Z)V: client!wb.a (Z)V:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "method4666" name: "processPrefetchQueue"
arguments: {} arguments: {}
locals: locals:
22: "local22" 22: "node"
32: "local32" 32: "group"
client!wb.b (B)I: client!wb.b (B)I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "method4664" name: "getIndexPercentageComplete"
arguments: {} arguments: {}
locals: {} locals: {}
client!wb.b (I)I: client!wb.b (I)I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "method4660" name: "getTotalVerifiedGroups"
arguments: {} arguments: {}
locals: locals:
27: "local27" 27: "node"
client!wb.b (II)V: client!wb.b (II)V:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "prefetchGroup" name: "prefetchGroup"
arguments: arguments:
0: "group" 0: "group"
@ -45296,8 +45296,8 @@ methods:
22: "node" 22: "node"
48: "node" 48: "node"
client!wb.b (Z)I: client!wb.b (Z)I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "method4667" name: "getVerifiedGroups"
arguments: {} arguments: {}
locals: {} locals: {}
client!wb.c (I)I: client!wb.c (I)I:
@ -45306,21 +45306,21 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!wb.c (II)[B: client!wb.c (II)[B:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "fetchGroup" name: "fetchGroup"
arguments: arguments:
1: "group" 1: "group"
locals: locals:
9: "local9" 9: "request"
25: "local25" 25: "data"
client!wb.c (Z)V: client!wb.c (Z)V:
owner: "Static37" owner: "Static37"
name: "method4670" name: "method4670"
arguments: {} arguments: {}
locals: {} locals: {}
client!wb.d (I)V: client!wb.d (I)V:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "method4668" name: "prefetchAll"
arguments: {} arguments: {}
locals: {} locals: {}
client!wb.d (II)I: client!wb.d (II)I:
@ -45330,24 +45330,24 @@ methods:
1: "arg0" 1: "arg0"
locals: {} locals: {}
client!wb.e (I)I: client!wb.e (I)I:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "method4671" name: "getIndexSize"
arguments: {} arguments: {}
locals: {} locals: {}
client!wb.f (I)V: client!wb.f (I)V:
owner: "Class62_Sub1" owner: "Js5ResourceProviderImpl"
name: "method4673" name: "tick"
arguments: {} arguments: {}
locals: locals:
31: "local31" 31: "done"
36: "local36" 36: "node"
42: "local42" 42: "group"
145: "local145" 145: "node"
175: "local175" 175: "done"
182: "local182" 182: "node"
188: "local188" 188: "group"
290: "local290" 290: "node"
335: "local335" 335: "request"
client!wc.a (II)V: client!wc.a (II)V:
owner: "Static37" owner: "Static37"
name: "method4678" name: "method4678"

Loading…
Cancel
Save