//
// MusicBrowser::onArtistFilters from 0x14033a9e0 to 0x14033aa61 (129 bytes)
//
// 4 xrefs:
// > MusicBrowser::init @ 0x140339188
// > ??> @ 0x1406949dc
// > ??> @ 0x1406949ec
// > ??> @ 0x1406d53fc
//
// 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 MusicBrowser::onArtistFilters(MusicBrowser *a1, cocos2d::CCObject *a2)
{
MusicSearchResult *m_searchResult; // rcx
cocos2d::CCArray *m_artistFilterObjects; // rcx
int v5; // r8d
OptionsScrollLayer *v6; // rbx
OptionsScrollLayer_vtbl *v7; // rdx
FLAlertLayerProtocol *v8; // rcx
m_searchResult = a1->m_searchResult;
if ( m_searchResult )
{
m_artistFilterObjects = m_searchResult->m_artistFilterObjects;
v5 = 4;
if ( a1->m_songType == 1 )
v5 = 1;
v6 = OptionsScrollLayer::create(m_artistFilterObjects, 0, v5);
v6->setTag(v6, 1);
v7 = v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v8 = &a1->FLAlertLayerProtocol;
if ( !a1 )
v8 = nullptr;
v6->m_alertProtocol = v8;
v7->show(v6);
}
}