{"type": "func", "start": 4295335648, "end": 4295335708, "name": "CCMenuItemToggler::setEnabled", "pseudocode": "// \n// CCMenuItemToggler::setEnabled from 0x100059ee0 to 0x100059f1c (60 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b33f8\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::setEnabled(CCMenuItemToggler *a1, bool a2)\n{\n  cocos2d::CCMenuItem::setEnabled(a1, a2);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_offButton->setEnabled)(a1->m_offButton, a2);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_onButton->setEnabled)(a1->m_onButton, a2);\n}", "assembly": "; \n; CCMenuItemToggler::setEnabled from 0x100059ee0 to 0x100059f1c (60 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b33f8\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\npush    rbp                                                            ; +0x0, 0x100059ee0\nmov     rbp, rsp                                                       ; +0x1, 0x100059ee1\npush    r14                                                            ; +0x4, 0x100059ee4\npush    rbx                                                            ; +0x6, 0x100059ee6\nmov     ebx, esi                                                       ; +0x7, 0x100059ee7\nmov     r14, rdi                                                       ; +0x9, 0x100059ee9\ncall    cocos2d__CCMenuItem__setEnabled                                ; +0xc, 0x100059eec\nmov     rdi, [r14+178h]                                                ; +0x11, 0x100059ef1\nmov     rax, [rdi]                                                     ; +0x18, 0x100059ef8\nmov     esi, ebx                                                       ; +0x1b, 0x100059efb\ncall    qword ptr [rax+410h]                                           ; +0x1d, 0x100059efd\nmov     rdi, [r14+180h]                                                ; +0x23, 0x100059f03\nmov     rax, [rdi]                                                     ; +0x2a, 0x100059f0a\nmov     rax, [rax+410h]                                                ; +0x2d, 0x100059f0d\nmov     esi, ebx                                                       ; +0x34, 0x100059f14\npop     rbx                                                            ; +0x36, 0x100059f16\npop     r14                                                            ; +0x37, 0x100059f17\npop     rbp                                                            ; +0x39, 0x100059f19\njmp     rax                                                            ; +0x3a, 0x100059f1a", "xrefs": ["<???> @ 0x1008b33f8"], "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"}