//
// cocos2d::CCMenuItemSprite::setEnabled from 0x10004d158 to 0x10004d178 (32 bytes)
//
// 4 xrefs:
// > ??> @ 0x10079f128
// > ??> @ 0x1007c2d08
// > ??> @ 0x1007e7580
// > ??> @ 0x1008158c8
//
// 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 *a1, bool a2)
{
if ( a1->m_bEnabled != a2 )
{
a1->m_bEnabled = a2;
((void (__fastcall *)(cocos2d::CCMenuItemSprite *))a1->updateImagesVisibility)(a1);
}
}