//
// BoomScrollLayer::create_1 from 0x10038e580 to 0x10038e5e6 (102 bytes)
//
// 2 xrefs:
// > ListButtonBar::init @ 0x1003dd45c
// > EditButtonBar::loadFromItems @ 0x1006b44e2
//
// 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_1(__int64 a1, int a2, char a3)
{
void *v4; // rbx
v4 = operator new(0x278u);
BoomScrollLayer::BoomScrollLayer(v4);
if ( (unsigned __int8)BoomScrollLayer::init((__int64)v4, a1, a2, a3, 0, 0) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}