{"type": "func", "start": 4296610420, "end": 4296610448, "name": "CCMenuItemToggler::activeItem", "pseudocode": "// \n// CCMenuItemToggler::activeItem from 0x100191274 to 0x100191290 (28 bytes)\n// \n// 3 xrefs:\n// > GameOptionsLayer::setupOptions @ 0x1002e195c\n// > SongInfoLayer::init @ 0x1003a8674\n// > SongInfoLayer::init @ 0x1003a8698\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nCCMenuItemSpriteExtra *__fastcall CCMenuItemToggler::activeItem(CCMenuItemToggler *a1)\n{\n  __int64 v1; // x8\n\n  v1 = 376;\n  if ( a1->m_toggled )\n    v1 = 384;\n  return *(CCMenuItemSpriteExtra **)((char *)&a1->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                   + v1);\n}", "assembly": "; \n; CCMenuItemToggler::activeItem from 0x100191274 to 0x100191290 (28 bytes)\n; \n; 3 xrefs:\n; > GameOptionsLayer::setupOptions @ 0x1002e195c\n; > SongInfoLayer::init @ 0x1003a8674\n; > SongInfoLayer::init @ 0x1003a8698\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDRB            W8, [X0,#0x188]                                        ; +0x0, 0x100191274\nCMP             W8, #0                                                 ; +0x4, 0x100191278\nMOV             W8, #0x178                                             ; +0x8, 0x10019127c\nMOV             W9, #0x180                                             ; +0xc, 0x100191280\nCSEL            X8, X9, X8, NE                                         ; +0x10, 0x100191284\nLDR             X0, [X0,X8]                                            ; +0x14, 0x100191288\nRET                                                                    ; +0x18, 0x10019128c", "xrefs": ["GameOptionsLayer::setupOptions @ 0x1002e195c", "SongInfoLayer::init @ 0x1003a8674", "SongInfoLayer::init @ 0x1003a8698"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}