//
// FindBPMLayer::playMusic from 0x10050d8f0 to 0x10050d95e (110 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095c898
//
// 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 *v1; // r14
double v2; // xmm0_8
std::string v3; // [rsp+0h] [rbp-30h] BYREF
v1 = FMODAudioEngine::sharedEngine();
MusicDownloadManager::sharedState();
MusicDownloadManager::pathForSong(&v3);
*(_QWORD *)&v2 = LODWORD(a1->m_elapsed);
*(float *)&v2 = *(float *)&v2 * 1000.0;
FMODAudioEngine::loadAndPlayMusic(v1, (__int128 *)&v3, (int)*(float *)&v2, 0, v2);
if ( (*(_BYTE *)&v3.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v3.__r_.__value_.__l.__data_);
}