Add initial refactor of the client's Buffer class

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 95b9d35f1a
commit 57d6ec2e63
  1. 436
      share/deob/map/client.yaml

@ -62,7 +62,7 @@ classes:
client!eo: "Class52" client!eo: "Class52"
client!f: "Class53_Sub1_Sub1" client!f: "Class53_Sub1_Sub1"
client!fa: "Class4_Sub1_Sub7" client!fa: "Class4_Sub1_Sub7"
client!fd: "Class4_Sub10" client!fd: "Buffer"
client!fe: "Class56_Sub1" client!fe: "Class56_Sub1"
client!ff: "Class57" client!ff: "Class57"
client!fg: "Class4_Sub3_Sub7" client!fg: "Class4_Sub3_Sub7"
@ -2505,11 +2505,11 @@ fields:
owner: "Static2" owner: "Static2"
name: "anIntArray649" name: "anIntArray649"
client!fd.I [B: client!fd.I [B:
owner: "Class4_Sub10" owner: "Buffer"
name: "aByteArray71" name: "bytes"
client!fd.J I: client!fd.J I:
owner: "Class4_Sub10" owner: "Buffer"
name: "anInt5709" name: "position"
client!fd.Q I: client!fd.Q I:
owner: "Static2" owner: "Static2"
name: "anInt5716" name: "anInt5716"
@ -18021,35 +18021,35 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.<init> (I)V: client!fd.<init> (I)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "size"
locals: {} locals: {}
client!fd.<init> ([B)V: client!fd.<init> ([B)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: {} locals: {}
client!fd.a (FI)V: client!fd.a (FI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4632" name: "writeFloatLE"
arguments: arguments:
0: "arg0" 0: "value"
locals: locals:
13: "local13" 13: "bits"
client!fd.a (IB)V: client!fd.a (IB)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4578" name: "writeByteC"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
client!fd.a (II)V: client!fd.a (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4577" name: "writeUnsignedSmart"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.a (IIIILclient!vh;BIII)V: client!fd.a (IIIILclient!vh;BIII)V:
owner: "Static15" owner: "Static15"
@ -18080,335 +18080,335 @@ methods:
186: "local186" 186: "local186"
212: "local212" 212: "local212"
client!fd.a (III[B)V: client!fd.a (III[B)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4612" name: "readBytes"
arguments: arguments:
2: "arg0" 3: "bytes"
3: "arg1" 2: "len"
locals: locals:
7: "local7" 7: "i"
client!fd.a (II[BI)V: client!fd.a (II[BI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4600" name: "readBytesA"
arguments: arguments:
2: "arg0" 2: "bytes"
3: "arg1" 3: "len"
locals: locals:
9: "local9" 9: "i"
client!fd.a (IJ)V: client!fd.a (IJ)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4582" name: "writeLong"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.a (IZ)V: client!fd.a (IZ)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4599" name: "writeIntLE"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
client!fd.a (I[BIB)V: client!fd.a (I[BIB)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4594" name: "writeBytes"
arguments: arguments:
1: "arg0" 1: "bytes"
2: "arg1" 2: "len"
locals: locals:
7: "local7" 7: "i"
client!fd.a (JZI)V: client!fd.a (JZI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4606" name: "writeVarLong"
arguments: arguments:
0: "arg0" 0: "value"
2: "arg1" 2: "bytes"
locals: locals:
26: "local26" 26: "shift"
client!fd.a (Ljava/lang/String;I)V: client!fd.a (Ljava/lang/String;I)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4575" name: "writeString"
arguments: arguments:
0: "arg0" 0: "value"
locals: locals:
7: "local7" 7: "index"
client!fd.a (Ljava/math/BigInteger;Ljava/math/BigInteger;I)V: client!fd.a (Ljava/math/BigInteger;Ljava/math/BigInteger;I)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4628" name: "rsaEncrypt"
arguments: arguments:
0: "arg0" 1: "exponent"
1: "arg1" 0: "modulus"
locals: locals:
6: "local6" 6: "len"
12: "local12" 12: "plaintextBytes"
23: "local23" 23: "plaintext"
28: "local28" 28: "ciphertext"
31: "local31" 31: "ciphertextBytes"
client!fd.a (Z)I: client!fd.a (Z)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4576" name: "readShort"
arguments: {} arguments: {}
locals: locals:
37: "local37" 37: "value"
client!fd.a (ZF)V: client!fd.a (ZF)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4604" name: "writeFloat"
arguments: arguments:
1: "arg0" 1: "value"
locals: locals:
2: "local2" 2: "bits"
client!fd.a (ZI)V: client!fd.a (ZI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4617" name: "writeInt"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.a (Z[I)V: client!fd.a (Z[I)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4627" name: "xteaEncrypt"
arguments: arguments:
1: "arg0" 1: "key"
locals: locals:
10: "local10" 10: "position"
15: "local15" 15: "i"
22: "local22" 22: "v0"
26: "local26" 26: "v1"
28: "local28" 28: "sum"
32: "local32" 32: "rounds"
client!fd.a ([IIZI)V: client!fd.a ([IIZI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4607" name: "xteaDecrypt"
arguments: arguments:
0: "arg0" 0: "key"
3: "arg1" 3: "len"
locals: locals:
11: "local11" 11: "blocks"
14: "local14" 14: "position"
24: "local24" 24: "i"
31: "local31" 31: "v0"
35: "local35" 35: "v1"
37: "local37" 37: "sum"
41: "local41" 41: "rounds"
client!fd.b (BI)V: client!fd.b (BI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4584" name: "writeIntAlt3"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.b (I)I: client!fd.b (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4583" name: "readIntAlt3Reverse"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.b (IB)V: client!fd.b (IB)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4636" name: "writeShortLEA"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
client!fd.b (II)V: client!fd.b (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4580" name: "writeVarInt"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
client!fd.b (II[BI)V: client!fd.b (II[BI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4634" name: "readBytesReverse"
arguments: arguments:
1: "arg0" 2: "bytes"
2: "arg1" 1: "len"
locals: locals:
11: "local11" 11: "i"
client!fd.b (Z)I: client!fd.b (Z)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4585" name: "readShortLE"
arguments: {} arguments: {}
locals: locals:
36: "local36" 36: "value"
client!fd.c (BI)V: client!fd.c (BI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4602" name: "writeMedium"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.c (I)I: client!fd.c (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4587" name: "readIntAlt3"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.c (II)V: client!fd.c (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4581" name: "writeByte"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
client!fd.c (Z)I: client!fd.c (Z)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4609" name: "readVarInt"
arguments: {} arguments: {}
locals: locals:
16: "local16" 16: "b"
22: "local22" 22: "value"
client!fd.d (BI)V: client!fd.d (BI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4603" name: "writeShortLE"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.d (I)I: client!fd.d (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4588" name: "readUnsignedShortLEA"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.d (II)V: client!fd.d (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4586" name: "writeByteS"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.d (Z)I: client!fd.d (Z)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4620" name: "readIntLE"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.e (B)I: client!fd.e (B)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4579" name: "readUnsignedSmart"
arguments: {} arguments: {}
locals: locals:
14: "local14" 14: "peek"
client!fd.e (BI)V: client!fd.e (BI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4624" name: "writeIntLE2"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.e (I)I: client!fd.e (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4589" name: "readUnsignedByteC"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.e (II)V: client!fd.e (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4591" name: "writeIntAlt3Reverse"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.f (B)I: client!fd.f (B)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4590" name: "method4590"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.f (BI)V: client!fd.f (BI)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4638" name: "writeByteLength"
arguments: arguments:
1: "arg0" 1: "len"
locals: {} locals: {}
client!fd.f (I)Ljava/lang/String;: client!fd.f (I)Ljava/lang/String;:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4593" name: "readString"
arguments: {} arguments: {}
locals: locals:
6: "local6" 6: "off"
client!fd.f (II)J: client!fd.f (II)J:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4596" name: "readVarLong"
arguments: arguments:
1: "arg0" 1: "bytes"
locals: locals:
23: "local23" 23: "value"
27: "local27" 27: "shift"
client!fd.g (B)I: client!fd.g (B)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4597" name: "readSmart"
arguments: {} arguments: {}
locals: locals:
11: "local11" 11: "peek"
client!fd.g (I)I: client!fd.g (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4595" name: "readInt"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.g (II)V: client!fd.g (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4610" name: "writeIntLength"
arguments: arguments:
0: "arg0" 0: "len"
locals: {} locals: {}
client!fd.h (B)B: client!fd.h (B)B:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4608" name: "readByteS"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.h (I)I: client!fd.h (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4598" name: "readUnsignedMultiSmart"
arguments: {} arguments: {}
locals: locals:
7: "local7" 7: "total"
11: "local11" 11: "value"
client!fd.h (II)V: client!fd.h (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4611" name: "writeByteA"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
client!fd.i (B)I: client!fd.i (B)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4616" name: "readUnsignedShort"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.i (I)Z: client!fd.i (I)Z:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4601" name: "verifyCrc32"
arguments: {} arguments: {}
locals: locals:
17: "local17" 17: "actual"
21: "local21" 21: "expected"
client!fd.i (II)V: client!fd.i (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4613" name: "writeShortLE2"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.j (B)I: client!fd.j (B)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4618" name: "readUnsignedMedium"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.j (I)I: client!fd.j (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4605" name: "readUnsignedByteS"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.j (II)V: client!fd.j (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4614" name: "writeShortA"
arguments: arguments:
1: "arg0" 1: "arg0"
locals: {} locals: {}
client!fd.k (B)J: client!fd.k (B)J:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4622" name: "readLong"
arguments: {} arguments: {}
locals: locals:
17: "local17" 17: "high"
26: "local26" 26: "low"
client!fd.k (I)B: client!fd.k (I)B:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4615" name: "readByteC"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.k (II)I: client!fd.k (II)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4621" name: "writeCrc32"
arguments: arguments:
1: "arg0" 1: "off"
locals: locals:
11: "local11" 11: "checksum"
client!fd.l (B)Ljava/lang/String;: client!fd.l (B)Ljava/lang/String;:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4625" name: "fastReadString"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.l (I)V: client!fd.l (I)V:
@ -18417,47 +18417,47 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.l (II)V: client!fd.l (II)V:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4631" name: "writeShort"
arguments: arguments:
1: "arg0" 1: "value"
locals: {} locals: {}
client!fd.m (B)I: client!fd.m (B)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4629" name: "readUnsignedByte"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.m (I)I: client!fd.m (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4623" name: "readUnsignedByteA"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.n (B)I: client!fd.n (B)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4630" name: "readUnsignedShortA"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.n (I)I: client!fd.n (I)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4626" name: "readShortA"
arguments: {} arguments: {}
locals: locals:
29: "local29" 29: "value"
client!fd.o (B)I: client!fd.o (B)I:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4635" name: "readUnsignedShortLE"
arguments: {} arguments: {}
locals: {} locals: {}
client!fd.o (I)Ljava/lang/String;: client!fd.o (I)Ljava/lang/String;:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4633" name: "readVersionedString"
arguments: {} arguments: {}
locals: locals:
10: "local10" 10: "version"
33: "local33" 33: "off"
client!fd.p (I)B: client!fd.p (I)B:
owner: "Class4_Sub10" owner: "Buffer"
name: "method4637" name: "readByte"
arguments: {} arguments: {}
locals: {} locals: {}
client!fe.<init> (III)V: client!fe.<init> (III)V:

Loading…
Cancel
Save