to the top of the temple the animal slithered painfully , where the small edifice had stood before the spanish guns had blasted it to smithereens was the altar upon which many a victim had ended their life .