union _RTL_RUN_ONCE *__fastcall RtlpHpMetadataHeapCtxGet(__int128 *a1){
union _RTL_RUN_ONCE *HeapManager;
__int64 v2;
unsigned __int64 v3;
unsigned __int64 v4;
__int128 v6;
v6 = *a1;
HeapManager = RtlpHpEnvGetHeapManager(&v6);
v2 = 2i64;
v4 = v3 >> 8;
if( (unsigned __int8)v4 < 2u )
v2 = (unsigned __int8)v4;
return &HeapManager[2 * v2 + 1811];
}