//
// CCMenuItemToggler::setEnabled from 0x2e69fe to 0x2e6a28 (42 bytes)
//
// 0 xrefs:
//
// 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 v3; // r4
v3 = a2;
cocos2d::CCMenuItem::setEnabled(a1, a2);
a1->m_offButton->setEnabled(a1->m_offButton, v3);
a1->m_onButton->setEnabled(a1->m_onButton, v3);
}