//
// CCMenuItemToggler::setEnabled from 0x100191350 to 0x100191398 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a79b8
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall CCMenuItemToggler::setEnabled(CCMenuItemToggler *a1, bool a2)
{
_BOOL8 v2; // x19
v2 = a2;
cocos2d::CCMenuItem::setEnabled(a1, a2);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_offButton->setEnabled)(a1->m_offButton, v2);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_onButton->setEnabled)(a1->m_onButton, v2);
}