//
// SpriteAnimationManager::updateAnimationSpeed from 0x100323ca8 to 0x100323cf0 (72 bytes)
//
// 2 xrefs:
// > PlayerObject::updateRobotAnimationSpeed @ 0x10022d5d8
// > PlayerObject::updateRobotAnimationSpeed @ 0x10022d5e8
//
// 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 __fastcall SpriteAnimationManager::updateAnimationSpeed(SpriteAnimationManager *a1, float a2)
{
cocos2d::CCDictionary *m_animateDict; // x8
cocos2d::CCDictElement *i; // x8
cocos2d::CCObject *m_pObject; // x9
if ( a1->m_speed != a2 )
{
a1->m_speed = a2;
m_animateDict = a1->m_animateDict;
if ( m_animateDict )
{
for ( i = m_animateDict->m_pElements; i; *(float *)&m_pObject[1].m_uReference = a2 )
{
while ( 1 )
{
m_pObject = i->m_pObject;
i = (cocos2d::CCDictElement *)i->hh.next;
if ( !m_pObject->m_eObjType )
break;
if ( !i )
return;
}
}
}
}
}