Tyler Perry onstage at Spike TV's "Eddie Murphy: One Night Only" at the Saban Theatre on in 2012 in Beverly Hills, California.

Story highlights

Perry will play a defense attorney in "Gone Girl"

Ben Affleck has also been cast

Reese Witherspoon optioned the novel in 2012 and is producing the film

CNN  — 

Tyler Perry has joined the cast of “Gone Girl,” EW has confirmed.

Perry will play defense attorney Tanner Bolt, the man who reps Nick (Ben Affleck) after his wife disappears. Deadline, which first reported the news, also says Kim Dickens and Patrick Fugit are nearing deals to star as the detectives investigating Amy’s (Rosamund Pike) case and that Neil Patrick Harris is near a deal to play Amy’s old boyfriend, Desi Collins.

Reps didn’t immediately respond to EW’s request for confirmation.

EW: ‘Gone Girl’ - Rosamund Pike offered lead role

The David Fincher-directed thriller, based on Gillian Flynn’s popular novel of the same name, centers around the disappearance of Amy and the case against her prime-suspect husband, Nick. Reese Witherspoon optioned the novel in 2012 and is producing the film, which is set to begin production later this month.

See the original story at EW.com.