sgs_SetHookFunc [function]
void sgs_SetHookFunc( sgs_Context* C, sgs_HookFunc func, void* ctx )
Sets the hook function and user data pointer.
- Hook function is called on function entry, exit and instruction change events.
- Setting a new hook function disables the one that was set before (if any).