Argo is an absorbing, entertaining thriller that tells the true(ish) story of how Canadians, the CIA and Hollywood saved the day, working together to spirit six Americans out of Tehran during the dark days of the Iran hostage crisis. Crisply directed by Ben Affleck, it’s a well-made period piece with an excellent eye for detail — and a potent secret weapon.

The secret weapon is the improbable cover story created by the CIA to provide false identities for the Americans. Working with Hollywood insiders, the CIA set up a fake movie project: a schlocky post-Star Wars sci-fi spectacle with a middle-Eastern production vibe that might credibly bring a Canadian film crew to Tehran.

The fact-based premise is almost enough to sell Argo by itself. Argo opens and closes as a tense political spy caper, but it’s also an affectionate send-up of the movie-making process. The old advice to writers to "write what you know" is applicable to movies about movies, from Singin’ in the Rain to The Artist, and few subjects inspire Hollywood — or appeal to movie fans and film critics — more reliably than Hollywood itself.

Many movies have shown that it’s not necessary to show successful moviemakers (Ed Wood, Bowfinger, Be Kind Rewind). Now, Argo establishes that a movie about a movie project doesn’t have to involve an actual movie at all. Not that the fake movie is entirely imaginary. There’s a real script, real storyboards, costumes, even a glitzy script reading at the Beverly Hills Hilton covered by the trade magazines — all to create the convincing impression that a movie is being made.

John Goodman, who played a fictional studio boss in The Artist, plays real-life make-up artist John Chambers, best known for his Oscar-winning work on the Planet of the Apes films and for creating Leonard Nimoy’s pointy Mr. Spock ears. "So you want to come to Hollywood and act like a big shot without actually doing anything?" Chambers summarizes after getting the scoop from CIA technical ops officer Tony Mendez, played by Affleck in an effectively low-key performance and a shaggy head of hair. "You’ll fit right in."

It is startling how recent events have lent Argo an almost uncanny currency — in the process highlighting sobering events downplayed by today’s media. We see images of angry, chanting mobs besieging a U.S. Embassy in a Muslim country, climbing over the walls, burning American flags.

Opening voice-over (illustrated with a blend of movie-production storyboards and photographs) establishes the political back story: American attempts to engineer regime change have backfired, leading to anti-American resentment and violence. All this takes place during a Democratic administration whose stumbling initial response may have encouraged further violence.

As an early scene depicts the U.S. intelligence community brainstorming possible cover stories to smuggle out the Americans who have escaped capture and have been given secret sanctuary at the Canadian embassy in Tehran, it’s impossible not to think of the phony immunization program in Pakistan staged by the CIA in an unsuccessful bid to get blood samples from Osama bin Laden’s compound.

Could the CIA issue the Americans fake press credentials? Mendez immediately shoots this suggestion down. If the Iranian Republican Guard catches them using fake journo passes, he points out, "it’ll be Peter Jennings’ head on a platter." These and other considerations lead the CIA to reject "do-gooder" cover identities — from teachers to crop inspectors.

This caution is cast in an unexpectedly poignant light in view of the actual fallout from the discovery of the CIA’s phony immunization program. Not only was the Pakistani doctor who cooperated with the CIA arrested, legitimate vaccination programs have fallen under suspicion and been shut down in Pakistan and Afghanistan, putting children and others at risk, and heath-care workers have been attacked and shot.

Over Argo’s closing credits, former President Jimmy Carter is briefly heard (presumably in audio recorded after the operation was declassified in 1997) noting that, while it was tempting to take credit for the successful cover operation used to extract the Americans, the story had to be kept under wraps. Why wasn’t the bin Laden immunization cover operation equally well guarded?

To help create the appearance of a real movie, Chambers brings in a veteran Hollywood mogul named Lester Siegel (a hilarious Alan Arkin), a fictional character that the real filmmakers say is a composite of industry figures. Another amalgam, CIA agent Jack O’Donnell (Bryan Cranston), works from Langley to support Mendez in the field. (Cranston conceived his character as a devout Catholic and fingered rosary beads when shooting scenes of tension.)

Contrasting strikingly with the satiric wit of the Hollywood material, the mood in the Iranian sequences is tense and grim. (Turkey doubled for Iran during shooting, though there is also Turkish footage openly set in Turkey, including a sequence set in the Hagia Sophia featuring the great Deësis mosaic of Christ Pantocrator, the Virgin Mary and St. John the Baptist.)

In the last act, Argo pumps up the drama of the escape with predictable thriller complications and tension. It’s transparent and contrived, but it works all the same. The best moment in the escape, though, comes down to a classic Hollywood pitch: a moment when a storyteller has a few moments to make his listeners believe in the magic of a movie that doesn’t exist. In a typical pitch, success or failure could mean the difference between a movie being made or not. The stakes are higher here, but the goal is the same.

Steven D. Greydanus is the

Register’s film critic.

Content Advisory: Frequent obscene language, often for comic effect; some profanity; a few violent images. Might be fine for mature teens.