Hits such as “Dawn of the Planet of the Apes,” “Gone Girl” and “X-Men: Days of Future Past” drove 20th Century Fox to new box office heights in 2014.

With two months left to go on the calendar, the studio has already shattered its previous record for domestic ticket sales. Through Monday, Fox had generated $1.52 billion at the stateside box office, eclipsing its highwater market of $1.48 billion from 2010. Much of the earnings from that year were driven by James Cameron’s “Avatar.”

The studio is first in market share, followed by Disney and Warner Bros. That’s a major turnaround from the three previous years when it was sixth place among studios in terms of market share. Last year saw the studio struggle with several box office disappointments such as “The Secret Life of Walter Mitty” and “Runner Runner.”

When combining its earnings with its indie division Fox Searchlight, which has released such art house titles as “The Grand Budapest Hotel” and “Birdman,” Fox’s domestic total tops out at $1.63 billion.

Fox’s other hits include the teen weepie “The Fault in Our Stars,” the R-rated comedy “Let’s Be Cops” and the animated sequel “Rio 2.” It also distributed DreamWorks Animation’s “Mr. Peabody & Sherman” and “How to Train Your Dragon 2.”