Refactor the UnpackerClassLoader class

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 4 years ago
parent cd043a7ddc
commit 28f889fe6a
  1. 40
      share/deob/map/loader.yaml

@ -2,7 +2,7 @@
classes: classes:
loader!a: "Pack200Unpacker" loader!a: "Pack200Unpacker"
loader!b: "Resource" loader!b: "Resource"
loader!d: "ClassLoader_Sub1" loader!d: "UnpackerClassLoader"
loader!f: "Resources" loader!f: "Resources"
loader!g: "RuntimeException_Sub2" loader!g: "RuntimeException_Sub2"
loader!loader: "loader" loader!loader: "loader"
@ -26,17 +26,17 @@ fields:
owner: "Resource" owner: "Resource"
name: "compressedSize" name: "compressedSize"
loader!d.a Ljava/util/Hashtable;: loader!d.a Ljava/util/Hashtable;:
owner: "ClassLoader_Sub1" owner: "UnpackerClassLoader"
name: "aHashtable1" name: "cache"
loader!d.b Lunpack!unpack;: loader!d.b Lunpack!unpack;:
owner: "ClassLoader_Sub1" owner: "UnpackerClassLoader"
name: "anUnpack1" name: "primaryUnpacker"
loader!d.c Ljava/security/ProtectionDomain;: loader!d.c Ljava/security/ProtectionDomain;:
owner: "ClassLoader_Sub1" owner: "UnpackerClassLoader"
name: "aProtectionDomain1" name: "protectionDomain"
loader!d.d Lunpack!unpack;: loader!d.d Lunpack!unpack;:
owner: "ClassLoader_Sub1" owner: "UnpackerClassLoader"
name: "anUnpack2" name: "secondaryUnpacker"
loader!f.a Lloader!b;: loader!f.a Lloader!b;:
owner: "Resources" owner: "Resources"
name: "unpackClass" name: "unpackClass"
@ -130,24 +130,24 @@ methods:
5: "checksum" 5: "checksum"
locals: {} locals: {}
loader!d.<init> ()V: loader!d.<init> ()V:
owner: "ClassLoader_Sub1" owner: "UnpackerClassLoader"
name: "<init>" name: "<init>"
arguments: {} arguments: {}
locals: locals:
15: "local15" 15: "codeSource"
19: "local19" 19: "permissions"
loader!d.loadClass (Ljava/lang/String;Z)Ljava/lang/Class;: loader!d.loadClass (Ljava/lang/String;Z)Ljava/lang/Class;:
owner: "ClassLoader_Sub1" owner: "UnpackerClassLoader"
name: "loadClass" name: "loadClass"
arguments: arguments:
0: "arg0" 0: "name"
1: "arg1" 1: "resolve"
locals: locals:
5: "local5" 5: "cachedClass"
21: "local21" 21: "bytes"
35: "local35" 35: "clazz"
54: "local54" 54: "bytes"
65: "local65" 65: "clazz"
loader!g.<init> (Ljava/lang/Throwable;Ljava/lang/String;)V: loader!g.<init> (Ljava/lang/Throwable;Ljava/lang/String;)V:
owner: "RuntimeException_Sub2" owner: "RuntimeException_Sub2"
name: "<init>" name: "<init>"

Loading…
Cancel
Save