Hook macro example:
#[crate::hook(
sig = "85 D2 0F 85 ? ? ? ? 48 8B C4 44 88 40 18",
module = "client.dll",
)]
fn create_move(p_input: *mut u8, split_screen_index: u32, a3: u8) -> usize {
original(p_input, split_screen_index, a3)
}Overlay hooks into modern Discord overlay; might be bugged with resolution occassionally.
NOT UD BY ANY MEASURE; THIS IS JUST TO GIVE YOU A HEADSTART ON BUILDING INTERNALS WITH RUST