Refactor StringUtils and Cp1252Charset

Signed-off-by: Graham <gpe@openrs2.dev>
Graham 4 years ago
parent 392c43562c
commit 646af10bb1
  1. 84
      share/deob/map/client.yaml

@ -9312,8 +9312,8 @@ fields:
owner: "Class158" owner: "Class158"
name: "anInt4869" name: "anInt4869"
client!sl.V [C: client!sl.V [C:
owner: "Static6" owner: "Cp1252Charset"
name: "aCharArray3" name: "CP1252_TABLE"
client!sl.W I: client!sl.W I:
owner: "Class4_Sub1_Sub32" owner: "Class4_Sub1_Sub32"
name: "anInt4898" name: "anInt4898"
@ -13262,12 +13262,12 @@ methods:
0: "arg0" 0: "arg0"
locals: {} locals: {}
client!bg.a (BC)B: client!bg.a (BC)B:
owner: "Static10" owner: "Cp1252Charset"
name: "method284" name: "encodeChar"
arguments: arguments:
1: "arg0" 1: "codepoint"
locals: locals:
36: "local36" 36: "b"
client!bg.a (IIIIIIIIIZ)V: client!bg.a (IIIIIIIIIZ)V:
owner: "Static10" owner: "Static10"
name: "method283" name: "method283"
@ -23876,17 +23876,17 @@ methods:
locals: locals:
27: "local27" 27: "local27"
client!ja.a ([BLjava/lang/String;IIII)I: client!ja.a ([BLjava/lang/String;IIII)I:
owner: "Static20" owner: "Cp1252Charset"
name: "method1966" name: "encodeString"
arguments: arguments:
0: "arg0" 1: "src"
1: "arg1" 2: "srcLen"
2: "arg2" 0: "dest"
3: "arg3" 3: "destOff"
locals: locals:
6: "local6" 6: "srcLen2"
8: "local8" 8: "i"
17: "local17" 17: "c"
client!ja.b (I)V: client!ja.b (I)V:
owner: "Static20" owner: "Static20"
name: "method1969" name: "method1969"
@ -28944,14 +28944,14 @@ methods:
49: "local49" 49: "local49"
69: "local69" 69: "local69"
client!ln.a (Ljava/lang/String;I)I: client!ln.a (Ljava/lang/String;I)I:
owner: "Static24" owner: "StringUtils"
name: "method2644" name: "hashCode"
arguments: arguments:
0: "arg0" 0: "s"
locals: locals:
7: "local7" 7: "hash"
10: "local10" 10: "len"
12: "local12" 12: "i"
client!ln.b (Ljava/lang/String;I)V: client!ln.b (Ljava/lang/String;I)V:
owner: "Static24" owner: "Static24"
name: "method2651" name: "method2651"
@ -35815,13 +35815,13 @@ methods:
locals: locals:
15: "local15" 15: "local15"
client!qb.a (ZB)C: client!qb.a (ZB)C:
owner: "Static29" owner: "Cp1252Charset"
name: "method3522" name: "decodeChar"
arguments: arguments:
1: "arg0" 1: "b"
locals: locals:
7: "local7" 7: "codepoint"
47: "local47" 47: "c"
client!qc.a (BIIIZ)V: client!qc.a (BIIIZ)V:
owner: "Class53_Sub1" owner: "Class53_Sub1"
name: "method3301" name: "method3301"
@ -36595,14 +36595,14 @@ methods:
445: "local445" 445: "local445"
467: "local467" 467: "local467"
client!qi.a (CI)Z: client!qi.a (CI)Z:
owner: "Static30" owner: "Cp1252Charset"
name: "method424" name: "isCharValid"
arguments: arguments:
0: "arg0" 0: "codepoint"
locals: locals:
27: "local27" 27: "i"
29: "local29" 29: "table"
37: "local37" 37: "c"
client!qi.a (I)V: client!qi.a (I)V:
owner: "Static30" owner: "Static30"
name: "method420" name: "method420"
@ -42448,18 +42448,18 @@ methods:
34: "local34" 34: "local34"
85: "local85" 85: "local85"
client!ub.a (I[BZI)Ljava/lang/String;: client!ub.a (I[BZI)Ljava/lang/String;:
owner: "Static34" owner: "Cp1252Charset"
name: "method4271" name: "decodeString"
arguments: arguments:
0: "arg0" 1: "bytes"
1: "arg1" 0: "off"
3: "arg2" 3: "len"
locals: locals:
8: "local8" 8: "out"
14: "local14" 14: "outLen"
16: "local16" 16: "i"
32: "local32" 32: "codepoint"
49: "local49" 49: "c"
client!ub.a (Z)V: client!ub.a (Z)V:
owner: "Static34" owner: "Static34"
name: "method4270" name: "method4270"

Loading…
Cancel
Save