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