KeGetCurrentProcessorNumberEx

NTSTATUS __fastcall KeGetCurrentProcessorNumberEx(WORD *a1){
  struct _KPRCB *CurrentPrcb; 

  CurrentPrcb = KeGetCurrentPrcb();
  if( a1 )
  {
    *a1 = CurrentPrcb->Group;
    a1[1] = CurrentPrcb->GroupIndex;
  }
  return CurrentPrcb->Number;
}

Referenced by:

HalpHvInitMcaPcrContext
HalpMcaInitializePcrContext
KiCopyCountersWorker
KiInterruptDispatchCommon
PopFxAddLogEntry
PopIdleWakeNotifyWakeSource
RtlpHpLfhBucketUpdateAffinityMapping