RtlCSparseBitmapLeaveLockingRegion

INT64 __fastcall RtlCSparseBitmapLeaveLockingRegion(UINT8 *a1){
  INT64 result; 
  if( !*(_BYTE *)(*((_QWORD *)a1 + 1) + 48i64) )
    return KiLeaveGuardedRegionUnsafe((__int64)KeGetCurrentThread());
  result = (unsigned int)KiIrqlFlags;
  __writecr8(*a1);
  return result;
}

Referenced by:

RtlCSparseBitmapBitmaskWrite
RtlSparseArrayElementAllocate
RtlpCSparseBitmapPageCommit
RtlpCSparseBitmapPageDecommit