createReturnConstantHook

fun Method.createReturnConstantHook(value: Any?): XC_MethodHook.Unhook

Method 直接返回固定值。

Parameters

value

要直接返回给调用方的值