//
// ShardsPage::create from 0x1003a1b4c to 0x1003a1bf4 (168 bytes)
//
// 1 xrefs:
// > GJGarageLayer::onShards @ 0x10030456c
//
// 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 *__fastcall ShardsPage::create()
{
char *v0; // x19
v0 = (char *)operator new(0x2A0u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v0);
*(_QWORD *)v0 = off_10080C1A0;
*((_QWORD *)v0 + 40) = off_10080C6C0;
*((_QWORD *)v0 + 41) = &off_10080C730;
*((_QWORD *)v0 + 42) = off_10080C748;
*((_QWORD *)v0 + 43) = off_10080C768;
*((_QWORD *)v0 + 44) = off_10080C788;
*((_QWORD *)v0 + 51) = off_10080C7B0;
*((_QWORD *)v0 + 54) = off_10080C830;
*(_OWORD *)(v0 + 632) = 0u;
*(_OWORD *)(v0 + 648) = 0u;
*((_DWORD *)v0 + 166) = -1;
if ( ShardsPage::init((ShardsPage *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (ShardsPage *)v0;
}