Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Hookcheck.h Bypass 2016
- //Hookcheck Bypass By Yonidrori!
- #pragma once
- #include <Windows.h>
- DWORD base3 = (DWORD)GetModuleHandleA("RobloxPlayerBeta.exe");
- DWORD getaddy2(DWORD PatchByte) {
- return (PatchByte - 0x400000 + base3);
- }
- DWORD addr = getaddy2(0x65DA06); //Hookcheck Addresses
- void HookCheck_Disable() {
- ImageSectionInfo* Text;
- Text = GetSegmentInfo(GetModuleHandle(0), ".text");
- DWORD curProtection;
- DWORD Base;
- VirtualProtect(Text->SectionAddress, Text->SectionSize, PAGE_EXECUTE_READWRITE, &curProtection);
- Base = (DWORD)GetModuleHandle(0);
- DWORD releated = ((DWORD)Text->SectionName - (DWORD)Text->SectionSize) - 5;
- *(BYTE*)Text->SectionAddress = 0xE9;
- DWORD temp;
- VirtualProtect((PBYTE)(DWORD)addr, Text->SectionSize, PAGE_EXECUTE_READWRITE, &temp);
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement