//
// ListButtonPage::create from 0x5a8b70 to 0x5a8cb0 (320 bytes)
//
// 2 xrefs:
// > ListButtonBar::init @ 0x5a8e14
// > ??> @ 0x9cdb0
//
// 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
//
// local variable allocation has failed, the output may be wrong!
ListButtonPage *ListButtonPage::create(
cocos2d::CCArray *a1,
cocos2d::CCPoint a2,
int a3,
int a4,
float a5,
float a6,
float a7)
{
const cocos2d::CCPoint *v7; // x24
float y; // s9
float x; // s10
ListButtonPage *v13; // x19
float v14; // s3
float v15; // s4
ListButtonPage_vtbl *v16; // x1
ListButtonPage *v17; // x0
cocos2d::CCPoint v19; // [xsp+70h] [xbp+70h] BYREF
cocos2d::CCPoint v20; // 0:s0.4,4:s1.4
v7 = *(const cocos2d::CCPoint **)&a3;
y = a2.y;
x = a2.x;
v13 = (ListButtonPage *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v13);
v13->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1143B88;
v13->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ListButtonPage_vtbl *)&off_1143660;
v13->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1143BA8;
v13->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1143AE0;
v13->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1143B50;
v13->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1143B68;
cocos2d::CCPoint::CCPoint(&v19, v7);
v20.x = x;
v20.y = y;
if ( ListButtonPage::init(v13, a1, v20, (int)&v19, a4, a5, v14, v15) )
{
cocos2d::CCObject::autorelease(v13);
}
else
{
v16 = v13->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v17 = v13;
v13 = nullptr;
v16->~ListButtonPage_0(v17);
}
return v13;
}