Hooking PaintTraverse

Posts 1–5 of 5 · Page 1 of 1
Hooking PaintTraverse
Hello, i was lurking around forums yesterday and i found somethig interesting...

Since i dont know how to hook painttraverse in stdcall, i did it in fastcall



Code:
typedef void(__thiscall* tPaintTraverse)(void* ecx, unsigned int, bool, bool);
tPaintTraverse oPaintTraverse;
void __fastcall hkPaintTraverse(void* ecx, void* edx, unsigned int vguiPanel, bool forceRepaint, bool allowForce) {
oPaintTraverse(ecx, vguiPanel, forceRepaint, allowForce);
//Draw here 
}
Could be good to know for the newbs
And yes, for those who asking all the time "wat is the paitntraverse index?", 41 for csgo and cs:s i believe
The reason you don't hook PaintTraverse with __stdcall is because valve uses the __fastcall calling convention on PaintTraverse, also you should probably include checking the panel name before drawing
Will back a month ago I reversing that source code by stab.....im tired creating cheat anymore....I moved in mw2 creating aimbot then people angry bcoz I fuck the game so bad...
Quote Originally Posted by COD3RIN View Post
Will back a month ago I reversing that source code by stab.....im tired creating cheat anymore....I moved in mw2 creating aimbot then people angry bcoz I fuck the game so bad...
E N G L I S H P L s
Quote Originally Posted by COD3RIN View Post
Will back a month ago I reversing that source code by stab.....im tired creating cheat anymore....I moved in mw2 creating aimbot then people angry bcoz I fuck the game so bad...
@COD3RIN you're the only one that can understand this, google translate is not doing good
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us