//
// SFXBrowser::onCredits from 0x1001698b4 to 0x10016994c (152 bytes)
//
// 1 xrefs:
// > SFXBrowser::init @ 0x1001692a0
//
// 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 SFXBrowser::onCredits(SFXBrowser *a1, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // x0
cocos2d::CCArray *m_sfxArtists; // x20
__int64 v5; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
v3 = MusicDownloadManager::sharedState();
m_sfxArtists = v3->m_sfxArtists;
if ( m_sfxArtists && (unsigned int)sub_10024A36C(v3->m_sfxArtists) )
{
sub_100009900(__p, "SFX Credits");
v5 = URLViewLayer::create(__p, m_sfxArtists);
if ( v7 < 0 )
operator delete(__p[0]);
((void (__fastcall *)(SFXBrowser *, __int64, __int64))a1->addChild_0)(a1, v5, 100);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 1312LL))(v5, 0);
}
}