//
// SpriteAnimationManager::stopAnimations from 0x58fb28 to 0x58fb70 (72 bytes)
//
// 10 xrefs:
// > CCAnimatedSprite::tweenToAnimation @ 0x5716f8
// > PlayerObject::toggleSpiderMode @ 0x630ddc
// > PlayerObject::toggleRobotMode @ 0x631ad8
// > PlayerObject::ringJump @ 0x63c4b0
// > AnimatedGameObject::deactivateObject @ 0x750aa8
// > AnimatedGameObject::updateObjectAnimation @ 0x7566e8
// > AnimatedGameObject::init @ 0x756b80
// > GJRobotSprite::init @ 0x8e36dc
// > AnimatedShopKeeper::init @ 0x92dc1c
// > ??> @ 0x7b588
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SpriteAnimationManager::stopAnimations(SpriteAnimationManager *a1)
{
CCAnimatedSprite *m_sprite; // x1
cocos2d::CCNode *m_paSprite; // x0
cocos2d::CCNode *m_fbfSprite; // x0
SpriteAnimationManager::overridePrio(a1);
m_sprite = a1->m_sprite;
m_paSprite = m_sprite->m_paSprite;
if ( m_paSprite )
{
cocos2d::CCNode::stopAllActions(m_paSprite);
m_sprite = a1->m_sprite;
}
m_fbfSprite = m_sprite->m_fbfSprite;
if ( m_fbfSprite )
cocos2d::CCNode::stopAllActions(m_fbfSprite);
}