for some reason values are changed back to the originals, needs small investigation.
This commit is contained in:
Skull 2022-09-06 18:28:44 +03:00
parent bb692fbb36
commit ad3ac6cd24

View File

@ -68,24 +68,17 @@ namespace system_check
void verify_binary_version() void verify_binary_version()
{ {
const auto value = *reinterpret_cast<DWORD*>(0x1337_b); const auto value = *reinterpret_cast<DWORD*>(0x1337_b);
if (arxan::is_wine()) if (!arxan::is_wine())
{
if (value == 0xFFB81262 || value == 0xFFB81143)
{
return;
}
}
else
{ {
if (value == 0x60202B6A || value == 0xBC0E9FE) if (value == 0x60202B6A || value == 0xBC0E9FE)
{ {
return; return;
} }
}
throw std::runtime_error("Unsupported Call of Duty: Modern Warfare Remastered version (1.15)"); throw std::runtime_error("Unsupported Call of Duty: Modern Warfare Remastered version (1.15)");
} }
} }
}
bool is_valid() bool is_valid()
{ {