//
// OptionsObject::toggleState from 0x8d4d1c to 0x8d4d54 (56 bytes)
//
// 2 xrefs:
// > OptionsCell::onToggleOption @ 0x60a948
// > ??> @ 0x90cc0
//
// 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 OptionsObject::toggleState(OptionsObject *a1)
{
OptionsObjectDelegate *m_delegate; // x2
m_delegate = a1->m_delegate;
a1->m_enabled ^= 1u;
if ( m_delegate )
m_delegate->stateChanged(m_delegate, a1);
}