//
// BoomScrollLayer::create from 0x3c252c to 0x3c2670 (324 bytes)
//
// 6 xrefs:
// > BoomScrollLayer::create @ 0x3c267e
// > LevelSelectLayer::init @ 0x512992
// > GauntletSelectLayer::setupGauntlets @ 0x60cd7a
// > WorldSelectLayer::setupWorlds @ 0x62dfd6
// > SecretRewardsLayer::init @ 0x6cf130
// > SecretRewardsLayer::createSecondaryLayer @ 0x6cfd18
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:31 +0000
//
unsigned int __fastcall BoomScrollLayer::create(cocos2d::CCObject *a1, int a2, int a3, cocos2d::CCObject *a4, int a5)
{
unsigned int v9; // r4
int v10; // r3
unsigned int v11; // r0
v9 = operator new(0x1F0u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v9);
*(_QWORD *)(v9 + 368) = 0;
*(_DWORD *)(v9 + 328) = 0;
*(_DWORD *)v9 = &off_C82F78;
*(_DWORD *)(v9 + 332) = 0;
*(_DWORD *)(v9 + 264) = &off_C831C4;
*(_DWORD *)(v9 + 268) = &off_C831FC;
*(_DWORD *)(v9 + 272) = &off_C83208;
*(_DWORD *)(v9 + 276) = &off_C83218;
*(_DWORD *)(v9 + 280) = &off_C8322C;
*(_DWORD *)(v9 + 316) = &off_C83244;
*(_DWORD *)(v9 + 320) = 0;
*(_DWORD *)(v9 + 324) = 0;
*(_BYTE *)(v9 + 336) = 0;
*(_DWORD *)(v9 + 340) = 0;
*(_DWORD *)(v9 + 344) = 0;
*(_BYTE *)(v9 + 348) = 0;
*(_DWORD *)(v9 + 352) = 0;
*(_BYTE *)(v9 + 356) = 0;
*(_DWORD *)(v9 + 360) = 0;
*(_DWORD *)(v9 + 364) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 376));
*(_DWORD *)(v9 + 384) = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v9 + 388), (const cocos2d::CCRect *)&unk_D2A2D0);
*(_DWORD *)(v9 + 404) = 0;
*(_DWORD *)(v9 + 408) = 0;
*(_DWORD *)(v9 + 412) = 0;
*(_DWORD *)(v9 + 416) = 0;
*(_DWORD *)(v9 + 420) = 0;
*(_BYTE *)(v9 + 424) = 0;
*(_BYTE *)(v9 + 425) = 0;
*(_DWORD *)(v9 + 428) = 0;
*(_DWORD *)(v9 + 432) = 0;
*(_DWORD *)(v9 + 436) = 0;
*(_BYTE *)(v9 + 440) = 0;
*(_BYTE *)(v9 + 441) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 444));
*(_DWORD *)(v9 + 460) = 0;
*(_DWORD *)(v9 + 464) = 0;
*(_DWORD *)(v9 + 468) = 0;
*(_BYTE *)(v9 + 472) = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v9 + 476));
*(_BYTE *)(v9 + 492) = 0;
if ( BoomScrollLayer::init(v9, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);
}
else
{
v10 = *(_DWORD *)v9;
v11 = v9;
v9 = 0;
(*(void (__fastcall **)(unsigned int))(v10 + 8))(v11);
}
return v9;
}