7 lines
233 B
Plaintext
Raw Normal View History

2025-02-09 23:52:07 +01:00
mmap(address Int, length Int, protection Int, flags Int) -> *Any {
2024-08-19 11:11:45 +02:00
return kernel32.VirtualAlloc(address, length, flags, protection)
2024-08-15 13:53:00 +02:00
}
2025-02-09 23:52:07 +01:00
munmap(address *Any, length Int) -> Int {
2024-08-19 17:25:51 +02:00
return kernel32.VirtualFree(address, length, 0x4000)
2024-08-13 19:34:54 +02:00
}