//
// CustomSongLayer::onMusicBrowser from 0x97e254 to 0x97e2a8 (84 bytes)
//
// 3 xrefs:
// > ??> @ 0x56c80
// > CustomSongLayer::init @ 0x980b00
// > ??> @ 0x1541f40
//
// This function is hookable on this platform (idp: arm, 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:57:49 +0000
//
__int64 __fastcall CustomSongLayer::onMusicBrowser(CustomSongLayer *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
__int64 v4; // x0
__int64 *v5; // x0
__int64 v6; // x2
v3 = *((_QWORD *)this + 85);
if ( v3 )
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 8LL))(v3);
else
v4 = 0;
v5 = (__int64 *)MusicBrowser::create(v4, 0xFFFFFFFFLL);
v6 = *v5;
v5[110] = (__int64)this + 672;
return (*(__int64 (**)(void))(v6 + 1312))();
}