{"type": "func", "start": 6442833952, "end": 6442833977, "name": "cocos2d::CCMenuItemSprite::setEnabled", "pseudocode": "// \n// cocos2d::CCMenuItemSprite::setEnabled from 0x18005d820 to 0x18005d839 (25 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800febb0\n// > <???> @ 0x1800ff020\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenuItemSprite::setEnabled(cocos2d::CCMenuItemSprite *this, char a2)\n{\n  __int64 v2; // rax\n\n  if ( *((_BYTE *)this + 345) != a2 )\n  {\n    v2 = *(_QWORD *)this;\n    *((_BYTE *)this + 345) = a2;\n    (*(void (**)(void))(v2 + 1000))();\n  }\n}", "assembly": "; \n; cocos2d::CCMenuItemSprite::setEnabled from 0x18005d820 to 0x18005d839 (25 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800febb0\n; > <???> @ 0x1800ff020\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:49 +0000\n; \ncmp     [rcx+159h], dl                                                 ; +0x0, 0x18005d820\njz      short locret_18005D838                                         ; +0x6, 0x18005d826\nmov     rax, [rcx]                                                     ; +0x8, 0x18005d828\nmov     [rcx+159h], dl                                                 ; +0xb, 0x18005d82b\njmp     qword ptr [rax+3E8h]                                           ; +0x11, 0x18005d831\nretn                                                                   ; +0x18, 0x18005d838", "xrefs": ["<???> @ 0x1800febb0", "<???> @ 0x1800ff020", "<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}