PopFxEnablePlatformStates

VOID __stdcall PopFxEnablePlatformStates(UINT64 PlatformStateCount){
  __int32 DeepSleepPlatformStateIndex; 
  unsigned __int32 v2; 
  UINT64 v3; 
  if( (_DWORD)PlatformStateCount )
  {
    PopPepPlatformStateRegistered(PlatformStateCount);
    DeepSleepPlatformStateIndex = PpmGetDeepSleepPlatformStateIndex();
    v2 = DeepSleepPlatformStateIndex;
    if( DeepSleepPlatformStateIndex != -1 )
    {
      _InterlockedExchange((volatile __int32 *)&qword_140C4FDC0, DeepSleepPlatformStateIndex);
      PopFxSetDeviceAccountingCsPlatformState(DeepSleepPlatformStateIndex);
      PopFxInitializeSocSubsystemStaticInfo(v2, v3);
    }
  }
}

Referenced by:

PpmEnableCoordinatedIdleStates