//
// FLAlertLayer::create from 0x69abb8 to 0x69aca8 (240 bytes)
//
// 55 xrefs:
// > GameToolbox::doWeHaveInternet @ 0x69f6e0
// > CreateGuidelinesLayer::onClearGuidelines @ 0x6e7fe4
// > GameManager::showParentalRestrictedAlert @ 0x717128
// > LevelCell::onClick @ 0x73b168
// > EditLevelLayer::onExportLevel @ 0x7ee324
// > LevelBrowserLayer::showExportResult @ 0x7f7290
// > LevelBrowserLayer::showImportResult @ 0x7fbf4c
// > GameLevelManager::onUploadCommentCompleted @ 0x8331e8
// > VideoOptionsLayer::onApply @ 0x8f0fa8
// > InfoLayer::commentUploadFailed @ 0x908830
// > MessagesProfilePage::onDeleteSelected @ 0xa4a590
// > FRequestProfilePage::onDeleteSelected @ 0xa4d15c
// > ProfilePage::onFollow @ 0xa555f0
// > ProfilePage::followUserFailed @ 0xa556d4
// > ProfilePage::commentUploadFailed @ 0xa559b4
// > ProfilePage::commentDeleteFailed @ 0xa5d1e0
// > LevelAreaInnerLayer::onNextFloor @ 0xb5a1b0
// > NewsPopup::onBlockClicked @ 0xb8c72c
// > GameSettingsLayer::onCustomButton @ 0xc05520
// > AutoBackupPopup::onRestore @ 0xc5337c
// > AutoBackupPopup::onDelete @ 0xc5371c
// > NotificationsPage::notificationMuteFailed @ 0xc5eb80
// > NotificationsPage::notificationRewardFailed @ 0xc5ec80
// > ThreadDescPopup::onSave @ 0xc7ac94
// > NewThreadPopup::onSend @ 0xc7b31c
// > NewThreadPopup::onSend @ 0xc7b390
// > NewThreadPopup::onSend @ 0xc7b44c
// > NewThreadPopup::onSend @ 0xc7b554
// > MemberListPopup::applyAddOutcome @ 0xc7c888
// > ThreadViewPopup::onSend @ 0xc89a78
// > EditorSoundBrowserLayer::setTextPopupClosed @ 0xccac58
// > EditorSoundBrowserLayer::setTextPopupClosed @ 0xccacf0
// > EditorSoundConfigInfoLayer::deleteEditorSoundFailed @ 0xccd0bc
// > EditorSoundConfigInfoLayer::downloadEditorSoundFailed @ 0xccdd14
// > EditorSoundConfigInfoLayer::onFavorite @ 0xccdfb4
// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0xcce26c
// > SoundPackDescPopup::onSave @ 0xcce368
// > EditorSoundConfigInfoLayer::applyConfig @ 0xccea98
// > EditorSoundConfigInfoLayer::applyConfig @ 0xccebc8
// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0xccf4d0
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3744
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd37d8
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd392c
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3a20
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3b1c
// > EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0xcd4144
// > EditorSoundConfigUploadPopup::performUpload @ 0xcd44ec
// > EditorSoundConfigUploadPopup::performUpload @ 0xcd4568
// > EditorSoundConfigUploadPopup::performUpload @ 0xcd460c
// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0xcd483c
// > KeybindingsSettingsPopup::onExport @ 0xcf0030
// > KeybindingsSettingsPopup::onExport @ 0xcf00b8
// > PlatformerControlsPopup::onUpload @ 0xcfc1e8
// > ReportPopup::onSubmit @ 0xcff718
// > ??> @ 0x99f70
//
// This function is hookable on this platform (idp: arm, 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:50:39 +0000
//
__int64 __fastcall FLAlertLayer::create(
__int64 a1,
cocos2d::CCLabelBMFont *a2,
char *a3,
ButtonSprite *a4,
ButtonSprite *a5)
{
char v7; // w0
__int64 v8; // x0
__int64 v9; // x1
__int64 v10; // x20
ButtonSprite *v12; // [xsp+30h] [xbp+30h]
ButtonSprite *v13; // [xsp+38h] [xbp+38h]
__int64 v14; // [xsp+40h] [xbp+40h] BYREF
__int64 v15; // [xsp+48h] [xbp+48h]
void *v16; // [xsp+50h] [xbp+50h]
v7 = *a3;
v14 = 0;
v15 = 0;
v16 = nullptr;
if ( (v7 & 1) != 0 )
{
v12 = a5;
v13 = a4;
std::string::__init(&v14, *((void **)a3 + 2), *((_QWORD *)a3 + 1));
a5 = v12;
a4 = v13;
}
else
{
v8 = *(_QWORD *)a3;
v9 = *((_QWORD *)a3 + 1);
v16 = *((void **)a3 + 2);
v14 = v8;
v15 = v9;
}
v10 = FLAlertLayer::create(a1, a2, (char *)&v14, a4, a5, 0, 250.0, 0.0, 1.0);
if ( (v14 & 1) != 0 )
operator delete(v16);
return v10;
}