RtlCSparseBitmapLeaveLockingRegion

NTSTATUS __stdcall RtlCSparseBitmapLeaveLockingRegion(UINT8 *a1){
  NTSTATUS result; 

  if( *(_BYTE *)(*((_QWORD *)a1 + 1) + 48i64) )
  {
    result = KiIrqlFlags;
    __writecr8(*a1);
  }
  else
  {
    KiLeaveGuardedRegionUnsafe((__int64)KeGetCurrentThread());
  }
  return result;
}

Referenced by:

RtlCSparseBitmapBitmaskWrite
RtlSparseArrayElementAllocate
RtlpCSparseBitmapPageCommit
RtlpCSparseBitmapPageDecommit