//
// FindBPMLayer::create from 0x10007e084 to 0x10007e0e4 (96 bytes)
//
// 1 xrefs:
// > SongInfoLayer::onBPM @ 0x1003a8880
//
// 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
//
FindBPMLayer *__fastcall FindBPMLayer::create(int a1)
{
FindBPMLayer *v2; // x19
v2 = (FindBPMLayer *)operator new(0x2F8u);
sub_10007E4A8();
if ( FindBPMLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(FindBPMLayer *))v2->~FindBPMLayer_0)(v2);
return nullptr;
}
return v2;
}