Skip to content

Commit

Permalink
更新支持微信6.5.13国内版
Browse files Browse the repository at this point in the history
  • Loading branch information
dss16694 committed Sep 7, 2017
1 parent fd87065 commit d5e785b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.yyxx.wechatfp"
minSdkVersion 14
targetSdkVersion 25
versionCode 5
versionName "1.2.2b1"
versionCode 6
versionName "1.3"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
28 changes: 16 additions & 12 deletions app/src/main/java/com/yyxx/wechatfp/ObfuscationHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ public static class MM_Classes {
public static Class<?> PayUI,FetchUI,Payview,WalletBaseUI;

private static void init(int idx, LoadPackageParam lpparam) throws Throwable {
PayUI = XposedHelpers.findClass("com.tencent.mm.plugin.wallet.pay.ui." + new String[]{"WalletPayUI","WalletPayUI","WalletPayUI"}[idx], lpparam.classLoader);
Payview = XposedHelpers.findClass("com.tencent.mm.plugin.wallet_core.ui." + new String[]{"l","l","l"}[idx], lpparam.classLoader);
FetchUI = XposedHelpers.findClass("com.tencent.mm.plugin.wallet.balance.ui." + new String[]{"WalletBalanceFetchPwdInputUI","WalletBalanceFetchPwdInputUI","WalletBalanceFetchPwdInputUI"}[idx], lpparam.classLoader);
WalletBaseUI = XposedHelpers.findClass("com.tencent.mm.wallet_core.ui." + new String[]{"WalletBaseUI","WalletBaseUI","WalletBaseUI"}[idx], lpparam.classLoader);
PayUI = XposedHelpers.findClass("com.tencent.mm.plugin.wallet.pay.ui." + new String[]{"WalletPayUI","WalletPayUI","WalletPayUI","WalletPayUI"}[idx], lpparam.classLoader);
Payview = XposedHelpers.findClass("com.tencent.mm.plugin.wallet_core.ui." + new String[]{"l","l","l","l"}[idx], lpparam.classLoader);
FetchUI = XposedHelpers.findClass("com.tencent.mm.plugin.wallet.balance.ui." + new String[]{"WalletBalanceFetchPwdInputUI","WalletBalanceFetchPwdInputUI","WalletBalanceFetchPwdInputUI","WalletBalanceFetchPwdInputUI"}[idx], lpparam.classLoader);
WalletBaseUI = XposedHelpers.findClass("com.tencent.mm.wallet_core.ui." + new String[]{"WalletBaseUI","WalletBaseUI","WalletBaseUI","WalletBaseUI"}[idx], lpparam.classLoader);
}
}

Expand All @@ -26,11 +26,11 @@ public static class MM_Fields {
public static String Passwd_Text;

private static void init(int idx) throws Throwable {
PaypwdView = new String[]{"qVO","ryk","ryM"}[idx];
PaypwdEditText = new String[]{"vyO","wjm","wjX"}[idx];
PayInputView = new String[]{"mOL","nnG","nnZ"}[idx];
PayTitle = new String[]{"qVK","ryg","ryI"}[idx];
Passwd_Text = new String[]{"qVK","ryz","rzb"}[idx];
PaypwdView = new String[]{"qVO","ryk","ryM","rLB"}[idx];
PaypwdEditText = new String[]{"vyO","wjm","wjX","wDJ"}[idx];
PayInputView = new String[]{"mOL","nnG","nnZ","nol"}[idx];
PayTitle = new String[]{"qVK","ryg","ryI","rLw"}[idx];
Passwd_Text = new String[]{"qVK","ryz","rzb","rLQ"}[idx];
}
}
public static class MM_Res {
Expand All @@ -39,9 +39,9 @@ public static class MM_Res {
public static int passwd_title;

private static void init(int idx) throws Throwable {
Finger_icon=new int[]{2130838280,2130838289,2130838289}[idx];
Finger_title=new int[]{2131236833,2131236918,2131236918}[idx];
passwd_title=new int[]{2131236838,2131236923,2131236923}[idx];
Finger_icon=new int[]{2130838280,2130838289,2130838289,2130838298}[idx];
Finger_title=new int[]{2131236833,2131236918,2131236918,2131236964}[idx];
passwd_title=new int[]{2131236838,2131236923,2131236923,2131236969}[idx];
}
}

Expand Down Expand Up @@ -72,6 +72,10 @@ public static int isSupportedVersion(int versioncode, String versionName) {
versionint=2;
return 2;
}
if(versionName.contains("6.5.13") && versioncode == 1100){
versionint=3;
return 3;
}
return -1;
}
}

0 comments on commit d5e785b

Please sign in to comment.