HalpTimerProfilePowerChange

VOID __fastcall HalpTimerProfilePowerChange(INT64 a1, CHAR a2, VOID *a3, VOID *a4){
  __int64 v5; 
  __int64 v6; 
  VOID *v7; 
  INT64 v8; 
  VOID *v9; 
  UINT64 *v10; 
  if( a2 )
  {
    HalpTimerGetInternalData((KDPC *)HalpProfileTimer, HalpProfileTimer, a3, a4);
    if( (*(int(__fastcall **)(__int64))(v5 + 104))(v6) >= 0 )
    {
      if( HalpProfilingActive )
        HalpTimerRestartProfileInterrupt(v8, v7, v9, v10);
    }
    else
    {
      *(_DWORD *)(a1 + 184) = *(_DWORD *)(a1 + 184) & 0xFFFFFFFC | 1;
    }
  }
}

Referenced by:

HalpTimerPowerChange