//
// ShardsPage::create from 0x62b400 to 0x62b552 (338 bytes)
//
// 1 xrefs:
// > GJGarageLayer::onShards @ 0x50acc0
//
// 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:55:12 +0000
//
int *__fastcall ShardsPage::create(ShardsPage *this)
{
int *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (int *)operator new(0x21Cu);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v1);
v1[111] = 0;
v1[112] = 0;
v1[113] = 0;
*v1 = (int)&off_C86768;
*((_BYTE *)v1 + 456) = 0;
v1[66] = (int)&off_C86A10;
v1[115] = 0;
v1[67] = (int)&off_C86A48;
v1[116] = 0;
v1[68] = (int)&off_C86A54;
*((_BYTE *)v1 + 468) = 0;
v1[69] = (int)&off_C86A64;
*((_BYTE *)v1 + 469) = 0;
v1[70] = (int)&off_C86A78;
*((_BYTE *)v1 + 470) = 0;
v1[79] = (int)&off_C86A90;
*((_BYTE *)v1 + 471) = 0;
v1[83] = (int)&off_C86AD0;
v1[110] = (int)&off_C86AE0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 118));
v1[127] = 0;
v1[128] = 0;
v1[120] = 0;
v1[121] = 0;
v1[122] = 0;
*((_BYTE *)v1 + 496) = 0;
*((_BYTE *)v1 + 497) = 0;
*((_BYTE *)v1 + 504) = 0;
*((_BYTE *)v1 + 516) = 0;
*v1 = (int)&off_CCB000;
v1[130] = 0;
v1[66] = (int)&off_CCB2A8;
v1[131] = 0;
v1[67] = (int)&off_CCB2E0;
v1[132] = 0;
v1[68] = (int)&off_CCB2EC;
v1[133] = 0;
v1[69] = (int)&off_CCB2FC;
v1[123] = -1;
v1[70] = (int)&off_CCB310;
v1[125] = -1;
v1[79] = (int)&off_CCB328;
v1[134] = -1;
v1[83] = (int)&off_CCB368;
v1[110] = (int)&off_CCB378;
if ( ShardsPage::init((ShardsPage *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v2 = *v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}