DrawTextEngine x32/x64 VirtualFunction.
Trade for WeaponAttribute hook
Code:// CFPH, CFNA void DrawTextEngine(int x, int y, int color, const char* text) { auto ltclientshell = *(DWORD64*)(CShell + LTClientShell); auto thiz = *(DWORD64*)ltclientshell; typedef int(__thiscall* tDrawText)(void*, int, int, int, int); (*(tDrawText**)thiz)[0x00A8 / 4](ltclientshell , (int)text, x, y, color); }
Last edited by awdacwadc; 09-01-2021 at 04:20 PM.