Awesome
steam game overlay (GameOverlayUI.exe) hook example⚡
vgui2.dll hook example
use any usermode injector to inject into gameoverlayui. then using memory share to render your items.
screenshot
NOTE
-
hook VGUI_Surface039->PaintTraverse to render on screen.
-
source is building on Visual Studio 2017 Release x86. not sure about other platform.
-
alloc a free memory to create a shared memory field for communication.
-
the original steam overlay are not support DrawLine or DrawOutlinedCircle and some functions, so in this source DrawLine and DrawCircle is based on DrawFilledRect.(Bresenham algorithm)
-
do not using too much draw-functions in one loop maybe cause GameOverlayUI.exe crash.
inject a specific game
- on usermode inject
GameOverlayUIHook.dll
from directory\Release
toGameOverlayUI.exe
.
todo
-
is this can bypass BE/EAC anti-cheat system? the answer is: idk.
-
this is an example. there are lots of ways to achieve hook PaintTraverse. using veh or other virtual table.