//
// ListButtonBar::create from 0x140077cb0 to 0x140077dc4 (276 bytes)
//
// 5 xrefs:
// > GJGarageLayer::setupPage @ 0x14037eb68
// > GJGarageLayer::setupSpecialPage @ 0x14037f523
// > GJGarageLayer::setupSpecialPage @ 0x14037f689
// > GJShopLayer::init @ 0x1403b1988
// > ??> @ 0x140911c60
//
// This function is hookable on this platform (idp: pc, 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 11:25:51 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCNode *__fastcall ListButtonBar::create(
int a1,
const struct cocos2d::CCPoint *a2,
int a3,
int a4,
int a5,
int a6,
int a7,
int a8)
{
cocos2d::CCNode *v12; // r14
int v13; // eax
cocos2d::CCNode *v15; // [rsp+50h] [rbp-18h] BYREF
v12 = (cocos2d::CCNode *)operator new(0x160u);
v15 = v12;
cocos2d::CCNode::CCNode(v12);
*(_QWORD *)v12 = &ListButtonBar::`vftable';
*((_QWORD *)v12 + 40) = 0;
*((_QWORD *)v12 + 41) = 0;
*((_QWORD *)v12 + 42) = 0;
*((_BYTE *)v12 + 344) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, a2);
if ( (unsigned __int8)ListButtonBar::init((_DWORD)v12, a1, v13, a3, a4, a5, a6, a7, a8) )
{
cocos2d::CCObject::autorelease(v12);
return v12;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v12 + 8LL))(v12, 1);
return nullptr;
}
}