//
// FindBPMLayer::playMusic from 0x30870c to 0x308770 (100 bytes)
//
// 0 xrefs:
//
// 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 FindBPMLayer::playMusic(FindBPMLayer *a1)
{
FMODAudioEngine *v2; // r7
MusicDownloadManager *v3; // r0
FindBPMLayer *v4; // [sp+0h] [bp-Ch] BYREF
v4 = a1;
v2 = FMODAudioEngine::sharedEngine();
v3 = MusicDownloadManager::sharedState();
MusicDownloadManager::pathForSong((MusicDownloadManager *)&v4, (int)v3);
FMODAudioEngine::loadAndPlayMusic(v2, (int)&v4, (unsigned int)(float)(a1->m_elapsed * 1000.0), 0);
sub_774008(&v4);
}