//
// FLAlertLayer::create_1 from 0x1002abeb4 to 0x1002abf60 (172 bytes)
//
// 115 xrefs:
// > LevelInfoLayer::onPlay @ 0x100026afc
// > LevelInfoLayer::onPlay @ 0x100026b9c
// > LevelInfoLayer::confirmDelete @ 0x1000282d4
// > LevelInfoLayer::onRateStars @ 0x100028594
// > LevelInfoLayer::confirmOwnerDelete @ 0x100028974
// > LevelInfoLayer::confirmClone @ 0x100028aa0
// > LevelInfoLayer::tryCloneLevel @ 0x100028ba0
// > LevelInfoLayer::onLevelInfo @ 0x100028de4
// > LevelInfoLayer::confirmMoveToTop @ 0x100028f9c
// > LevelInfoLayer::confirmMoveToBottom @ 0x100029058
// > LevelInfoLayer::levelDownloadFailed @ 0x10002a128
// > LevelInfoLayer::showUpdateAlert @ 0x10002a254
// > LevelInfoLayer::levelUpdateFailed @ 0x10002a2f8
// > LevelInfoLayer::levelDeleteFinished @ 0x10002a3d4
// > LevelInfoLayer::levelDeleteFailed @ 0x10002a4a4
// > LevelInfoLayer::showSongWarning @ 0x10002a560
// > LevelInfoLayer::numberInputClosed @ 0x10002a940
// > LevelInfoLayer::onRate @ 0x10002abfc
// > LevelSearchLayer::confirmClearFilters @ 0x1000530dc
// > MoreSearchLayer::onInfo @ 0x100056dc8
// > SetupSmartTemplateLayer::onClick @ 0x100070e9c
// > CreateGuidelinesLayer::onInfo @ 0x10007dcb0
// > AccountRegisterLayer::registerAccountFinished @ 0x100082210
// > AccountLoginLayer::loginAccountFinished @ 0x100083ff8
// > GameLevelManager::onUploadCommentCompleted @ 0x10008c59c
// > GameLevelManager::onRestoreItemsCompleted @ 0x10008c8f8
// > GameLevelManager::onRestoreItemsCompleted @ 0x10008c964
// > GJLevelList::showListInfo @ 0x1000b1d28
// > EditLevelLayer::onShare @ 0x1000ea4c8
// > EditLevelLayer::onShare @ 0x1000ea55c
// > EditLevelLayer::onShare @ 0x1000ea620
// > EditLevelLayer::onShare @ 0x1000ea6d8
// > EditLevelLayer::onUpdateDescription @ 0x1000eaffc
// > EditLevelLayer::confirmDelete @ 0x1000eb0b0
// > EditLevelLayer::onHelp @ 0x1000eb164
// > EditLevelLayer::confirmClone @ 0x1000eb218
// > EditLevelLayer::confirmMoveToTop @ 0x1000eb2cc
// > EditLevelLayer::onLevelInfo @ 0x1000eb654
// > EditLevelLayer::onGuidelines @ 0x1000eb730
// > MoreOptionsLayer::onFMODDebug @ 0x1000eeda8
// > MoreOptionsLayer::onInfo @ 0x1000ef8b0
// > MoreVideoOptionsLayer::onInfo @ 0x1000f26d4
// > ParentalOptionsLayer::onInfo @ 0x1000f37e8
// > CustomSongWidget::onDelete @ 0x1000fab10
// > CommentCell::onConfirmDelete @ 0x100110cec
// > GJUserCell::onUnblockUser @ 0x1001116b8
// > PauseLayer::onTryEdit @ 0x100143288
// > PauseLayer::tryQuit @ 0x100143430
// > CustomSongLayer::showNewgroundsMessage @ 0x100144880
// > SongOptionsLayer::onInfo @ 0x10014595c
// > NewgroundsInfoLayer::onChanges @ 0x100146448
// > NewgroundsInfoLayer::onInfo @ 0x1001464e0
// > AccountLayer::onBackup @ 0x100165e24
// > AccountLayer::onBackup @ 0x100165ea0
// > AccountLayer::onBackup @ 0x100165ef4
// > AccountLayer::onSync @ 0x100166010
// > AccountLayer::onSync @ 0x100166064
// > AccountLayer::onHelp @ 0x100166130
// > AccountLayer::backupAccountFinished @ 0x100166780
// > AccountLayer::syncAccountFinished @ 0x100166b18
// > AccountHelpLayer::onAccountManagement @ 0x1001673fc
// > AccountHelpLayer::onUnlink @ 0x100167518
// > AccountHelpLayer::verifyUnlink @ 0x1001678e4
// > SupportLayer::onEmail @ 0x100192488
// > SupportLayer::onLowDetail @ 0x100192bec
// > ProfilePage::onInfo @ 0x10019aa4c
// > ProfilePage::onComment @ 0x10019b5d8
// > ProfilePage::showNoAccountError @ 0x10019bc68
// > GJRateLevelLayer::onCustomButton @ 0x1001b1944
// > DailyLevelNode::onSkipLevel @ 0x1001bbb5c
// > GauntletSelectLayer::onInfo @ 0x1001bf148
// > GauntletSelectLayer::onPlay @ 0x1001bfc14
// > LevelListLayer::confirmClone @ 0x100244d00
// > LevelListLayer::confirmOwnerDelete @ 0x100244e6c
// > LevelListLayer::confirmDelete @ 0x100244f28
// > LevelListLayer::onShare @ 0x10024516c
// > LevelListLayer::levelListDeleteFinished @ 0x1002470c4
// > LevelListLayer::levelListDeleteFailed @ 0x10024718c
// > ShareListLayer::onShare @ 0x100248fdc
// > ShareListLayer::onInfo @ 0x100249074
// > LevelLeaderboard::onDeleteLocalScores @ 0x100250398
// > GJSongBrowser::onDeleteAll @ 0x100265efc
// > MenuLayer::onNewgrounds @ 0x1002679a0
// > MenuLayer::showGCQuestion @ 0x100267dfc
// > MenuLayer::onQuit @ 0x10026805c
// > ShareLevelLayer::onShare @ 0x100275eb8
// > ShareLevelLayer::onShare @ 0x100275f68
// > ShareLevelSettingsLayer::onUnlisted @ 0x100277894
// > GJOptionsLayer::onInfo @ 0x1002d3e48
// > CustomSFXWidget::onDelete @ 0x1002f0a7c
// > GJGarageLayer::onInfo @ 0x100304660
// > InfoLayer::onComment @ 0x1003517ac
// > InfoLayer::onComment @ 0x100351810
// > InfoLayer::onComment @ 0x1003518d4
// > InfoLayer::confirmReport @ 0x100351b40
// > InfoLayer::onLevelInfo @ 0x10035271c
// > EditorPauseLayer::onSave @ 0x10039dc1c
// > EditorPauseLayer::onExitNoSave @ 0x10039dcec
// > EditorPauseLayer::onResetUnusedColors @ 0x10039df40
// > LeaderboardsLayer::onInfo @ 0x1003b0f84
// > EditorUI::onNewCustomItem @ 0x1003e8528
// > EditorUI::onNewCustomItem @ 0x1003e85cc
// > EditorUI::onDeleteInfo @ 0x1003e9280
// > EditorUI::showMaxError @ 0x1003eb0bc
// > EditorUI::showMaxBasicError @ 0x1003eb19c
// > EditorUI::showMaxCoinError @ 0x1003eb268
// > LevelPage::onPlay @ 0x100403a00
// > LevelPage::onInfo @ 0x100403bc8
// > LevelPage::onInfo @ 0x100403c44
// > LevelPage::onInfo @ 0x100403d50
// > SelectEventLayer::onInfo @ 0x100409348
// > LevelBrowserLayer::onRemoveAllFavorites @ 0x1004164c4
// > LevelBrowserLayer::onDeleteAll @ 0x1004165a4
// > LevelBrowserLayer::onInfo @ 0x100416b14
// > FollowRewardPage::onSpecialItem @ 0x10042582c
//
// 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
//
FLAlertLayer *__fastcall FLAlertLayer::create_1(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, float a6)
{
FLAlertLayer *v11; // x19
void *__p[2]; // [xsp+0h] [xbp-50h] BYREF
__int64 v14; // [xsp+10h] [xbp-40h]
if ( *(char *)(a3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a3;
v14 = *(_QWORD *)(a3 + 16);
}
v11 = FLAlertLayer::create(a1, a2, (__int64)__p, a4, a5, 0, a6);
if ( SHIBYTE(v14) < 0 )
operator delete(__p[0]);
return v11;
}