//
// BoomScrollLayer::create from 0x1001549f4 to 0x100154a84 (144 bytes)
//
// 5 xrefs:
// > BoomScrollLayer::create_1 @ 0x100154d34
// > GauntletSelectLayer::setupGauntlets @ 0x100255104
// > SecretRewardsLayer::init @ 0x100384758
// > SecretRewardsLayer::createSecondaryLayer @ 0x100385dd0
// > LevelSelectLayer::init @ 0x100482620
//
// This function is hookable on this platform (idp: arm, 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 10:59:41 +0000
//
void *__fastcall BoomScrollLayer::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)
{
void *v10; // x19
v10 = operator new(0x278u);
BoomScrollLayer::BoomScrollLayer();
if ( (unsigned int)BoomScrollLayer::init(v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((__int64)v10);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
return v10;
}