Refactor the BufferedFile class

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 77aa69fe97
commit 5af09c9c4b
  1. 146
      share/deob/map/client.yaml
  2. 2
      share/deob/map/signlink.yaml

@ -286,7 +286,7 @@ classes:
client!wg: "Class4_Sub3_Sub22" client!wg: "Class4_Sub3_Sub22"
client!wh: "Class4_Sub3_Sub23" client!wh: "Class4_Sub3_Sub23"
client!wj: "Class187" client!wj: "Class187"
client!wl: "Class189" client!wl: "BufferedFile"
client!wm: "Class4_Sub33" client!wm: "Class4_Sub33"
client!wn: "Class4_Sub3_Sub24" client!wn: "Class4_Sub3_Sub24"
fields: fields:
@ -11859,41 +11859,41 @@ fields:
owner: "Static7" owner: "Static7"
name: "aString365" name: "aString365"
client!wl.a [B: client!wl.a [B:
owner: "Class189" owner: "BufferedFile"
name: "aByteArray75" name: "writeBuffer"
client!wl.b [B: client!wl.b [B:
owner: "Class189" owner: "BufferedFile"
name: "aByteArray76" name: "readBuffer"
client!wl.c J: client!wl.c J:
owner: "Class189" owner: "BufferedFile"
name: "aLong205" name: "physicalLength"
client!wl.f J: client!wl.f J:
owner: "Class189" owner: "BufferedFile"
name: "aLong206" name: "virtualLength"
client!wl.k I: client!wl.k I:
owner: "Class189" owner: "BufferedFile"
name: "anInt6057" name: "writeLen"
client!wl.l J: client!wl.l J:
owner: "Class189" owner: "BufferedFile"
name: "aLong207" name: "readPosition"
client!wl.p Lsignlink!kd;: client!wl.p Lsignlink!kd;:
owner: "Class189" owner: "BufferedFile"
name: "aClass195_1" name: "file"
client!wl.q J: client!wl.q J:
owner: "Class189" owner: "BufferedFile"
name: "aLong208" name: "writePosition"
client!wl.r I: client!wl.r I:
owner: "Class189" owner: "BufferedFile"
name: "anInt6061" name: "readLen"
client!wl.s J: client!wl.s J:
owner: "Class189" owner: "BufferedFile"
name: "aLong209" name: "physicalPosition"
client!wl.t J: client!wl.t J:
owner: "Class189" owner: "BufferedFile"
name: "aLong210" name: "virtualPosition"
client!wl.u [J: client!wl.u [J:
owner: "Class189" owner: "BufferedFile"
name: "aLongArray58" name: "CRC64_TABLE"
client!wl.x Z: client!wl.x Z:
owner: "Static7" owner: "Static7"
name: "aBoolean422" name: "aBoolean422"
@ -46211,16 +46211,16 @@ methods:
89: "local89" 89: "local89"
92: "local92" 92: "local92"
client!wl.<init> (Lsignlink!kd;II)V: client!wl.<init> (Lsignlink!kd;II)V:
owner: "Class189" owner: "BufferedFile"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "file"
1: "arg1" 1: "readBufferSize"
2: "arg2" 2: "writeBufferSize"
locals: {} locals: {}
client!wl.a (B)J: client!wl.a (B)J:
owner: "Class189" owner: "BufferedFile"
name: "method4797" name: "length"
arguments: {} arguments: {}
locals: {} locals: {}
client!wl.a (I)V: client!wl.a (I)V:
@ -46229,68 +46229,68 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!wl.a (I[B)V: client!wl.a (I[B)V:
owner: "Class189" owner: "BufferedFile"
name: "method4803" name: "read"
arguments: arguments:
1: "arg0" 1: "b"
locals: {} locals: {}
client!wl.a (I[BIB)V: client!wl.a (I[BIB)V:
owner: "Class189" owner: "BufferedFile"
name: "method4795" name: "write"
arguments: arguments:
0: "arg0" 1: "b"
1: "arg1" 0: "off"
2: "arg2" 2: "len"
locals: locals:
99: "local99" 99: "n"
149: "local149" 149: "end"
151: "local151" 151: "start"
328: "local328" 328: "copyLen"
419: "local419" 419: "ex"
client!wl.a (I[BII)V: client!wl.a (I[BII)V:
owner: "Class189" owner: "BufferedFile"
name: "method4801" name: "read"
arguments: arguments:
1: "arg0" 1: "b"
2: "arg1" 2: "off"
3: "arg2" 3: "len"
locals: locals:
76: "local76" 76: "originalLen"
81: "local81" 81: "originalPosition"
110: "local110" 110: "n"
178: "local178" 178: "n"
212: "local212" 212: "copyLen"
280: "local280" 280: "end"
316: "local316" 316: "end"
318: "local318" 318: "start"
440: "local440" 440: "copyLen"
479: "local479" 479: "ex"
client!wl.a (ZJ)V: client!wl.a (ZJ)V:
owner: "Class189" owner: "BufferedFile"
name: "method4798" name: "seek"
arguments: arguments:
1: "arg0" 1: "position"
locals: {} locals: {}
client!wl.b (I)V: client!wl.b (I)V:
owner: "Class189" owner: "BufferedFile"
name: "method4796" name: "fill"
arguments: {} arguments: {}
locals: locals:
49: "local49" 49: "len"
67: "local67" 67: "n"
client!wl.c (B)Ljava/io/File;: client!wl.c (B)Ljava/io/File;:
owner: "Class189" owner: "BufferedFile"
name: "method4802" name: "getFile"
arguments: {} arguments: {}
locals: {} locals: {}
client!wl.c (I)V: client!wl.c (I)V:
owner: "Class189" owner: "BufferedFile"
name: "method4800" name: "flush"
arguments: {} arguments: {}
locals: locals:
58: "local58" 58: "start"
129: "local129" 129: "end"
203: "local203" 203: "copyLen"
client!wm.a ()V: client!wm.a ()V:
owner: "Class4_Sub33" owner: "Class4_Sub33"
name: "method4810" name: "method4810"

@ -264,8 +264,8 @@ methods:
name: "read" name: "read"
arguments: arguments:
0: "bytes" 0: "bytes"
2: "len"
3: "off" 3: "off"
2: "len"
locals: locals:
6: "n" 6: "n"
signlink!kd.b (B)Ljava/io/File;: signlink!kd.b (B)Ljava/io/File;:

Loading…
Cancel
Save