PipFindDependencyNodePath

INT64 __fastcall PipFindDependencyNodePath(INT64 a1, INT64 a2, _DWORD *a3, _DWORD *a4){
  int v5; 
  unsigned __int8 v9; 
  unsigned __int64 v10; 
  INT64 result; 
  int v12[10]; 
  v5 = 0;
  v12[0] = 0;
  KeAcquireSpinLockRaiseToDpc(&PiDependencyEdgeWriteLock, a2);
  v10 = v9;
  PipDependencyGraphDepthFirstSearch(a1, a2, v12, a4);
  KxReleaseSpinLock(&PiDependencyEdgeWriteLock);
  result = (unsigned int)KiIrqlFlags;
  __writecr8(v10);
  if( v12[0] )
  {
    LOBYTE(v5) = v12[0] != 1;
    ++v5;
  }
  *a3 = v5;
  return result;
}

Referenced by:

IoTestDependency