//
// CCMenuItemToggler::setEnabled from 0x1400455a0 to 0x1400455e9 (73 bytes)
//
// 2 xrefs:
// > ??> @ 0x14052f180
// > ??> @ 0x1406c4728
//
// 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)
{
cocos2d::CCMenuItem::setEnabled(a1, a2);
(*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)&a1->m_nScriptTapHandler + 920LL))(
*(_QWORD *)&a1->m_nScriptTapHandler,
a2);
a1->m_offButton->setEnabled(a1->m_offButton, a2);
}