// // cocos2d::CCMenuItem::activate from 0x18005a140 to 0x18005a195 (85 bytes) // // 5 xrefs: // > @ 0x1800f75c8 // > @ 0x1800f86c8 // > @ 0x1800f8b28 // > @ 0x1801438a8 // > @ 0x1801b2c4c // // 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 cocos2d::CCMenuItem::activate(cocos2d::CCMenuItem *this) { cocos2d::CCObject *m_pListener; // rcx void (__cdecl *ptr)(cocos2d::CCObject *); // rax struct cocos2d::CCScriptEngineManager *v4; // rax if ( this->m_bEnabled ) { m_pListener = this->m_pListener; if ( m_pListener ) { ptr = this->m_pfnSelector.ptr; if ( ptr ) ((void (__fastcall *)(cocos2d::CCObject *, cocos2d::CCMenuItem *))ptr)(m_pListener, this); } if ( this->m_eScriptType ) { v4 = cocos2d::CCScriptEngineManager::sharedManager(); (*(void (__fastcall **)(_QWORD, cocos2d::CCMenuItem *))(**(_QWORD **)v4 + 72LL))(*(_QWORD *)v4, this); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source