RtlSparseArrayElementAllocated

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

Referenced by:

RtlpHpVaMgrCtxFree
RtlpHpVaMgrCtxQuery
RtlpHpVaMgrRangeFind