//
// FLAlertLayer::show from 0x14005b8a0 to 0x14005baad (525 bytes)
//
// 158 xrefs:
// > AccountLayer::onRegister @ 0x1400936c8
// > ChallengesPage::show @ 0x14009eed2
// > InvitesPopup::onViewRequest @ 0x1400f934c
// > CommunityCreditsPage::show @ 0x14012f252
// > CustomSongLayer::onOptions @ 0x140164a3a
// > CustomSongLayer::onNCSBrowser @ 0x1401650e9
// > CustomSongLayer::onNewgroundsBrowser @ 0x1401651f3
// > CustomSongWidget::onInfo @ 0x14016b110
// > EditLevelLayer::onShare @ 0x14017c007
// > EditorSoundsLayer::onSettings @ 0x14019ee91
// > EditorUI::onSettings @ 0x1401ac73e
// > EditorUI::editGroup @ 0x1401bea74
// > GameSettingsLayer::onCustomButton @ 0x1402c7e03
// > GJPathsLayer::onPath @ 0x1403930e4
// > GJAccountSettingsLayer::onSocialLinks @ 0x14039e771
// > InfoLayer::show @ 0x1403d2df7
// > KeybindingsLayer::onSettings @ 0x1403d8422
// > LevelBrowserLayer::cellPerformedAction @ 0x1403eaf32
// > LevelInfoLayer::onRate @ 0x14042363f
// > LevelInfoLayer::onRateStars @ 0x140423a4d
// > LevelInfoLayer::onRateStarsMod @ 0x140423dc3
// > LevelInfoLayer::onRateDemon @ 0x140423f6f
// > LevelListLayer::onSelectIcon @ 0x14042fcac
// > LevelListLayer::onShare @ 0x14042ff01
// > LevelSearchLayer::onSpecialDemon @ 0x14043683a
// > LevelSearchLayer::onMoreOptions @ 0x140436c5e
// > MenuLayer::showTOS @ 0x1404742a9
// > MenuLayer::onNews @ 0x14047467e
// > MusicBrowser::onChangelog @ 0x14047ddef
// > VideoOptionsLayer::onAdvanced @ 0x1404cdd2e
// > PauseLayer::onShowStartposBrowser @ 0x1404d929a
// > ProfilePage::show @ 0x140559397
// > ProfilePage::onMyStuff @ 0x140559659
// > ProfilePage::onSettings @ 0x1405597fa
// > ProfilePage::onRequests @ 0x140559a78
// > ProfilePage::onNotifications @ 0x140559bfd
// > SetupAdvFollowPopup::onPremade @ 0x14059d1d1
// > BrowseSmartTemplateLayer::onTemplateObject @ 0x1405f0dd0
// > SFXBrowser::onChangelog @ 0x14061f117
// > ShareLevelLayer::onSettings @ 0x140631cc5
// > AccountLayer::onRegister @ 0x1400936af
// > InvitesPopup::onViewRequest @ 0x1400f933d
// > CustomSongLayer::onOptions @ 0x140164a21
// > CustomSongLayer::onNCSBrowser @ 0x1401650d0
// > CustomSongLayer::onNewgroundsBrowser @ 0x1401651df
// > CustomSongWidget::onInfo @ 0x14016b101
// > EditLevelLayer::onShare @ 0x14017bff4
// > EditorSoundsLayer::onSettings @ 0x14019ee78
// > EditorUI::onSettings @ 0x1401ac72f
// > EditorUI::editGroup @ 0x1401bea65
// > GameSettingsLayer::onCustomButton @ 0x1402c7df0
// > GJPathsLayer::onPath @ 0x1403930d5
// > GJAccountSettingsLayer::onSocialLinks @ 0x14039e758
// > KeybindingsLayer::onSettings @ 0x1403d8413
// > LevelBrowserLayer::cellPerformedAction @ 0x1403eaf1f
// > LevelInfoLayer::onRate @ 0x14042362c
// > LevelInfoLayer::onRateStars @ 0x140423a3a
// > LevelInfoLayer::onRateStarsMod @ 0x140423db4
// > LevelInfoLayer::onRateDemon @ 0x140423f60
// > LevelListLayer::onSelectIcon @ 0x14042fc8e
// > LevelListLayer::onShare @ 0x14042fee3
// > LevelSearchLayer::onSpecialDemon @ 0x14043681c
// > LevelSearchLayer::onMoreOptions @ 0x140436c45
// > MenuLayer::showTOS @ 0x140474290
// > MenuLayer::onNews @ 0x14047466f
// > MusicBrowser::onChangelog @ 0x14047ddcf
// > VideoOptionsLayer::onAdvanced @ 0x1404cdd15
// > PauseLayer::onShowStartposBrowser @ 0x1404d928b
// > ProfilePage::onMyStuff @ 0x140559640
// > ProfilePage::onSettings @ 0x1405597df
// > ProfilePage::onRequests @ 0x140559a5f
// > ProfilePage::onNotifications @ 0x140559be4
// > SetupAdvFollowPopup::onPremade @ 0x14059d1b3
// > BrowseSmartTemplateLayer::onTemplateObject @ 0x1405f0dc1
// > SFXBrowser::onChangelog @ 0x14061f0f7
// > ShareLevelLayer::onSettings @ 0x140631ca7
// > ??> @ 0x14070df58
// > ??> @ 0x140717340
// > ??> @ 0x1407177a0
// > ??> @ 0x14071a5f8
// > ??> @ 0x14071db88
// > ??> @ 0x140724888
// > ??> @ 0x140729930
// > ??> @ 0x14072e940
// > ??> @ 0x1407326d0
// > ??> @ 0x1407359f8
// > ??> @ 0x140735f18
// > ??> @ 0x140736570
// > ??> @ 0x140736ab0
// > ??> @ 0x140739580
// > ??> @ 0x140743568
// > ??> @ 0x140743b98
// > ??> @ 0x140744058
// > ??> @ 0x140746598
// > ??> @ 0x1407563e8
// > ??> @ 0x14076cb38
// > ??> @ 0x14076fbb0
// > ??> @ 0x140774fb0
// > ??> @ 0x1407777b8
// > ??> @ 0x1407790f0
// > ??> @ 0x140779570
// > ??> @ 0x14077b468
// > ??> @ 0x14077bda0
// > ??> @ 0x14077c1e0
// > ??> @ 0x14077ef80
// > ??> @ 0x140780eb0
// > ??> @ 0x140783448
// > ??> @ 0x140785ed0
// > ??> @ 0x140786eb0
// > ??> @ 0x14078d258
// > ??> @ 0x14078e660
// > ??> @ 0x14078ec40
// > ??> @ 0x140790880
// > ??> @ 0x140791158
// > ??> @ 0x140797478
// > ??> @ 0x140797e10
// > ??> @ 0x140798f48
// > ??> @ 0x1407b2258
// > ??> @ 0x1407b4e30
// > ??> @ 0x1407b5898
// > ??> @ 0x1407b6578
// > ??> @ 0x1407b6b48
// > ??> @ 0x1407b73d8
// > ??> @ 0x1407b78d8
// > ??> @ 0x1407b9a48
// > ??> @ 0x1407b9f80
// > ??> @ 0x1407cf360
// > ??> @ 0x1407cf8c0
// > ??> @ 0x1407d0608
// > ??> @ 0x1407d0bc0
// > ??> @ 0x1407d1108
// > ??> @ 0x1407d2310
// > ??> @ 0x1407d7da8
// > ??> @ 0x1407d82a8
// > ??> @ 0x1407d8be8
// > ??> @ 0x1407d97a8
// > ??> @ 0x1407d9db0
// > ??> @ 0x1407da3d8
// > ??> @ 0x1407da838
// > ??> @ 0x1407dbd18
// > ??> @ 0x1407e3f88
// > ??> @ 0x1407e59b8
// > ??> @ 0x1407e7768
// > ??> @ 0x1407f8c78
// > ??> @ 0x140804e20
// > ??> @ 0x1408054f8
// > ??> @ 0x140805a20
// > ??> @ 0x140815278
// > ??> @ 0x140816320
// > ??> @ 0x140816ca0
// > ??> @ 0x14081c1f8
// > ??> @ 0x14081d238
// > ??> @ 0x14081d808
// > ??> @ 0x14081e068
// > ??> @ 0x140834138
// > ??> @ 0x1408878b4
// > ??> @ 0x1408878c4
// > ??> @ 0x140910754
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:25:42 +0000
//
__int64 __fastcall FLAlertLayer::show(__int64 a1)
{
unsigned __int8 v2; // al
float v3; // xmm6_4
struct cocos2d::CCActionInterval *v4; // rax
struct cocos2d::CCAction *v5; // rax
cocos2d::CCScene *v6; // rdi
int v7; // eax
int v8; // r8d
struct cocos2d::CCAction *v9; // rax
__int64 v10; // rdx
cocos2d::CCScene *v11; // rdi
int v12; // eax
int v13; // r8d
if ( *(_BYTE *)(a1 + 596) )
{
v11 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector() + 272);
if ( *(_QWORD *)(a1 + 568) )
{
v11 = *(cocos2d::CCScene **)(a1 + 568);
}
else
{
if ( cocos2d::CCScene::getHighestChildZ(v11) + 1 >= 105 )
v12 = cocos2d::CCScene::getHighestChildZ(v11) + 1;
else
v12 = 105;
*(_DWORD *)(a1 + 592) = v12;
}
if ( !*(_DWORD *)(a1 + 592) )
{
if ( (int)(GameToolbox::highestChildZ(*(_QWORD *)(a1 + 568)) + 1) >= 105 )
v13 = GameToolbox::highestChildZ(*(_QWORD *)(a1 + 568)) + 1;
else
v13 = 105;
*(_DWORD *)(a1 + 592) = v13;
}
(*(void (__fastcall **)(cocos2d::CCScene *, __int64))(*(_QWORD *)v11 + 456LL))(v11, a1);
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 + 408) + 32LL))(a1 + 408);
v3 = (float)v2;
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 160LL))(*(_QWORD *)(a1 + 584));
v4 = cocos2d::CCScaleTo::create(0.5, 1.0);
v5 = cocos2d::CCEaseElasticOut::create(v4, 0.60000002);
cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 584), v5);
v6 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector() + 272);
if ( *(_QWORD *)(a1 + 568) )
{
v6 = *(cocos2d::CCScene **)(a1 + 568);
}
else
{
if ( cocos2d::CCScene::getHighestChildZ(v6) + 1 >= 105 )
v7 = cocos2d::CCScene::getHighestChildZ(v6) + 1;
else
v7 = 105;
*(_DWORD *)(a1 + 592) = v7;
}
if ( !*(_DWORD *)(a1 + 592) )
{
if ( (int)(GameToolbox::highestChildZ(*(_QWORD *)(a1 + 568)) + 1) >= 105 )
v8 = GameToolbox::highestChildZ(*(_QWORD *)(a1 + 568)) + 1;
else
v8 = 105;
*(_DWORD *)(a1 + 592) = v8;
}
(*(void (__fastcall **)(cocos2d::CCScene *, __int64))(*(_QWORD *)v6 + 456LL))(v6, a1);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 + 408) + 40LL))(a1 + 408, 0);
v9 = cocos2d::CCFadeTo::create(0.14, (int)v3);
cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v9);
}
LOBYTE(v10) = 1;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 336LL))(a1, v10);
}