> For the complete documentation index, see [llms.txt](https://fluxusrbx.gitbook.io/fluxus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fluxusrbx.gitbook.io/fluxus/hooking.md).

# Hooking

## \<function> hookfunction(\<function> old, \<function> new, \<bool?> ignore\_sizecheck = false)

{% hint style="danger" %}
Having ignore\_sizecheck to true can cause instability and is not recommended.&#x20;
{% endhint %}

Hooks old with new. The return value is old backed up.

## \<function> newcclosure(\<function> old)

{% hint style="danger" %}
Yielding is not supported on newcclosure.
{% endhint %}

Makes an LClosure into a CClosure.
