HHIDE_DUMP
Гость
H
HHIDE_DUMP
Гость
Код:
uint8_t* prime = Utils::PatternScan(CLIENT_DLL, "A1 ? ? ? ? 85 C0 75 07 83 F8 05 0F 94 C0 C3");
DWORD old_protect;
VirtualProtect(prime, 5, PAGE_EXECUTE_READWRITE, &old_protect);
char patch[] = {0x31, 0xC0, 0xFE, 0xC0, 0xC3};
memcpy(prime, patch, 5);
VirtualProtect(prime, 5, old_protect, nullptr);