{"type": "func", "start": 4296610576, "end": 4296610640, "name": "CCMenuItemToggler::unselected", "pseudocode": "// \n// CCMenuItemToggler::unselected from 0x100191310 to 0x100191350 (64 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007a7998\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 __fastcall CCMenuItemToggler::unselected(CCMenuItemToggler *a1)\n{\n  __int64 v2; // x8\n\n  cocos2d::CCMenuItem::unselected(a1);\n  v2 = 376;\n  if ( a1->m_toggled )\n    v2 = 384;\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)((char *)&a1->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                               + v2)\n                                 + 1008LL))(*(CCMenuItemToggler_vtbl **)((char *)&a1->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                                                       + v2));\n}", "assembly": "; \n; CCMenuItemToggler::unselected from 0x100191310 to 0x100191350 (64 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007a7998\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100191310\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100191314\nADD             X29, SP, #0x10                                         ; +0x8, 0x100191318\nMOV             X19, X0                                                ; +0xc, 0x10019131c\nBL              cocos2d__CCMenuItem__unselected                        ; +0x10, 0x100191320\nLDRB            W8, [X19,#0x188]                                       ; +0x14, 0x100191324\nCMP             W8, #0                                                 ; +0x18, 0x100191328\nMOV             W8, #0x178                                             ; +0x1c, 0x10019132c\nMOV             W9, #0x180                                             ; +0x20, 0x100191330\nCSEL            X8, X9, X8, NE                                         ; +0x24, 0x100191334\nLDR             X0, [X19,X8]                                           ; +0x28, 0x100191338\nLDR             X8, [X0]                                               ; +0x2c, 0x10019133c\nLDR             X1, [X8,#0x3F0]                                        ; +0x30, 0x100191340\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x100191344\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x100191348\nBR              X1                                                     ; +0x3c, 0x10019134c", "xrefs": ["<???> @ 0x1007a7998"], "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"}