We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b812bcc commit 8b6431cCopy full SHA for 8b6431c
app/src/main/java/me/iacn/biliroaming/hook/PegasusHook.kt
@@ -722,8 +722,8 @@ class PegasusHook(classLoader: ClassLoader) : BaseHook(classLoader) {
722
}
723
724
725
- "com.bilibili.pegasus.ext.threepoint.ThreePointKt".findClass(mClassLoader)
726
- .declaredMethods.find { it.parameterTypes.size == 8 }
+ "com.bilibili.pegasus.ext.threepoint.ThreePointKt".findClassOrNull(mClassLoader)
+ ?.declaredMethods?.find { it.parameterTypes.size == 8 }
727
?.hookBeforeMethod {
728
if (hookDislikeReason(it.args[3])) {
729
it.result = null
0 commit comments