//
// SongOptionsLayer::updatePlaybackBtn from 0x1002174e0 to 0x100217544 (100 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SongOptionsLayer::updatePlaybackBtn(SongOptionsLayer *a1)
{
__int64 v1; // rbx
FMODAudioEngine *v2; // rax
bool isMusicPlaying_1; // r14
cocos2d::CCSpriteFrameCache *v4; // rax
const char *v5; // rsi
cocos2d::CCSpriteFrame *v6; // rax
v1 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_playbackButton->getNormalImage)(a1->m_playbackButton);
v2 = FMODAudioEngine::sharedEngine();
isMusicPlaying_1 = FMODAudioEngine::isMusicPlaying_1(v2, 0);
v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v5 = "GJ_playMusicBtn_001.png";
if ( isMusicPlaying_1 )
v5 = "GJ_stopMusicBtn_001.png";
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, v5);
(*(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v1 + 1144LL))(v1, v6);
}