Alias
hookfunc
replaceclosure
detourfunction
detour_function
Argumentos
Function que se va a patch. Pasar una non-function genera un type error.
Function cuya function se install o se map sobre target. Pasar una non-function genera un type error.
Retornos
Cloned copy de la original target closure creada antes de instalar el hook.
Ejemplo
Patch a function closure and keep a cloned original.