//
// FLAlertLayer::create from 0x69a97c to 0x69abb8 (572 bytes)
//
// 40 xrefs:
// > FLAlertLayer::create @ 0x69ac24
// > FLAlertLayer::create @ 0x69ad14
// > GJMessageCell::onDeleteMessage @ 0x73b92c
// > LevelBrowserLayer::onProcessSelected @ 0x7f676c
// > MusicDownloadManager::showTOS @ 0x95c57c
// > FriendRequestPopup::onIgnore @ 0xa1f0c8
// > GJMessagePopup::onRemove @ 0xa1f1f4
// > GJWriteMessagePopup::onClearBody @ 0xa1f32c
// > GJWriteMessagePopup::onSend @ 0xa28dc4
// > GJWriteMessagePopup::onSend @ 0xa28e40
// > FriendRequestPopup::onBlock @ 0xa2975c
// > GJMessagePopup::onBlock @ 0xa29958
// > InfoAlertButton::activate @ 0xa3f29c
// > MessagesProfilePage::onDeleteSelected @ 0xa4a65c
// > FRequestProfilePage::onDeleteSelected @ 0xa4d1fc
// > FRequestProfilePage::onDeleteSelected @ 0xa4d288
// > ProfilePage::onBlockUser @ 0xa56550
// > ProfilePage::createUnfriendAlert @ 0xa56934
// > ProfilePage::onFriend @ 0xa56cb0
// > MPLobbyLayer::onBtn1 @ 0xb058ec
// > AudioAssetsBrowser::onInfo @ 0xbc21e8
// > AccountReviewPopup::onDeleteRow @ 0xc421bc
// > AccountReviewPopup::onDeleteFilterRow @ 0xc4241c
// > AccountReviewPopup::confirmDeleteSelected @ 0xc425f0
// > AccountReviewPopup::reviewChoicePicked @ 0xc42948
// > AutoBackupPopup::onDeleteSelected @ 0xc52e80
// > AutoBackupOptionsPopup::onDeleteAll @ 0xc573f8
// > AutoBackupOptionsPopup::onPrune @ 0xc58c88
// > ThreadOptionsPopup::onModLock @ 0xc64a24
// > ThreadOptionsPopup::onDismissRemoved @ 0xc64b7c
// > ThreadOptionsPopup::onCancelRequest @ 0xc64c94
// > ThreadOptionsPopup::onLeave @ 0xc6bec4
// > InvitesPopup::declineInvite @ 0xc6ccf8
// > MemberListPopup::onRevokeInvite @ 0xc6e7f4
// > MemberListPopup::onKickMember @ 0xc6e9b8
// > MemberListPopup::onTransferOwner @ 0xc6eb8c
// > ThreadOptionsPopup::onHide @ 0xc6ed64
// > PlatformerControlsPopup::onInfo @ 0xcfa0c4
// > ReportPopup::onSubmit @ 0xcff394
// > ??> @ 0x4c2e8
//
// 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 a6,
float a7,
float a8,
float a9)
{
__int64 v18; // x19
char v19; // w0
__int64 v20; // x0
__int64 v21; // x1
int v22; // w21
__int64 v23; // x1
__int64 v24; // x0
__int64 v26; // [xsp+80h] [xbp+80h] BYREF
__int64 v27; // [xsp+88h] [xbp+88h]
void *v28; // [xsp+90h] [xbp+90h]
v18 = operator new(0x298u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v18);
*(_QWORD *)(v18 + 552) = 0;
*(_QWORD *)v18 = &off_1419A40;
*(_QWORD *)(v18 + 320) = off_1419F90;
*(_QWORD *)(v18 + 328) = &off_141A000;
*(_QWORD *)(v18 + 336) = off_141A018;
*(_QWORD *)(v18 + 344) = off_141A038;
*(_QWORD *)(v18 + 352) = off_141A060;
*(_QWORD *)(v18 + 408) = &off_141A090;
*(_QWORD *)(v18 + 432) = &off_141A110;
*(_QWORD *)(v18 + 544) = off_141A130;
*(_QWORD *)(v18 + 560) = 0;
*(_QWORD *)(v18 + 568) = 0;
*(_BYTE *)(v18 + 576) = 0;
*(_QWORD *)(v18 + 584) = 0;
*(_DWORD *)(v18 + 592) = 0;
*(_BYTE *)(v18 + 596) = 0;
*(_BYTE *)(v18 + 597) = 0;
*(_BYTE *)(v18 + 598) = 0;
*(_BYTE *)(v18 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v18 + 600));
*(_QWORD *)(v18 + 608) = 0;
*(_QWORD *)(v18 + 616) = 0;
*(_QWORD *)(v18 + 624) = 0;
*(_DWORD *)(v18 + 632) = -1;
*(_BYTE *)(v18 + 636) = 0;
*(_BYTE *)(v18 + 637) = 0;
*(_DWORD *)(v18 + 640) = -1;
*(_BYTE *)(v18 + 644) = 0;
*(_BYTE *)(v18 + 656) = 0;
*(_DWORD *)(v18 + 648) = 0;
v26 = 0;
*(_DWORD *)(v18 + 652) = 0;
v19 = *a3;
v27 = 0;
v28 = nullptr;
if ( (v19 & 1) != 0 )
{
std::string::__init(&v26, *((void **)a3 + 2), *((_QWORD *)a3 + 1));
}
else
{
v20 = *(_QWORD *)a3;
v21 = *((_QWORD *)a3 + 1);
v28 = *((void **)a3 + 2);
v26 = v20;
v27 = v21;
}
v22 = (unsigned __int8)FLAlertLayer::init(v18, a1, a2, (char *)&v26, a4, a5, a6, a7, a8, a9);
if ( (v26 & 1) != 0 )
operator delete(v28);
if ( v22 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v18);
}
else
{
v23 = *(_QWORD *)v18;
v24 = v18;
v18 = 0;
(*(void (__fastcall **)(__int64))(v23 + 16))(v24);
}
return v18;
}