PopPepTryPowerDownComponent
__int64 __fastcall PopPepTryPowerDownComponent(__int64 a1, _DWORD *a2){
unsigned int v2;
__int64 result;
v2 = 1;
while( 1 )
{
result = v2;
if( **(_DWORD **)&a2[2 * v2 + 14] )
break;
if( ++v2 > 3 )
{
result = (unsigned int)(a2[47] - 1);
if( a2[44] == (_DWORD)result )
{
a2[1] &= ~2u;
_InterlockedDecrement((volatile signed __int32 *)(a1 + 140));
}
return result;
}
}
return result;
}Referenced by:
PopPepCompleteComponentActiveActivity
PopPepCompleteComponentIdleStateChangeActivity