//
// cocos2d::CCMenuItemSprite::setEnabled from 0x18005b7e0 to 0x18005b7f9 (25 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800f86f8
// > ??> @ 0x1800f8b58
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b2ea4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCMenuItemSprite::setEnabled(cocos2d::CCMenuItemSprite *this, bool a2)
{
cocos2d::CCMenuItemSprite_vtbl *v2; // rax
if ( this->m_bEnabled != a2 )
{
v2 = this->cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
this->m_bEnabled = a2;
((void (*)(void))v2->updateImagesVisibility)();
}
}