//
// FLAlertLayer::create_1 from 0x10049b380 to 0x10049b41a (154 bytes)
//
// 124 xrefs:
// > EditorUI::onNewCustomItem @ 0x100030a55
// > EditorUI::onNewCustomItem @ 0x100030b64
// > EditorUI::onDeleteInfo @ 0x100031e54
// > EditorUI::showDeleteConfirmation @ 0x1000330aa
// > EditorUI::showMaxError @ 0x1000348f4
// > EditorUI::showMaxBasicError @ 0x100034a49
// > EditorUI::showMaxCoinError @ 0x100034b8b
// > AccountLayer::onBackup @ 0x1000cc671
// > AccountLayer::onBackup @ 0x1000cc713
// > AccountLayer::onBackup @ 0x1000cc790
// > AccountLayer::onSync @ 0x1000cc8f4
// > AccountLayer::onSync @ 0x1000cc980
// > AccountLayer::onHelp @ 0x1000cca4e
// > AccountLayer::backupAccountFinished @ 0x1000cd3d6
// > AccountLayer::syncAccountFinished @ 0x1000cd963
// > AccountHelpLayer::onAccountManagement @ 0x1000ce890
// > AccountHelpLayer::onUnlink @ 0x1000cea1a
// > AccountHelpLayer::verifyUnlink @ 0x1000cee95
// > EditLevelLayer::onShare @ 0x1001fc05b
// > EditLevelLayer::onShare @ 0x1001fc146
// > EditLevelLayer::onShare @ 0x1001fc296
// > EditLevelLayer::onShare @ 0x1001fc337
// > EditLevelLayer::onUpdateDescription @ 0x1001fcbd4
// > EditLevelLayer::confirmDelete @ 0x1001fccca
// > EditLevelLayer::onHelp @ 0x1001fcd99
// > EditLevelLayer::confirmClone @ 0x1001fce69
// > EditLevelLayer::confirmMoveToTop @ 0x1001fcf47
// > EditLevelLayer::onLevelInfo @ 0x1001fd420
// > EditLevelLayer::onGuidelines @ 0x1001fd522
// > CustomSongLayer::onSearch @ 0x100215b51
// > CustomSongLayer::showNewgroundsMessage @ 0x100215c44
// > SongOptionsLayer::onInfo @ 0x100217344
// > NewgroundsInfoLayer::onChanges @ 0x100217f06
// > NewgroundsInfoLayer::onInfo @ 0x100217fb4
// > DailyLevelNode::onSkipLevel @ 0x10023358b
// > CommentCell::onConfirmDelete @ 0x100255065
// > GJUserCell::onUnblockUser @ 0x100256615
// > ShareLevelLayer::onShare @ 0x1002812a7
// > ShareLevelLayer::onShare @ 0x10028138d
// > ShareLevelSettingsLayer::onUnlisted @ 0x10028318e
// > EditorPauseLayer::onSave @ 0x10029395e
// > EditorPauseLayer::onExitNoSave @ 0x100293a6a
// > EditorPauseLayer::onResetUnusedColors @ 0x100293db7
// > GJOptionsLayer::onInfo @ 0x10029d48a
// > LevelInfoLayer::onPlay @ 0x1002bfe78
// > LevelInfoLayer::onPlay @ 0x1002bff26
// > LevelInfoLayer::confirmDelete @ 0x1002c181d
// > LevelInfoLayer::onRateStars @ 0x1002c1b92
// > LevelInfoLayer::confirmOwnerDelete @ 0x1002c1fcb
// > LevelInfoLayer::confirmClone @ 0x1002c214c
// > LevelInfoLayer::tryCloneLevel @ 0x1002c224f
// > LevelInfoLayer::onLevelInfo @ 0x1002c25c4
// > LevelInfoLayer::confirmMoveToTop @ 0x1002c27b6
// > LevelInfoLayer::confirmMoveToBottom @ 0x1002c2898
// > LevelInfoLayer::levelDownloadFailed @ 0x1002c3bbc
// > LevelInfoLayer::showUpdateAlert @ 0x1002c3d48
// > LevelInfoLayer::levelUpdateFailed @ 0x1002c3e8f
// > LevelInfoLayer::levelDeleteFinished @ 0x1002c3faa
// > LevelInfoLayer::levelDeleteFailed @ 0x1002c40ba
// > LevelInfoLayer::showSongWarning @ 0x1002c41b6
// > LevelInfoLayer::numberInputClosed @ 0x1002c46f0
// > LevelInfoLayer::onRate @ 0x1002c4ab3
// > LevelListLayer::confirmClone @ 0x10035db16
// > LevelListLayer::confirmOwnerDelete @ 0x10035dccd
// > LevelListLayer::confirmDelete @ 0x10035ddac
// > LevelListLayer::onShare @ 0x10035e06e
// > LevelListLayer::levelListDeleteFinished @ 0x1003607b2
// > LevelListLayer::levelListDeleteFailed @ 0x1003608b2
// > ShareListLayer::onShare @ 0x1003630f2
// > ShareListLayer::onInfo @ 0x1003631a4
// > GJGarageLayer::onInfo @ 0x10036c2c7
// > MenuLayer::onNewgrounds @ 0x10039178c
// > MenuLayer::onQuit @ 0x10039199c
// > MenuLayer::showGCQuestion @ 0x100391d71
// > SupportLayer::onEmail @ 0x100399cd0
// > SupportLayer::onLowDetail @ 0x10039a5c7
// > WorldLevelPage::onInfo @ 0x1003c6994
// > PauseLayer::onTryEdit @ 0x1003d723c
// > PauseLayer::tryQuit @ 0x1003d7458
// > LevelLeaderboard::onDeleteLocalScores @ 0x1003db3a9
// > FollowRewardPage::onSpecialItem @ 0x100420d38
// > LevelPage::onPlay @ 0x100434bf0
// > LevelPage::onInfo @ 0x100434f60
// > LevelPage::onInfo @ 0x100434ffd
// > LevelPage::onInfo @ 0x100435136
// > LevelBrowserLayer::onRemoveAllFavorites @ 0x10048d656
// > LevelBrowserLayer::onDeleteAll @ 0x10048d766
// > LevelBrowserLayer::onInfo @ 0x10048de83
// > AccountRegisterLayer::registerAccountFinished @ 0x1004972e4
// > AccountLoginLayer::loginAccountFinished @ 0x10049a3d4
// > SetupSmartTemplateLayer::onClick @ 0x1004e8535
// > GJRateLevelLayer::onCustomButton @ 0x100506893
// > CreateGuidelinesLayer::onInfo @ 0x10050d074
// > LeaderboardsLayer::onInfo @ 0x100512de4
// > GameLevelManager::onUploadCommentCompleted @ 0x1005224bb
// > GameLevelManager::onRestoreItemsCompleted @ 0x100522951
// > GameLevelManager::onRestoreItemsCompleted @ 0x1005229d3
// > GJLevelList::showListInfo @ 0x100563372
// > GauntletSelectLayer::onInfo @ 0x100571f64
// > GauntletSelectLayer::onPlay @ 0x100572db4
// > SelectEventLayer::onInfo @ 0x10057a8c1
// > CustomSFXWidget::onDelete @ 0x1005e3b9a
// > GJSongBrowser::onDeleteAll @ 0x1005ff425
// > KeybindingsLayer::onInfo @ 0x10060b79a
// > CustomSongWidget::onDelete @ 0x10061bdca
// > LevelSearchLayer::confirmClearFilters @ 0x10062a1a7
// > MoreSearchLayer::onInfo @ 0x10062ecc4
// > OptionsLayer::tryEnableRecord @ 0x10079b598
// > MoreOptionsLayer::onFMODDebug @ 0x10079d425
// > MoreOptionsLayer::onInfo @ 0x10079e77a
// > VideoOptionsLayer::onInfo @ 0x1007a0af5
// > MoreVideoOptionsLayer::onInfo @ 0x1007a2d2a
// > ParentalOptionsLayer::onInfo @ 0x1007a4baa
// > InfoLayer::onComment @ 0x1007b085f
// > InfoLayer::onComment @ 0x1007b0900
// > InfoLayer::onComment @ 0x1007b0a63
// > InfoLayer::confirmReport @ 0x1007b0d71
// > InfoLayer::onLevelInfo @ 0x1007b1c94
// > ProfilePage::onInfo @ 0x1007bd5c0
// > ProfilePage::onSendMessage @ 0x1007bdaeb
// > ProfilePage::onFriend @ 0x1007bdc85
// > ProfilePage::onBlockUser @ 0x1007bdfc0
// > ProfilePage::onComment @ 0x1007be93c
// > ProfilePage::showNoAccountError @ 0x1007bf2a6
//
// 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
//
char *__fastcall FLAlertLayer::create_1(int a1, int a2, __int64 a3, int a4, int a5, double 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]
int 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 = LODWORD(a6);
sub_100006B70(&v13, v7, v8, a6);
LODWORD(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, *(float *)&a6, 0.0, 1.0);
if ( (v13 & 1) != 0 )
{
v12 = result;
operator delete(__p);
return v12;
}
return result;
}