View Single Post
Zynda
Member
Join Date: Jul 2011
Old 08-05-2022 , 13:47   Re: Dhooks passing int reference to detour
Reply With Quote #2

There's a global instance g_ServerGameClients (gameinterface.cpp) if you're on linux you can simply use the symbol name.
By the way the 'garbage' value is actually the underlying int *
nothing is stopping you from simply using LoadFromAddress/StoreToAddress on it :)

Last edited by Zynda; 08-05-2022 at 13:49.
Zynda is offline