HvlpGetLpcbByApicId

WCHAR *__fastcall HvlpGetLpcbByApicId(int a1){
  WCHAR *result; 
  unsigned int v2; 
  result = &HvlpLogicalProcessorRegions;
  v2 = 0;
  if( !(_DWORD)HvlpLogicalProcessorCount )
    return 0i64;
  while( *((_DWORD *)result + 2) != a1 )
  {
    ++v2;
    result += 60;
    if( v2 >= (unsigned int)HvlpLogicalProcessorCount )
      return 0i64;
  }
  return result;
}

Referenced by:

HvlGetLpIndexFromApicId
HvlStartBootLogicalProcessors
HvlpEnableRootVirtualProcessor
KiQueryProcessorNode