//
// MusicBrowser::onPlaybackControl from 0xb83a24 to 0xb83a58 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0xcee60
// > MusicBrowser::setupSongControls @ 0xb8412c
// > ??> @ 0x1546180
//
// 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 13:02:29 +0000
//
__int64 *__fastcall MusicBrowser::onPlaybackControl(MusicBrowser *this, cocos2d::CCObject *a2)
{
__int64 *result; // x0
FMODAudioEngine *v3; // x0
result = (__int64 *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
if ( !(_DWORD)result )
{
v3 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine((FMODAudioEngine *)result);
return FMODAudioEngine::stopMusic(v3, 0);
}
return result;
}