// // cocos2d::CCMenuItemLabel::activate from 0x18005a1a0 to 0x18005a217 (119 bytes) // // 5 xrefs: // > @ 0x1800f79f0 // > @ 0x1800f7e38 // > @ 0x1800f8280 // > @ 0x1801438a8 // > @ 0x1801b2c58 // // 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::CCMenuItemLabel::activate(cocos2d::CCMenuItemLabel *this) { cocos2d::CCObject *m_pListener; // rcx void (__cdecl *ptr)(cocos2d::CCObject *); // rax struct cocos2d::CCScriptEngineManager *v4; // rax if ( this->m_bEnabled ) { cocos2d::CCNode::stopAllActions(this); ((void (__fastcall *)(cocos2d::CCMenuItemLabel *))this->setScale_0)(this); if ( this->m_bEnabled ) { m_pListener = this->m_pListener; if ( m_pListener ) { ptr = this->m_pfnSelector.ptr; if ( ptr ) ((void (__fastcall *)(cocos2d::CCObject *, cocos2d::CCMenuItemLabel *))ptr)(m_pListener, this); } if ( this->m_eScriptType ) { v4 = cocos2d::CCScriptEngineManager::sharedManager(); (*(void (__fastcall **)(_QWORD, cocos2d::CCMenuItemLabel *))(**(_QWORD **)v4 + 72LL))(*(_QWORD *)v4, this); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source