pub unsafe fn disable_code_restoration(
program: &Program<'_>,
) -> Result<(), Box<dyn Error>>Expand description
Disables most instances of the arxan code restoration routines.
Avoid using this unless you absolutely have to hook the games memory image and you are absolutely certain the game is removing your hooks. Prefer using the task runtime over hooking the memory image where ever you can.
ยงSafety
Caller must ensure that:
- Specified program/module has not unloaded.
- The memory image is writeable.
- The code restoration checks are not mutated during runtime.