bool __fastcall Hooked_WriteUserCmdDeltaToBuffer(void* ecx, void* edx, DWORD* buf, int from, int to, bool isnewcommand)
{
CUserCmd nullcmd, *pFrom, *pTo;
if (from == -1)
{
pFrom = &nullcmd;
}
else
{
pFrom = Globals.g_pInput->GetUserCmd(from);
if (!pFrom)
pFrom = &nullcmd;
}
pTo =...