RtlpHpMetadataHeapCtxGet

NTSTATUS __stdcall RtlpHpMetadataHeapCtxGet(INT128 *a1){
  unsigned int HeapManager; 
  int v2; 
  unsigned __int64 v3; 
  unsigned __int64 v4; 
  __int128 v6; 

  v6 = *(_OWORD *)a1;
  HeapManager = (unsigned int)RtlpHpEnvGetHeapManager(&v6);
  v2 = 2;
  v4 = v3 >> 8;
  if( (unsigned __int8)v4 < 2u )
    v2 = (unsigned __int8)v4;
  return 16 * v2 + HeapManager + 14488;
}

Referenced by:

RtlpHpHeapAllocate
RtlpHpMetadataAlloc
RtlpHpMetadataCommit
RtlpHpMetadataFree