Washington: The comedy espionage spoof “Spy” took in $30 million in its debut weekend as it topped the box office charts, industry figures showed Sunday.

The movie stars Melissa McCarthy as CIA analyst with a hohum desk job but a knack for being a discrete hero in risky missions carried out by others. But this time she goes deep undercover in the world of arms trafficking when two agents — played by Jason Statham and Jude Law — get in trouble, and works to head off a global disaster.

Mega-disaster epic “San Andreas,” which topped box office sales in its debut last weekend at $54.6 million, was in second place as the blockbuster summer season gathers pace at $26.4 million, according to box office tracker Exhibitor Relations.

The big-budget spectacular stars Dwayne Johnson as a rescue pilot teaming up with his estranged wife to rescue their daughter after temblors unleash chaos on Los Angeles and San Francisco. The film’s title refers to a much-feared, major geological fault in California.

Third place went to the new flick “Insidious: Chapter 3,” at $23 million. It is a prequel to the story of a family connected to the spirit world, and here a psychic contacts the dead to help a teen targeted by a supernatural entity. Another movie making its debut, Entourage — adapted from HBO TV sitcom about an actor and his childhood buddies living the high life in Hollywood — was fourth with $10.4 million in revenue. It stars Adrian Grenier playing A-list movie star Vince Chase.