// // cocos2d::CCMenuItemToggle::activate from 0x5d5498 to 0x5d54cc (52 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 cocos2d::CCMenuItemToggle::activate(cocos2d::CCMenuItemToggle *a1) { unsigned int v2; // r5 unsigned int v3; // r1 if ( a1->m_bEnabled ) { v2 = (unsigned int)&a1[1].copyWithZone + 1; v3 = v2 % cocos2d::CCArray::count((cocos2d::CCArray *)a1[1].m_uID); a1->setSelectedIndex(a1, v3); } cocos2d::CCMenuItem::activate(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source