{"type": "func", "start": 5727656, "end": 5727744, "name": "CCMenuItemToggler::setEnabled", "pseudocode": "// \n// CCMenuItemToggler::setEnabled from 0x5765a8 to 0x576600 (88 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x9d5c0\n// > <???> @ 0x11392a0\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  _BOOL4 v2; // w19\n\n  v2 = a2;\n  cocos2d::CCMenuItem::setEnabled(a1, a2);\n  a1->m_offButton->setEnabled(a1->m_offButton, v2);\n  a1->m_onButton->setEnabled(a1->m_onButton, v2);\n}", "assembly": "; \n; CCMenuItemToggler::setEnabled from 0x5765a8 to 0x576600 (88 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x9d5c0\n; > <???> @ 0x11392a0\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,#-0x20+var_s0]!                          ; +0x0, 0x5765a8\nMOV             X29, SP                                                ; +0x4, 0x5765ac\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x5765b0\nUXTB            W19, W1                                                ; +0xc, 0x5765b4\nMOV             X20, X0                                                ; +0x10, 0x5765b8\nMOV             W1, W19; bool                                          ; +0x14, 0x5765bc\nBL              _ZN7cocos2d10CCMenuItem10setEnabledEb; cocos2d::CCMenuItem::setEnabled(bool) ; +0x18, 0x5765c0\nLDR             X2, [X20,#0x178]                                       ; +0x1c, 0x5765c4\nMOV             W1, W19                                                ; +0x20, 0x5765c8\nMOV             X0, X2                                                 ; +0x24, 0x5765cc\nLDR             X2, [X2]                                               ; +0x28, 0x5765d0\nLDR             X2, [X2,#0x410]                                        ; +0x2c, 0x5765d4\nBLR             X2                                                     ; +0x30, 0x5765d8\nLDR             X2, [X20,#0x180]                                       ; +0x34, 0x5765dc\nMOV             W1, W19                                                ; +0x38, 0x5765e0\nMOV             X0, X2                                                 ; +0x3c, 0x5765e4\nLDR             X2, [X2]                                               ; +0x40, 0x5765e8\nLDR             X2, [X2,#0x410]                                        ; +0x44, 0x5765ec\nBLR             X2                                                     ; +0x48, 0x5765f0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x4c, 0x5765f4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x50, 0x5765f8\nRET                                                                    ; +0x54, 0x5765fc", "xrefs": ["<???> @ 0x9d5c0", "<???> @ 0x11392a0"], "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"}