ViFaultsIsTagPresentInList

UINT64 __stdcall ViFaultsIsTagPresentInList(UINT64 Tag){
  PVOID *v1; 
  PVOID *v2; 
  unsigned int v3; 
  unsigned int v4; 
  PVOID **v5; 

  v1 = (PVOID *)ViFaultTagsList;
  v2 = &ViFaultTagsList;
  v3 = Tag;
  v4 = 0;
  while( v1 != v2 )
  {
    if( (unsigned int)ExCheckSingleFilter(v3, *((unsigned int *)v1 + 4)) )
      return 1;
    v1 = *v5;
  }
  return v4;
}

Referenced by:

ViFaultsAddTagNoDuplicates
ViFaultsIsTagTarget