//
// ListButtonPage::create from 0x1003f0230 to 0x1003f0322 (242 bytes)
//
// 1 xrefs:
// > ListButtonBar::init @ 0x1003eff9c
//
// 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 *__fastcall ListButtonPage::create(
cocos2d::CCArray *a1,
cocos2d::CCPoint a2,
int a3,
int a4,
float a5,
float a6,
float a7)
{
int v7; // ecx
ListButtonPage *v9; // rbx
__int64 v11; // [rsp+0h] [rbp-40h] BYREF
float v12; // [rsp+8h] [rbp-38h]
float v13; // [rsp+Ch] [rbp-34h]
float x; // [rsp+10h] [rbp-30h]
int v15; // [rsp+14h] [rbp-2Ch]
v12 = a6;
v13 = a5;
x = a2.x;
v15 = v7;
v9 = (ListButtonPage *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v9);
v9->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ListButtonPage_vtbl *)off_100931DE8;
v9->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100932268;
v9->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1009322D8;
v9->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1009322F0;
v9->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100932310;
v9->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100932330;
sub_10028CC60(&v11, *(double **)&a3);
if ( ListButtonPage::init(v9, a1, (cocos2d::CCPoint)LODWORD(x), (int)&v11, a4, v13, v12, a7) )
{
cocos2d::CCObject::autorelease(v9);
}
else
{
((void (__fastcall *)(ListButtonPage *))v9->~ListButtonPage_0)(v9);
return nullptr;
}
return v9;
}