RtlpHpLfhBucketAllocateSlot

INT64 __fastcall RtlpHpLfhBucketAllocateSlot(UINT64 a1, INT64 a2, INT64 a3){
  unsigned int v4; 
  INT64 v5; 
  INT64 v6; 
  v4 = a3;
  v5 = ((__int64(__fastcall *)(_QWORD, __int64))(a1 ^ RtlpHpHeapGlobals ^ *(_QWORD *)(a1 + 40)))(
         *(_QWORD *)a1,
         ((((unsigned int)RtlpHpLfhPerfFlags >> 10) & 1) + 1i64) << 6);
  v6 = v5;
  if( v5 )
  {
    memset(v5, 0i64);
    RtlpHpLfhOwnerInitialize(v6, *(_BYTE *)(a2 + 1), v4);
  }
  return v6;
}

Referenced by:

RtlpHpLfhBucketUpdateAffinityMapping