‘The Hangover’ pokes fun at taboo types

If there is any justice in the universe, “The Hangover” will make Zach Galifianakis a household name.

Holy heck, he’s funny.

As the odd man out in a quartet of bachelor partiers, Galifianakis’ bearded weirdo Alan blithely stands around in a jockstrap and athletic cup — then goes in for a hug from his future brother-in-law.

He laments being banned from pleasuring himself on an airplane, which he blames not on common decency but on Osama bin Laden.

And he wears a man-purse better than anyone in Hollywood.

It’s Galifianakis’ all-out performance that makes “The Hangover” the funniest comedy since Judd Apatow’s “The 40-Year-Old Virgin.”

Our story begins on the wedding day of Doug (Justin Bartha) and Tracy (Sasha Barrese). The phone rings, and the bride hears the voice of best man Phil (Bradley Cooper), whose first words to her are, “We (blanked) up.”

Flashback two days earlier, when Doug and Phil are joined by Alan and Stu (Ed Helms of “The Office”) on a road trip to Las Vegas.

Upon checking in to Caesar’s Palace, the four make a Jagermeister toast to what surely will be the best bachelor party ever.

Flash forward many, many hours later. Three of the four have passed out in a heroically trashed hotel suite, clueless about what has transpired. And they have only a few hours to find the absent groom.

Unlike so many Vegas movies before it, “The Hangover” avoids glamorizing alcohol-fueled, consequence-free debauchery. Instead, it focuses on the aftermath of buffoonery and the mystery of the epic night out. It’s “Swingers” meets “Memento.”

But the film is admiringly irredeemable. This is a movie that manages to make funny out of 9/11, the Holocaust, date rape, and child abandonment.

While “The Hangover” certainly lacks the treacly heart of the compulsively sweet Apatow films, it’s all the better for it.