//
// SFXBrowser::onCredits from 0x10043f7e0 to 0x10043f871 (145 bytes)
//
// 1 xrefs:
// > SFXBrowser::init @ 0x10043f14c
//
// 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 *v2; // rax
__int64 m_sfxArtists; // r14
char *v4; // r14
__int128 v5; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
v2 = MusicDownloadManager::sharedState();
m_sfxArtists = (__int64)v2->m_sfxArtists;
if ( m_sfxArtists && (unsigned int)sub_100720070(v2->m_sfxArtists) )
{
LOBYTE(v5) = 22;
strcpy((char *)&v5 + 1, "SFX Credits");
v4 = URLViewLayer::create(&v5, m_sfxArtists);
if ( (v5 & 1) != 0 )
operator delete(__p);
((void (__fastcall *)(SFXBrowser *, char *, __int64))a1->addChild_0)(a1, v4, 100);
(*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v4 + 1312LL))(v4, 0);
}
}