PpmInterlockedUpdateTimeNoFence

UINT8 __stdcall PpmInterlockedUpdateTimeNoFence(UINT64 *Destination, UINT64 NewTime, UINT64 *PreviousTime){
  unsigned __int64 v3; 
  UINT8 v4; 
  unsigned __int64 v5; 

  v3 = *Destination;
  v4 = 0;
  while( v3 < NewTime )
  {
    v5 = v3;
    v3 = _InterlockedCompareExchange64((volatile signed __int64 *)Destination, NewTime, v3);
    if( v5 == v3 )
    {
      v4 = 1;
      break;
    }
    _mm_pause();
  }
  if( PreviousTime )
    *PreviousTime = v3;
  return v4;
}

Referenced by:

PoLatencySensitivityHint
PopFxIdleComponent
PopFxIdleWorkerTail