//
// ListButtonBar::create from 0x6c9428 to 0x6c9568 (320 bytes)
//
// 5 xrefs:
// > GJGarageLayer::setupSpecialPage @ 0x8c0080
// > GJGarageLayer::setupSpecialPage @ 0x8c017c
// > GJGarageLayer::setupPage @ 0x8c0684
// > GJShopLayer::init @ 0xa7fe70
// > ??> @ 0xf5d10
//
// This function is hookable on this platform (idp: arm, 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:51:22 +0000
//
__int64 __fastcall ListButtonBar::create(
cocos2d::CCArray *a1,
const cocos2d::CCPoint *a2,
int a3,
int a4,
unsigned int a5,
float a6,
float a7,
float a8,
float a9)
{
__int64 v18; // x19
__int64 v19; // x1
__int64 v20; // x0
_BYTE v22[8]; // [xsp+80h] [xbp+80h] BYREF
v18 = operator new(0x160u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v18);
*(_QWORD *)(v18 + 320) = 0;
*(_QWORD *)(v18 + 328) = 0;
*(_QWORD *)v18 = &off_1422870;
*(_QWORD *)(v18 + 336) = 0;
*(_BYTE *)(v18 + 344) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v22, a2);
if ( (unsigned __int8)ListButtonBar::init(
(_QWORD *)v18,
a1,
(const cocos2d::CCPoint *)v22,
a3,
a4,
a5,
a6,
a7,
a8,
a9) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v18);
}
else
{
v19 = *(_QWORD *)v18;
v20 = v18;
v18 = 0;
(*(void (__fastcall **)(__int64))(v19 + 16))(v20);
}
return v18;
}