Rename hook_func to hook_func_in

This is to prepare for hook_func_out.