//
// SongSelectNode::onOpenCustomSong from 0x83f830 to 0x83f87c (76 bytes)
//
// 4 xrefs:
// > ??> @ 0x6e0d0
// > SongSelectNode::init @ 0x83f3a8
// > SongSelectNode::init @ 0x83f42c
// > ??> @ 0x122b9e0
//
// 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 SongSelectNode::onOpenCustomSong(SongSelectNode *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
MusicDownloadManager *v4; // x0
v3 = GameManager::sharedState();
if ( GameManager::getGameVariable(v3, "0016") )
{
SongSelectNode::showCustomSongSelect(a1);
}
else
{
v4 = MusicDownloadManager::sharedState();
MusicDownloadManager::showTOS(v4, &a1->FLAlertLayerProtocol);
}
}