Hook

Namespace: SharpPluginLoader.Core.Memory

public static class Hook

Inheritance ObjectHook

Methods

Create<TFunction>(Int64, TFunction)

Creates a new native function hook.

public static Hook<TFunction> Create<TFunction>(long address, TFunction hook)

Type Parameters

TFunction
The type of the function to hook

Parameters

address Int64
The address of the function to hook

hook TFunction
The hook function

Returns

Hook<TFunction>
The hook object