I think the wolf symbolizes the guilt Cloud has about the deaths of some of his friends, and also his loneliness. (SPOILER)When he finally returns to his friends at the end of the movie (in the church), there's a scene just before that where the wolf disappears, and I think Cloud stops being a lone wolf there. There are several other threads about this topic as well.