//
// ListButtonBar::create from 0x5a90e8 to 0x5a9228 (320 bytes)
//
// 5 xrefs:
// > GJGarageLayer::setupSpecialPage @ 0x796fd4
// > GJGarageLayer::setupSpecialPage @ 0x7970d0
// > GJGarageLayer::setupPage @ 0x7975f0
// > GJShopLayer::init @ 0x92edd0
// > ??> @ 0xbc7d8
//
// 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
//
// local variable allocation has failed, the output may be wrong!
ListButtonBar *ListButtonBar::create(
cocos2d::CCArray *a1,
cocos2d::CCPoint a2,
int a3,
int a4,
float a5,
float a6,
float a7,
float a8,
int a9)
{
const cocos2d::CCPoint *v9; // x25
float x; // s11
float y; // s10
ListButtonBar *v17; // x19
float v18; // s4
float v19; // s5
ListButtonBar_vtbl *v20; // x1
ListButtonBar *v21; // x0
cocos2d::CCPoint v23; // [xsp+80h] [xbp+80h] BYREF
cocos2d::CCPoint v24; // 0:s0.4,4:s1.4
v9 = *(const cocos2d::CCPoint **)&a3;
x = a2.x;
y = a2.y;
v17 = (ListButtonBar *)operator new(0x160u);
cocos2d::CCNode::CCNode(v17);
v17->m_scrollLayer = nullptr;
v17->m_pages = nullptr;
v17->__vftable = (ListButtonBar_vtbl *)&off_1143BD0;
v17->m_delegate = nullptr;
v17->m_useMoveAnimation = 0;
cocos2d::CCPoint::CCPoint(&v23, v9);
v24.x = x;
v24.y = y;
if ( ListButtonBar::init(v17, a1, v24, (int)&v23, a4, a5, a6, v18, v19, a9) )
{
cocos2d::CCObject::autorelease(v17);
}
else
{
v20 = v17->__vftable;
v21 = v17;
v17 = nullptr;
v20->~ListButtonBar_0(v21);
}
return v17;
}