//
// FindBPMLayer::playMusic from 0x10007e2b4 to 0x10007e324 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x10077afe8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall FindBPMLayer::playMusic(FindBPMLayer *a1)
{
FMODAudioEngine *v2; // x20
MusicDownloadManager *v3; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
v2 = FMODAudioEngine::sharedEngine();
v3 = MusicDownloadManager::sharedState();
MusicDownloadManager::pathForSong(__p, v3, (unsigned int)a1->m_songID);
FMODAudioEngine::loadAndPlayMusic(v2, __p, (unsigned int)(float)(a1->m_elapsed * 1000.0), 0);
if ( v5 < 0 )
operator delete(__p[0]);
}