//
// BoomScrollLayer::create from 0x10038e1a0 to 0x10038e217 (119 bytes)
//
// 5 xrefs:
// > WorldSelectLayer::setupWorlds @ 0x1003abe0c
// > LevelSelectLayer::init @ 0x10041faff
// > GauntletSelectLayer::setupGauntlets @ 0x10059f7b8
// > SecretRewardsLayer::init @ 0x10070e914
// > SecretRewardsLayer::createSecondaryLayer @ 0x1007105ea
//
// 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:29:12 +0000
//
void *__fastcall BoomScrollLayer::create(__int64 a1, unsigned int a2, unsigned __int8 a3, __int64 a4, __int64 a5)
{
void *v7; // rbx
v7 = operator new(0x278u);
BoomScrollLayer::BoomScrollLayer(v7);
if ( (unsigned __int8)BoomScrollLayer::init(v7, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v7);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v7 + 16LL))(v7);
return nullptr;
}
return v7;
}