IopDiskIoAttributionTreeCompare

NTSTATUS __stdcall IopDiskIoAttributionTreeCompare(VOID *KeyPtr, _RTL_BALANCED_NODE *Node){
  unsigned __int64 v2; 
  _RTL_BALANCED_NODE *v3; 
  __int64 v4; 

  v2 = *(_QWORD *)KeyPtr;
  v3 = Node[1].Children[0];
  if( v2 < (unsigned __int64)v3 )
    LODWORD(v4) = -1;
  else
    return v2 > (unsigned __int64)v3;
  return v4;
}

Referenced by:

IoStartDiskIoAttributionForContext
IopFindDiskIoAttribution