Yeah, it's the bassline except played on guitar. The solo has some similarity to the Come Together solo as well but perhaps that's just because they're in the same key.
EDIT: by the way, I finally have a scan of the cover for the Movie Official Band Score.