Usually, the marketing costs are about the same as the cost to make a movie. So a $125 Million cost of making a movie means $250 Million total cost when marketing is added into the expense column.
Or so I am told.
If that's the case, I'm sure TDC is an exception. They piggybacked on the rampant success of the book and earned lots of free media from the "controversy" of the story. They bought some tv ads, sure, but I don't think they needed to unleash the expensive marketing juggernaut your average Will Smith summer blockbuster requires.
Depends on the movie. But for big-budget pix like DaVinci, marketing costs are much less than production costs.