PopPowerRequestNotificationsFlush

CHAR __stdcall PopPowerRequestNotificationsFlush(INT64 *a1){
  INT64 i; 
  unsigned int v3; 
  _DWORD *v4; 
  int v5; 

  for( i = *a1; (INT64 *)i != a1; i = *(_QWORD *)i )
  {
    if( *(_DWORD *)(i + 88) )
    {
      PopUmpoSendPowerRequestCreate(*(unsigned int *)(i + 28));
      v3 = 0;
      v4 = (_DWORD *)(i + 32);
      do
      {
        v5 = *(_DWORD *)(i + 24);
        if( !_bittest(&v5, v3) && *v4 && v3 <= 3 )
          LOBYTE(v5) = PopNotifyUserPowerRequestAction(i, v3, 1);
        ++v3;
        ++v4;
      }
      while( (int)v3 < 6 );
    }
  }
  return v5;
}

Referenced by:

PopUmpoProcessPowerMessage