//
// CCMenuItemToggler::setEnabled from 0x5765a8 to 0x576600 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x9d5c0
// > ??> @ 0x11392a0
//
// 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 CCMenuItemToggler::setEnabled(CCMenuItemToggler *a1, bool a2)
{
_BOOL4 v2; // w19
v2 = a2;
cocos2d::CCMenuItem::setEnabled(a1, a2);
a1->m_offButton->setEnabled(a1->m_offButton, v2);
a1->m_onButton->setEnabled(a1->m_onButton, v2);
}