Skip to content

Commit 4a87c09

Browse files
committed
fix:适配微信6.7.2
1 parent 1c9a716 commit 4a87c09

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/src/main/java/com/coderpig/cpwechatxposed/hook/EmojiGameHook.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import de.robv.android.xposed.callbacks.XC_LoadPackage
1313
*/
1414
object EmojiGameHook {
1515
fun hook(lpparam: XC_LoadPackage.LoadPackageParam) {
16-
val clazz = XposedHelpers.findClass("com.tencent.mm.sdk.platformtools.bi", lpparam.classLoader)
17-
XposedHelpers.findAndHookMethod(clazz, "eF", Int::class.java, Int::class.java, object : XC_MethodHook() {
16+
val clazz = XposedHelpers.findClass("com.tencent.mm.sdk.platformtools.bj", lpparam.classLoader)
17+
XposedHelpers.findAndHookMethod(clazz, "eV", Int::class.java, Int::class.java, object : XC_MethodHook() {
1818
override fun afterHookedMethod(param: MethodHookParam) {
1919
xsp.reload()
2020
if (param.args[0] == 2 && xsp.getBoolean(Constants.IS_CQ_OPEN, false))

app/src/main/java/com/coderpig/cpwechatxposed/hook/RevokeMsgHook.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ object RevokeMsgHook {
7171
})
7272

7373
// Hook 插入信息的方法
74-
val cla = XposedHelpers.findClass("com.tencent.mm.storage.be",lpparam.classLoader)
74+
val cla = XposedHelpers.findClass("com.tencent.mm.storage.bh",lpparam.classLoader)
7575
XposedBridge.hookAllMethods(cla, "b",object : XC_MethodHook() {
7676
override fun afterHookedMethod(param: MethodHookParam) {
7777
insertAny = param.thisObject

0 commit comments

Comments
 (0)