There, I fixed the ending of the movie, this is what really happened.
Iron Man and Spider-Man (c) Marvel