//
// SFXBrowser::onCredits from 0x140480200 to 0x1404802b3 (179 bytes)
//
// 2 xrefs:
// > SFXBrowser::init @ 0x14047f220
// > ??> @ 0x1406db9c0
//
// 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; // rax
cocos2d::CCObject *m_sfxArtists; // rbx
cocos2d::CCNode *v5; // rbx
_DWORD v6[4]; // [rsp+20h] [rbp-28h] BYREF
__int64 v7; // [rsp+30h] [rbp-18h]
__int64 v8; // [rsp+38h] [rbp-10h]
v3 = MusicDownloadManager::sharedState();
m_sfxArtists = v3->m_sfxArtists;
if ( m_sfxArtists )
{
if ( cocos2d::CCArray::count(v3->m_sfxArtists) )
{
v6[3] = 0;
v7 = 11;
v8 = 15;
strcpy((char *)v6, "SFX Credits");
v5 = (cocos2d::CCNode *)URLViewLayer::create((__int64)v6, m_sfxArtists);
a1->addChild_0(a1, v5, 100);
((void (__fastcall *)(cocos2d::CCNode *, _QWORD))v5->__vftable[1].getPosition)(v5, 0);
}
}
}