//
// FLAlertLayer::create from 0x3cc188 to 0x3cc2e0 (344 bytes)
//
// 39 xrefs:
// > FLAlertLayer::create @ 0x3cc32a
// > FLAlertLayer::create @ 0x3cc39e
// > GJMessageCell::onDeleteMessage @ 0x42814c
// > LevelBrowserLayer::onProcessSelected @ 0x4a5110
// > MusicDownloadManager::showTOS @ 0x56cb8c
// > FriendRequestPopup::onIgnore @ 0x5d7652
// > GJMessagePopup::onRemove @ 0x5d76e6
// > GJWriteMessagePopup::onClearBody @ 0x5d778e
// > GJWriteMessagePopup::onSend @ 0x5d9f14
// > GJWriteMessagePopup::onSend @ 0x5d9f5a
// > FriendRequestPopup::onBlock @ 0x5da496
// > GJMessagePopup::onBlock @ 0x5da5c6
// > InfoAlertButton::activate @ 0x5e8442
// > MessagesProfilePage::onDeleteSelected @ 0x5efbfe
// > FRequestProfilePage::onDeleteSelected @ 0x5f18de
// > FRequestProfilePage::onDeleteSelected @ 0x5f1956
// > ProfilePage::onBlockUser @ 0x5f7920
// > ProfilePage::createUnfriendAlert @ 0x5f7b44
// > ProfilePage::onFriend @ 0x5f7cb8
// > MPLobbyLayer::onBtn1 @ 0x66a60a
// > AudioAssetsBrowser::onInfo @ 0x6e1f8e
// > AccountReviewPopup::onDeleteRow @ 0x7339ee
// > AccountReviewPopup::onDeleteFilterRow @ 0x733b72
// > AccountReviewPopup::confirmDeleteSelected @ 0x734bfa
// > AccountReviewPopup::reviewChoicePicked @ 0x734d92
// > AutoBackupPopup::onDeleteSelected @ 0x73c9ba
// > AutoBackupOptionsPopup::onDeleteAll @ 0x73e63c
// > AutoBackupOptionsPopup::onPrune @ 0x73ea66
// > ThreadOptionsPopup::onLeave @ 0x74ba54
// > ThreadOptionsPopup::onDismissRemoved @ 0x74bb1a
// > ThreadOptionsPopup::onModLock @ 0x74bbfa
// > ThreadOptionsPopup::onCancelRequest @ 0x74bca2
// > InvitesPopup::declineInvite @ 0x74c632
// > MemberListPopup::onRevokeInvite @ 0x74d836
// > MemberListPopup::onKickMember @ 0x74d936
// > MemberListPopup::onTransferOwner @ 0x74da46
// > ThreadOptionsPopup::onHide @ 0x74db6a
// > PlatformerControlsPopup::onInfo @ 0x79ddd0
// > ReportPopup::onSubmit @ 0x79fe36
//
// 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:46:38 +0000
//
int *__fastcall FLAlertLayer::create(
int a1,
cocos2d::CCLabelBMFont *a2,
int a3,
ButtonSprite *a4,
ButtonSprite *a5,
float a6,
char a7,
int a8,
float a9)
{
int *v13; // r4
GameManager *v14; // r6
int v15; // r3
int *v16; // r0
int v18[3]; // [sp+18h] [bp-14h] BYREF
v13 = (int *)operator new(0x208u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v13);
*v13 = (int)&off_C86768;
v13[66] = (int)&off_C86A10;
v13[67] = (int)&off_C86A48;
v13[68] = (int)&off_C86A54;
v13[69] = (int)&off_C86A64;
v13[70] = (int)&off_C86A78;
v13[79] = (int)&off_C86A90;
v13[83] = (int)&off_C86AD0;
v13[110] = (int)&off_C86AE0;
v13[111] = 0;
v13[112] = 0;
v13[113] = 0;
*((_BYTE *)v13 + 456) = 0;
v13[115] = 0;
v13[116] = 0;
*((_BYTE *)v13 + 468) = 0;
*((_BYTE *)v13 + 469) = 0;
*((_BYTE *)v13 + 470) = 0;
*((_BYTE *)v13 + 471) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v13 + 118));
v13[120] = 0;
v13[121] = 0;
v13[122] = 0;
*((_BYTE *)v13 + 496) = 0;
*((_BYTE *)v13 + 497) = 0;
*((_BYTE *)v13 + 504) = 0;
*((_BYTE *)v13 + 516) = 0;
v13[123] = -1;
v13[125] = -1;
v13[127] = 0;
v13[128] = 0;
std::string::basic_string(v18, a3);
v14 = FLAlertLayer::init(v13, a1, a2, (int)v18, a4, a5, a6, a7, a8, a9);
std::string::~string((int)v18);
if ( v14 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v13);
}
else
{
v15 = *v13;
v16 = v13;
v13 = nullptr;
(*(void (__fastcall **)(int *))(v15 + 8))(v16);
}
return v13;
}