//
// ShardsPage::create from 0x4fb1e0 to 0x4fb2b4 (212 bytes)
//
// 1 xrefs:
// > GJGarageLayer::onShards @ 0x402198
//
// 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
//
ShardsPage *ShardsPage::create()
{
ShardsPage *v0; // r4
ShardsPage_vtbl *v1; // r3
ShardsPage *v2; // r0
v0 = (ShardsPage *)operator new(0x204u);
cocos2d::CCLayerColor::CCLayerColor(v0);
v0->m_buttonMenu = nullptr;
v0->m_alertProtocol = nullptr;
v0->m_scene = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ShardsPage_vtbl *)&off_A7ED30;
v0->m_reverseKeyBack = 0;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A7EFC0;
v0->m_mainLayer = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A7EFF8;
v0->m_ZOrder = 0;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A7F004;
v0->m_noElasticity = 0;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A7F014;
v0->m_button1 = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A7F024;
v0->m_button2 = nullptr;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A7F038;
v0->m_scrollingLayer = nullptr;
v0->m_controlConnected = -1;
v0->m_containsBorder = 0;
v0->m_noAction = 0;
v0->m_joystickConnected = -1;
v0->m_forcePrioRegistered = 0;
v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A7F078;
v0->m_pages = nullptr;
v0->m_prevButton = nullptr;
v0->m_nextButton = nullptr;
v0->m_tierSprite = nullptr;
v0->m_page = -1;
if ( ShardsPage::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = v0;
v0 = nullptr;
v1->~ShardsPage_0(v2);
}
return v0;
}