//
// FindBPMLayer::playMusic from 0x3f7de8 to 0x3f7e4e (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:18 +0000
//
int __fastcall FindBPMLayer::playMusic(FindBPMLayer *this)
{
MusicDownloadManager *v2; // r7
int v3; // r0
_BYTE v5[12]; // [sp+0h] [bp-14h] BYREF
v2 = (MusicDownloadManager *)FMODAudioEngine::sharedEngine(this);
v3 = MusicDownloadManager::sharedState(v2);
MusicDownloadManager::pathForSong((MusicDownloadManager *)v5, v3);
FMODAudioEngine::loadAndPlayMusic(v2, (int)v5, (unsigned int)(float)(*((float *)this + 137) * 1000.0), 0);
return std::string::~string((int)v5);
}