EtwpCovSampLookasideInitialize

__int64 __fastcall EtwpCovSampLookasideInitialize(__int64 a1, __int64 a2, _DWORD *a3){
  __int64 v6; 
  __int64 *v7; 
  __int64 **v8; 
  __int64 result; 

  memset((VOID *)a2, 0i64, 0x40u);
  v6 = a1 + 576;
  v7 = (__int64 *)(a2 + 16);
  v8 = *(__int64 ***)(v6 + 8);
  if( *v8 != (__int64 *)v6 )
    __fastfail(3u);
  *(_QWORD *)(a2 + 24) = v8;
  *v7 = v6;
  *v8 = v7;
  *(_QWORD *)(v6 + 8) = v7;
  InitializeSListHead((PSLIST_HEADER)a2);
  *(_QWORD *)(a2 + 32) = a3;
  *(_DWORD *)(a2 + 56) = a3[15];
  ++a3[16];
  result = (unsigned int)a3[15];
  a3[17] += result;
  return result;
}

Referenced by:

EtwpCovSampCaptureContextStart