Attaches a global router event after the native function on the object has been invoked. Stores the original function at the _name.
The object to patch.
The name of the function to patch.
The event to dispatch after the function is invoked.
Attaches a global router event after the native function on the object has been invoked. Stores the original function at the _name.