//
// OptionsScrollLayer::onMatchToggle from 0x6bdf34 to 0x6bdf86 (82 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:56:48 +0000
//
int __fastcall OptionsScrollLayer::onMatchToggle(int this, cocos2d::CCObject *a2)
{
cocos2d::CCArray **v2; // r4
int v3; // r3
int v4; // r0
char *v5; // r1
v2 = (cocos2d::CCArray **)this;
v3 = *(_DWORD *)(this + 564);
if ( v3 )
{
*(_BYTE *)(v3 + 98) ^= 1u;
v4 = (*(int (__fastcall **)(_DWORD, cocos2d::CCObject *))(**(_DWORD **)(this + 560) + 536))(
*(_DWORD *)(this + 560),
a2);
if ( *((_BYTE *)v2[141] + 98) )
v5 = "Match: Any";
else
v5 = "Match: All";
ButtonSprite::setString(v4, v5);
MusicSearchResult::updateObjects(v2[141]);
return OptionsScrollLayer::setupList((OptionsScrollLayer *)v2, v2[131]);
}
return this;
}