//
// OptionsCell::onToggleOption from 0x1002545f0 to 0x100254642 (82 bytes)
//
// 1 xrefs:
// > OptionsCell::loadFromObject @ 0x100244459
//
// 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 OptionsCell::onToggleOption(OptionsCell *a1, cocos2d::CCObject *a2)
{
OptionsObject *m_optionsObject; // rdi
TableViewCellDelegate *m_cellDelegate; // rdi
m_optionsObject = a1->m_optionsObject;
if ( m_optionsObject )
{
OptionsObject::toggleState(m_optionsObject);
m_cellDelegate = a1->m_tableView->m_cellDelegate;
if ( m_cellDelegate )
((void (__fastcall *)(TableViewCellDelegate *, OptionsCell *, __int64, __int64, _QWORD))m_cellDelegate->cellPerformedAction)(
m_cellDelegate,
a1,
26,
1,
0);
}
}