// // cocos2d::CCMenu::onExit from 0x180059840 to 0x180059889 (73 bytes) // // 4 xrefs: // > @ 0x1800f6fb0 // > @ 0x1801438a8 // > @ 0x1801b2b5c // > @ 0x1801b2b68 // // 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::CCMenu::onExit(cocos2d::CCMenu *this) { cocos2d::CCMenuItem *m_pSelectedItem; // rcx if ( this->m_eState == kCCMenuStateTrackingTouch ) { m_pSelectedItem = this->m_pSelectedItem; if ( m_pSelectedItem ) { ((void (__fastcall *)(cocos2d::CCMenuItem *))m_pSelectedItem->unselected)(m_pSelectedItem); this->m_pSelectedItem = nullptr; } this->m_eState = kCCMenuStateWaiting; } cocos2d::CCLayer::onExit(this); }