The game had a peak player count approximately 15% of Hogwarts Legacy player count, which is a similar game in a similar genre targeting a similar audience. Hogwarts Legacy sold approximately 22,000,000 copies in its first year. Through this we can assume Dragon Age Veilguard will sell approximately 3.3 million copies in its first year.
Therefore Dragon Age Veilguard will net approx. $190M which is a little less than 2/3rds of development costs (considering a 10 year development cycle and the size of the team it's safe to estimate this at around $300M).
However, money is worth 30% of what it was worth in 2014. This means Dragon Age Veilguard would need to sell 5 times as many copies to recoup development costs.