PopNotifySessionUserPowerRequestAttributed
void __fastcall PopNotifySessionUserPowerRequestAttributed(int a1, _LIST_ENTRY *a2, _LIST_ENTRY *a3){
__int64 *v4;
char v5;
__int64 *i;
INT64 v9;
v4 = 0i64;
v5 = 0;
PopAcquirePowerRequestPushLock(1u);
for( i = (__int64 *)*(&stru_140C23628 + 757); i != (__int64 *)((char *)&stru_140C23628 + 6056); i = (__int64 *)*i )
{
v4 = i;
if( *((_DWORD *)i + 22) == a1 && (_LIST_ENTRY *)i[12] == a2 )
{
i[13] = (__int64)a3;
v5 = 1;
break;
}
}
PopReleaseRwLock((_POP_RW_LOCK *)((char *)&stru_140C23628 + 5864));
if( v5 )
{
if( TtmpEnabled == 1 )
{
LODWORD(v9) = *((_DWORD *)v4 + 8);
TtmNotifySessionPowerRequestPresent(
*((unsigned int *)v4 + 4),
*((unsigned int *)v4 + 7),
*((unsigned int *)v4 + 22),
v4[12],
v4[13],
v9,
1);
}
}
}Referenced by:
PopPowerInformationInternal