SysCtxRegCreateTree

__int64 __fastcall SysCtxRegCreateTree(
        __int64 a1,
        void *a2,
        const wchar_t *a3,
        ULONG a4,
        ACCESS_MASK a5,
        __int64 a6,
        __int64 a7,
        __int64 a8,
        __int64 a9){
  if( a1 )
    return RegRtlCreateTreeTransacted(a2, a3, a4, a5, a6, 0, a8, a9, *(_QWORD *)(a1 + 8));
  else
    return RegRtlCreateTreeTransacted(a2, a3, a4, a5, a6, 0, a8, a9, 0i64);
}

Referenced by:

PnpCtxGetCachedNodeBaseKey
PnpCtxRegCreateTree