{"type": "func", "start": 3041790, "end": 3041832, "name": "CCMenuItemToggler::setEnabled", "pseudocode": "// \n// CCMenuItemToggler::setEnabled from 0x2e69fe to 0x2e6a28 (42 bytes)\n// \n// 0 xrefs:\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 v3; // r4\n\n  v3 = a2;\n  cocos2d::CCMenuItem::setEnabled(a1, a2);\n  a1->m_offButton->setEnabled(a1->m_offButton, v3);\n  a1->m_onButton->setEnabled(a1->m_onButton, v3);\n}", "assembly": "; \n; CCMenuItemToggler::setEnabled from 0x2e69fe to 0x2e6a28 (42 bytes)\n; \n; 0 xrefs:\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            {R4-R6,LR}                                             ; +0x0, 0x2e69fe\nMOV             R5, R0                                                 ; +0x2, 0x2e6a00\nMOV             R4, R1                                                 ; +0x4, 0x2e6a02\nBL              _ZN7cocos2d10CCMenuItem10setEnabledEb; cocos2d::CCMenuItem::setEnabled(bool) ; +0x6, 0x2e6a04\nLDR.W           R0, [R5,#0x12C]                                        ; +0xa, 0x2e6a08\nMOV             R1, R4                                                 ; +0xe, 0x2e6a0c\nLDR             R3, [R0]                                               ; +0x10, 0x2e6a0e\nLDR.W           R3, [R3,#0x208]                                        ; +0x12, 0x2e6a10\nBLX             R3                                                     ; +0x16, 0x2e6a14\nLDR.W           R0, [R5,#0x130]                                        ; +0x18, 0x2e6a16\nMOV             R1, R4                                                 ; +0x1c, 0x2e6a1a\nPOP.W           {R4-R6,LR}                                             ; +0x1e, 0x2e6a1c\nLDR             R3, [R0]                                               ; +0x22, 0x2e6a20\nLDR.W           R3, [R3,#0x208]                                        ; +0x24, 0x2e6a22\nBX              R3                                                     ; +0x28, 0x2e6a26", "xrefs": [], "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"}