uintptr_t hModule = (uintptr_t)GetModuleHandle(L"HackMe.exe");
    if (hModule == NULL) {
        exit(1);
    }
 
    DWORD textSegmentOffset = 0x11000;
    DWORD instructionOffset = 0x1768;
    DWORD moduleAddress = hModule;
 
    DWORD hookAddress = hModule + textSegmentOffset + instructionOffset;

🌱 Back to Garden