LOS ANGELES  — Tyler Perry's Boo 2! A Madea Halloween has scared up a healthy audience in its first weekend in theaters. Studio estimates on Sunday say the comedy sequel earned $21.7 million from nearly 2,400 theaters to easily take first place.

Tyler Perry's infamous Madea encounters ghouls and goblins at a haunted campground in the comedy sequel 'Boo 2! A Madea Halloween' (Oct. 20).
Chip Bergman

In second place is the long-delayed disaster epic Geostorm, which opened with a dismal $13.3 million against a reported $120 million production budget. Gerard Butler stars in the film from first-time director Dean Devlin, who produced Independence Day.

Holdovers took third and fourth places, with Groundhog Day-like horror hit Happy Death Day bringing in $9.4 million and Harrison Ford and Ryan Gosling's Blade Runner 2049 adding $7.2 million.

More: Do you need to see the original 'Blade Runner' to enjoy '2049'?

Related: The Mothership podcast: We're celebrating Halloween with Freddy Krueger

The fact-based firefighter drama Only the Brave, starring Josh Brolin and Miles Teller, opened in fifth place with $6 million from 2,600 screens, while Michael Fassbender's poorly reviewed adaptation of The Snowman tanked in eighth with $3.4 million.

In limited release, Todd Haynes' children's adventure Wonderstruck did well on four screens in New York and Los Angeles, averaging $17,000 per, or $68,800 total, comScore says.

Final figures are expected Monday.

Contributing: Kim Willis