The Transformers star hit headlines after he was hauled out of a Broadway performance of Cabaret by cops amid allegations he was smoking in the theatre and disrupting the show.
He was arrested and charged with disorderly conduct and criminal trespass, and spent the night in jail before being released on Friday morning (27Jun14).
LaBeouf's apparent meltdown became a trending tropic on Twitter.com, and prompted a string of jokes from actor/director Dunham, who writes on her page, "I feel you Shia: In 1993 I was carried out of Les Mis (musical Les Miserables) screaming because I couldn't handle the intimations of death."
She also quoted her Girls colleague Gillian Jacobs, adding, "'You know you're a f**kin' G (gangster) when you're arrested during Cabaret' - Gillian Jacobs."
Dunham later expressed her sympathy for the actors who were on stage at the time of the incident, adding, "Seriously feel awful for the performers and am sorry to contribute to celebrity takedown culture but this is the best current event we have!"
However, LaBeouf received a show of support from Jon Bernthal, his co-star in upcoming war movie Fury, who posted a picture of himself on set with the star and added in a caption, "Hang in there homie. Get through it. Big love."
The actor has shocked fans in recent months with his increasing bizarre behaviour.
His strange antics include wearing a brown paper bag over his head on the red carpet at the Berlin International Film Festival in Germany earlier this year (14), setting himself up in a bizarre live art installation in Los Angeles, and flooding his Twitter page with the message "I am not famous anymore".