//
// FLAlertLayer::show from 0x57ddc8 to 0x57df48 (384 bytes)
//
// 83 xrefs:
// > TutorialPopup::show @ 0x600400
// > InfoLayer::show @ 0x7e133c
// > PromoInterstitial::show @ 0x7eacc8
// > GJPromoPopup::show @ 0x8c3e84
// > ProfilePage::show @ 0x8f7f64
// > ChallengesPage::show @ 0x906cd4
// > DailyLevelPage::show @ 0x912ae4
// > LevelLeaderboard::show @ 0x9314b8
// > RewardsPage::show @ 0x934b70
// > ShardsPage::show @ 0x95c278
// > WorldLevelPage::show @ 0x95e3d4
// > FollowRewardPage::show @ 0x962ec4
// > TopArtistsLayer::show @ 0x965a9c
// > CommunityCreditsPage::show @ 0x96fed8
// > CharacterColorPage::show @ 0xa246fc
// > GJPathsLayer::show @ 0xa6d068
// > GJPathPage::show @ 0xa6d208
// > ??> @ 0x64308
// > ??> @ 0x113bf38
// > ??> @ 0x1146388
// > ??> @ 0x1146a98
// > ??> @ 0x115a7c8
// > ??> @ 0x115aed8
// > ??> @ 0x115c5b8
// > ??> @ 0x115d348
// > ??> @ 0x1179ce8
// > ??> @ 0x117a3b8
// > ??> @ 0x117db88
// > ??> @ 0x117e2d8
// > ??> @ 0x117e988
// > ??> @ 0x117f088
// > ??> @ 0x1181148
// > ??> @ 0x1181fe8
// > ??> @ 0x1183658
// > ??> @ 0x1184198
// > ??> @ 0x1187238
// > ??> @ 0x1188188
// > ??> @ 0x1188888
// > ??> @ 0x118afd8
// > ??> @ 0x118b688
// > ??> @ 0x118bd58
// > ??> @ 0x118c918
// > ??> @ 0x118ed48
// > ??> @ 0x118f4c8
// > ??> @ 0x118fc48
// > ??> @ 0x1191ec8
// > ??> @ 0x1194a68
// > ??> @ 0x1197788
// > ??> @ 0x1197e98
// > ??> @ 0x1198578
// > ??> @ 0x1198c28
// > ??> @ 0x1199348
// > ??> @ 0x1199a98
// > ??> @ 0x119cd98
// > ??> @ 0x11a05e8
// > ??> @ 0x11a2918
// > ??> @ 0x11a50f8
// > ??> @ 0x11a5918
// > ??> @ 0x11a6138
// > ??> @ 0x11a71c8
// > ??> @ 0x11a7878
// > ??> @ 0x11a9f18
// > ??> @ 0x11afed8
// > ??> @ 0x11b12e8
// > ??> @ 0x11b21b8
// > ??> @ 0x11be828
// > ??> @ 0x11c2218
// > ??> @ 0x11c8ad8
// > ??> @ 0x11cb088
// > ??> @ 0x11cb7b8
// > ??> @ 0x11cbe78
// > ??> @ 0x11d5c48
// > ??> @ 0x11db698
// > ??> @ 0x11dbe38
// > ??> @ 0x11dc4e8
// > ??> @ 0x11eacc8
// > ??> @ 0x11eb498
// > ??> @ 0x11ec368
// > ??> @ 0x11ecb18
// > ??> @ 0x11eebe8
// > ??> @ 0x11f03b8
// > ??> @ 0x11f0a68
// > ??> @ 0x11f3038
//
// 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
//
void FLAlertLayer::show(FLAlertLayer *a1)
{
unsigned __int8 v2; // w20
cocos2d::CCScaleTo *v3; // x0
cocos2d::CCEaseElasticOut *v4; // x0
cocos2d::CCActionInterval *v5; // x1
cocos2d::CCAction *v6; // x0
cocos2d::CCDirector *v7; // x0
cocos2d::CCScene *v8; // x21
cocos2d::CCNode *v9; // x1
int v10; // w2
cocos2d::CCFadeTo *v11; // x0
cocos2d::CCDirector *v12; // x0
cocos2d::CCScene *m_pRunningScene; // x20
cocos2d::CCNode *m_scene; // x1
int m_ZOrder; // w2
int v16; // w0
int HighestChildZ; // w0
if ( a1->m_noElasticity )
{
v12 = cocos2d::CCDirector::sharedDirector();
m_pRunningScene = v12->m_pRunningScene;
m_scene = a1->m_scene;
if ( m_scene )
{
m_ZOrder = a1->m_ZOrder;
}
else
{
HighestChildZ = cocos2d::CCScene::getHighestChildZ(v12->m_pRunningScene);
m_ZOrder = 105;
if ( HighestChildZ > 104 )
m_ZOrder = cocos2d::CCScene::getHighestChildZ(m_pRunningScene) + 1;
a1->m_ZOrder = m_ZOrder;
m_scene = m_pRunningScene;
}
if ( !m_ZOrder )
a1->m_ZOrder = 105;
((void (__fastcall *)(cocos2d::CCNode *, FLAlertLayer *))m_scene->addChild_0)(m_scene, a1);
}
else
{
v2 = a1->getOpacity(a1);
v3 = (cocos2d::CCScaleTo *)((__int64 (__fastcall *)(cocos2d::CCLayer *, float))a1->m_mainLayer->setScale)(
a1->m_mainLayer,
0.1);
v4 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create(v3, 0.5, 1.0);
v6 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v4, v5, 0.6);
cocos2d::CCNode::runAction(a1->m_mainLayer, v6);
v7 = cocos2d::CCDirector::sharedDirector();
v8 = v7->m_pRunningScene;
v9 = a1->m_scene;
if ( v9 )
{
v10 = a1->m_ZOrder;
}
else
{
v16 = cocos2d::CCScene::getHighestChildZ(v7->m_pRunningScene);
v10 = 105;
if ( v16 > 104 )
v10 = cocos2d::CCScene::getHighestChildZ(v8) + 1;
a1->m_ZOrder = v10;
v9 = v8;
}
if ( !v10 )
a1->m_ZOrder = 105;
((void (__fastcall *)(cocos2d::CCNode *, FLAlertLayer *))v9->addChild_0)(v9, a1);
a1->setOpacity(a1, 0);
v11 = cocos2d::CCFadeTo::create(0.14, v2);
cocos2d::CCNode::runAction(a1, v11);
}
a1->setVisible(a1, 1);
}