//
// OptionsCell::onToggleOption from 0x4244e2 to 0x42450e (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:03 +0000
//
OptionsObject *__fastcall OptionsCell::onToggleOption(OptionsCell *this, cocos2d::CCObject *a2, int a3)
{
OptionsObject *result; // r0
result = *((OptionsObject **)this + 105);
if ( result )
{
OptionsObject::toggleState(result);
result = *(OptionsObject **)(*((_DWORD *)this + 80) + 464);
if ( result )
return (OptionsObject *)(**(int (__fastcall ***)(OptionsObject *, OptionsCell *, int, int, _DWORD, cocos2d::CCObject *, int))result)(
result,
this,
24,
1,
0,
a2,
a3);
}
return result;
}