The Srimad Bhagavatam contains a version of this story, other than Vishnu deceives him in another way: as opposed to turning into Mohini and attracting him, he turns into a young scholar and charms him with his terms: Hanuman's role while in the fight involving Rama and Ravana is big. https://trentonwzfkk.losblogos.com/36591106/about-yantra