Eric Bana was cast in the lead role in September 2004.[4] Drew Barrymore was cast in January 2005,[5] and Debra Messing was cast that February.[6] Doyle Brunson served as a poker consultant on the film.