A hook runs a function the game exports with a native handler of the runtime's instead of its recompiled code. The handlers are accelerators: each does what its function is known to do from reading the function's code, on the guest's own data as the function would leave it. They never copy or reference the SDK. A hook is installed when the game starts, so changing a handler needs no recompile. A hook of a new symbol needs one for the direct calls to its function (below).
Made from docs/platforms/nx/hooks.md at 69237645142c. GPL-3.0-or-later.