IoFlushAdapterBuffersV2

char __fastcall IoFlushAdapterBuffersV2(__int64 a1, __int64 a2, _QWORD *a3, __int64 a4, unsigned int a5, char a6){
  if( a5 )
  {
    if( a1 && !*(_BYTE *)(a1 + 433) )
      (*(void(__fastcall **)(_QWORD))(DmaDispatch + 48))(*(_QWORD *)(a1 + 424));
    if( a3 )
    {
      if( a1 && *(_BYTE *)(a1 + 434) )
        HalpDmaFlushScatterTransferV2(a1, a2, (__int64)a3, a4, a5, a6);
      else
        HalpDmaFlushContiguousTransferV2(a1, a2, a3, a4, a5, a6);
    }
    else if( !a6 && !*(_BYTE *)(a1 + 437) )
    {
      HalpDmaFlushBuffer(a1, a2, a4, a5, 0, 0);
    }
  }
  return 1;
}

Referenced by:

IoFlushAdapterBuffers