//
// SFXBrowser::onCredits from 0x582ea4 to 0x582f1a (118 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 SFXBrowser::onCredits(SFXBrowser *a1, cocos2d::CCObject *a2)
{
MusicDownloadManager *v3; // r0
char *m_sfxArtists; // r6
cocos2d::CCNode *v5; // r6
char v6[4]; // [sp+8h] [bp-Ch] BYREF
v3 = MusicDownloadManager::sharedState();
m_sfxArtists = (char *)v3->m_sfxArtists;
if ( m_sfxArtists )
{
if ( cocos2d::CCArray::count(v3->m_sfxArtists) )
{
sub_776584((int)v6, "SFX Credits");
v5 = (cocos2d::CCNode *)URLViewLayer::create(v6, m_sfxArtists);
sub_774008(v6);
a1->addChild_0(a1, v5, 100);
((void (__fastcall *)(cocos2d::CCNode *, _DWORD))v5->__vftable[1].isIgnoreAnchorPointForPosition)(v5, 0);
}
}
}