//
// CustomSongLayer::onMusicBrowser from 0x57adac to 0x57add8 (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:48 +0000
//
int __fastcall CustomSongLayer::onMusicBrowser(CustomSongLayer *this, cocos2d::CCObject *a2)
{
int v3; // r0
int *v4; // r0
int v5; // r3
v3 = *((_DWORD *)this + 132);
if ( v3 )
v3 = (*(int (__fastcall **)(int, cocos2d::CCObject *))(*(_DWORD *)v3 + 4))(v3, a2);
v4 = (int *)MusicBrowser::create(v3, -1);
v5 = *v4;
v4[158] = (int)this + 524;
return (*(int (**)(void))(v5 + 656))();
}