//
// CCMenuItemToggler::setSpriteColor from 0x3c6c3a to 0x3c6c70 (54 bytes)
//
// 13 xrefs:
// > GameToolbox::NotifyToggleSet::setState @ 0x3cd21c
// > GameToolbox::NotifyToggleSet::setState @ 0x3cd224
// > ShareLevelSettingsLayer::updateSettingsState @ 0x4a2954
// > VideoOptionsLayer::toggleResolution @ 0x52d122
// > VideoOptionsLayer::toggleResolution @ 0x52d16e
// > ParentalOptionsLayer::applyToggleLock @ 0x52d764
// > SongInfoLayer::init @ 0x53ba72
// > SongInfoLayer::init @ 0x53ba7a
// > GameOptionsLayer::setupOptions @ 0x5e22d0
// > GJAccountSettingsLayer::init @ 0x5e4294
// > ShareListLayer::updateUnlistedF @ 0x6d4fd8
// > GameSettingsLayer::addToggle @ 0x710ee2
// > sub_788CEC @ 0x788d14
//
// 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:46:34 +0000
//
int __fastcall CCMenuItemToggler::setSpriteColor(int a1, int a2)
{
int v4; // r0
int v5; // r0
v4 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 300) + 536))(*(_DWORD *)(a1 + 300));
(*(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 480))(v4, a2);
v5 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 304) + 536))(*(_DWORD *)(a1 + 304));
return (*(int (__fastcall **)(int, int))(*(_DWORD *)v5 + 480))(v5, a2);
}