//
// FindBPMLayer::create from 0x3f8da4 to 0x3f8e4e (170 bytes)
//
// 1 xrefs:
// > SongInfoLayer::onBPM @ 0x53aa0a
//
// 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:19 +0000
//
CreateGuidelinesLayer *__fastcall FindBPMLayer::create(FindBPMLayer *this, int a2)
{
CreateGuidelinesLayer *v3; // r4
int v4; // r3
CreateGuidelinesLayer *v5; // r0
v3 = (CreateGuidelinesLayer *)operator new(0x250u);
CreateGuidelinesLayer::CreateGuidelinesLayer(v3);
*(_DWORD *)v3 = &off_C8CBC8;
*((_DWORD *)v3 + 66) = &off_C8CE90;
*((_DWORD *)v3 + 67) = &off_C8CEC8;
*((_DWORD *)v3 + 68) = &off_C8CED4;
*((_DWORD *)v3 + 69) = &off_C8CEE4;
*((_DWORD *)v3 + 70) = &off_C8CEF8;
*((_DWORD *)v3 + 79) = &off_C8CF10;
*((_DWORD *)v3 + 83) = &off_C8CF50;
*((_DWORD *)v3 + 110) = &off_C8CF60;
*((_DWORD *)v3 + 130) = &off_C8CF84;
*((_DWORD *)v3 + 145) = 0;
*((_DWORD *)v3 + 143) = 0;
*((_DWORD *)v3 + 144) = 0;
*((_DWORD *)v3 + 146) = 0;
*((_DWORD *)v3 + 147) = 0;
if ( FindBPMLayer::init(v3, (int)this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(CreateGuidelinesLayer *))(v4 + 8))(v5);
}
return v3;
}