// // SetupAnimationPopup::determineStartValues from 0x94cfd0 to 0x94d0c0 (240 bytes) // // 2 xrefs: // > @ 0x683a0 // > @ 0x11b5a10 // // 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::determineStartValues(SetupAnimationPopup *a1) { EffectGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x21 unsigned int v4; // w19 bool v5; // cf unsigned int v6; // w1 cocos2d::CCArray *i; // x0 __int64 v8; // x0 int m_targetID; // w1 int m_animationID; // w1 int v11; // w0 SetupTriggerPopup::determineStartValues(a1); m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)m_gameObject); cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject); } else { m_gameObjects = a1->m_gameObjects; } if ( m_gameObjects ) { if ( (unsigned int)cocos2d::CCArray::count(m_gameObjects) ) { a1->m_targetID = -1; a1->m_animationID = -1; v4 = 0; v5 = (unsigned int)cocos2d::CCArray::count(m_gameObjects) == 0; v6 = 0; for ( i = m_gameObjects; !v5; i = m_gameObjects ) { v8 = cocos2d::CCArray::objectAtIndex(i, v6); m_targetID = a1->m_targetID; if ( m_targetID == -1 ) { a1->m_targetID = *(_DWORD *)(v8 + 1448); } else if ( m_targetID != *(_DWORD *)(v8 + 1448) ) { a1->m_targetID = 0; } m_animationID = a1->m_animationID; v11 = *(_DWORD *)(v8 + 1636); if ( m_animationID == -1 ) { a1->m_animationID = v11; ++v4; } else { if ( m_animationID != v11 ) a1->m_animationID = 0; ++v4; } v5 = v4 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v6 = v4; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source