//
// ListButtonBar::create from 0x14006ada0 to 0x14006aeae (270 bytes)
//
// 5 xrefs:
// > GJGarageLayer::setupPage @ 0x140276280
// > GJGarageLayer::setupSpecialPage @ 0x140276bcd
// > GJGarageLayer::setupSpecialPage @ 0x140276ce1
// > GJShopLayer::init @ 0x1402ab63a
// > ??> @ 0x1406c5fac
//
// 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=1
ListButtonBar *ListButtonBar::create(
cocos2d::CCArray *a1,
cocos2d::CCPoint a2,
int a3,
int a4,
float a5,
float a6,
float a7,
float a8,
int a9)
{
ListButtonBar *v13; // r14
cocos2d::CCPoint v14; // rax
int v16; // [rsp+48h] [rbp-20h]
ListButtonBar *v17; // [rsp+50h] [rbp-18h] BYREF
v13 = (ListButtonBar *)operator new(0x160u);
v17 = v13;
cocos2d::CCNode::CCNode(v13);
v13->__vftable = (ListButtonBar_vtbl *)&ListButtonBar::`vftable';
v13->m_scrollLayer = nullptr;
v13->m_pages = nullptr;
v13->m_delegate = nullptr;
v13->m_useMoveAnimation = 0;
v14 = (cocos2d::CCPoint)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, *(const struct cocos2d::CCPoint **)&a2);
if ( ListButtonBar::init(v13, a1, v14, a3, a4, a5, a6, a7, a8, v16) )
{
cocos2d::CCObject::autorelease(v13);
return v13;
}
else
{
((void (__fastcall *)(ListButtonBar *, __int64))v13->~ListButtonBar)(v13, 1);
return nullptr;
}
}