Refactor MidiDecoder

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 4 years ago
parent 2482e20063
commit abac785456
  1. 330
      share/deob/map/client.yaml

@ -84,7 +84,7 @@ classes:
client!gk: "LiquidMaterial" client!gk: "LiquidMaterial"
client!gl: "Font" client!gl: "Font"
client!gn: "Class4_Sub11" client!gn: "Class4_Sub11"
client!go: "Class72" client!go: "MidiDecoder"
client!h: "Class73" client!h: "Class73"
client!hc: "ByteArray" client!hc: "ByteArray"
client!he: "ObjStack" client!he: "ObjStack"
@ -203,7 +203,7 @@ classes:
client!qe: "HashTableIterator" client!qe: "HashTableIterator"
client!qf: "Class142" client!qf: "Class142"
client!qg: "MsiType" client!qg: "MsiType"
client!qh: "Class4_Sub23" client!qh: "Instrument"
client!qi: "Js5TextureProvider" client!qi: "Js5TextureProvider"
client!qj: "TextureOp16" client!qj: "TextureOp16"
client!qk: "PlayerAppearance" client!qk: "PlayerAppearance"
@ -3255,32 +3255,32 @@ fields:
owner: "Class4_Sub11" owner: "Class4_Sub11"
name: "anInt2117" name: "anInt2117"
client!go.a Lclient!fd;: client!go.a Lclient!fd;:
owner: "Class72" owner: "MidiDecoder"
name: "aClass4_Sub10_3" name: "buffer"
client!go.b [B: client!go.b [B:
owner: "Static3" owner: "MidiDecoder"
name: "aByteArray16" name: "STATUS_LENGTHS"
client!go.c I: client!go.c I:
owner: "Class72" owner: "MidiDecoder"
name: "anInt2129" name: "division"
client!go.d [I: client!go.d [I:
owner: "Class72" owner: "MidiDecoder"
name: "anIntArray173" name: "times"
client!go.e J: client!go.e J:
owner: "Class72" owner: "MidiDecoder"
name: "aLong69" name: "aLong69"
client!go.f [I: client!go.f [I:
owner: "Class72" owner: "MidiDecoder"
name: "anIntArray174" name: "positions"
client!go.g [I: client!go.g [I:
owner: "Class72" owner: "MidiDecoder"
name: "anIntArray175" name: "statuses"
client!go.h I: client!go.h I:
owner: "Class72" owner: "MidiDecoder"
name: "anInt2130" name: "tempo"
client!go.i [I: client!go.i [I:
owner: "Class72" owner: "MidiDecoder"
name: "anIntArray176" name: "startPositions"
client!h.a [I: client!h.a [I:
owner: "Class73" owner: "Class73"
name: "anIntArray177" name: "anIntArray177"
@ -5107,7 +5107,7 @@ fields:
name: "aClass4_Sub9ArrayArray2" name: "aClass4_Sub9ArrayArray2"
client!ld.Gb Lclient!go;: client!ld.Gb Lclient!go;:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "aClass72_1" name: "decoder"
client!ld.Hb J: client!ld.Hb J:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "aLong110" name: "aLong110"
@ -5134,7 +5134,7 @@ fields:
name: "anIntArray278" name: "anIntArray278"
client!ld.Nb Lclient!tg;: client!ld.Nb Lclient!tg;:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "aClass4_Sub31_1" name: "song"
client!ld.Ob I: client!ld.Ob I:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "anInt3091" name: "anInt3091"
@ -5179,7 +5179,7 @@ fields:
name: "anIntArray287" name: "anIntArray287"
client!ld.ob Lclient!ic;: client!ld.ob Lclient!ic;:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "aClass84_15" name: "instruments"
client!ld.qb [I: client!ld.qb [I:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "anIntArray288" name: "anIntArray288"
@ -8094,37 +8094,37 @@ fields:
owner: "MsiType" owner: "MsiType"
name: "spriteId" name: "spriteId"
client!qh.A [B: client!qh.A [B:
owner: "Class4_Sub23" owner: "Instrument"
name: "aByteArray57" name: "aByteArray57"
client!qh.B [I: client!qh.B [I:
owner: "Class4_Sub23" owner: "Instrument"
name: "anIntArray458" name: "anIntArray458"
client!qh.C Lclient!fh;: client!qh.C Lclient!fh;:
owner: "client" owner: "client"
name: "js5Archive15" name: "js5Archive15"
client!qh.D [S: client!qh.D [S:
owner: "Class4_Sub23" owner: "Instrument"
name: "aShortArray80" name: "aShortArray80"
client!qh.E [B: client!qh.E [B:
owner: "Class4_Sub23" owner: "Instrument"
name: "aByteArray58" name: "aByteArray58"
client!qh.p [B: client!qh.p [B:
owner: "Class4_Sub23" owner: "Instrument"
name: "aByteArray56" name: "aByteArray56"
client!qh.q I: client!qh.q I:
owner: "LoginManager" owner: "LoginManager"
name: "disallowResult" name: "disallowResult"
client!qh.s [Lclient!pb;: client!qh.s [Lclient!pb;:
owner: "Class4_Sub23" owner: "Instrument"
name: "aClass4_Sub8_Sub1Array1" name: "aClass4_Sub8_Sub1Array1"
client!qh.t I: client!qh.t I:
owner: "Class4_Sub23" owner: "Instrument"
name: "anInt4326" name: "anInt4326"
client!qh.w I: client!qh.w I:
owner: "Static5" owner: "Static5"
name: "anInt4329" name: "anInt4329"
client!qh.y [Lclient!si;: client!qh.y [Lclient!si;:
owner: "Class4_Sub23" owner: "Instrument"
name: "aClass157Array1" name: "aClass157Array1"
client!qi.a Ljava/lang/String;: client!qi.a Ljava/lang/String;:
owner: "LocalisedText" owner: "LocalisedText"
@ -9763,7 +9763,7 @@ fields:
name: "midiBytes" name: "midiBytes"
client!tg.p Lclient!ic;: client!tg.p Lclient!ic;:
owner: "Song" owner: "Song"
name: "aClass84_23" name: "programs"
client!th.a I: client!th.a I:
owner: "Static6" owner: "Static6"
name: "anInt5133" name: "anInt5133"
@ -16211,13 +16211,13 @@ methods:
locals: locals:
18: "value" 18: "value"
client!dj.a (ILclient!fh;I)Lclient!qh;: client!dj.a (ILclient!fh;I)Lclient!qh;:
owner: "Static13" owner: "Instrument"
name: "method887" name: "create"
arguments: arguments:
0: "arg0" 1: "archive"
1: "arg1" 0: "id"
locals: locals:
17: "local17" 17: "bytes"
client!dj.a (JILclient!lh;)V: client!dj.a (JILclient!lh;)V:
owner: "LruHashTable" owner: "LruHashTable"
name: "put" name: "put"
@ -21679,130 +21679,130 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!go.<init> ()V: client!go.<init> ()V:
owner: "Class72" owner: "MidiDecoder"
name: "<init>" name: "<init>"
arguments: {} arguments: {}
locals: {} locals: {}
client!go.<init> ([B)V: client!go.<init> ([B)V:
owner: "Class72" owner: "MidiDecoder"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: {} locals: {}
client!go.a ()V: client!go.a ()V:
owner: "Class72" owner: "MidiDecoder"
name: "method1658" name: "release"
arguments: {} arguments: {}
locals: {} locals: {}
client!go.a (I)J: client!go.a (I)J:
owner: "Class72" owner: "MidiDecoder"
name: "method1657" name: "method1657"
arguments: arguments:
0: "arg0" 0: "arg0"
locals: {} locals: {}
client!go.a (II)I: client!go.a (II)I:
owner: "Class72" owner: "MidiDecoder"
name: "method1672" name: "getNextEvent"
arguments: arguments:
0: "arg0" 0: "track"
1: "arg1" 1: "status"
locals: locals:
7: "local7" 7: "type"
12: "local12" 12: "len"
17: "local17" 17: "buffer"
32: "local32" 32: "tempo"
33: "local33" 33: "skipBytes"
38: "local38" 38: "time"
56: "local56" 56: "buffer"
65: "local65" 65: "buffer"
78: "local78" 78: "len"
80: "local80" 80: "event"
client!go.a (J)V: client!go.a (J)V:
owner: "Class72" owner: "MidiDecoder"
name: "method1662" name: "method1662"
arguments: arguments:
0: "arg0" 0: "arg0"
locals: locals:
6: "local6" 6: "tracks"
8: "local8" 8: "i"
client!go.a ([B)V: client!go.a ([B)V:
owner: "Class72" owner: "MidiDecoder"
name: "method1661" name: "init"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: locals:
12: "local12" 12: "tracks"
27: "local27" 27: "i"
35: "local35" 35: "id"
40: "local40" 40: "len"
53: "local53" 53: "buffer"
68: "local68" 68: "j"
client!go.b ()V: client!go.b ()V:
owner: "Class72" owner: "MidiDecoder"
name: "method1660" name: "loadEndOfTrackPosition"
arguments: {} arguments: {}
locals: {} locals: {}
client!go.b (I)V: client!go.b (I)V:
owner: "Class72" owner: "MidiDecoder"
name: "method1659" name: "addDeltaTime"
arguments: arguments:
0: "arg0" 0: "track"
locals: locals:
4: "local4" 4: "deltaTime"
6: "local6" 6: "times"
client!go.c ()Z: client!go.c ()Z:
owner: "Class72" owner: "MidiDecoder"
name: "method1664" name: "isValid"
arguments: {} arguments: {}
locals: {} locals: {}
client!go.c (I)V: client!go.c (I)V:
owner: "Class72" owner: "MidiDecoder"
name: "method1663" name: "loadTrackPosition"
arguments: arguments:
0: "arg0" 0: "track"
locals: {} locals: {}
client!go.d ()Z: client!go.d ()Z:
owner: "Class72" owner: "MidiDecoder"
name: "method1665" name: "hasNextTrack"
arguments: {} arguments: {}
locals: locals:
3: "local3" 3: "tracks"
5: "local5" 5: "i"
client!go.d (I)I: client!go.d (I)I:
owner: "Class72" owner: "MidiDecoder"
name: "method1669" name: "getNextEventInternal"
arguments: arguments:
0: "arg0" 0: "track"
locals: locals:
7: "local7" 7: "statusByte"
13: "local13" 13: "status"
42: "local42" 42: "len"
57: "local57" 57: "status2"
97: "local97" 97: "buffer"
client!go.e ()I: client!go.e ()I:
owner: "Class72" owner: "MidiDecoder"
name: "method1666" name: "getNextTrack"
arguments: {} arguments: {}
locals: locals:
3: "local3" 3: "tracks"
5: "local5" 5: "track"
7: "local7" 7: "minTime"
9: "local9" 9: "i"
client!go.e (I)V: client!go.e (I)V:
owner: "Class72" owner: "MidiDecoder"
name: "method1670" name: "saveTrackPosition"
arguments: arguments:
0: "arg0" 0: "track"
locals: {} locals: {}
client!go.f (I)I: client!go.f (I)I:
owner: "Class72" owner: "MidiDecoder"
name: "method1671" name: "getNextEvent"
arguments: arguments:
0: "arg0" 0: "track"
locals: {} locals: {}
client!go.g ()I: client!go.g ()I:
owner: "Class72" owner: "MidiDecoder"
name: "method1668" name: "getTrackCount"
arguments: {} arguments: {}
locals: {} locals: {}
client!h.<init> ()V: client!h.<init> ()V:
@ -27146,15 +27146,15 @@ methods:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "method2511" name: "method2511"
arguments: arguments:
2: "arg0" 2: "song"
3: "arg1" 3: "archive"
4: "arg2" 4: "arg2"
locals: locals:
9: "local9" 9: "valid"
24: "local24" 24: "samplingRates"
36: "local36" 36: "node"
43: "local43" 43: "program"
53: "local53" 53: "instrument"
client!ld.a (ILclient!ej;)Z: client!ld.a (ILclient!ej;)Z:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "method2491" name: "method2491"
@ -27269,11 +27269,11 @@ methods:
name: "method2483" name: "method2483"
arguments: arguments:
0: "arg0" 0: "arg0"
2: "arg1" 2: "song"
3: "arg2" 3: "arg2"
locals: locals:
24: "local24" 24: "tracks"
26: "local26" 26: "i"
client!ld.a (ZLclient!tg;B)V: client!ld.a (ZLclient!tg;B)V:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "method2504" name: "method2504"
@ -27411,7 +27411,7 @@ methods:
name: "method2484" name: "method2484"
arguments: {} arguments: {}
locals: locals:
7: "local7" 7: "instrument"
client!ld.d (III)V: client!ld.d (III)V:
owner: "Class4_Sub6_Sub2" owner: "Class4_Sub6_Sub2"
name: "method2487" name: "method2487"
@ -36373,13 +36373,13 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!qh.<init> ([B)V: client!qh.<init> ([B)V:
owner: "Class4_Sub23" owner: "Instrument"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: locals:
9: "local9" 9: "local9"
38: "local38" 38: "buffer"
52: "local52" 52: "local52"
54: "local54" 54: "local54"
71: "local71" 71: "local71"
@ -36531,7 +36531,7 @@ methods:
670: "local670" 670: "local670"
674: "local674" 674: "local674"
client!qh.a (Z)V: client!qh.a (Z)V:
owner: "Class4_Sub23" owner: "Instrument"
name: "method3570" name: "method3570"
arguments: {} arguments: {}
locals: {} locals: {}
@ -36547,17 +36547,17 @@ methods:
20: "local20" 20: "local20"
27: "local27" 27: "local27"
client!qh.a ([ILclient!jk;I[B)Z: client!qh.a ([ILclient!jk;I[B)Z:
owner: "Class4_Sub23" owner: "Instrument"
name: "method3566" name: "method3566"
arguments: arguments:
0: "arg0" 0: "samplingRates"
1: "arg1" 1: "arg1"
3: "arg2" 3: "keys"
locals: locals:
15: "local15" 15: "valid"
17: "local17" 17: "local17"
19: "local19" 19: "local19"
21: "local21" 21: "i"
40: "local40" 40: "local40"
51: "local51" 51: "local51"
client!qi.<init> (Lclient!fh;Lclient!fh;Lclient!fh;)V: client!qi.<init> (Lclient!fh;Lclient!fh;Lclient!fh;)V:
@ -37049,7 +37049,7 @@ methods:
owner: "Class4_Sub24" owner: "Class4_Sub24"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: {} locals: {}
client!qn.a ()I: client!qn.a ()I:
owner: "Static30" owner: "Static30"
@ -37061,23 +37061,23 @@ methods:
owner: "Static30" owner: "Static30"
name: "method3628" name: "method3628"
arguments: arguments:
0: "arg0" 0: "archive"
locals: locals:
7: "local7" 7: "bytes"
client!qn.a (Lclient!fh;II)Lclient!qn;: client!qn.a (Lclient!fh;II)Lclient!qn;:
owner: "Static30" owner: "Static30"
name: "method3636" name: "method3636"
arguments: arguments:
0: "arg0" 0: "archive"
1: "arg1" 1: "groupId"
2: "arg2" 2: "fileId"
locals: locals:
16: "local16" 16: "bytes"
client!qn.a ([B)V: client!qn.a ([B)V:
owner: "Static30" owner: "Static30"
name: "method3630" name: "method3630"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: locals:
17: "local17" 17: "local17"
26: "local26" 26: "local26"
@ -37109,7 +37109,7 @@ methods:
owner: "Static30" owner: "Static30"
name: "method3629" name: "method3629"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: {} locals: {}
client!qn.a ([I)Lclient!pb;: client!qn.a ([I)Lclient!pb;:
owner: "Class4_Sub24" owner: "Class4_Sub24"
@ -37223,11 +37223,11 @@ methods:
1301: "local1301" 1301: "local1301"
client!qn.b ([B)V: client!qn.b ([B)V:
owner: "Class4_Sub24" owner: "Class4_Sub24"
name: "method3631" name: "decode"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: locals:
4: "local4" 4: "buffer"
40: "local40" 40: "local40"
46: "local46" 46: "local46"
51: "local51" 51: "local51"
@ -41076,40 +41076,40 @@ methods:
940: "pitchWheelLsb" 940: "pitchWheelLsb"
client!tg.a ()V: client!tg.a ()V:
owner: "Song" owner: "Song"
name: "method4163" name: "createPrograms"
arguments: {} arguments: {}
locals: locals:
12: "local12" 12: "banks"
15: "local15" 15: "programs"
29: "local29" 29: "song"
32: "local32" 32: "tracks"
34: "local34" 34: "i"
51: "local51" 51: "track"
56: "local56" 56: "time"
69: "local69" 69: "event"
85: "local85" 85: "status"
92: "local92" 92: "channel"
98: "local98" 98: "controller"
104: "local104" 104: "value"
140: "local140" 140: "channel"
146: "local146" 146: "program"
161: "local161" 161: "channel"
167: "local167" 167: "key"
173: "local173" 173: "velocity"
179: "local179" 179: "program"
187: "local187" 187: "node"
client!tg.a (Lclient!fh;II)Lclient!tg;: client!tg.a (Lclient!fh;II)Lclient!tg;:
owner: "Static33" owner: "Song"
name: "method4165" name: "create"
arguments: arguments:
0: "arg0" 0: "archive"
1: "arg1" 1: "groupId"
2: "arg2" 2: "fileId"
locals: locals:
5: "local5" 5: "bytes"
client!tg.b ()V: client!tg.b ()V:
owner: "Song" owner: "Song"
name: "method4164" name: "releasePrograms"
arguments: {} arguments: {}
locals: {} locals: {}
client!th.a ()I: client!th.a ()I:

Loading…
Cancel
Save