//
// SongOptionsLayer::updatePlaybackBtn from 0x1001fab50 to 0x1001fabb4 (100 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:26:49 +0000
//
__int64 __fastcall SongOptionsLayer::updatePlaybackBtn(__int64 a1, double a2)
{
__int64 v2; // rbx
__int64 v3; // rdi
char isMusicPlaying_1; // r14
__int64 v5; // rax
const char *v6; // rsi
__int64 v7; // rax
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 680) + 1072LL))(*(_QWORD *)(a1 + 680));
v3 = FMODAudioEngine::sharedEngine(a2);
isMusicPlaying_1 = FMODAudioEngine::isMusicPlaying_1(v3, 0);
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v6 = "GJ_playMusicBtn_001.png";
if ( isMusicPlaying_1 )
v6 = "GJ_stopMusicBtn_001.png";
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1160LL))(v2, v7);
}