//
// ListButtonPage::create from 0x3e6c20 to 0x3e6cd8 (184 bytes)
//
// 1 xrefs:
// > ListButtonBar::init @ 0x3e6dd0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:05 +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 *v11; // r4
int v12; // r3
cocos2d::CCLayer *v13; // r0
float v15[2]; // [sp+14h] [bp-Ch] BYREF
v11 = (cocos2d::CCLayer *)operator new(0x13Cu);
cocos2d::CCLayer::CCLayer(v11);
*(_DWORD *)v11 = &off_C8ABB8;
*((_DWORD *)v11 + 66) = &off_C8AE00;
*((_DWORD *)v11 + 67) = &off_C8AE38;
*((_DWORD *)v11 + 68) = &off_C8AE44;
*((_DWORD *)v11 + 69) = &off_C8AE54;
*((_DWORD *)v11 + 70) = &off_C8AE68;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, a2);
if ( ListButtonPage::init(v11, a1, v15, a3, a4, a5, a6, a7) )
{
cocos2d::CCObject::autorelease(v11);
}
else
{
v12 = *(_DWORD *)v11;
v13 = v11;
v11 = nullptr;
(*(void (__fastcall **)(cocos2d::CCLayer *))(v12 + 8))(v13);
}
return v11;
}