Skip to content

微信6.6.6、6.6.7运行出错,不知道怎么排除。 #7

Description

@zmrbak

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()
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions