Discord Overlay Hook actual patterns

bluedream.ltd
Статус
Оффлайн
Регистрация
4 Янв 2020
Сообщения
3,009
Реакции[?]
1,277
Поинты[?]
2K
С днем сигмейкера!
C++:
DWORD64 dwX64PresentOrig = NULL; DWORD64 dwX64ResizeBuffers = NULL;

    //hWnd = FC(user32, FindWindowA, StrA("UnityWndClass"), NULL);

    // GUI::NextWndProc = (WNDPROC)FC(user32, SetWindowLongPtrW, hWnd, GWLP_WNDPROC, (LONG_PTR)GUI::WndProc);

    origPresent = (PDWORD64)RVA(FindPattern((PBYTE)"\xE8\x00\x00\x00\x00\x88\x05\x00\x00\x00\x00\x80\x3D\x00\x00\x00\x00\x00\x75\x14", StrA("x????xx????xx?????xx"), StrW(L"DiscordHook64.dll")), 6);

    dwX64PresentOrig = *origPresent;

    oPresent = (DX11PresentFn)(*origPresent);

    *origPresent = (DWORD_PTR)(&hookD3D11Present);



    origResize = (PDWORD64)RVA(FindPattern((PBYTE)"\x48\xFF\xE0\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\xCC\x56", StrA("xxxxxxxxxxxxxxx"), StrW(L"DiscordHook64.dll")) + 0x1F, 7);

    dwX64ResizeBuffers = *origResize;

    oResize = (DX11ResizeFn)(*origResize);

    *origResize = (DWORD_PTR)(&Resize);



    //CreateThreadSafe(EntityHandler);

    //CreateThreadSafe(CheatFunc);

}
 
Сверху Снизу