VOID __fastcall PfSnPowerBoost(PEX_RUNDOWN_REF RunRef, INT64 a2){
if( (_DWORD)a2 )
{
PfSnPowerBoostUpdate(1ui64);
ExAcquireRundownProtection(RunRef);
KiSetTimerEx((_KTIMER *)&RunRef[1], (_LARGE_INTEGER)-30000000i64, 0i64, 0, (_KDPC *)&RunRef[9]);
}
else
{
if( KeCancelTimer((PKTIMER)&RunRef[1]) )
{
PfSnPowerBoostUpdate(0i64);
ExReleaseRundownProtection(RunRef);
}
ExWaitForRundownProtectionRelease(RunRef);
}
}