createConstructorHooks
fun createConstructorHooks(constructors: Iterable<Constructor<*>>, callback: IMethodHook): List<XposedInterface.HookHandle>
为构造器列表批量创建普通 hook。
Parameters
constructors
目标构造器列表
callback
before / after 回调
fun createConstructorHooks(constructors: Iterable<Constructor<*>>, callback: IReplaceHook): List<XposedInterface.HookHandle>
为构造器列表批量创建替换 hook。
Parameters
constructors
目标构造器列表
callback
replace 回调,返回值会作为原构造器结果