{"type": "func", "start": 4296610640, "end": 4296610712, "name": "CCMenuItemToggler::setEnabled", "pseudocode": "// \n// CCMenuItemToggler::setEnabled from 0x100191350 to 0x100191398 (72 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007a79b8\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall CCMenuItemToggler::setEnabled(CCMenuItemToggler *a1, bool a2)\n{\n  _BOOL8 v2; // x19\n\n  v2 = a2;\n  cocos2d::CCMenuItem::setEnabled(a1, a2);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_offButton->setEnabled)(a1->m_offButton, v2);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_onButton->setEnabled)(a1->m_onButton, v2);\n}", "assembly": "; \n; CCMenuItemToggler::setEnabled from 0x100191350 to 0x100191398 (72 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007a79b8\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, 0x100191350\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100191354\nADD             X29, SP, #0x10                                         ; +0x8, 0x100191358\nMOV             X19, X1                                                ; +0xc, 0x10019135c\nMOV             X20, X0                                                ; +0x10, 0x100191360\nBL              cocos2d__CCMenuItem__setEnabled                        ; +0x14, 0x100191364\nLDR             X0, [X20,#0x178]                                       ; +0x18, 0x100191368\nLDR             X8, [X0]                                               ; +0x1c, 0x10019136c\nLDR             X8, [X8,#0x410]                                        ; +0x20, 0x100191370\nMOV             X1, X19                                                ; +0x24, 0x100191374\nBLR             X8                                                     ; +0x28, 0x100191378\nLDR             X0, [X20,#0x180]                                       ; +0x2c, 0x10019137c\nLDR             X8, [X0]                                               ; +0x30, 0x100191380\nLDR             X2, [X8,#0x410]                                        ; +0x34, 0x100191384\nMOV             X1, X19                                                ; +0x38, 0x100191388\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x10019138c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x100191390\nBR              X2                                                     ; +0x44, 0x100191394", "xrefs": ["<???> @ 0x1007a79b8"], "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"}