//
// BoomScrollLayer::create from 0x14003d0a0 to 0x14003d271 (465 bytes)
//
// 7 xrefs:
// > ListButtonBar::init @ 0x14006b0bc
// > EditButtonBar::loadFromItems @ 0x1400d4b80
// > GauntletSelectLayer::setupGauntlets @ 0x1401fa39e
// > LevelSelectLayer::init @ 0x140318b9c
// > SecretRewardsLayer::init @ 0x1403d48cd
// > SecretRewardsLayer::createSecondaryLayer @ 0x1403d561e
// > ??> @ 0x1406c3f6c
//
// 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
//
// Hidden C++ exception states: #wind=2
BoomScrollLayer *BoomScrollLayer::create(
cocos2d::CCArray *a1,
int a2,
bool a3,
cocos2d::CCArray *a4,
DynamicScrollDelegate *a5)
{
char *v8; // r14
int v9; // r8d
v8 = (char *)operator new(0x270u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v8);
*(_QWORD *)v8 = &BoomScrollLayer::`vftable';
*((_QWORD *)v8 + 40) = &BoomScrollLayer::`vftable';
*((_QWORD *)v8 + 41) = &BoomScrollLayer::`vftable';
*((_QWORD *)v8 + 42) = &BoomScrollLayer::`vftable';
*((_QWORD *)v8 + 43) = &BoomScrollLayer::`vftable';
*((_QWORD *)v8 + 44) = &BoomScrollLayer::`vftable';
*((_QWORD *)v8 + 51) = 0;
*((_QWORD *)v8 + 52) = 0;
*((_DWORD *)v8 + 106) = 0;
v8[428] = 0;
*((_QWORD *)v8 + 54) = 0;
*((_QWORD *)v8 + 55) = 0;
v8[448] = 0;
*((_DWORD *)v8 + 113) = 0;
v8[456] = 0;
*((_QWORD *)v8 + 58) = 0;
*((_QWORD *)v8 + 59) = 0;
*((_QWORD *)v8 + 60) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8 + 61);
*((_QWORD *)v8 + 62) = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v8 + 504), &stru_1406C1190);
*((_QWORD *)v8 + 65) = 0;
*((_QWORD *)v8 + 66) = 0;
*((_QWORD *)v8 + 67) = 0;
*((_WORD *)v8 + 272) = 0;
*(_QWORD *)(v8 + 548) = 0;
*((_DWORD *)v8 + 139) = 0;
*((_WORD *)v8 + 280) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 564));
*(_QWORD *)(v8 + 580) = 0;
*((_QWORD *)v8 + 74) = 0;
v8[600] = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v8 + 604));
v8[620] = 0;
if ( BoomScrollLayer::init((BoomScrollLayer *)v8, a1, v9, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
return (BoomScrollLayer *)v8;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v8 + 8LL))(v8, 1);
return nullptr;
}
}