//
// ListButtonPage::create from 0x2fd5f4 to 0x2fd6ac (184 bytes)
//
// 1 xrefs:
// > ListButtonBar::init @ 0x2fd7a4
//
// 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
//
ListButtonPage *ListButtonPage::create(
cocos2d::CCArray *a1,
cocos2d::CCPoint a2,
int a3,
int a4,
float a5,
float a6,
float a7)
{
float x; // r9
float y; // r6
ListButtonPage *v11; // r4
cocos2d::CCPoint v12; // r2
ListButtonPage_vtbl *v13; // r3
ListButtonPage *v14; // r0
float v16; // [sp+10h] [bp-10h]
cocos2d::CCPoint v17; // [sp+14h] [bp-Ch] BYREF
x = a2.x;
y = a2.y;
v11 = (ListButtonPage *)operator new(0x13Cu);
cocos2d::CCLayer::CCLayer(v11);
v11->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ListButtonPage_vtbl *)&off_A42C98;
v11->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A42ED8;
v11->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A42F10;
v11->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A42F1C;
v11->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A42F2C;
v11->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A42F3C;
cocos2d::CCPoint::CCPoint(&v17, (const cocos2d::CCPoint *)LODWORD(x));
LODWORD(v12.x) = &v17;
v12.y = y;
if ( ListButtonPage::init(v11, a1, v12, a3, a4, a5, a6, v16) )
{
cocos2d::CCObject::autorelease(v11);
}
else
{
v13 = v11->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v14 = v11;
v11 = nullptr;
v13->~ListButtonPage_0(v14);
}
return v11;
}