diff --git a/app/src/main/kotlin/cn/xihan/qdds/AdvManage.kt b/app/src/main/kotlin/cn/xihan/qdds/AdvManage.kt index 85badbe..8b9f9f5 100644 --- a/app/src/main/kotlin/cn/xihan/qdds/AdvManage.kt +++ b/app/src/main/kotlin/cn/xihan/qdds/AdvManage.kt @@ -342,7 +342,7 @@ fun PackageParam.disableReadPageFloatAd(versionCode: Int) { in 916..924 -> "h1" in 932..944 -> "B0" in 950..958 -> "t1" - in 970..980 -> "s1" + in 970..994 -> "s1" else -> null } hookMethodName?.let { @@ -398,7 +398,7 @@ fun PackageParam.disableReadPageRewardTheater(versionCode: Int) { */ fun PackageParam.disableReadPageNewestPageWindowBannerAd(versionCode: Int) { when (versionCode) { - in 896..980 -> { + in 896..994 -> { findClass("com.qidian.QDReader.bll.manager.QDBKTManager").hook { injectMember { method { @@ -622,17 +622,17 @@ fun PackageParam.disableUpdate(versionCode: Int) { 884 -> "com.qidian.QDReader.util.k5" in 890..900 -> "com.qidian.QDReader.util.l5" in 906..970 -> "com.qidian.QDReader.util.m5" - 980 -> "com.qidian.QDReader.util.k5" + in 980..994 -> "com.qidian.QDReader.util.k5" else -> null }, "needHookMethod" to when (versionCode) { in 758..878 -> "b" - in 884..980 -> "judian" + in 884..994 -> "judian" else -> null }, "needHookMethod2" to when (versionCode) { in 758..878 -> "a" - in 884..980 -> "search" + in 884..994 -> "search" else -> null } ) @@ -754,6 +754,7 @@ fun PackageParam.disableUpdate(versionCode: Int) { val needHookClass2 = when (versionCode) { 970 -> "r4.d" 980 -> "s4.f" + 994 -> "s4.d" else -> null } needHookClass2?.hook { diff --git a/app/src/main/kotlin/cn/xihan/qdds/HookEntry.kt b/app/src/main/kotlin/cn/xihan/qdds/HookEntry.kt index 406d501..f6ff371 100644 --- a/app/src/main/kotlin/cn/xihan/qdds/HookEntry.kt +++ b/app/src/main/kotlin/cn/xihan/qdds/HookEntry.kt @@ -236,6 +236,51 @@ class HookEntry : IYukiHookXposedInit { */ +// findMethodAndPrint("kc.search") +// +// findMethodAndPrint("kc.cihai") + + +// findMethodAndPrint("com.qidian.QDReader.ui.widget.maintab.PagerSlidingTabStrip", true) + + /* + findClass("com.qidian.QDReader.ui.widget.maintab.PagerSlidingTabStrip").hook { + injectMember { + method { + name = "x" + paramCount(3) + returnType = UnitType + } + intercept() + } + } + + */ + + /* + findClass("com.qidian.QDReader.ui.activity.MainGroupActivity").hook { + injectMember { + method { + name = "checkOpenView" + param(IntentClass) + returnType = UnitType + } + intercept() + /* + beforeHook { + val intent = args[0] as? Intent ?: return@beforeHook + val i = intent.getIntExtra("MainScreen", -1) + if (i == 0 || i == -1) return@beforeHook + intent.extras?.putInt("MainScreen", 0) + args(0).set(intent) + } + + */ + } + } + + */ + } } @@ -844,10 +889,10 @@ fun PackageParam.newAutoSignIn(versionCode: Int) { } } - in 842..980 -> { + in 842..994 -> { val needHookMethod = when (versionCode) { in 842..878 -> "E" - in 884..980 -> "B" + in 884..994 -> "B" else -> null } if (needHookMethod != null) { @@ -900,8 +945,6 @@ fun PackageParam.newAutoSignIn(versionCode: Int) { */ } } - }.onHookClassNotFoundFailure { - "新版书架自动签到".printlnNotSupportVersion(versionCode) } @@ -967,7 +1010,7 @@ fun PackageParam.newOldLayout( in 932..944 -> "d0" in 950..958 -> "e0" 970 -> "f0" - 980 -> "i0" + in 980..994 -> "i0" else -> null } ) @@ -1383,7 +1426,7 @@ fun PackageParam.freeAdReward(versionCode: Int) { } } - in 896..980 -> { + in 896..994 -> { /** * showRewardVideo * preloadRewardVideo @@ -1457,7 +1500,7 @@ fun PackageParam.ignoreFreeSubscribeLimit(versionCode: Int) { 924 -> "com.qidian.QDReader.component.bll.manager.a1" in 932..944 -> "com.qidian.QDReader.component.bll.manager.c1" 950 -> "com.qidian.QDReader.component.bll.manager.b1" - in 958..980 -> "com.qidian.QDReader.component.bll.manager.d1" + in 958..994 -> "com.qidian.QDReader.component.bll.manager.d1" else -> null }, "needHookMethod" to when (versionCode) { @@ -1466,7 +1509,7 @@ fun PackageParam.ignoreFreeSubscribeLimit(versionCode: Int) { in 896..924 -> "l0" in 932..938 -> "p0" in 944..958 -> "q0" - in 970..980 -> "r0" + in 970..994 -> "r0" else -> null } ) @@ -1502,7 +1545,7 @@ fun PackageParam.ignoreFreeSubscribeLimit(versionCode: Int) { */ fun PackageParam.exportEmoji(versionCode: Int) { when (versionCode) { - in 884..980 -> { + in 884..994 -> { findClass("com.qidian.QDReader.ui.activity.QDStickersDetailActivity").hook { injectMember { method { @@ -1540,6 +1583,7 @@ fun PackageParam.exportEmoji(versionCode: Int) { 958 -> 0x7F0918A8 970 -> 0x7F091931 980 -> 0x7F091970 + 994 -> 0x7F09199A else -> null } if (topBarId != null) { @@ -1623,7 +1667,7 @@ fun PackageParam.forceTrialMode(versionCode: Int) { val needHookClass = when (versionCode) { in 896..900 -> "com.qidian.QDReader.util.v4" in 906..970 -> "com.qidian.QDReader.util.w4" - 980 -> "com.qidian.QDReader.util.u4" + in 980..994 -> "com.qidian.QDReader.util.u4" else -> null } @@ -1633,7 +1677,7 @@ fun PackageParam.forceTrialMode(versionCode: Int) { */ val needHookMethod = when (versionCode) { in 896..970 -> "M" - 980 -> "L" + in 980..994 -> "L" else -> null } @@ -1730,7 +1774,7 @@ fun PackageParam.hideWelfare(versionCode: Int) { */ fun PackageParam.receiveReadingCreditsAutomatically(versionCode: Int) { when (versionCode) { - in 970..980 -> { + in 970..994 -> { /** * 自动领取今日阅读时长积分 */ @@ -1870,10 +1914,11 @@ fun PackageParam.postToShowImageUrl(versionCode: Int) { val needHookClass = when (versionCode) { 970 -> "com.qidian.QDReader.ui.dialog.h9" 980 -> "com.qidian.QDReader.ui.dialog.i9" + 994 -> "com.qidian.QDReader.ui.dialog.k9" else -> null } val needHookMethod = when (versionCode) { - in 970..980 -> "p" + in 970..994 -> "p" else -> null } if (needHookClass == null || needHookMethod == null) { diff --git a/app/src/main/kotlin/cn/xihan/qdds/Intercept.kt b/app/src/main/kotlin/cn/xihan/qdds/Intercept.kt index 4444e82..009d5fe 100644 --- a/app/src/main/kotlin/cn/xihan/qdds/Intercept.kt +++ b/app/src/main/kotlin/cn/xihan/qdds/Intercept.kt @@ -84,14 +84,14 @@ fun PackageParam.interceptAgreePrivacyPolicy(version: Int) { 884 -> "com.qidian.QDReader.util.u4" in 890..900 -> "com.qidian.QDReader.util.v4" in 906..970 -> "com.qidian.QDReader.util.w4" - 980 -> "com.qidian.QDReader.util.u4" + in 980..994 -> "com.qidian.QDReader.util.u4" else -> null } val needHookMethod = when (version) { in 868..872 -> "k0" 878 -> "l0" in 884..958 -> "i0" - in 970..980 -> "j0" + in 970..994 -> "j0" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -117,12 +117,12 @@ fun PackageParam.interceptAgreePrivacyPolicy(version: Int) { fun PackageParam.interceptWebSocket(version: Int) { val needHookClass = when (version) { in 868..878 -> "com.qidian.QDReader.component.msg.c" - in 884..980 -> "com.qidian.QDReader.component.msg.cihai" + in 884..994 -> "com.qidian.QDReader.component.msg.cihai" else -> null } val needHookMethod = when (version) { in 868..878 -> "r" - in 884..980 -> "o" + in 884..994 -> "o" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -177,11 +177,11 @@ fun PackageParam.interceptSplashAdActivity(version: Int) { in 944..950 -> "m6.search" 958 -> "k6.search" 970 -> "j6.search" - 980 -> "d6.search" + in 980..994 -> "d6.search" else -> null } val needHookMethod = when (version) { - in 884..980 -> "b" + in 884..994 -> "b" else -> null } @@ -250,7 +250,6 @@ fun PackageParam.interceptPostImageWatermark(versionCode: Int) { /** * 拦截异步初始化任务 * @param version 版本号 - * @param substring 0:标题 1:拦截的类名 */ fun PackageParam.interceptAsyncInitTask( version: Int, diff --git a/app/src/main/kotlin/cn/xihan/qdds/ReadPage.kt b/app/src/main/kotlin/cn/xihan/qdds/ReadPage.kt index 2720760..2c10cca 100644 --- a/app/src/main/kotlin/cn/xihan/qdds/ReadPage.kt +++ b/app/src/main/kotlin/cn/xihan/qdds/ReadPage.kt @@ -35,12 +35,12 @@ fun PackageParam.customReadBackgroundPath(versionCode: Int) { in 944..950 -> "a6.c" 958 -> "y5.c" 970 -> "w5.c" - 980 -> "kc.a" + in 980..994 -> "kc.a" else -> null } val needHookMethod = when (versionCode) { in 827..878 -> "G" - in 884..980 -> "C" + in 884..994 -> "C" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -55,7 +55,7 @@ fun PackageParam.customReadBackgroundPath(versionCode: Int) { paramCount(1) returnType = StringClass } - replaceTo("${Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)}/QDReader/ReaderTheme/") + replaceTo(themePath) } } } @@ -96,20 +96,24 @@ fun PackageParam.readerPageChapterReviewPictures( in 890..944 -> "com.qidian.QDReader.ui.viewholder.chaptercomment.list.e0" 950 -> "com.qidian.QDReader.ui.viewholder.chaptercomment.list.m0" in 958..980 -> "com.qidian.QDReader.ui.viewholder.chaptercomment.list.e0" + 994 -> "com.qidian.QDReader.ui.viewholder.chaptercomment.list.l0" else -> null } val needHookMethod = when (versionCode) { in 868..878 -> "A" 884 -> "x" in 890..980 -> "z" + 994 -> "K" else -> null } val needHookClass2 = when (versionCode) { in 970..980 -> "com.qidian.QDReader.ui.viewholder.chaptercomment.list.m0" + 994 -> "com.qidian.QDReader.ui.viewholder.chaptercomment.list.t0" else -> null } val needHookMethod2 = when (versionCode) { in 970..980 -> "z" + 994 -> "I" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -242,9 +246,9 @@ fun PackageParam.readerPageChapterReviewPictures( } } - if (enableShowReaderPageChapterSaveAudioDialog && versionCode in 890..980) { + if (enableShowReaderPageChapterSaveAudioDialog && versionCode in 890..994) { when (versionCode) { - in 890..980 -> { + in 890..994 -> { findClass("com.qidian.QDReader.ui.view.chapter_review.VoicePlayerView").hook { injectMember { method { @@ -300,11 +304,12 @@ fun PackageParam.readTimeDouble( 958 -> "rf.search" 970 -> "tf.search" 980 -> "xg.search" + 994 -> "yg.search" else -> null } val needHookMethod = when (versionCode) { in 868..878 -> "d" - in 884..980 -> "a" + in 884..994 -> "a" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -425,11 +430,11 @@ fun PackageParam.readBookLastPage( hideAdView: Boolean = false ) { val needHookClass = when (versionCode) { - in 896..980 -> "com.qidian.QDReader.ui.view.lastpage.LastPageRoleView" + in 896..994 -> "com.qidian.QDReader.ui.view.lastpage.LastPageRoleView" else -> null } val needHookMethod = when (versionCode) { - in 896..980 -> "l" + in 896..994 -> "l" else -> null } needHookClass?.hook { @@ -457,12 +462,12 @@ fun PackageParam.readBookLastPage( } val needHookClass2 = when (versionCode) { - in 896..980 -> "com.qidian.QDReader.ui.view.lastpage.LastPageCircleView" + in 896..994 -> "com.qidian.QDReader.ui.view.lastpage.LastPageCircleView" else -> null } val needHookMethod2 = when (versionCode) { in 896..900 -> "f" - in 906..980 -> "g" + in 906..994 -> "g" else -> null } @@ -491,11 +496,11 @@ fun PackageParam.readBookLastPage( } val needHookClass3 = when (versionCode) { - in 896..980 -> "com.qidian.QDReader.ui.view.lastpage.LastPageTryReadViewWrap" + in 896..994 -> "com.qidian.QDReader.ui.view.lastpage.LastPageTryReadViewWrap" else -> null } val needHookMethod3 = when (versionCode) { - in 896..980 -> "bind" + in 896..994 -> "bind" else -> null } needHookClass3?.hook { diff --git a/app/src/main/kotlin/cn/xihan/qdds/Shield.kt b/app/src/main/kotlin/cn/xihan/qdds/Shield.kt index da5e186..c9c62b6 100644 --- a/app/src/main/kotlin/cn/xihan/qdds/Shield.kt +++ b/app/src/main/kotlin/cn/xihan/qdds/Shield.kt @@ -69,13 +69,13 @@ fun PackageParam.shieldDailyReading( in 860..878 -> "com.qidian.QDReader.component.api.k1" in 884..890 -> "com.qidian.QDReader.component.api.h1" in 896..970 -> "com.qidian.QDReader.component.api.i1" - 980 -> "com.qidian.QDReader.component.api.j1" + in 980..994 -> "com.qidian.QDReader.component.api.j1" else -> null } val needHookMethod = when (versionCode) { in 788..812 -> "j" in 827..878 -> "k" - in 884..980 -> "h" + in 884..994 -> "h" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -208,7 +208,7 @@ fun PackageParam.shieldCategory(versionCode: Int) { } } - in 827..980 -> { + in 827..994 -> { val needHookClass = when (versionCode) { 827 -> "com.qidian.QDReader.ui.adapter.x6" 834 -> "com.qidian.QDReader.ui.adapter.y6" @@ -218,12 +218,12 @@ fun PackageParam.shieldCategory(versionCode: Int) { in 896..924 -> "com.qidian.QDReader.ui.adapter.v6" in 932..958 -> "com.qidian.QDReader.ui.adapter.x6" 970 -> "com.qidian.QDReader.ui.adapter.a7" - 980 -> "com.qidian.QDReader.ui.adapter.z6" + in 980..994 -> "com.qidian.QDReader.ui.adapter.z6" else -> null } val needHookMethod = when (versionCode) { in 827..878 -> "r" - in 884..980 -> "o" + in 884..994 -> "o" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -311,12 +311,12 @@ fun PackageParam.shieldFreeRecommend(versionCode: Int) { 950 -> "ma.search" 958 -> "ja.search" 970 -> "ia.search" - 980 -> "cb.search" + in 980..994 -> "cb.search" else -> null } val freeRecommendHookMethod = when (versionCode) { in 788..878 -> "n" - in 884..980 -> "k" + in 884..994 -> "k" else -> null } if (freeRecommendHookClass == null || freeRecommendHookMethod == null) { @@ -655,7 +655,7 @@ fun PackageParam.shieldHotAndRecommend(versionCode: Int) { in 842..860 -> "com.qidian.QDReader.ui.adapter.t" in 868..878 -> "com.qidian.QDReader.ui.adapter.u" in 884..970 -> "com.qidian.QDReader.ui.adapter.r" - 980 -> "com.qidian.QDReader.ui.adapter.q" + in 980..994 -> "com.qidian.QDReader.ui.adapter.q" else -> null } needHookClass?.hook { @@ -775,7 +775,7 @@ fun PackageParam.shieldNewBookAndRecommend(versionCode: Int) { } } - in 804..980 -> { + in 804..994 -> { /** *上级调用:com.qidian.QDReader.ui.fragment.SanJiangPagerFragment mAdapter */ @@ -789,12 +789,12 @@ fun PackageParam.shieldNewBookAndRecommend(versionCode: Int) { in 896..924 -> "com.qidian.QDReader.ui.adapter.mb" in 932..958 -> "com.qidian.QDReader.ui.adapter.rb" 970 -> "com.qidian.QDReader.ui.adapter.ub" - 980 -> "com.qidian.QDReader.ui.adapter.tb" + in 980..994 -> "com.qidian.QDReader.ui.adapter.tb" else -> null } val needHookMethod = when (versionCode) { in 804..878 -> "q" - in 884..980 -> "n" + in 884..994 -> "n" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -968,7 +968,7 @@ fun PackageParam.shieldCategoryAllBook(versionCode: Int) { fun PackageParam.shieldCategoryBookListReborn(versionCode: Int) { val needHookMethodName = when (versionCode) { in 950..958 -> "o0" - in 970..980 -> "n0" + in 970..994 -> "n0" else -> null } needHookMethodName?.let { @@ -1051,12 +1051,12 @@ fun PackageParam.shieldSearch( 944 -> "m9.a" 950 -> "n9.a" in 958..970 -> "l9.a" - 980 -> "ea.a" + in 980..994 -> "ea.a" else -> null } val needHookMethod = when (versionCode) { in 788..878 -> "o" - in 884..980 -> "l" + in 884..994 -> "l" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -1197,12 +1197,12 @@ fun PackageParam.shieldComicOther(versionCode: Int) { in 842..860 -> "com.qidian.QDReader.ui.adapter.d2" in 868..878 -> "com.qidian.QDReader.ui.adapter.e2" in 884..970 -> "com.qidian.QDReader.ui.adapter.b2" - 980 -> "com.qidian.QDReader.ui.adapter.a2" + in 980..994 -> "com.qidian.QDReader.ui.adapter.a2" else -> null } val needHookMethod = when (versionCode) { in 812..878 -> "q" - in 884..980 -> "n" + in 884..994 -> "n" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -1217,9 +1217,9 @@ fun PackageParam.shieldComicOther(versionCode: Int) { returnType = UnitType } afterHook { - val b = instance.getParam>("b") - b?.let { - HookEntry.parseNeedShieldComicList(b) + val list = instance.getParamList?>() + if (list.isNotEmpty()){ + HookEntry.parseNeedShieldComicList(list) } } } @@ -1245,6 +1245,7 @@ fun PackageParam.quickShield(versionCode: Int) { 958 -> 0x7F09199F 970 -> 0x7F091A30 980 -> 0x7F091A6E + 994 -> 0x7F091A9A else -> null } @@ -1263,6 +1264,7 @@ fun PackageParam.quickShield(versionCode: Int) { 958 -> 0x7F091955 970 -> 0x7F0919E5 980 -> 0x7F091A23 + 994 -> 0x7F091A4E else -> null } if (tvBookNameId == null || tvAuthorNameId == null) { diff --git a/app/src/main/kotlin/cn/xihan/qdds/StartImage.kt b/app/src/main/kotlin/cn/xihan/qdds/StartImage.kt index 97dbb80..e2760b3 100644 --- a/app/src/main/kotlin/cn/xihan/qdds/StartImage.kt +++ b/app/src/main/kotlin/cn/xihan/qdds/StartImage.kt @@ -152,7 +152,7 @@ fun PackageParam.captureTheOfficialLaunchMapList(versionCode: Int) { */ fun PackageParam.customLocalStartImage(versionCode: Int) { when (versionCode) { - in 944..980 -> { + in 944..994 -> { val list = listOf( "com.qidian.QDReader.ui.activity.SplashActivity\$judian", "com.qidian.QDReader.ui.activity.SplashActivity\$cihai" diff --git a/app/src/main/kotlin/cn/xihan/qdds/ViewHide.kt b/app/src/main/kotlin/cn/xihan/qdds/ViewHide.kt index c476423..dbd8433 100644 --- a/app/src/main/kotlin/cn/xihan/qdds/ViewHide.kt +++ b/app/src/main/kotlin/cn/xihan/qdds/ViewHide.kt @@ -353,7 +353,7 @@ fun PackageParam.hideBookshelfDailyReading(versionCode: Int) { in 827..860 -> "com.qidian.QDReader.ui.adapter.i0" in 868..878 -> "com.qidian.QDReader.ui.adapter.j0" in 884..970 -> "com.qidian.QDReader.ui.adapter.g0" - 980 -> "com.qidian.QDReader.ui.adapter.f0" + in 980..994 -> "com.qidian.QDReader.ui.adapter.f0" else -> null } val listAdapterClass = when (versionCode) { @@ -361,7 +361,7 @@ fun PackageParam.hideBookshelfDailyReading(versionCode: Int) { in 827..860 -> "com.qidian.QDReader.ui.adapter.k0" in 868..878 -> "com.qidian.QDReader.ui.adapter.l0" in 884..970 -> "com.qidian.QDReader.ui.adapter.i0" - 980 -> "com.qidian.QDReader.ui.adapter.h0" + in 980..994 -> "com.qidian.QDReader.ui.adapter.h0" else -> null } if (gridAdapterClass == null || listAdapterClass == null) { @@ -409,13 +409,13 @@ fun PackageParam.hideBookshelfDailyReading(versionCode: Int) { */ fun PackageParam.hideBookshelfFindBook(versionCode: Int) { when (versionCode) { - in 868..980 -> { + in 868..994 -> { /** * QDBookShelfBrowserRecordHolder */ val needHookClass = when (versionCode) { in 868..878 -> "com.qidian.QDReader.ui.viewholder.bookshelf.r" - in 884..980 -> "com.qidian.QDReader.ui.viewholder.bookshelf.o" + in 884..994 -> "com.qidian.QDReader.ui.viewholder.bookshelf.o" else -> null } needHookClass?.hook { @@ -479,7 +479,7 @@ fun PackageParam.hideBottomRedDot(versionCode: Int) { val needHookClass = when (versionCode) { in 758..768 -> "com.qidian.QDReader.ui.widget.maintab.a" in 772..878 -> "com.qidian.QDReader.ui.widget.maintab.e" - in 884..980 -> "com.qidian.QDReader.ui.widget.maintab.b" + in 884..994 -> "com.qidian.QDReader.ui.widget.maintab.b" else -> null } val needHookMethod = when (versionCode) { @@ -490,6 +490,7 @@ fun PackageParam.hideBottomRedDot(versionCode: Int) { in 916..924 -> "h" in 932..958 -> "e" in 970..980 -> "g" + 994 -> "h" else -> null } if (needHookClass == null || needHookMethod == null) { @@ -516,6 +517,7 @@ fun PackageParam.hideBottomNavigation(versionCode: Int) { in 872..878 -> "s" in 884..958 -> "p" in 970..980 -> "s" + 994 -> "t" else -> null } if (needHookMethod == null) { @@ -524,7 +526,7 @@ fun PackageParam.hideBottomNavigation(versionCode: Int) { } when (versionCode) { - in 827..980 -> { + in 827..994 -> { findClass("com.qidian.QDReader.ui.widget.maintab.PagerSlidingTabStrip").hook { injectMember { method { @@ -1029,6 +1031,7 @@ fun PackageParam.removeQSNYDialog(versionCode: Int) { in 906..924 -> "com.qidian.QDReader.bll.helper.n1" in 932..970 -> "com.qidian.QDReader.bll.helper.m0" 980 -> "com.qidian.QDReader.bll.helper.l0" + 994 -> "com.qidian.QDReader.bll.helper.n0" else -> null } needHookClass?.hook { @@ -1222,7 +1225,7 @@ fun PackageParam.bookDetailHide( } } - in 827..980 -> { + in 827..994 -> { findClass("com.qidian.QDReader.ui.activity.QDBookDetailActivity").hook { injectMember { method { @@ -1329,6 +1332,7 @@ fun PackageParam.bookDetailHide( 958 -> 0x7F091A12 970 -> 0x7F091AA5 980 -> 0x7F091AE5 + 994 -> 0x7F091B11 else -> null } if (tvCircleMarkLevelId != null) { @@ -1353,7 +1357,7 @@ fun PackageParam.bookDetailHide( */ val bookFansModuleNeedHookMethod = when (versionCode) { in 827..878 -> "d" - in 884..980 -> "a" + in 884..994 -> "a" else -> null } if (bookFansModuleNeedHookMethod == null) { @@ -1451,7 +1455,7 @@ fun PackageParam.comicHideBannerAd(versionCode: Int) { 950 -> "pa.d" 958 -> "ma.d" 970 -> "la.d" - 980 -> "fb.d" + in 980..994 -> "fb.d" else -> null } needHookClass?.hook {