{"type": "func", "start": 6442825696, "end": 6442825721, "name": "cocos2d::CCMenuItemSprite::setEnabled", "pseudocode": "// \n// cocos2d::CCMenuItemSprite::setEnabled from 0x18005b7e0 to 0x18005b7f9 (25 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800f86f8\n// > <???> @ 0x1800f8b58\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2ea4\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 cocos2d::CCMenuItemSprite::setEnabled(cocos2d::CCMenuItemSprite *this, bool a2)\n{\n  cocos2d::CCMenuItemSprite_vtbl *v2; // rax\n\n  if ( this->m_bEnabled != a2 )\n  {\n    v2 = this->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    this->m_bEnabled = a2;\n    ((void (*)(void))v2->updateImagesVisibility)();\n  }\n}", "assembly": "; \n; cocos2d::CCMenuItemSprite::setEnabled from 0x18005b7e0 to 0x18005b7f9 (25 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800f86f8\n; > <???> @ 0x1800f8b58\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2ea4\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\ncmp     [rcx+159h], dl                                                 ; +0x0, 0x18005b7e0\njz      short locret_18005B7F8                                         ; +0x6, 0x18005b7e6\nmov     rax, [rcx]                                                     ; +0x8, 0x18005b7e8\nmov     [rcx+159h], dl                                                 ; +0xb, 0x18005b7eb\njmp     qword ptr [rax+3D8h]                                           ; +0x11, 0x18005b7f1\nretn                                                                   ; +0x18, 0x18005b7f8", "xrefs": ["<???> @ 0x1800f86f8", "<???> @ 0x1800f8b58", "<???> @ 0x1801438a8", "<???> @ 0x1801b2ea4"], "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"}