Aliases
restorefuncrestoreclosure
Arguments
function
required
With one argument, the hooked function to restore. With two function arguments, the function to replace.
function
Optional closure to patch with firstFunction. This branch is used only when the second argument is a function.