Address of function to replace, optionally wrapped together with instrumentation options.
Replacement implementation.
Optionaldata: NativePointerValueUser data exposed to native replacement through the
GumInvocationContext *, obtained using
gum_interceptor_get_current_invocation().
Replaces function at
targetwith implementation atreplacement.May be implemented using e.g.
NativeCallbackorCModule.You may call the original implementation by calling
targetfrom within your implementation. Interceptor uses thread-local state to determine that it should call the original in that case.The
targetmay be specified either as a bare address, or as an object carrying the address alongside instrumentation options such as which scratch register to use.