// // SetupEnterEffectPopup::onEnterType from 0x100401270 to 0x10040133c (204 bytes) // // 2 xrefs: // > SetupEnterEffectPopup::init @ 0x1004009e0 // > SetupEnterEffectPopup::init @ 0x100400a94 // // 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 SetupEnterEffectPopup::onEnterType(SetupEnterEffectPopup *a1, cocos2d::CCObject *a2) { int v4; // w0 EffectGameObject *m_gameObject; // x8 unsigned int v6; // w20 if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == a1->m_enterType ) v4 = 0; else v4 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); a1->m_enterType = v4; CCMenuItemToggler::toggle(a1->m_enterOnlyToggler, v4 == 1); CCMenuItemToggler::toggle(a1->m_exitOnlyToggler, a1->m_enterType == 2); m_gameObject = a1->m_gameObject; if ( m_gameObject ) { *(_DWORD *)(&m_gameObject->m_canSpawnTriggers + 1) = a1->m_enterType; } else if ( (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) ) { v6 = 0; do *(_DWORD *)(sub_10024A388((__int64)a1->m_gameObjects, v6++) + 1836) = a1->m_enterType; while ( v6 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source