//
// OptionsCell::onToggleOption from 0x735a14 to 0x735a68 (84 bytes)
//
// 3 xrefs:
// > ??> @ 0xf5b78
// > OptionsCell::loadFromObject @ 0x748afc
// > ??> @ 0x1547708
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:52:38 +0000
//
__int64 __fastcall OptionsCell::onToggleOption(__int64 this, cocos2d::CCObject *a2)
{
__int64 v2; // x19
if ( *(_QWORD *)(this + 552) )
{
v2 = this;
OptionsObject::toggleState(*(OptionsObject **)(this + 552));
this = *(_QWORD *)(*(_QWORD *)(v2 + 416) + 632LL);
if ( this )
return (**(__int64 (__fastcall ***)(__int64, __int64, __int64, __int64, _QWORD))this)(this, v2, 24, 1, 0);
}
return this;
}