INNER CODE UNIT · Kotlin

Patch

NexAlloy/NexAlloy · app/src/main/java/io/github/nexalloy/PatchExecutor.kt:52

class Patch(
    val name: String,
    val description: String,
    val use: Boolean,
    val run: PatchExecutor.() -> Unit
)

abstract class IHook(val xposed: XposedInterface) : XposedInterface by xposed {
    abstract val classLoader: ClassLoader

    fun DexMethod.hookMethod(callback: XC_MethodHook) {
        toMember().hookMethod(callback)
    }

    fun DexMethod.hookMethod(block: HookDsl<IHookCallback>.() -> Unit) {
        toMember().hookMethod(block)
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…