//
// SpriteAnimationManager::stopAnimations from 0x2f3600 to 0x2f362a (42 bytes)
//
// 9 xrefs:
// > CCAnimatedSprite::tweenToAnimation @ 0x2e443e
// > PlayerObject::toggleSpiderMode @ 0x346d68
// > PlayerObject::toggleRobotMode @ 0x347650
// > PlayerObject::ringJump @ 0x34e63a
// > AnimatedGameObject::deactivateObject @ 0x3e4762
// > AnimatedGameObject::updateObjectAnimation @ 0x3e7f2e
// > AnimatedGameObject::init @ 0x3e823c
// > GJRobotSprite::init @ 0x4b84d4
// > AnimatedShopKeeper::init @ 0x4e2c8c
//
// 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)
{
CCPartAnimSprite *m_paSprite; // r0
cocos2d::CCSprite *m_fbfSprite; // r0
SpriteAnimationManager::overridePrio(a1);
m_paSprite = a1->m_sprite->m_paSprite;
if ( m_paSprite )
cocos2d::CCNode::stopAllActions(m_paSprite);
m_fbfSprite = a1->m_sprite->m_fbfSprite;
if ( m_fbfSprite )
cocos2d::CCNode::stopAllActions(m_fbfSprite);
}