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
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
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
}
And yes, for those who asking all the time "wat is the paitntraverse index?", 41 for csgo and cs:s i believe

E