//
// SongInfoLayer::onBPM from 0x1006d91d0 to 0x1006d9208 (56 bytes)
//
// 1 xrefs:
// > SongInfoLayer::init @ 0x1006d8248
//
// This function is hookable on this platform (idp: pc, 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 12:35:41 +0000
//
__int64 __fastcall SongInfoLayer::onBPM(__int64 a1)
{
_QWORD *v1; // rax
void *v2; // rax
v1 = (_QWORD *)FMODAudioEngine::sharedEngine();
FMODAudioEngine::stopAllMusic(v1, 1);
v2 = sub_10050EB50(*(_DWORD *)(a1 + 712));
return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v2 + 1312LL))(v2);
}