//
// FLAlertLayer::create_1 from 0x100493d70 to 0x100493e0a (154 bytes)
//
// 158 xrefs:
// > EditorUI::onDeleteInfo @ 0x10000fcd4
// > EditorUI::showDeleteConfirmation @ 0x10001012a
// > EditorUI::showMaxError @ 0x100010b34
// > EditorUI::showMaxBasicError @ 0x100010c89
// > EditorUI::showMaxCoinError @ 0x100010dcb
// > AccountLayer::onBackup @ 0x10009aac1
// > AccountLayer::onBackup @ 0x10009ab63
// > AccountLayer::onBackup @ 0x10009abe0
// > AccountLayer::onSync @ 0x10009ad44
// > AccountLayer::onSync @ 0x10009add0
// > AccountLayer::onHelp @ 0x10009ae9e
// > AccountLayer::backupAccountFinished @ 0x10009b826
// > AccountLayer::syncAccountFinished @ 0x10009bdb3
// > AccountHelpLayer::onAccountManagement @ 0x10009ccf0
// > AccountHelpLayer::onUnlink @ 0x10009ce7a
// > AccountHelpLayer::verifyUnlink @ 0x10009d2f5
// > sub_1000A24A0 @ 0x1000a2559
// > EditLevelLayer::onPlay @ 0x1001de72c
// > EditLevelLayer::onShare @ 0x1001dea08
// > EditLevelLayer::onShare @ 0x1001deb5f
// > EditLevelLayer::onShare @ 0x1001dec00
// > EditLevelLayer::confirmDelete @ 0x1001df4aa
// > EditLevelLayer::confirmMoveToTop @ 0x1001df587
// > EditLevelLayer::confirmMoveToBottom @ 0x1001df664
// > EditLevelLayer::confirmClone @ 0x1001df809
// > EditLevelLayer::onUpdateDescription @ 0x1001e0824
// > sub_1001E09D0 @ 0x1001e0ad9
// > CustomSongLayer::onSearch @ 0x1001f9131
// > CustomSongLayer::showNewgroundsMessage @ 0x1001f9224
// > SongOptionsLayer::onInfo @ 0x1001fa9b4
// > NewgroundsInfoLayer::onInfo @ 0x1001fb494
// > DailyLevelNode::onSkipLevel @ 0x100217bdb
// > CommentCell::onConfirmDelete @ 0x10023e165
// > GJNotificationCell::onShowBody @ 0x100241939
// > GJNotificationCell::onMute @ 0x100241b79
// > ShareLevelLayer::onShare @ 0x10026da07
// > ShareLevelLayer::onShare @ 0x10026daed
// > sub_10026DB80 @ 0x10026dbe4
// > ShareLevelSettingsLayer::onUnlisted @ 0x10026fd7e
// > EditorPauseLayer::onSave @ 0x10027e47e
// > EditorPauseLayer::onExitNoSave @ 0x10027e58a
// > EditorPauseLayer::onExport @ 0x10027e71d
// > EditorPauseLayer::onExport @ 0x10027e7a1
// > EditorPauseLayer::onHelp @ 0x10027e9d6
// > sub_100287FA0 @ 0x10028810a
// > GameLevelOptionsLayer::didToggle @ 0x10029fdef
// > LevelInfoLayer::onPlay @ 0x1002ac80c
// > LevelInfoLayer::onPlay @ 0x1002ac929
// > LevelInfoLayer::onPlay @ 0x1002accd1
// > LevelInfoLayer::confirmDelete @ 0x1002ae3cd
// > LevelInfoLayer::onRateStars @ 0x1002ae762
// > LevelInfoLayer::confirmOwnerDelete @ 0x1002aeb7d
// > LevelInfoLayer::confirmClone @ 0x1002aed5c
// > LevelInfoLayer::tryCloneLevel @ 0x1002aee5f
// > LevelInfoLayer::confirmMoveToTop @ 0x1002af0e6
// > LevelInfoLayer::confirmMoveToBottom @ 0x1002af1c8
// > LevelInfoLayer::levelDownloadFailed @ 0x1002b06f1
// > LevelInfoLayer::showUpdateAlert @ 0x1002b0888
// > LevelInfoLayer::levelUpdateFailed @ 0x1002b09cf
// > LevelInfoLayer::levelDeleteFinished @ 0x1002b0afa
// > LevelInfoLayer::levelDeleteFailed @ 0x1002b0c0a
// > LevelInfoLayer::showSongWarning @ 0x1002b0d06
// > LevelInfoLayer::numberInputClosed @ 0x1002b1310
// > LevelInfoLayer::onRate @ 0x1002b18c3
// > LevelListLayer::confirmClone @ 0x1003490d6
// > LevelListLayer::confirmOwnerDelete @ 0x1003492b5
// > LevelListLayer::confirmDelete @ 0x10034943c
// > LevelListLayer::levelListDeleteFinished @ 0x10034c1b2
// > LevelListLayer::levelListDeleteFailed @ 0x10034c2b2
// > ShareListLayer::onShare @ 0x10034eb52
// > ShareListLayer::onInfo @ 0x10034ec04
// > GJGarageLayer::onInfo @ 0x1003556e7
// > MenuLayer::onNewgrounds @ 0x10037c4dc
// > MenuLayer::onQuit @ 0x10037c6bc
// > MenuLayer::showGCQuestion @ 0x10037ccb1
// > SupportLayer::onEmail @ 0x100383760
// > SupportLayer::onLowDetail @ 0x100384057
// > WorldLevelPage::onInfo @ 0x1003afe84
// > PauseLayer::onTryEdit @ 0x1003c10dc
// > PauseLayer::tryQuit @ 0x1003c1477
// > LevelLeaderboard::onDeleteLocalScores @ 0x1003c8389
// > FollowRewardPage::onSpecialItem @ 0x10040d937
// > LevelPage::onPlay @ 0x100422600
// > LevelPage::onInfo @ 0x100422925
// > LevelPage::onInfo @ 0x1004229c2
// > LevelPage::onInfo @ 0x100422b7f
// > sub_10042F0F0 @ 0x10042f1f5
// > sub_10042FA00 @ 0x10042fbe6
// > LevelBrowserLayer::onRemoveAllFavorites @ 0x1004834a6
// > LevelBrowserLayer::onDeleteAll @ 0x1004835b6
// > LevelBrowserLayer::onInfo @ 0x100483c6d
// > LevelBrowserLayer::cellPerformedAction @ 0x1004888bc
// > sub_100488950 @ 0x100488afd
// > AccountRegisterLayer::registerAccountFinished @ 0x10048e274
// > AccountLoginLayer::loginAccountFinished @ 0x1004926f4
// > SetupSmartTemplateLayer::onClick @ 0x1004e2ef5
// > sub_1004F6720 @ 0x1004f69be
// > GJRateLevelLayer::onCustomButton @ 0x100505563
// > GJRateLevelListLayer::onCustomButton @ 0x1005086cb
// > GJRateEditorSoundLayer::onCustomButton @ 0x100509739
// > CreateGuidelinesLayer::onInfo @ 0x10050e6a4
// > LeaderboardsLayer::onInfo @ 0x100513e14
// > GameLevelManager::onUploadCommentCompleted @ 0x100526de2
// > GameLevelManager::onRestoreItemsCompleted @ 0x100527401
// > GameLevelManager::onRestoreItemsCompleted @ 0x100527483
// > GJLevelList::showListInfo @ 0x10058fc42
// > GauntletSelectLayer::onInfo @ 0x10059f264
// > GauntletSelectLayer::onPlay @ 0x1005a0144
// > SelectEventLayer::onInfo @ 0x1005a7bb1
// > EditorUI::onNewCustomItem @ 0x10063c605
// > EditorUI::onNewCustomItem @ 0x10063c714
// > CustomSFXWidget::onDelete @ 0x1006b6b4a
// > CustomSFXWidget::onShowInfo @ 0x1006b70f2
// > GJSongBrowser::onDeleteAll @ 0x1006d61a5
// > CustomSongWidget::onDelete @ 0x1006f899a
// > LevelSearchLayer::confirmClearFilters @ 0x100706c77
// > MoreSearchLayer::onInfo @ 0x10070ba24
// > FriendsProfilePage::onUnblock @ 0x1007367cd
// > FriendsProfilePage::onUnmute @ 0x100736a79
// > FriendsProfilePage::onUnfollow @ 0x100736dc9
// > OptionsLayer::tryEnableRecord @ 0x10087c5c8
// > MoreOptionsLayer::onFMODDebug @ 0x10087e745
// > sub_10087F970 @ 0x10087fada
// > VideoOptionsLayer::onInfo @ 0x100881c05
// > sub_100883CD0 @ 0x100883e3a
// > sub_1008863C0 @ 0x10088652a
// > InfoLayer::onComment @ 0x100893b77
// > InfoLayer::onComment @ 0x100893d99
// > InfoLayer::onLevelInfo @ 0x100895344
// > InfoLayer::bulkCommentDeleteFailed @ 0x1008982fc
// > sub_100898340 @ 0x1008983ac
// > ProfilePage::onUnblockUser @ 0x1008a281c
// > ProfilePage::onStatInfo @ 0x1008a31f1
// > ProfilePage::onModInfo @ 0x1008a3555
// > ProfilePage::onInfo @ 0x1008a3bd0
// > ProfilePage::onComment @ 0x1008a47bc
// > sub_1008B4A50 @ 0x1008b4ae9
// > ClearPlatformerSavesPopup::FLAlert_Clicked @ 0x1008b509f
// > sub_1008C8250 @ 0x1008c82f5
// > sub_1008CA5B0 @ 0x1008ca666
// > sub_1008F6270 @ 0x1008f6302
// > sub_1008F6360 @ 0x1008f63f2
// > sub_1008F6450 @ 0x1008f64d4
// > sub_1008F65F0 @ 0x1008f6808
// > sub_1008F68C0 @ 0x1008f69eb
// > sub_1008F7160 @ 0x1008f7249
// > sub_1008F7330 @ 0x1008f73ae
// > sub_1008FC480 @ 0x1008fc552
// > sub_1008FF950 @ 0x1008ffa92
// > sub_1008FF950 @ 0x1008ffb32
// > sub_1008FFC10 @ 0x1008ffc9b
// > sub_100907740 @ 0x100907ae8
// > sub_10091E4F0 @ 0x10091e641
// > sub_10091E4F0 @ 0x10091e750
// > KeybindingsSettingsPopup::onReset @ 0x10091e896
// > MessageThreadsPage::onDeleteSelected @ 0x10092a50f
// > sub_10092D2D0 @ 0x10092d369
// > sub_10093B540 @ 0x10093b5eb
//
// 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 12:30:47 +0000
//
char *__fastcall FLAlertLayer::create_1(int a1, int a2, __int64 a3, int a4, int a5, float a6)
{
int v6; // r14d
const void *v7; // rsi
unsigned __int64 v8; // rdx
int v9; // r15d
int v10; // r12d
char *result; // rax
char *v12; // rbx
__int128 v13; // [rsp+0h] [rbp-40h] BYREF
void *__p; // [rsp+10h] [rbp-30h]
float v15; // [rsp+1Ch] [rbp-24h]
if ( (*(_BYTE *)a3 & 1) != 0 )
{
v6 = a2;
v7 = *(const void **)(a3 + 16);
v8 = *(_QWORD *)(a3 + 8);
v9 = a5;
v10 = a4;
v15 = a6;
sub_10001AD30(&v13, v7, v8);
a6 = v15;
a2 = v6;
a4 = v10;
a5 = v9;
}
else
{
__p = *(void **)(a3 + 16);
v13 = *(_OWORD *)a3;
}
result = FLAlertLayer::create(a1, a2, &v13, a4, a5, 0, a6, 0.0, 1.0);
if ( (v13 & 1) != 0 )
{
v12 = result;
operator delete(__p);
return v12;
}
return result;
}