Open zmrbak opened 6 years ago
06-02 11:49:12.703 3077-3077/? I/Xposed: Wechat SpellBook: 1 plugins, 1 hookers. 06-02 11:49:16.962 3077-3114/? E/Xposed: kotlin.KotlinNullPointerException at com.blanke.wechatbotxposed.hook.Classes$NetSceneSendMsg$2.invoke(Classes.kt:21)
// 发送消息的封装类,可以 hook 消息目的地 val NetSceneSendMsg: Class<*> by wxLazy("NetSceneSendMsg") { findClassesFromPackage(wxLoader!!, wxClasses!!, "$wxPackageName.modelmulti") .filterByField("java.util.List") .filterByField("long") .filterByMethod(C.String, C.String, C.Object, C.Int) .filterByMethod(C.Int, "getType") .firstOrNull() }
解决了吗?是这两个的name变了吗
06-02 11:49:12.703 3077-3077/? I/Xposed: Wechat SpellBook: 1 plugins, 1 hookers. 06-02 11:49:16.962 3077-3114/? E/Xposed: kotlin.KotlinNullPointerException at com.blanke.wechatbotxposed.hook.Classes$NetSceneSendMsg$2.invoke(Classes.kt:21)
// 发送消息的封装类,可以 hook 消息目的地 val NetSceneSendMsg: Class<*> by wxLazy("NetSceneSendMsg") { findClassesFromPackage(wxLoader!!, wxClasses!!, "$wxPackageName.modelmulti") .filterByField("java.util.List") .filterByField("long") .filterByMethod(C.String, C.String, C.Object, C.Int) .filterByMethod(C.Int, "getType") .firstOrNull() }