MiCompareHotPatchNodes

NTSTATUS __stdcall MiCompareHotPatchNodes(INT64 a1, INT64 a2){
  unsigned int v2; 
  unsigned int v3; 

  v2 = *(_DWORD *)(a1 + 24);
  if( v2 >= *(_DWORD *)(a2 + 24) )
  {
    if( v2 > *(_DWORD *)(a2 + 24) )
      return 1;
    v3 = *(_DWORD *)(a1 + 28);
    if( v3 >= *(_DWORD *)(a2 + 28) )
      return v3 > *(_DWORD *)(a2 + 28);
  }
  return -1;
}

Referenced by:

MiDeleteHotPatchRecord
MiFindHotPatchRecord
MiInsertHotPatchRecord
MiInsertSecureImageActivePatch
MiUnloadHotPatch