A basic Windows Memory Manipulation library, aimed at cheat trainers.
rust
let handle = Memory::open_current();
/// ...
```rust // Write "Johnny Smith" to the specified address. let newname = b"Johnny Smith"; // + 1 to get a null-byte at the end of the slice when writing it. Memory::write::<[u8; 12]>(handle, address, *newname, Some(new_name.len() + 1));
// Write 100 to the specified address.
Memory::write::
``rust
//
readreturns a
Vecof the type specified for scenarios where you're reading
// an array of bytes.
// If you're just reading a value like
i32` or similar, grab the first entry and continue.
// Read the name of the entity with 32 characters being set as the max capacity.
let name = String::from_utf8(Memory::read::
// Read the health of the entity.
let health = Memory::read::