[−][src]Type Definition ilhook::x86::JmpToAddrRoutine
type JmpToAddrRoutine = unsafe extern "cdecl" fn(regs: *mut Registers, ori_func_ptr: usize, src_addr: usize);
The routine used in a jmp-addr hook
, which means the EIP will jump to the specified
address after the Routine being run.
Arguments
- regs - The registers
- ori_func_ptr - Original function pointer. Call it after converted to the original function type.
- src_addr - The address that has been hooked