IopGetLegacyVetoListDeviceNode

char __fastcall IopGetLegacyVetoListDeviceNode(__int64 a1, __int64 a2){
  _QWORD *i; 
  bool v6; 
  if( (*(_DWORD *)(a1 + 560) & 0x8000) != 0 )
  {
    v6 = *(_QWORD *)a2 == 0i64;
    **(_DWORD **)(a2 + 16) = 1;
    if( v6 || !IopAppendLegacyVeto((const void ***)a2, (const void **)(a1 + 40)) )
      return 0;
  }
  for( i = *(_QWORD **)(a1 + 8); i; i = (_QWORD *)*i )
  {
    if( !IopGetLegacyVetoListDeviceNode((__int64)i, a2) )
      return 0;
  }
  return 1;
}

Referenced by:

IoGetLegacyVetoList
IopGetLegacyVetoListDeviceNode