PpProcessClearProblem

INT64 __fastcall PpProcessClearProblem(INT64 a1){
  __int64 v1; 
  __int64 v2; 
  int v4[4]; 
  v4[0] = *(_DWORD *)(a1 + 32);
  v1 = *(_QWORD *)(a1 + 16);
  v2 = 0i64;
  v4[1] = 1;
  v4[2] = 5;
  if( v1 )
    v2 = *(_QWORD *)(*(_QWORD *)(v1 + 312) + 40i64);
  if( (unsigned int)(*(_DWORD *)(v2 + 300) - 787) <= 1 )
    return 3221225558i64;
  PipForDeviceNodeSubtree(v2, (__int64)PiResetProblemDevicesWorker, (__int64)v4);
  return 0i64;
}

Referenced by:

PnpDeviceActionWorker