MmGetWorkingSetLeafSize

CHAR *__fastcall MmGetWorkingSetLeafSize(INT64 a1){
  CHAR *result; 
  if( (_DWORD)a1 == 2 )
  {
    result = (CHAR *)MiGetCurrentMultiplexedVm();
    if( !result )
      return result;
  }
  else
  {
    result = (CHAR *)(&qword_140C4ED40 + 40 * (int)MiTranslateWsType(a1));
  }
  return(CHAR *)*((_QWORD *)result + 15);
}

Referenced by:

ExpQuerySystemPerformanceInformation