The film is the latest part of a startling turnaround for the studio, which has now released five consecutive hits.