//
// CCMenuItemToggler::setEnabled from 0x100059ee0 to 0x100059f1c (60 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b33f8
//
// 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 CCMenuItemToggler::setEnabled(CCMenuItemToggler *a1, bool a2)
{
cocos2d::CCMenuItem::setEnabled(a1, a2);
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_offButton->setEnabled)(a1->m_offButton, a2);
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_onButton->setEnabled)(a1->m_onButton, a2);
}