//
// FLAlertLayer::create from 0x1002abd8c to 0x1002abe8c (256 bytes)
//
// 21 xrefs:
// > GJUserCell::onCancelFriendRequest @ 0x1001117d8
// > GJUserCell::onRemoveFriend @ 0x100111968
// > GJRequestCell::onDeleteRequest @ 0x1001120c4
// > GJMessageCell::onDeleteMessage @ 0x100112748
// > MusicDownloadManager::showTOS @ 0x10015702c
// > InfoAlertButton::activate @ 0x10016b4a4
// > ProfilePage::onFriend @ 0x10019aea4
// > ProfilePage::onFriend @ 0x10019af34
// > ProfilePage::onBlockUser @ 0x10019b170
// > FRequestProfilePage::onDeleteSelected @ 0x1001b6bcc
// > MessagesProfilePage::onDeleteSelected @ 0x1001cca78
// > AudioAssetsBrowser::onInfo @ 0x1001d1f28
// > sub_1002ABCCC @ 0x1002abd40
// > FLAlertLayer::create_1 @ 0x1002abf2c
// > FriendRequestPopup::onBlock @ 0x1002d9c84
// > GJMessagePopup::onBlock @ 0x1002db408
// > GJMessagePopup::onRemove @ 0x1002db524
// > GJWriteMessagePopup::onSend @ 0x1002dca8c
// > GJWriteMessagePopup::onSend @ 0x1002dcaec
// > GJWriteMessagePopup::onClearBody @ 0x1002dcdbc
// > LevelBrowserLayer::onDeleteSelected @ 0x10041602c
//
// 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
//
FLAlertLayer *__fastcall FLAlertLayer::create(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
float a7)
{
FLAlertLayer *v14; // x19
int v15; // w0
int v16; // w20
void *__p[2]; // [xsp+0h] [xbp-70h] BYREF
__int64 v19; // [xsp+10h] [xbp-60h]
v14 = (FLAlertLayer *)operator new(0x278u);
FLAlertLayer::FLAlertLayer(v14);
if ( *(char *)(a3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a3;
v19 = *(_QWORD *)(a3 + 16);
}
v15 = FLAlertLayer::init(v14, a1, a2, __p, a4, a5, a6, a7);
v16 = v15;
if ( SHIBYTE(v19) < 0 )
{
operator delete(__p[0]);
if ( v16 )
goto LABEL_6;
LABEL_8:
((void (__fastcall *)(FLAlertLayer *))v14->~FLAlertLayer_0)(v14);
return nullptr;
}
if ( !v15 )
goto LABEL_8;
LABEL_6:
cocos2d::CCObject::autorelease(v14);
return v14;
}