{"type": "func", "start": 5368993184, "end": 5368993257, "name": "CCMenuItemToggler::setEnabled", "pseudocode": "// \n// CCMenuItemToggler::setEnabled from 0x1400455a0 to 0x1400455e9 (73 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14052f180\n// > <???> @ 0x1406c4728\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::setEnabled(CCMenuItemToggler *a1, bool a2)\n{\n  cocos2d::CCMenuItem::setEnabled(a1, a2);\n  (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)&a1->m_nScriptTapHandler + 920LL))(\n    *(_QWORD *)&a1->m_nScriptTapHandler,\n    a2);\n  a1->m_offButton->setEnabled(a1->m_offButton, a2);\n}", "assembly": "; \n; CCMenuItemToggler::setEnabled from 0x1400455a0 to 0x1400455e9 (73 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14052f180\n; > <???> @ 0x1406c4728\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400455a0\npush    rdi                                                            ; +0x5, 0x1400455a5\nsub     rsp, 20h                                                       ; +0x6, 0x1400455a6\nmovzx   edi, dl                                                        ; +0xa, 0x1400455aa\nmov     rbx, rcx                                                       ; +0xd, 0x1400455ad\ncall    cs:?setEnabled@CCMenuItem@cocos2d@@UEAAX_N@Z; cocos2d::CCMenuItem::setEnabled(bool) ; +0x10, 0x1400455b0\nmov     rcx, [rbx+178h]                                                ; +0x16, 0x1400455b6\nmovzx   edx, dil                                                       ; +0x1d, 0x1400455bd\nmov     rax, [rcx]                                                     ; +0x21, 0x1400455c1\ncall    qword ptr [rax+398h]                                           ; +0x24, 0x1400455c4\nmov     rcx, [rbx+180h]                                                ; +0x2a, 0x1400455ca\nmovzx   edx, dil                                                       ; +0x31, 0x1400455d1\nmov     rax, [rcx]                                                     ; +0x35, 0x1400455d5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x38, 0x1400455d8\nadd     rsp, 20h                                                       ; +0x3d, 0x1400455dd\npop     rdi                                                            ; +0x41, 0x1400455e1\njmp     qword ptr [rax+398h]                                           ; +0x42, 0x1400455e2", "xrefs": ["<???> @ 0x14052f180", "<???> @ 0x1406c4728"], "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"}