PopNotifySessionUserPowerRequestAttributed

void __fastcall PopNotifySessionUserPowerRequestAttributed(int a1, __int64 a2, __int64 a3){
  INT64 v4; 
  char v5; 
  INT64 i; 
  INT64 a6; 
  v4 = 0i64;
  v5 = 0;
  PopAcquirePowerRequestPushLock(1);
  for( i = PopPowerRequestObjectList; (INT64 *)i != &PopPowerRequestObjectList; i = *(_QWORD *)i )
  {
    v4 = i;
    if( *(_DWORD *)(i + 88) == a1 && *(_QWORD *)(i + 96) == a2 )
    {
      *(_QWORD *)(i + 104) = a3;
      v5 = 1;
      break;
    }
  }
  PopReleaseRwLock((UINT64)&PopPowerRequestLock);
  if( v5 )
  {
    if( TtmpEnabled == 1 )
    {
      LODWORD(a6) = *(_DWORD *)(v4 + 32);
      TtmNotifySessionPowerRequestPresent(
        *(unsigned int *)(v4 + 16),
        *(unsigned int *)(v4 + 28),
        *(unsigned int *)(v4 + 88),
        *(_QWORD *)(v4 + 96),
        *(_QWORD *)(v4 + 104),
        a6,
        1);
    }
  }
}

Referenced by:

PopPowerInformationInternal