HalpGetResourceSortValue

VOID __stdcall HalpGetResourceSortValue(_CM_PARTIAL_RESOURCE_DESCRIPTOR *pRCurLoc, LARGE_INTEGER *sortvalue){
  _QWORD *v2; 
  __int64 v3; 
  switch( *(_BYTE *)pRCurLoc )
  {
    case 1:
      sortvalue->LowPart = 1;
LABEL_6:
      v3 = *(_QWORD *)((char *)pRCurLoc + 4);
      goto LABEL_4;
    case 2:
      sortvalue->LowPart = 0;
      v3 = *((unsigned __int16 *)pRCurLoc + 2);
LABEL_4:
      *v2 = v3;
      return;
    case 3:
    case 7:
      sortvalue->LowPart = 2;
      goto LABEL_6;
  }
  *v2 = 0i64;
  sortvalue->LowPart = 4;
}

Referenced by:

HalpReportResourceUsage