//
// FindBPMLayer::calculateBPM from 0x3f7c04 to 0x3f7c48 (68 bytes)
//
// 1 xrefs:
// > FindBPMLayer::registerTouch @ 0x3f7e92
//
// 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
//
float __fastcall FindBPMLayer::calculateBPM(float this)
{
float v1; // r4
v1 = this;
if ( *(int *)(LODWORD(this) + 584) > 1 )
{
this = COERCE_FLOAT(roundf());
*(_DWORD *)(LODWORD(v1) + 588) = (int)this;
}
return this;
}