// // CCMenuItemSpriteExtra::activate from 0x2e64b0 to 0x2e6538 (136 bytes) // // 0 xrefs: // // 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 CCMenuItemSpriteExtra::activate(CCMenuItemSpriteExtra *a1) { FMODAudioEngine *v2; // r7 _BYTE v3[4]; // [sp+10h] [bp-Ch] BYREF if ( a1->m_bEnabled ) { cocos2d::CCNode::stopAllActions(a1); if ( !a1->m_animationType ) ((void (__fastcall *)(CCMenuItemSpriteExtra *, _DWORD))a1->setScale)(a1, LODWORD(a1->m_baseScale)); if ( *((_DWORD *)a1->m_activateSound.m_data.m_data - 3) ) { v2 = FMODAudioEngine::sharedEngine(); sub_776584((int)v3, (char *)a1->m_activateSound.m_data.m_data); FMODAudioEngine::playEffect((int)v2, (int)v3, 1065353216, 0, a1->m_volume); sub_774008(v3); } cocos2d::CCMenuItem::activate(a1); } }