mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fixed 1.8
This commit is contained in:
@@ -607,6 +607,10 @@ std::vector<uint64> Addresses::GetFunctionsToNull()
|
||||
|
||||
if (Engine_Version == 416)
|
||||
{
|
||||
toNull.push_back(Memcury::Scanner::FindPattern("4C 89 44 24 ? 88 54 24 ? 48 89 4C 24 ? 56 57 48 81 EC ? ? ? ? 33 C0 83 F8 ? 0F 84 ? ? ? ? B8").Get()); // 1.8 switch state
|
||||
// toNull.push_back(Memcury::Scanner::FindPattern("48 89 4C 24 ? 48 81 EC ? ? ? ? 48 8B 84 24 ? ? ? ? ? ? ? 48 8B 8C 24 ? ? ? ? FF 90 ? ? ? ? 48 89 84 24 ? ? ? ? 48 8B 84 24 ? ? ? ? 48").Get()); // trigger ui stuff 1.8
|
||||
// toNull.push_back(Memcury::Scanner::FindPattern("48 89 4C 24 ? 48 81 EC ? ? ? ? 48 8B 84 24 ? ? ? ? ? ? ? 48 8B 8C 24 ? ? ? ? FF 90 ? ? ? ? 48 89 84 24 ? ? ? ? 48 8B 84 24 ? ? ? ? 48", true, 1).Get()); // trigger ui stuff 1.8 ^^
|
||||
toNull.push_back(Memcury::Scanner::FindPattern("48 89 54 24 ? 48 89 4C 24 ? 55 53 57 48 8D 6C 24 ? 48 81 EC ? ? ? ? 8B 41 ? C1 E8 ? A8 ? 0F 84 ? ? ? ? 80 3D").Get()); // widget class 1.8
|
||||
toNull.push_back(Memcury::Scanner::FindPattern("48 89 54 24 ? 48 89 4C 24 ? 55 53 57 48 8D 6C 24 ? 48 81 EC ? ? ? ? 8B 41 08 C1 E8 05").Get()); // Widget class
|
||||
}
|
||||
|
||||
|
||||
@@ -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