More often than not, a Martin McDonagh script sets out like the start of a joke. Two Irishmen meet in a pub, a hangman and a stranger meet in a pub, two hitmen go on holiday to Belgium, a man searches for his missing left hand, a woman purchases three billboards. McDonagh likes a well-told joke, and his films and plays are rife with them. But the scripts overall tend to swerve and sour before arriving at a punchline: His films, in particular, are frequently very funny, but they don’t tend to leave you laughing. So it proves again in “Wild Horse Nine,” starting with a joke opener practically patched together at random from other McDonagh loglines — two CIA agents go on holiday to Easter Island — and ending with a small lump in the throat.
It’s been a long time since we’ve seen this actor — too often squandered on rent-a-villain roles or Europudding ensemble duty — this engaged and affecting, in a part this perfectly tailored to his weary, wary onscreen demeanor. (That eye-rolling impatience with the world that he tends to project yields rewards both comic and tragic here.) But it’s also a while since he was matched with a partner as warmly responsive as Sam Rockwell, essentially the faintly offbeat straight man to Malkovich’s wholly loose cannon: “Wild Horse Nine” is as irreverent and ultimately mournful a buddy movie as “In Bruges” and “The Banshees of Inisherin,” again probing the faultlines of male friendship with equal parts vulgarity and grace.
The new film never quite surprises, either on its own terms or relative to its predecessors: Its ironies and reversals lock together more or less as you expect, and notwithstanding the sweeping, sunset-filtered beauty of Easter Island itself, McDonagh’s cinematic style remains prosaic. But there’s a necessary grain of discomfort in the film’s cool, jokey complacency, as it raises a glass to a generation of men that once ran the world — without remotely suggesting that they’re missed.

