//
// cocos2d::CCMenuItemSprite::setEnabled from 0x1003c0150 to 0x1003c0170 (32 bytes)
//
// 6 xrefs:
// > ??> @ 0x1008b1ec8
// > ??> @ 0x1008ef698
// > ??> @ 0x10090cc70
// > ??> @ 0x10092c2a8
// > ??> @ 0x10092c7a8
// > ??> @ 0x100965810
//
// 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);
}
}