function to execute patched function and being able to catch errors
function to be executed
callback to run when execute finishes
Optional
function to execute patched function and being able to catch errors