Refactor unpackclass's Buffer and BufferPool classes

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent af0167ef3e
commit e0ebaa1bcd
  1. 180
      share/deob/map/unpackclass.yaml

@ -2,8 +2,8 @@
classes: classes:
unpackclass!a: "ByteArray" unpackclass!a: "ByteArray"
unpackclass!aa: "Class199" unpackclass!aa: "Class199"
unpackclass!c: "Class200" unpackclass!c: "BufferPool"
unpackclass!e: "Class201_Sub1" unpackclass!e: "Buffer"
unpackclass!f: "Class202" unpackclass!f: "Class202"
unpackclass!g: "Class203" unpackclass!g: "Class203"
unpackclass!h: "Class204" unpackclass!h: "Class204"
@ -79,35 +79,35 @@ fields:
owner: "Class199" owner: "Class199"
name: "anInt6143" name: "anInt6143"
unpackclass!c.a I: unpackclass!c.a I:
owner: "Class200" owner: "BufferPool"
name: "anInt6114" name: "smallBufferCount"
unpackclass!c.b I: unpackclass!c.b I:
owner: "Class200" owner: "BufferPool"
name: "anInt6115" name: "mediumBufferCount"
unpackclass!c.c I: unpackclass!c.c I:
owner: "Class200" owner: "BufferPool"
name: "anInt6116" name: "largeBufferCount"
unpackclass!c.d [[B: unpackclass!c.d [[B:
owner: "Class200" owner: "BufferPool"
name: "aByteArrayArray55" name: "smallBuffers"
unpackclass!c.e [[B: unpackclass!c.e [[B:
owner: "Class200" owner: "BufferPool"
name: "aByteArrayArray56" name: "mediumBuffers"
unpackclass!c.f [[B: unpackclass!c.f [[B:
owner: "Class200" owner: "BufferPool"
name: "aByteArrayArray57" name: "largeBuffers"
unpackclass!e.d [B: unpackclass!e.d [B:
owner: "Class201_Sub1" owner: "Buffer"
name: "aByteArray77" name: "bytes"
unpackclass!e.e I: unpackclass!e.e I:
owner: "Class201_Sub1" owner: "Buffer"
name: "anInt6119" name: "position"
unpackclass!e.f [I: unpackclass!e.f [I:
owner: "Class201_Sub1" owner: "Buffer"
name: "anIntArray689" name: "CRC32_TABLE"
unpackclass!e.g [J: unpackclass!e.g [J:
owner: "Class201_Sub1" owner: "Buffer"
name: "aLongArray59" name: "CRC64_TABLE"
unpackclass!f.a Lunpackclass!w;: unpackclass!f.a Lunpackclass!w;:
owner: "Class202" owner: "Class202"
name: "aClass201_5" name: "aClass201_5"
@ -573,130 +573,130 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
unpackclass!c.a (I)[B: unpackclass!c.a (I)[B:
owner: "Class200" owner: "BufferPool"
name: "method4902" name: "allocate"
arguments: arguments:
0: "arg0" 0: "len"
locals: locals:
12: "local12" 12: "bytes"
31: "local31" 31: "bytes"
50: "local50" 50: "bytes"
unpackclass!e.<init> (I)V: unpackclass!e.<init> (I)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "len"
locals: {} locals: {}
unpackclass!e.<init> ([B)V: unpackclass!e.<init> ([B)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "bytes"
locals: {} locals: {}
unpackclass!e.a (I)V: unpackclass!e.a (I)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4909" name: "writeByte"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
unpackclass!e.a (J)V: unpackclass!e.a (J)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4912" name: "writeLong"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
unpackclass!e.a ([BI)I: unpackclass!e.a ([BI)I:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4908" name: "crc32"
arguments: arguments:
0: "arg0" 0: "bytes"
1: "arg1" 1: "len"
locals: {} locals: {}
unpackclass!e.a ([BII)I: unpackclass!e.a ([BII)I:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4907" name: "crc32Internal"
arguments: arguments:
0: "arg0" 0: "bytes"
2: "arg1" 2: "len"
locals: locals:
3: "local3" 3: "crc"
5: "local5" 5: "i"
unpackclass!e.a ([III)V: unpackclass!e.a ([III)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4921" name: "xteaDecrypt"
arguments: arguments:
0: "arg0" 0: "key"
2: "arg1" 2: "len"
locals: locals:
4: "local4" 4: "oldPosition"
13: "local13" 13: "blocks"
15: "local15" 15: "i"
20: "local20" 20: "v0"
23: "local23" 23: "v1"
25: "local25" 25: "sum"
29: "local29" 29: "round"
unpackclass!e.b (I)V: unpackclass!e.b (I)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4910" name: "writeShort"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
unpackclass!e.b ([BII)V: unpackclass!e.b ([BII)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4913" name: "writeBytes"
arguments: arguments:
0: "arg0" 0: "bytes"
2: "arg1" 2: "len"
locals: locals:
3: "local3" 3: "i"
unpackclass!e.c ()I: unpackclass!e.c ()I:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4914" name: "readUnsignedByte"
arguments: {} arguments: {}
locals: {} locals: {}
unpackclass!e.c (I)V: unpackclass!e.c (I)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4911" name: "writeInt"
arguments: arguments:
0: "arg0" 0: "value"
locals: {} locals: {}
unpackclass!e.c ([BII)V: unpackclass!e.c ([BII)V:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4918" name: "readBytes"
arguments: arguments:
0: "arg0" 0: "bytes"
2: "arg1" 2: "len"
locals: locals:
3: "local3" 3: "i"
unpackclass!e.d ()I: unpackclass!e.d ()I:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4915" name: "readUnsignedShort"
arguments: {} arguments: {}
locals: {} locals: {}
unpackclass!e.e ()I: unpackclass!e.e ()I:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4916" name: "readShort"
arguments: {} arguments: {}
locals: locals:
27: "local27" 27: "local27"
unpackclass!e.f ()I: unpackclass!e.f ()I:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4917" name: "readInt"
arguments: {} arguments: {}
locals: {} locals: {}
unpackclass!e.g ()I: unpackclass!e.g ()I:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4919" name: "readUnsignedSmart"
arguments: {} arguments: {}
locals: locals:
7: "local7" 7: "peek"
unpackclass!e.h ()I: unpackclass!e.h ()I:
owner: "Class201_Sub1" owner: "Buffer"
name: "method4920" name: "readVarInt"
arguments: {} arguments: {}
locals: locals:
12: "local12" 12: "b"
14: "local14" 14: "value"
unpackclass!f.<init> ()V: unpackclass!f.<init> ()V:
owner: "Class202" owner: "Class202"
name: "<init>" name: "<init>"

Loading…
Cancel
Save