RtlSparseArrayElementAllocated

NTSTATUS __stdcall RtlSparseArrayElementAllocated(INT64 a1, INT64 a2){
  __int64 v4; 

  if( RtlCSparseBitmapFindBitSetCapped(a1 + 16, 8 * (a2 << *(_DWORD *)(a1 + 8)), 8 * (1i64 << *(_DWORD *)(a1 + 8))) == -1i64 )
    LODWORD(v4) = 0;
  else
    return *(_QWORD *)(a1 + 24) + (a2 << *(_DWORD *)(a1 + 8));
  return v4;
}

Referenced by:

RtlpHpVaMgrCtxFree
RtlpHpVaMgrCtxQuery
RtlpHpVaMgrRangeFind