//
// ShardsPage::show from 0x62b2fc to 0x62b3f0 (244 bytes)
//
// 0 xrefs:
//
// 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::show(GameToolbox **this)
{
float v3; // r8
const cocos2d::CCPoint *v4; // r0
int v5; // r9
void (__fastcall *v6)(int, _BYTE *); // r10
const cocos2d::CCPoint *v7; // r2
cocos2d::CCEaseElasticOut *v8; // r0
float v9; // r2
cocos2d::CCAction *v10; // r0
cocos2d::CCDirector *v11; // r0
cocos2d::CCScene *v12; // r6
cocos2d::CCScene *v13; // r0
int v14; // r0
unsigned __int8 v15; // r2
cocos2d::CCAction *v16; // r0
_BYTE v17[4]; // [sp+4h] [bp-14h] BYREF
float v18; // [sp+8h] [bp-10h]
_BYTE v19[8]; // [sp+Ch] [bp-Ch] BYREF
if ( *((_BYTE *)this + 468) )
return FLAlertLayer::show(this);
v3 = COERCE_FLOAT((*((int (__fastcall **)(GameToolbox **))*this + 144))(this));
v4 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 115) + 96))(*(this + 115));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, v4);
v5 = (int)*(this + 115);
v6 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, -160.0, v18);
v6(v5, v19);
v8 = (cocos2d::CCEaseElasticOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F000000, COERCE_FLOAT(v17), v7);
v10 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v8, (cocos2d::CCActionInterval *)0x3F19999A, v9);
v11 = (cocos2d::CCDirector *)cocos2d::CCNode::runAction(*(this + 115), v10);
v12 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v11) + 220);
v13 = *(this + 113);
if ( !v13 )
{
if ( (int)cocos2d::CCScene::getHighestChildZ(v12) <= 104 )
v14 = 105;
else
v14 = cocos2d::CCScene::getHighestChildZ(v12) + 1;
*(this + 116) = (GameToolbox *)v14;
v13 = v12;
}
if ( !*(this + 116) )
*(this + 116) = (GameToolbox *)(&dword_68 + 1);
(*(void (__fastcall **)(cocos2d::CCScene *, GameToolbox **, _DWORD))(*(_DWORD *)v13 + 232))(v13, this, *(this + 116));
(*((void (__fastcall **)(GameToolbox **, _DWORD))*this + 146))(this, 0);
v16 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E0F5C29, v3, v15);
cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v16);
return (*((int (__fastcall **)(GameToolbox **, int))*this + 43))(this, 1);
}