Refactor the Base37 encoding/decoding methods

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 4f18ca0947
commit cceaf59d3c
  1. 50
      share/deob/map/client.yaml

@ -5205,8 +5205,8 @@ fields:
owner: "Static4" owner: "Static4"
name: "anInt3123" name: "anInt3123"
client!lf.cb [C: client!lf.cb [C:
owner: "Static4" owner: "Base37"
name: "aCharArray1" name: "BASE37_TABLE"
client!lf.db [I: client!lf.db [I:
owner: "Static4" owner: "Static4"
name: "anIntArray294" name: "anIntArray294"
@ -22370,15 +22370,15 @@ methods:
7: "arg6" 7: "arg6"
locals: {} locals: {}
client!hi.a (ILjava/lang/String;)J: client!hi.a (ILjava/lang/String;)J:
owner: "Static18" owner: "Base37"
name: "method1746" name: "encode"
arguments: arguments:
1: "arg0" 1: "in"
locals: locals:
3: "local3" 3: "out"
15: "local15" 15: "len"
17: "local17" 17: "i"
32: "local32" 32: "c"
client!hi.a (Lclient!fd;BI)V: client!hi.a (Lclient!fd;BI)V:
owner: "Class79" owner: "Class79"
name: "method1743" name: "method1743"
@ -35472,17 +35472,17 @@ methods:
55: "local55" 55: "local55"
66: "local66" 66: "local66"
client!pn.a (ZJ)Ljava/lang/String;: client!pn.a (ZJ)Ljava/lang/String;:
owner: "Static29" owner: "Base37"
name: "method3477" name: "decodeTitleCase"
arguments: arguments:
1: "arg0" 1: "in"
locals: locals:
45: "local45" 45: "len"
47: "local47" 47: "temp"
63: "local63" 63: "out"
71: "local71" 71: "prev"
85: "local85" 85: "c"
95: "local95" 95: "i"
client!po.<init> (I)V: client!po.<init> (I)V:
owner: "Class138" owner: "Class138"
name: "<init>" name: "<init>"
@ -42991,15 +42991,15 @@ methods:
locals: locals:
6: "local6" 6: "local6"
client!ug.a (IJ)Ljava/lang/String;: client!ug.a (IJ)Ljava/lang/String;:
owner: "Static35" owner: "Base37"
name: "method4319" name: "decodeLowerCase"
arguments: arguments:
1: "arg0" 1: "in"
locals: locals:
31: "local31" 31: "len"
33: "local33" 33: "temp"
49: "local49" 49: "out"
57: "local57" 57: "prev"
client!ug.b (B)Lclient!mb;: client!ug.b (B)Lclient!mb;:
owner: "Class172" owner: "Class172"
name: "method4320" name: "method4320"

Loading…
Cancel
Save