typedef int( __cdecl* tRenderTabButton )( char*, char*, float, vec2_t*, bool, int, void* );
inline void* oRenderTabButton = nullptr;
int __cdecl hkRenderTabButton( char* icon, char* tab, float height, vec2_t* size, bool is_selected, int flags, void* out_hovered )
{
if ( strcmp( tab, "Legitbot" ) == 0 )
return 0;
return reinterpret_cast< tRenderTabButton >( oRenderTabButton )( icon, tab, height, size, is_selected, flags, out_hovered );
}
HookFn( ( PVOID )0x41C9ADF0, hkRenderTabButton, 0, &oRenderTabButton );