//
// ListButtonBar::create from 0x3e6fc4 to 0x3e706c (168 bytes)
//
// 4 xrefs:
// > GJGarageLayer::setupSpecialPage @ 0x50ee6e
// > GJGarageLayer::setupSpecialPage @ 0x50ef32
// > GJGarageLayer::setupPage @ 0x50f2c0
// > GJShopLayer::init @ 0x613744
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:05 +0000
//
int __fastcall ListButtonBar::create(
cocos2d::CCArray *a1,
const cocos2d::CCPoint *a2,
int a3,
int a4,
float a5,
float a6,
float a7,
float a8,
char *a9)
{
int v13; // r4
int v14; // r3
int v15; // r0
_BYTE v17[8]; // [sp+1Ch] [bp-Ch] BYREF
v13 = operator new(0x118u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v13);
*(_DWORD *)v13 = &off_C8AE90;
*(_DWORD *)(v13 + 264) = 0;
*(_DWORD *)(v13 + 268) = 0;
*(_DWORD *)(v13 + 272) = 0;
*(_BYTE *)(v13 + 276) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, a2);
if ( ListButtonBar::init(v13, a1, (const cocos2d::CCPoint *)v17, a3, a4, a5, a6, a7, a8, a9) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v13);
}
else
{
v14 = *(_DWORD *)v13;
v15 = v13;
v13 = 0;
(*(void (__fastcall **)(int))(v14 + 8))(v15);
}
return v13;
}