I do not mean a mobile game, but for ps4, switch, Xbox…
Depends on what you call "good". That's even in the double-digit million range or even higher.
Do you have a specific game that interests you? You could google it yourself for example "Far Cry 4 Production Costs".
Many games are now so elaborately set and produced that they exceed film costs.
I think it depends on how many employees there are who develop the game, then there are definitely differences in salary between z.b Ubisoft, sledgehammer games, us.w. Then how long it takes to develop the game that is not always the same time.
So I think you have to ask the manufacturers, Google are certain numbers as in the movies, whether this is true, you do not know.
So, for example GTA5 has 200mio. Cost.