//
// SongOptionsLayer::updatePlaybackBtn from 0x1001c4558 to 0x1001c45c4 (108 bytes)
//
// 1 xrefs:
// > SongOptionsLayer::onPlayback @ 0x1001c4524
//
// 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 11:00:16 +0000
//
__int64 __fastcall SongOptionsLayer::updatePlaybackBtn(__int64 a1)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 isMusicPlaying_1; // x0
int v4; // w20
__int64 v5; // x0
const char *v6; // x1
__int64 v7; // x1
v1 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 680) + 1072LL))(*(_QWORD *)(a1 + 680));
v2 = FMODAudioEngine::sharedEngine();
isMusicPlaying_1 = FMODAudioEngine::isMusicPlaying_1(v2, 0);
v4 = isMusicPlaying_1;
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(isMusicPlaying_1);
if ( v4 )
v6 = "GJ_stopMusicBtn_001.png";
else
v6 = "GJ_playMusicBtn_001.png";
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 1160LL))(v1, v7);
}