You asked the key question yourself anon. The studios don't release how much gets eaten by taxes, investors, to the world. Marketing is almost another beast. Almost every studio trying to get the location they're filming in to foot most of the on site bill and they usually get a special tax credit but that varies from state to state.
I didn't make the movie anon but apparently in order to make it, WB needed to promise more than double the profit