HvlpGetLpcbByLpIndex

WCHAR *__fastcall HvlpGetLpcbByLpIndex(unsigned int a1){
  WCHAR *v1; 
  WCHAR *result; 
  unsigned int v3; 
  v1 = &HvlpLogicalProcessorRegions;
  if( a1 >= (unsigned int)HvlpLogicalProcessorCount
    || (result = &HvlpLogicalProcessorRegions + 60 * a1, *((_DWORD *)result + 1) != a1) )
  {
    result = 0i64;
    v3 = 0;
    if( (_DWORD)HvlpLogicalProcessorCount )
    {
      while( *((_DWORD *)v1 + 1) != a1 )
      {
        ++v3;
        v1 += 60;
        if( v3 >= (unsigned int)HvlpLogicalProcessorCount )
          goto LABEL_6;
      }
      return v1;
    }
    else
    {
LABEL_6:
      if( !a1 )
        return v1;
    }
  }
  return result;
}

Referenced by:

HvlEnlightenProcessor
HvlGetStatsUpdateCounter
HvlQueryHypervisorProcessorNodeNumber
HvlQueryProcessorTopologyEx
HvlReadPerformanceStateCounters
HvlSharedIsr
KiQueryProcessorNode
PpmHvSnapPerformanceAccumulation