Then the camera prowled like it did the whole film, went back stage through the halls we’ve seen the whole time and we’d get to the dressing room where literally Johnny Depp would be sitting looking in the mirror and putting on his Riggan Thomson wig and then the poster of 'Pirates of the Caribbean 5' would be in the back. In Jack Sparrow’s voice [it would say], ‘What the fuck are we doing here, mate?’ It was going to be the satire of the endless loop of that.
For reference -- ahem, spoilers ahead -- the film's ending as it stands now shows Riggan (Michael Keaton) in the hospital after shooting his nose off onstage. His daughter Sam (Emma Stone), comes back to his hospital room and finds it empty. The rest is ambiguous.