Skip to content

Commit

Permalink
fix boom 1
Browse files Browse the repository at this point in the history
  • Loading branch information
lingqiqi5211 committed May 25, 2024
1 parent d11fd91 commit de80461
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ object BatteryHealth : BaseHook() {
}
}
}
}.single().getInstance(EzXHelper.safeClassLoader)
}.toClass()
}.first().getInstance(EzXHelper.safeClassLoader)
}
}

private lateinit var gff: Any
Expand All @@ -61,7 +61,7 @@ object BatteryHealth : BaseHook() {
)

findAndHookMethod(
cc.name,
cc.toClass(),
"handleMessage",
Message::class.java,
object : XC_MethodHook() {
Expand Down

0 comments on commit de80461

Please sign in to comment.