RtlpHpSegLockAcquire

UINT8 __fastcall RtlpHpSegLockAcquire(INT64 a1, CHAR a2){
  UINT8 result; 
  result = -1;
  if( (a2 & 1) == 0 )
    return RtlpHpAcquireLockExclusive((INT64 *)(a1 + 64), *(_DWORD *)(a1 + 40) & 1);
  return result;
}

Referenced by:

RtlpHpSegContextCompact
RtlpHpSegPageRangeAllocate
RtlpHpSegPageRangeCoalesce