The R-rated comedy, left for dead by some Hollywood studios, again reached No.1 at the box office over the weekend thanks to the raunchy coming-of-age tale "Good Boys," about a trio of 12-year-olds on a crude misadventure.

"Good Boys" surpassed expectations to debut with $21 million, according to studio estimates Sunday, dethroning the "Fast & Furious" spinoff "Hobbs & Shaw," which slid to second with $14.1 million in its third weekend. Not since Melissa McCarthy's "The Boss" came in No. 1 all the way back in April 2016 has an R-rated comedy topped the North American box office.

"This is like a unicorn sighting," said Paul Dergarabedian, senior media analyst for data firm Comscore.

'HOBBS & SHAW' RACES TO SECOND WEEK AT NO. 1 IN BOX OFFICE AS 'THE KITCHEN' GETS BURNED

In recent years, R-rated horror has largely taken the place of R-rated comedy at the box office, as Hollywood has increasingly ceded the genre to TV and streaming services. But Universal Studios, which released "Good Boys," has kept the flame. The studio was behind "The Boss" as well as the intervening years' highest grossing domestic comedies: 2017's "Girls Trip" and 2018's "Night School."

"Good Boys" broke out of a crowded late-summer field of new releases. The weekend's other new widely released films — the animated sequel "The Angry Birds Movie 2," the shark attack sequel "47 Meters Down: Uncaged," the Bruce Springsteen-inspired drama "Blinded by the Light" and Richard Linklater's Cate Blanchett-led "Where'd You Go Bernadette" — all fizzled.

'HOBBS & SHAW' DEBUTS AT NO. 1 IN BOX OFFICE

This image released by Universal Pictures shows Jacob Tremblay, from left, as Max, Keith L. Williams as Lucas and Brady Noon as Thor in the film,

This image released by Universal Pictures shows Jacob Tremblay, from left, as Max, Keith L. Williams as Lucas and Brady Noon as Thor in the film, "Good Boys," written by Lee Eisenberg and Gene Stupnitsky and directed by Stupnitsky. (AP)

DISNEY'S LIVE-ACTION 'THE LION KING' JOINS ELITE CLUB

Directed by Gene Stupnitsky (who co-wrote the script with Lee Eisenberg), "Good Boys" stars Jacob Tremblay, Keith L. Williams and Brady Noon as sixth graders trying to make it to their first kissing party. The movie's much-watched red-band trailer traded on its ironies. As Rogen says, Tremblay, Williams and Noon are all too young to see their own movie alone.

Jim Orr, distribution chief for Universal, credited Rogen and Goldberg's Point Grey Pictures and the film's clever marketing for the film's performance.

"This is a genre that is very difficult to do and we're having great success as a studio with a very diverse slate," Orr said. "One of the common denominators there is our marketing department. They just over-deliver constantly with a broad range of films."

'AVENGERS: ENDGAME' STILL NOT THE BIGGEST MOVIE OF ALL TIME THANKS TO 'GONE WITH THE WIND'

The challenge of "Good Boys" was to turn out moviegoers older than the movie's pipsqueak protagonists, and it did. Only 7 percent of the audience was under age 18, according to Universal, though 41% was under 25. Crowds split evenly between the sexes: 52 percent male, 48 percent female.

The release strategies behind some of the weekend's other new films were harder to discern.

Sony's "The Angry Birds Movie 2," on a budget of $65 million, opened with a paltry $10.5 million domestically, though it added $19.4 million internationally. Hoping to snarl kids before school starts, Sony released the film on Tuesday. But it didn't come close to the $38.2 million domestic debut of the first installment in 2016 despite notably better reviews (76 percent fresh on Rotten Tomatoes).

'AVENGERS: ENDGAME' SHATTERS 'AVATAR' BOX OFFICE RECORD

'47 METERS DOWN: UNCAGED' STARS SISTINE STALLONE, CORINNE FOXX REVEAL WHAT FAMOUS DADS TAUGHT THEM

"47 Meters Down: Uncaged," from Entertainment Studios, also showed little bite. It debuted with $9 million, a slight downtick from the $11.2 million the first one opened with in 2017.

A pair of films that might have been platform released to build word-of-mouth instead opened wide in bids to stand out in the traditional dumping-ground of late summer. But the results were mixed.

"Blinded by the Light," which Warner Bros. plunked down $15 million for at the Sundance Film Festival, took in $4.5 million from 2,307 locations. The film, which has been warmly reviewed, is about a British-Pakistani teen growing up in 1980s England whose life is transformed after he discovers Springsteen.

'BLINDED BY THE LIGHT' TAKES VIEWERS ON A JOURNEY SET TO BRUCE SPRINGSTEEN TUNES

And United Artists' "Where'd You Go Bernadette" grossed $3.5 million from 2,404 locations. Based on Maria Semple's 2012 comic novel, Linklater's film earned lukewarm reviews for its tale of a missing mother (Blanchett).

The "Good Boys" debut gave Universal, also behind "Hobbs & Shaw" its third straight weekend at No. 1 and 10th this year — second only to Disney.

With two weeks to go, the overall summer movie season is running 1.9 percent behind the pace of last summer, according to Comscore.

Estimated ticket sales for Friday through Sunday at U.S. and Canadian theaters, according to Comscore. Where available, the latest international numbers for Friday through Sunday are also included.

CLICK HERE TO GET THE FOX NEWS APP

1. "Good Boys," $21 million ($2.1 million international).

2. "Hobbs & Shaw," $14.1 million ($45.7 million international).

3. "The Lion King," $11.9 million ($33.8 million international).

4. "The Angry Birds Movie 2," $10.5 million ($19.4 million international).

5. "Scary Stories to Tell in the Dark," $10.1 million.

6. "47 Meters Down: Uncaged," $9 million.

7. "Dora and the Lost City of Gold," $8.5 million.

8. "Once Upon a Time in Hollywood," $7.6 million.

9. "Blinded by the Light," $4.5 million.

10. "Art of Racing in the Rain," $4.4 million.