//
// FindBPMLayer::playMusic from 0x100086a68 to 0x100086ad8 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c76a0
//
// 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 10:58:19 +0000
//
void __fastcall FindBPMLayer::playMusic(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
v2 = FMODAudioEngine::sharedEngine(a1);
v3 = MusicDownloadManager::sharedState(v2);
MusicDownloadManager::pathForSong(__p, v3, *(unsigned int *)(a1 + 760));
FMODAudioEngine::loadAndPlayMusic(v2, __p, (unsigned int)(float)(*(float *)(a1 + 720) * 1000.0), 0);
if ( v5 < 0 )
operator delete(__p[0]);
}