diff --git a/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt b/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt index 349e4ae..20e2dee 100644 --- a/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt +++ b/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt @@ -86,30 +86,4 @@ class AppLoadImpl : IAppLoader { } } } - - /*fun noAd(appParam: AppParam) { - try { - MapleUtils.findAndHookMethod( - "xyz.fycz.myreader.util.utils.AdUtils", - appParam.classLoader, - "checkHasAd", - Boolean::class.java, - Boolean::class.java, - object : MethodReplacement() { - override fun replaceHookedMethod(param: MapleBridge.MethodHookParam): Any? { - val just = MapleUtils.findMethodExact( - "io.reactivex.Single", - appParam.classLoader, - "just", - Any::class.java - ) - return just.invoke(null, false) - } - } - ) - } catch (e: Exception) { - e.printStackTrace() - MapleUtils.log(e) - } - }*/ } \ No newline at end of file