RtlpHpEnvGetHeapManager

_RTL_RUN_ONCE *__fastcall RtlpHpEnvGetHeapManager(_DWORD *a1){
  if( (*a1 & 6) == 4 )
    return(_RTL_RUN_ONCE *)*((_QWORD *)KeGetCurrentThread()->ApcState.Process->Session + 84);
  else
    return ExPoolState;
}

Referenced by:

ExFreeHeapPool
RtlpHpAllocVA
RtlpHpExtrasSetPresent
RtlpHpFreeHeap
RtlpHpFreeVA
RtlpHpGetOwnerHeap
RtlpHpHeapCreate
RtlpHpMetadataCommit
RtlpHpMetadataHeapCtxGet
RtlpHpQueryVA
RtlpHpRegisterEnvironment
RtlpHpSegMgrCommit
RtlpHpSegMgrVaCtxAlloc
RtlpHpSegSegmentAllocate
RtlpHpSegSegmentFree
RtlpHpSizeHeapInternal