//
// ListButtonBar::create from 0x100167c20 to 0x100167cf0 (208 bytes)
//
// 4 xrefs:
// > GJShopLayer::init @ 0x10014b724
// > GJGarageLayer::setupPage @ 0x100304d14
// > GJGarageLayer::setupSpecialPage @ 0x10030520c
// > GJGarageLayer::setupSpecialPage @ 0x10030531c
//
// 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 *__fastcall ListButtonBar::create(
cocos2d::CCArray *a1,
cocos2d::CCPoint a2,
int a3,
int a4,
float a5,
float a6,
float a7,
float a8,
int a9)
{
float y; // s10
float x; // s11
__int64 *v15; // x24
ListButtonBar *v17; // x20
float v18; // s4
float v19; // s5
__int64 v21; // [xsp+8h] [xbp-58h] BYREF
cocos2d::CCPoint v22; // 0:s0.4,4:s1.4
y = a2.y;
x = a2.x;
v15 = *(__int64 **)&a3;
v17 = (ListButtonBar *)operator new(0x160u);
cocos2d::CCNode::CCNode(v17);
v17->__vftable = (ListButtonBar_vtbl *)off_10079CD80;
v17->m_pages = nullptr;
v17->m_delegate = nullptr;
v17->m_scrollLayer = nullptr;
v17->m_useMoveAnimation = 0;
sub_1000229B8(&v21, v15);
v22.x = x;
v22.y = y;
ListButtonBar::init(v17, a1, v22, (int)&v21, a4, a5, a6, v18, v19, a9);
cocos2d::CCObject::autorelease(v17);
return v17;
}