EEex_DisableCodeProtection
EEex_DisableCodeProtection()
Reset RWX (Read, Write and eXecute) protection of memory address range
Parameters
None
Return
None
Notes
Windows OS specific. Don’t use this unless you REALLY know what you are doing. Enables writing to the .text section of the game exe (code)
Example
EEex_DisableCodeProtection()
-- add a hook or write something to .text section
EEex_EnableCodeProtection()
See Also
EEex_EnableCodeProtection, EEex_VirtualAlloc, EEex_GetAllocGran, EEex_AllocCodePage, EEex_ReserveCodeMemory