{"type": "func", "start": 5727856, "end": 5727908, "name": "CCMenuItemToggler::selected", "pseudocode": "// \n// CCMenuItemToggler::selected from 0x576670 to 0x5766a4 (52 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xbab58\n// > <???> @ 0x1139278\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\nvoid CCMenuItemToggler::selected(CCMenuItemToggler *a1)\n{\n  CCMenuItemSpriteExtra *v2; // x0\n\n  cocos2d::CCMenuItem::selected(a1);\n  v2 = CCMenuItemToggler::activeItem(a1);\n  v2->selected(v2);\n}", "assembly": "; \n; CCMenuItemToggler::selected from 0x576670 to 0x5766a4 (52 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xbab58\n; > <???> @ 0x1139278\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x576670\nMOV             X29, SP                                                ; +0x4, 0x576674\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x576678\nMOV             X19, X0                                                ; +0xc, 0x57667c\nBL              _ZN7cocos2d10CCMenuItem8selectedEv; cocos2d::CCMenuItem::selected(void) ; +0x10, 0x576680\nMOV             X0, X19; this                                          ; +0x14, 0x576684\nBL              _ZN17CCMenuItemToggler10activeItemEv; CCMenuItemToggler::activeItem(void) ; +0x18, 0x576688\nLDR             X1, [X0]                                               ; +0x1c, 0x57668c\nLDR             X1, [X1,#0x3E8]                                        ; +0x20, 0x576690\nBLR             X1                                                     ; +0x24, 0x576694\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x28, 0x576698\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0x57669c\nRET                                                                    ; +0x30, 0x5766a0", "xrefs": ["<???> @ 0xbab58", "<???> @ 0x1139278"], "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"}