// // SetupEnterTriggerPopup::determineStartValues from 0x8c25c4 to 0x8c2684 (192 bytes) // // 2 xrefs: // > @ 0x6ed48 // > @ 0x1195910 // // 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 SetupEnterTriggerPopup::determineStartValues(SetupEnterTriggerPopup *a1) { EffectGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x20 unsigned int v4; // w19 bool v5; // cf unsigned int v6; // w1 cocos2d::CCArray *i; // x0 int v8; // w0 int m_enterType; // w1 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_enterType = -1; v4 = 0; v5 = (unsigned int)cocos2d::CCArray::count(m_gameObjects) == 0; v6 = 0; for ( i = m_gameObjects; !v5; i = m_gameObjects ) { v8 = *(_DWORD *)(cocos2d::CCArray::objectAtIndex(i, v6) + 1820); m_enterType = a1->m_enterType; if ( m_enterType < 0 ) { a1->m_enterType = v8; ++v4; } else { if ( m_enterType != v8 ) a1->m_enterType = 0; ++v4; } v5 = v4 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v6 = v4; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source