//
// TextAlertPopup::create from 0x5dc1f8 to 0x5dc2be (198 bytes)
//
// 112 xrefs:
// > UILayer::showTextAlert @ 0x3fde62
// > LevelInfoLayer::cellPerformedAction @ 0x49a4e6
// > EditLevelLayer::onExportLevel @ 0x49fc3a
// > LevelBrowserLayer::showExportResult @ 0x4a5810
// > LevelBrowserLayer::showImportResult @ 0x4a8a10
// > LevelBrowserLayer::deleteSelected @ 0x4a8bec
// > ColorSelectPopup::onDefault @ 0x4df4d6
// > ParentalGateLayer::onDone @ 0x533e30
// > InfoLayer::bulkCommentDeleteFinished @ 0x53eb4c
// > LocalLevelManager::postFileResults @ 0x542b96
// > SetTextPopup::onClose @ 0x5dc336
// > UISaveLoadLayer::onSave @ 0x5dda74
// > UISaveLoadLayer::onLoad @ 0x5ddba4
// > FRequestProfilePage::onMarkRead @ 0x5f3138
// > ProfilePage::followUserFinished @ 0x5fb276
// > ProfilePage::onCopyName @ 0x5fc48c
// > LevelLeaderboard::deleteLocalScores @ 0x614c90
// > BrowseSmartKeyLayer::createTemplateObjects @ 0x6741ba
// > BrowseSmartTemplateLayer::onTemplateObject @ 0x67538e
// > MusicBrowser::musicActionFailed @ 0x6bda6a
// > MusicBrowser::onChangelog @ 0x6bdb8c
// > MusicBrowser::setupList @ 0x6be186
// > SFXBrowser::musicActionFailed @ 0x6c3d6e
// > SFXBrowser::onChangelog @ 0x6c4018
// > SFXBrowser::setTextPopupClosed @ 0x6c4428
// > SFXBrowser::onExportFile @ 0x6c471a
// > SFXBrowser::onExportFile @ 0x6c4772
// > SFXBrowser::FLAlert_Clicked @ 0x6c4af2
// > SFXBrowser::sfxFolderPicked @ 0x6c521c
// > SFXBrowser::sfxFolderPicked @ 0x6c5348
// > SFXBrowser::setupList @ 0x6c5d4a
// > SFXBrowser::setupList @ 0x6c6154
// > SFXBrowser::onImportFile @ 0x6c85d4
// > SFXBrowser::onImportFile @ 0x6c8670
// > SFXBrowser::sfxFoldersPicked @ 0x6c8d34
// > SFXBrowser::sfxFoldersPicked @ 0x6c8d86
// > SFXBrowser::sfxFoldersPicked @ 0x6c8dd8
// > SFXBrowser::sfxFoldersPicked @ 0x6c8eba
// > AutoSaveSettingsLayer::onOpenBackupDir @ 0x6e71fe
// > sub_6F13BC @ 0x6f14d0
// > sub_6F13BC @ 0x6f15b6
// > EditorUI::showTextAlert @ 0x6f16a4
// > EditorUI::toggleViewOption @ 0x70c668
// > GJKeybindManager::handleGlobalAudioAction @ 0x71467c
// > AccountReviewPopup::onCopyAccountID @ 0x732b84
// > sub_732BD8 @ 0x732c36
// > AutoBackupOptionsPopup::onDeleteAll @ 0x73e52c
// > AutoBackupOptionsPopup::onDeleteAll @ 0x73e596
// > AutoBackupOptionsPopup::onPrune @ 0x73e9ec
// > AutoBackupOptionsPopup::FLAlert_Clicked @ 0x73eba4
// > MessageThreadsPage::threadUpdateFailed @ 0x749290
// > MessageThreadsPage::friendPicked @ 0x7493a2
// > ThreadViewPopup::onRefresh @ 0x74978e
// > ThreadViewPopup::threadUpdateFailed @ 0x74989c
// > ThreadViewPopup::threadUpdateFailed @ 0x74990c
// > ThreadViewPopup::threadUpdateFailed @ 0x74997c
// > MemberListPopup::friendPicked @ 0x74b53a
// > MemberListPopup::threadUpdateFailed @ 0x74b634
// > NewThreadPopup::threadSendFailed @ 0x74b6f0
// > ThreadOptionsPopup::threadUpdateFailed @ 0x74c096
// > InvitesPopup::threadUpdateFailed @ 0x74c820
// > RenameThreadPopup::threadUpdateFailed @ 0x74c90a
// > ThreadDescPopup::finishSave @ 0x74c9c6
// > ThreadDescPopup::threadUpdateFailed @ 0x74cace
// > ThreadViewPopup::threadSearchFailed @ 0x74cc2e
// > LevelBadgePopup::loadLevelsFinished @ 0x74eed0
// > LevelBadgePopup::loadLevelsFailed @ 0x74f006
// > MessageThreadsPage::threadUpdateFinished @ 0x75109a
// > ThreadViewPopup::insertShareToken @ 0x751bc8
// > NewThreadPopup::insertShareToken @ 0x751ed8
// > ThreadOptionsPopup::threadUpdateFinished @ 0x752f20
// > ThreadOptionsPopup::threadUpdateFinished @ 0x752fe4
// > ThreadOptionsPopup::threadUpdateFinished @ 0x7530ac
// > MessageThreadsPage::onRefresh @ 0x75344a
// > ThreadSearchPopup::onSearch @ 0x7536bc
// > ThreadSearchPopup::onSearch @ 0x753728
// > RenameThreadPopup::onSave @ 0x754ad6
// > MemberListPopup::applyAddOutcome @ 0x7557e0
// > MemberListPopup::threadUpdateFinished @ 0x755c4a
// > NewThreadPopup::friendPicked @ 0x757382
// > FriendPickerPopup::getUserListFailed @ 0x758b16
// > NewThreadPopup::threadSendFinished @ 0x75cf24
// > NewThreadPopup::threadSendFinished @ 0x75d0ac
// > InvitesPopup::threadUpdateFinished @ 0x75d330
// > ThreadViewPopup::threadUpdateFinished @ 0x75d942
// > ThreadViewPopup::threadUpdateFinished @ 0x75d9f8
// > ThreadViewPopup::threadUpdateFinished @ 0x75dac2
// > ThreadViewPopup::threadSendFinished @ 0x75dfec
// > ThreadViewPopup::threadSendFailed @ 0x75e1d0
// > DeathMarkerSettingsPopup::FLAlert_Clicked @ 0x76e0c4
// > DeathTrackerOptionsPopup::FLAlert_Clicked @ 0x7706d0
// > EditorSoundConfigInfoLayer::musicActionFailed @ 0x78553c
// > EditorSoundConfigInfoLayer::onDownloadSFX @ 0x7885d4
// > EditorSoundConfigInfoLayer::downloadMissingSFX @ 0x78874e
// > LevelBindingsLayer::onCopy @ 0x797e3c
// > LevelBindingsLayer::onReset @ 0x797f76
// > LevelBindingsLayer::onApplyGlobal @ 0x798034
// > LevelBindingsLayer::onClear @ 0x7980e4
// > LevelBindingsLayer::onPaste @ 0x79819a
// > LevelBindingsLayer::onPaste @ 0x7981f0
// > LevelBindingsLayer::onPaste @ 0x7982b4
// > PlatformerControlsPopup::onLevelControlsRefreshed @ 0x79dd08
// > PlatformerControlsPopup::onApplyCreator @ 0x79e0d6
// > PlatformerControlsPopup::onUpload @ 0x79e208
// > ReportPopup::FLAlert_Clicked @ 0x79fa52
// > ControlSlotsPopup::onLoad @ 0x7a4580
// > TouchControlEditLayer::onPaste @ 0x7a489a
// > TouchControlEditLayer::onPaste @ 0x7a48fa
// > TouchControlEditLayer::onPaste @ 0x7a4ad4
// > TouchControlEditLayer::onApplyGlobal @ 0x7a4b90
// > ControlSlotsPopup::onSave @ 0x7a4ffc
// > TouchControlEditLayer::onCopy @ 0x7a5126
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:12 +0000
//
cocos2d::CCNode *__fastcall TextAlertPopup::create(int a1, cocos2d::CCDelayTime *a2, float a3, int a4, int a5)
{
cocos2d::CCNode *v9; // r4
int v10; // r6
int v11; // r3
cocos2d::CCNode *v12; // r0
int v14[3]; // [sp+Ch] [bp-20h] BYREF
int v15[3]; // [sp+18h] [bp-14h] BYREF
v9 = (cocos2d::CCNode *)operator new(0x118u);
cocos2d::CCNode::CCNode(v9);
*(_DWORD *)v9 = &off_CB5D40;
*((_DWORD *)v9 + 66) = 0;
*((_DWORD *)v9 + 67) = 0;
*((_DWORD *)v9 + 68) = 0;
*((_DWORD *)v9 + 69) = 0;
std::string::basic_string(v14, a1);
std::string::basic_string(v15, a5);
v10 = TextAlertPopup::init((int)v9, (unsigned __int8 *)v14, a2, a3, a4, v15);
std::string::~string((int)v15);
std::string::~string((int)v14);
if ( v10 )
{
cocos2d::CCObject::autorelease(v9);
}
else
{
v11 = *(_DWORD *)v9;
v12 = v9;
v9 = nullptr;
(*(void (__fastcall **)(cocos2d::CCNode *))(v11 + 8))(v12);
}
return v9;
}