// // CCMenuItemToggler::activeItem from 0x576658 to 0x576670 (24 bytes) // // 8 xrefs: // > CCMenuItemToggler::selected @ 0x576688 // > CCMenuItemToggler::activate @ 0x5766bc // > CCMenuItemToggler::unselected @ 0x5766f0 // > CCMenuItemToggler::toggle @ 0x576778 // > SongInfoLayer::init @ 0x7df854 // > SongInfoLayer::init @ 0x7df878 // > GameOptionsLayer::setupOptions @ 0x8dc318 // > @ 0xa5e58 // // 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 // CCMenuItemSpriteExtra *CCMenuItemToggler::activeItem(CCMenuItemToggler *a1) { _BOOL4 m_toggled; // w2 CCMenuItemSpriteExtra *m_offButton; // x1 CCMenuItemSpriteExtra *result; // x0 m_toggled = a1->m_toggled; m_offButton = a1->m_offButton; result = a1->m_onButton; if ( !m_toggled ) return m_offButton; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source