PopPowerAggregatorEngageAggressiveStandbyActions
VOID __fastcall PopPowerAggregatorEngageAggressiveStandbyActions(INT64 a1, INT64 a2){
int v3;
int v4;
int v5;
v3 = a1;
PopAcquirePolicyLock();
v4 = *(_DWORD *)(a2 + 8);
if( (v4 & 2) != 0 )
{
if( (v4 & 4) == 0 )
goto LABEL_6;
v5 = 7;
}
else
{
v5 = 1;
}
PopNetSetConnectivityConstraint(v5);
LABEL_6:
if( (unsigned int)(v3 - 4) <= 1 )
PopAggressiveStandbyAppliedActions ^= ((unsigned __int8)PopAggressiveStandbyAppliedActions ^ (unsigned __int8)PopAggressiveStandbyEnabledActions) & 1;
PopAggressiveStandbyAppliedActions ^= ((unsigned __int8)PopAggressiveStandbyAppliedActions ^ (unsigned __int8)PopAggressiveStandbyEnabledActions) & 2;
PopReleasePolicyLock();
}Referenced by:
PopPowerAggregatorScreenOffEnterStateHandler