//
// sub_10050EB50 from 0x10050eb50 to 0x10050eb9b (75 bytes)
//
// 1 xrefs:
// > SongInfoLayer::onBPM @ 0x1006d91f1
//
// 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:31:35 +0000
//
void *__fastcall sub_10050EB50(unsigned int a1)
{
void *v1; // rbx
v1 = operator new(0x318u);
sub_10050F040(v1);
if ( (unsigned __int8)FindBPMLayer::init(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}