//
// MoreOptionsLayer::onSongBrowser from 0x1403763a0 to 0x140376405 (101 bytes)
//
// 2 xrefs:
// > MoreOptionsLayer::init @ 0x14037418e
// > ??> @ 0x1406d5ba0
//
// 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 MoreOptionsLayer::onSongBrowser(MoreOptionsLayer *a1, cocos2d::CCObject *a2)
{
__int64 v3; // rcx
GJSongBrowser *v4; // rdi
GJDropDownLayerDelegate *v5; // rdx
__int64 v6; // rax
v4 = GJSongBrowser::create();
v5 = &a1->GJDropDownLayerDelegate;
if ( !a1 )
v5 = nullptr;
v4->m_delegate = v5;
v6 = cocos2d::CCDirector::sharedDirector(v3);
(*(void (__fastcall **)(_QWORD, GJSongBrowser *, __int64))(**(_QWORD **)(v6 + 264) + 440LL))(
*(_QWORD *)(v6 + 264),
v4,
106);
v4->showLayer(v4, 0);
}