PopThermalCsEntry

VOID __stdcall PopThermalCsEntry(UINT8 ThermalStandby){
  PopAcquireRwLockExclusive(&PopSystemThermalInfo);
  LOBYTE(word_140C22C50) = 0;
  if( ThermalStandby )
  {
    byte_140C22C5D = 1;
    qword_140C22C60 = *(_QWORD *)&KUSER_SHARED_DATA.InterruptTime.LowPart;
    PopTraceThermalStandbyInitiated(FirstThermalStandby);
  }
  if( !dword_140C22C54 )
    PopThermalStandbyEndTracking(0i64);
  PopReleaseRwLock((UINT64)&PopSystemThermalInfo);
  PopQueueWorkItem((INT64)&qword_140C22D08, DelayedWorkQueue);
}

Referenced by:

PopPowerAggregatorActiveToScreenOffStateHandler