//
// CustomSongLayer::onSongBrowser from 0x83ac2c to 0x83ac9c (112 bytes)
//
// 3 xrefs:
// > ??> @ 0x3de18
// > CustomSongLayer::init @ 0x83c434
// > ??> @ 0x1229f90
//
// 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 CustomSongLayer::onSongBrowser(CustomSongLayer *a1, cocos2d::CCObject *a2)
{
GJDropDownLayerDelegate *v2; // x20
GJSongBrowser *v3; // x0
GJSongBrowser *v4; // x19
cocos2d::CCScene *m_pRunningScene; // x20
void (__fastcall *addChild_0)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int); // x21
int HighestChildZ; // w0
v2 = &a1->GJDropDownLayerDelegate;
v3 = GJSongBrowser::create();
v3->m_delegate = v2;
v4 = v3;
m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;
addChild_0 = m_pRunningScene->addChild_0;
HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_pRunningScene);
addChild_0(m_pRunningScene, v4, HighestChildZ + 1);
v4->showLayer(v4, 0);
}