//
// ListButtonPage::create from 0x6c8eb0 to 0x6c8ff0 (320 bytes)
//
// 2 xrefs:
// > ListButtonBar::init @ 0x6c9154
// > ??> @ 0xce8f0
//
// 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
//
cocos2d::CCLayer *__fastcall ListButtonPage::create(
cocos2d::CCArray *a1,
const cocos2d::CCPoint *a2,
int a3,
int a4,
float a5,
float a6,
float a7)
{
cocos2d::CCLayer *v14; // x19
__int64 v15; // x1
cocos2d::CCLayer *v16; // x0
float v18; // [xsp+70h] [xbp+70h] BYREF
v14 = (cocos2d::CCLayer *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v14);
*((_QWORD *)v14 + 43) = off_1422818;
*(_QWORD *)v14 = &off_14222E0;
*((_QWORD *)v14 + 44) = off_1422840;
*((_QWORD *)v14 + 40) = off_1422770;
*((_QWORD *)v14 + 41) = &off_14227E0;
*((_QWORD *)v14 + 42) = off_14227F8;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v18, a2);
if ( (unsigned __int8)ListButtonPage::init(v14, a1, &v18, a3, a4, a5, a6, a7) )
{
cocos2d::CCObject::autorelease(v14);
}
else
{
v15 = *(_QWORD *)v14;
v16 = v14;
v14 = nullptr;
(*(void (__fastcall **)(cocos2d::CCLayer *))(v15 + 16))(v16);
}
return v14;
}