Expand description
A set of functions for building hooks out of closures.
§Example
use panda::{hook, prelude::*};
hook::before_block_exec(|_, _, hook| {
println!("hook hit!");
hook.enabled = false;
})
.at_addr(0x5555500ca);For free functions, it may be easier to use #[panda::hook]