// // SetupEnterEffectPopup::onEnterType from 0x140420620 to 0x1404206fe (222 bytes) // // 3 xrefs: // > SetupEnterEffectPopup::init @ 0x14041ffbb // > SetupEnterEffectPopup::init @ 0x140420099 // > @ 0x1406d94dc // // 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 SetupEnterEffectPopup::onEnterType(SetupEnterEffectPopup *a1, cocos2d::CCObject *a2) { unsigned int v4; // edi int v5; // eax EffectGameObject *m_gameObject; // rcx struct cocos2d::CCObject *v7; // rax v4 = 0; if ( a2->getTag(a2) == a1->m_enterType ) v5 = 0; else v5 = a2->getTag(a2); a1->m_enterType = v5; CCMenuItemToggler::toggle(a1->m_enterOnlyToggler, v5 == 1); CCMenuItemToggler::toggle(a1->m_exitOnlyToggler, a1->m_enterType == 2); m_gameObject = a1->m_gameObject; if ( m_gameObject ) { LODWORD(m_gameObject[1].EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable) = a1->m_enterType; } else if ( cocos2d::CCArray::count(a1->m_gameObjects) ) { do { v7 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v4++); v7[33].m_uID = a1->m_enterType; } while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source