//
// FLAlertLayer::show from 0x3cb218 to 0x3cb342 (298 bytes)
//
// 17 xrefs:
// > TutorialPopup::show @ 0x41e740
// > InfoLayer::show @ 0x53c9ea
// > PromoInterstitial::show @ 0x5453da
// > GJPromoPopup::show @ 0x5d4086
// > ProfilePage::show @ 0x5f5a4e
// > ChallengesPage::show @ 0x5ff44e
// > DailyLevelPage::show @ 0x606dce
// > LevelLeaderboard::show @ 0x61476a
// > RewardsPage::show @ 0x616b06
// > ShardsPage::show @ 0x62b316
// > WorldLevelPage::show @ 0x62caea
// > FollowRewardPage::show @ 0x62fac2
// > TopArtistsLayer::show @ 0x6311ee
// > CommunityCreditsPage::show @ 0x637512
// > CharacterColorPage::show @ 0x69caee
// > GJPathsLayer::show @ 0x6d178e
// > GJPathPage::show @ 0x6d1892
//
// 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:46:37 +0000
//
int __fastcall FLAlertLayer::show(GameToolbox **this)
{
float v2; // r7
float v3; // r2
cocos2d::CCEaseElasticOut *v4; // r0
float v5; // r2
cocos2d::CCAction *v6; // r0
cocos2d::CCDirector *v7; // r0
int v8; // r0
cocos2d::CCNode *v9; // r1
cocos2d::CCScene *v10; // r5
cocos2d::CCScene *v11; // r6
int v12; // r0
cocos2d::CCNode *v13; // r1
int v14; // r0
unsigned __int8 v15; // r2
cocos2d::CCAction *v16; // r0
int v17; // r0
cocos2d::CCNode *v18; // r1
cocos2d::CCScene *v19; // r5
cocos2d::CCScene *v20; // r6
int v21; // r0
cocos2d::CCNode *v22; // r1
int v23; // r0
if ( *((_BYTE *)this + 468) )
{
v17 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);
v19 = *(this + 113);
v20 = *(cocos2d::CCScene **)(v17 + 220);
if ( !v19 )
{
if ( (int)cocos2d::CCScene::getHighestChildZ(*(cocos2d::CCScene **)(v17 + 220)) <= 104 )
v21 = 105;
else
v21 = cocos2d::CCScene::getHighestChildZ(v20) + 1;
v19 = v20;
*(this + 116) = (GameToolbox *)v21;
}
if ( !*(this + 116) )
{
if ( (int)GameToolbox::highestChildZ(*(this + 113), v18) <= 104 )
v23 = 105;
else
v23 = GameToolbox::highestChildZ(*(this + 113), v22) + 1;
*(this + 116) = (GameToolbox *)v23;
}
(*(void (__fastcall **)(cocos2d::CCScene *, GameToolbox **, _DWORD))(*(_DWORD *)v19 + 232))(
v19,
this,
*(this + 116));
}
else
{
v2 = COERCE_FLOAT((*((int (__fastcall **)(GameToolbox **))*this + 144))(this));
(*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 115) + 80))(*(this + 115), 1036831949);
v4 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3F000000, 1.0, v3);
v6 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v4, (cocos2d::CCActionInterval *)0x3F19999A, v5);
v7 = (cocos2d::CCDirector *)cocos2d::CCNode::runAction(*(this + 115), v6);
v8 = cocos2d::CCDirector::sharedDirector(v7);
v10 = *(this + 113);
v11 = *(cocos2d::CCScene **)(v8 + 220);
if ( !v10 )
{
if ( (int)cocos2d::CCScene::getHighestChildZ(*(cocos2d::CCScene **)(v8 + 220)) <= 104 )
v12 = 105;
else
v12 = cocos2d::CCScene::getHighestChildZ(v11) + 1;
v10 = v11;
*(this + 116) = (GameToolbox *)v12;
}
if ( !*(this + 116) )
{
if ( (int)GameToolbox::highestChildZ(*(this + 113), v9) <= 104 )
v14 = 105;
else
v14 = GameToolbox::highestChildZ(*(this + 113), v13) + 1;
*(this + 116) = (GameToolbox *)v14;
}
(*(void (__fastcall **)(cocos2d::CCScene *, GameToolbox **, _DWORD))(*(_DWORD *)v10 + 232))(
v10,
this,
*(this + 116));
(*((void (__fastcall **)(GameToolbox **, _DWORD))*this + 146))(this, 0);
v16 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E0F5C29, v2, v15);
cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v16);
}
return (*((int (__fastcall **)(GameToolbox **, int))*this + 43))(this, 1);
}