//
// SongInfoLayer::onBPM from 0x903390 to 0x9033cc (60 bytes)
//
// 3 xrefs:
// > ??> @ 0xd1620
// > SongInfoLayer::init @ 0x904860
// > ??> @ 0x1546300
//
// This function is hookable on this platform (idp: arm, 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:57:07 +0000
//
__int64 __fastcall SongInfoLayer::onBPM(SongInfoLayer *this, cocos2d::CCObject *a2)
{
FMODAudioEngine *v3; // x0
__int64 v4; // x0
v3 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(this);
FMODAudioEngine::stopAllMusic(v3, 1);
v4 = FindBPMLayer::create((FindBPMLayer *)*((unsigned int *)this + 178));
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}