//
// OptionsObject::toggleState from 0x1002b0700 to 0x1002b071f (31 bytes)
//
// 1 xrefs:
// > OptionsCell::onToggleOption @ 0x100254605
//
// 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 __fastcall OptionsObject::toggleState(OptionsObject *a1)
{
OptionsObjectDelegate *m_delegate; // rdi
a1->m_enabled ^= 1u;
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(OptionsObjectDelegate *, OptionsObject *))m_delegate->stateChanged)(m_delegate, a1);
}