VOID __stdcall IoUpdateThreadIoRateThrottle(_ETHREAD *Thread, INT64 DeltaThrottleCount){
signed __int32 v2;
UINT64 v3;
v2 = _InterlockedExchangeAdd((volatile signed __int32 *)Thread + 342, DeltaThrottleCount);
if( v2 )
{
if( (_DWORD)DeltaThrottleCount + v2 )
return;
v3 = 1i64;
}
else
{
v3 = 0i64;
}
KeAbProcessBaseIoPriorityChangeInternal((_KTHREAD *)Thread, v3);
}