PopIsInputSuppressionEngaged

BOOL __fastcall PopIsInputSuppressionEngaged(INT64 a1){
  bool v1; 
  BOOL result; 
  v1 = 0;
  result = a1 - 31;
  if( (unsigned int)(a1 - 31) <= 8
    && PopEnableInputSuppression
    && !PopErrataReportingIncorrectLidState
    && !PopLidOpened
    && dword_140C23D0C == 1
    && !(_BYTE)PopConsoleExternalDisplayConnected )
  {
    v1 = PopConsoleDisplayState == 0;
  }
  LOBYTE(result) = v1;
  return result;
}

Referenced by:

NtPowerInformation