//
// CCMenuItemToggler::setSpriteColor from 0x691f6c to 0x691fd4 (104 bytes)
//
// 17 xrefs:
// > GameToolbox::NotifyToggleSet::setState @ 0x69c540
// > GameToolbox::NotifyToggleSet::setState @ 0x69c54c
// > ShareLevelSettingsLayer::updateSettingsState @ 0x7f2774
// > VideoOptionsLayer::toggleResolution @ 0x8ef210
// > VideoOptionsLayer::toggleResolution @ 0x8ef264
// > VideoOptionsLayer::toggleResolution @ 0x8ef2b4
// > ParentalOptionsLayer::applyToggleLock @ 0x8f00b8
// > SongInfoLayer::init @ 0x905634
// > SongInfoLayer::init @ 0x905640
// > GameOptionsLayer::setupOptions @ 0xa36378
// > GJAccountSettingsLayer::init @ 0xa38b00
// > ShareListLayer::updateUnlistedF @ 0xbaa1b0
// > GameSettingsLayer::addToggle @ 0xc059c8
// > GameSettingsLayer::addToggle @ 0xc05a58
// > EditorSoundConfigUploadPopup::updateVisibilityState @ 0xcd3e14
// > EditorSoundConfigUploadPopup::updateVisibilityState @ 0xcd3e98
// > ??> @ 0x100df8
//
// 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:50:36 +0000
//
__int64 __fastcall CCMenuItemToggler::setSpriteColor(__int64 a1, __int64 a2)
{
__int64 v4; // x0
__int64 v5; // x0
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 376) + 1072LL))(*(_QWORD *)(a1 + 376));
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 960LL))(v4, a2);
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 384) + 1072LL))(*(_QWORD *)(a1 + 384));
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 960LL))(v5, a2);
}