55
66public class ObfuscationHelper {
77
8- private static int sVersionIdx = 0 ;
9-
108 public static class MM_Classes {
11- public static Class <?> PayUI , FetchUI , Payview , WalletBaseUI , PreferenceAdapter ;
9+
10+ public static Class <?> PayUI , FetchUI , PayView , WalletBaseUI , PreferenceAdapter ;
1211
1312 private static void init (int idx , LoadPackageParam lpparam ) throws Throwable {
1413 PayUI = XposedHelpers .findClass ("com.tencent.mm.plugin.wallet.pay.ui." + new String []{
1514 "WalletPayUI" , //6.5.8
1615 "WalletPayUI" , //6.5.10-1080
16+ "WalletPayUI" , //6.5.13-1081
1717 "WalletPayUI" , //6.5.13-1100
1818 }[idx ], lpparam .classLoader );
19- Payview = XposedHelpers .findClass ("com.tencent.mm.plugin.wallet_core.ui." + new String []{
19+ PayView = XposedHelpers .findClass ("com.tencent.mm.plugin.wallet_core.ui." + new String []{
2020 "l" , //6.5.8
2121 "l" , //6.5.10-1080
22- "l" , //6.5.10-1061
22+ "l" , //6.5.13-1081
2323 "l" , //6.5.13-1100
2424 }[idx ], lpparam .classLoader );
2525 FetchUI = XposedHelpers .findClass ("com.tencent.mm.plugin.wallet.balance.ui." + new String []{
2626 "WalletBalanceFetchPwdInputUI" , //6.5.8
2727 "WalletBalanceFetchPwdInputUI" , //6.5.10-1080
28+ "WalletBalanceFetchPwdInputUI" , //6.5.13-1081
2829 "WalletBalanceFetchPwdInputUI" , //6.5.13-1100
2930 }[idx ], lpparam .classLoader );
3031 WalletBaseUI = XposedHelpers .findClass ("com.tencent.mm.wallet_core.ui." + new String []{
3132 "WalletBaseUI" , //6.5.8
3233 "WalletBaseUI" , //6.5.10-1080
34+ "WalletBaseUI" , //6.5.13-1081
3335 "WalletBaseUI" , //6.5.13-1100
3436 }[idx ], lpparam .classLoader );
3537 PreferenceAdapter = XposedHelpers .findClass ("com.tencent.mm.ui.base.preference." + new String []{
3638 "h" , //6.5.8
3739 "h" , //6.5.10-1080
40+ "h" , //6.5.13-1081
3841 "h" , //6.5.13-1100
3942 }[idx ], lpparam .classLoader );
4043 }
@@ -53,36 +56,43 @@ private static void init(int idx) throws Throwable {
5356 PaypwdView = new String []{
5457 "qVO" , //6.5.8
5558 "ryk" , //6.5.10-1080
59+ "rNe" , //6.5.13-1081
5660 "rLB" , //6.5.13-1100
5761 }[idx ];
5862 PaypwdEditText = new String []{
5963 "vyO" , //6.5.8
6064 "wjm" , //6.5.10-1080
65+ "wFP" , //6.5.13-1081
6166 "wDJ" , //6.5.13-1100
6267 }[idx ];
6368 PayInputView = new String []{
6469 "mOL" , //6.5.8
6570 "nnG" , //6.5.10-1080
71+ "npM" , //6.5.13-1081
6672 "nol" , //6.5.13-1100
6773 }[idx ];
6874 PayTitle = new String []{
6975 "qVK" , //6.5.8
7076 "ryg" , //6.5.10-1080
77+ "rMZ" , //6.5.13-1081
7178 "rLw" , //6.5.13-1100
7279 }[idx ];
7380 Passwd_Text = new String []{
7481 "qVK" , //6.5.8
7582 "ryz" , //6.5.10-1080
83+ "rNt" , //6.5.13-1081
7684 "rLQ" , //6.5.13-1100
7785 }[idx ];
7886 PreferenceAdapter_vpQ = new String []{
7987 "uoo" , //6.5.8
8088 "uYA" , //6.5.10-1080
89+ "vrF" , //6.5.13-1081
8190 "vpQ" , //6.5.13-1100
8291 }[idx ];
8392 PreferenceAdapter_vpP = new String []{
8493 "uon" , //6.5.8
8594 "uYz" , //6.5.10-1080
95+ "vrE" , //6.5.13-1081
8696 "vpP" , //6.5.13-1100
8797 }[idx ];
8898 }
@@ -97,16 +107,19 @@ private static void init(int idx) throws Throwable {
97107 Finger_icon = new int []{
98108 2130838280 , //6.5.8
99109 2130838289 , //6.5.10-1080
110+ 2130838298 , //6.5.13-1081
100111 2130838298 , //6.5.13-1100
101112 }[idx ];
102113 Finger_title = new int []{
103114 2131236833 , //6.5.8
104115 2131236918 , //6.5.10-1080
116+ 2131236963 , //6.5.13-1081
105117 2131236964 , //6.5.13-1100
106118 }[idx ];
107119 Passwd_title = new int []{
108120 2131236838 , //6.5.8
109121 2131236923 , //6.5.10-1080
122+ 2131236968 , //6.5.13-1081
110123 2131236969 , //6.5.13-1100
111124 }[idx ];
112125 }
@@ -127,17 +140,17 @@ public static boolean init(int versioncode, String versionName, LoadPackageParam
127140
128141 public static int isSupportedVersion (int versionCode , String versionName ) {
129142 if (versionName .contains ("6.5.8" )) {
130- sVersionIdx = 0 ;
131143 return 0 ;
132144 }
133145 if (versionName .contains ("6.5.10" ) && versionCode == 1080 ) {
134- sVersionIdx = 1 ;
135146 return 1 ;
136147 }
137- if (versionName .contains ("6.5.13" ) && versionCode == 1100 ) {
138- sVersionIdx = 2 ;
148+ if (versionName .contains ("6.5.13" ) && versionCode == 1081 ) {//Play版微信
139149 return 2 ;
140150 }
151+ if (versionName .contains ("6.5.13" ) && versionCode == 1100 ) {
152+ return 3 ;
153+ }
141154 return -1 ;
142155 }
143156}
0 commit comments