The actress’s involvement hinges on revisions to the screenplay following Gone Girl writer Gillian Flynn’s departure.