[CS:GO] Call a function with variable argument
I need to call this function:
void CBaseServer::SetReservationCookie( uint64 uiCookie, char const *pchReasonFormat, ... ) I have this working detour: PHP Code:
PHP Code:
In the leaked sources this function is called in 3 places: PHP Code:
|
Re: [CS:GO] Call a function with variable argument
Varargs functions have a different calling convention from regular functions, and it doesn't look like CDetour implements any straightforward support for them (SourceHook does, in the form of the _vafmt suffixed macros).
|
All times are GMT -4. The time now is 16:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.