//
// SpriteAnimationManager::updateAnimationSpeed from 0x58f4c4 to 0x58f50c (72 bytes)
//
// 5 xrefs:
// > PlayerObject::updateRobotAnimationSpeed @ 0x62d718
// > PlayerObject::updateRobotAnimationSpeed @ 0x62d728
// > GJMapObject::startMonsterJumpLoop @ 0x97e53c
// > GJMapObject::createMonster @ 0x97e83c
// > ??> @ 0x77418
//
// 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::updateAnimationSpeed(SpriteAnimationManager *a1, float a2)
{
cocos2d::CCDictionary *m_animateDict; // x1
cocos2d::CCDictElement *m_pElements; // x2
cocos2d::CCDictElement *i; // x0
cocos2d::CCObject *m_pObject; // x1
if ( a1->m_speed != a2 )
{
m_animateDict = a1->m_animateDict;
a1->m_speed = a2;
if ( m_animateDict )
{
m_pElements = m_animateDict->m_pElements;
if ( m_pElements )
{
for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next )
{
m_pObject = m_pElements->m_pObject;
m_pElements = i;
if ( !m_pObject->m_eObjType )
*(float *)&m_pObject[1].m_uReference = a2;
if ( !i )
break;
}
}
}
}
}