//
// SpriteAnimationManager::updateAnimationSpeed from 0x100723270 to 0x1007232c2 (82 bytes)
//
// 4 xrefs:
// > GJMapObject::createMonster @ 0x100266d44
// > GJMapObject::startMonsterJumpLoop @ 0x100267093
// > PlayerObject::updateRobotAnimationSpeed @ 0x10041ba37
// > PlayerObject::updateRobotAnimationSpeed @ 0x10041ba54
//
// 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; // rax
cocos2d::CCDictElement *m_pElements; // rax
cocos2d::CCObject *m_pObject; // rcx
if ( a1->m_speed != a2 )
{
a1->m_speed = a2;
m_animateDict = a1->m_animateDict;
if ( m_animateDict )
{
m_pElements = m_animateDict->m_pElements;
while ( m_pElements )
{
m_pObject = m_pElements->m_pObject;
m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next;
if ( !m_pObject->m_eObjType )
*(float *)&m_pObject[1].m_uReference = a2;
}
}
}
}