// // SetupAnimationPopup::updateAnimationID from 0x94e358 to 0x94e3e4 (140 bytes) // // 4 xrefs: // > SetupAnimationPopup::textChanged @ 0x94e4c4 // > SetupAnimationPopup::onAnimationIDArrow @ 0x94e598 // > SetupAnimationPopup::onAnimationIDArrow @ 0x94e5b8 // > @ 0x9c990 // // 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 SetupAnimationPopup::updateAnimationID(SetupAnimationPopup *a1) { int m_animationID; // w1 EffectGameObject *m_gameObject; // x2 cocos2d::CCArray *m_gameObjects; // x1 unsigned int v5; // w20 __int64 v6; // x0 bool v7; // cf unsigned int v8; // w1 m_animationID = a1->m_animationID; m_gameObject = a1->m_gameObject; if ( m_animationID < 0 ) m_animationID = 0; if ( m_animationID > 999 ) m_animationID = 999; a1->m_animationID = m_animationID; if ( m_gameObject ) { m_gameObject->m_animationID = m_animationID; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v5 = 0; while ( 1 ) { v7 = v5 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v8 = v5++; if ( v7 ) break; v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v8); m_gameObjects = a1->m_gameObjects; *(_DWORD *)(v6 + 1636) = a1->m_animationID; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source