The characters of George and Ira were written specifically for Adam Sandler and Seth Rogen.
According to the audio commentary, Paul Thomas Anderson did an uncredited edit of the film. He did get a thank you in the credits, however.
The plot of the film and its characters are loosely based on F. Scott Fitzgerald's novel "The Great Gatsby", including a character named Daisy.