mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
fixed 1.8
This commit is contained in:
@@ -1269,7 +1269,13 @@ DWORD WINAPI Main(LPVOID)
|
||||
|
||||
std::cout << "before byte: " << (int)*before << '\n';
|
||||
|
||||
DWORD dwProtection;
|
||||
VirtualProtect((PVOID)before, 1, PAGE_EXECUTE_READWRITE, &dwProtection);
|
||||
|
||||
*before = 0x74; // jump if zero
|
||||
|
||||
DWORD dwTemp;
|
||||
VirtualProtect((PVOID)before, 1, dwProtection, &dwTemp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user