//
// BoomScrollLayer::create from 0x68adec to 0x68afac (448 bytes)
//
// 7 xrefs:
// > BoomScrollLayer::create @ 0x68afb4
// > LevelSelectLayer::init @ 0x8c54bc
// > GauntletSelectLayer::setupGauntlets @ 0xa76818
// > WorldSelectLayer::setupWorlds @ 0xaa7c6c
// > SecretRewardsLayer::init @ 0xba0328
// > SecretRewardsLayer::createSecondaryLayer @ 0xba1b94
// > ??> @ 0xda758
//
// 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 12:50:32 +0000
//
__int64 __fastcall BoomScrollLayer::create(
cocos2d::CCObject *a1,
int a2,
unsigned __int8 a3,
cocos2d::CCObject *a4,
__int64 a5)
{
__int64 v10; // x19
v10 = operator new(0x278u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v10);
*(_DWORD *)(v10 + 428) = 0;
*(_QWORD *)(v10 + 416) = 0;
*(_DWORD *)(v10 + 432) = 0;
*(_QWORD *)v10 = &off_1412A70;
*(_QWORD *)(v10 + 320) = off_1412F08;
*(_QWORD *)(v10 + 328) = &off_1412F78;
*(_QWORD *)(v10 + 336) = off_1412F90;
*(_QWORD *)(v10 + 344) = off_1412FB0;
*(_QWORD *)(v10 + 352) = off_1412FD8;
*(_QWORD *)(v10 + 408) = off_1413008;
*(_DWORD *)(v10 + 424) = 0;
*(_BYTE *)(v10 + 436) = 0;
*(_QWORD *)(v10 + 440) = 0;
*(_QWORD *)(v10 + 448) = 0;
*(_BYTE *)(v10 + 456) = 0;
*(_DWORD *)(v10 + 460) = 0;
*(_BYTE *)(v10 + 464) = 0;
*(_QWORD *)(v10 + 472) = 0;
*(_QWORD *)(v10 + 480) = 0;
*(_QWORD *)(v10 + 488) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v10 + 496));
*(_QWORD *)(v10 + 504) = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v10 + 512), (const cocos2d::CCRect *)&unk_155A670);
*(_QWORD *)(v10 + 544) = 0;
*(_BYTE *)(v10 + 552) = 0;
*(_BYTE *)(v10 + 553) = 0;
*(_BYTE *)(v10 + 568) = 0;
*(_BYTE *)(v10 + 569) = 0;
*(_DWORD *)(v10 + 528) = 0;
*(_DWORD *)(v10 + 532) = 0;
*(_DWORD *)(v10 + 536) = 0;
*(_DWORD *)(v10 + 540) = 0;
*(_DWORD *)(v10 + 556) = 0;
*(_DWORD *)(v10 + 560) = 0;
*(_DWORD *)(v10 + 564) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v10 + 572));
*(_DWORD *)(v10 + 588) = 0;
*(_QWORD *)(v10 + 600) = 0;
*(_BYTE *)(v10 + 608) = 0;
*(_DWORD *)(v10 + 592) = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v10 + 612));
*(_BYTE *)(v10 + 628) = 0;
if ( (unsigned __int8)BoomScrollLayer::init(v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
return v10;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 16LL))(v10);
return 0;
}
}