//
// MusicBrowser::create from 0x1006e7390 to 0x1006e73ea (90 bytes)
//
// 2 xrefs:
// > CustomSongLayer::onMusicBrowser @ 0x1001f8fa6
// > NCSInfoLayer::onLibrary @ 0x1001fbc23
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:35:47 +0000
//
void *__fastcall MusicBrowser::create(unsigned int a1, unsigned int a2)
{
void *v2; // rbx
v2 = operator new(0x398u);
MusicBrowser::MusicBrowser(v2);
if ( (unsigned __int8)MusicBrowser::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}