//
// FLAlertLayer::create from 0x10034a9b8 to 0x10034aac8 (272 bytes)
//
// 35 xrefs:
// > sub_10013AF0C @ 0x10013af74
// > MusicDownloadManager::showTOS @ 0x1001d5ab4
// > InfoAlertButton::activate @ 0x1001f8fa0
// > ProfilePage::onFriend @ 0x10022dc58
// > sub_10022DE90 @ 0x10022df84
// > sub_10022F9F0 @ 0x10022fa7c
// > sub_10024C070 @ 0x10024c168
// > sub_10024C070 @ 0x10024c1c0
// > sub_100264808 @ 0x1002648f4
// > sub_100269AE0 @ 0x100269f10
// > sub_10034A8F8 @ 0x10034a96c
// > FLAlertLayer::create_1 @ 0x10034ab68
// > sub_100378AF4 @ 0x100378b48
// > sub_100378BB0 @ 0x100378c5c
// > sub_10037A2A8 @ 0x10037a2fc
// > sub_10037A374 @ 0x10037a43c
// > LevelBrowserLayer::onProcessSelected @ 0x10049731c
// > sub_100507D2C @ 0x100507e20
// > sub_100507EC0 @ 0x100507fb4
// > sub_100508044 @ 0x100508138
// > sub_10050D170 @ 0x10050d1c8
// > sub_10050D240 @ 0x10050d2d4
// > sub_10050D5B0 @ 0x10050d604
// > sub_10050D67C @ 0x10050d754
// > sub_10050D7D0 @ 0x10050d8ac
// > sub_1005105C8 @ 0x100510638
// > sub_10051C708 @ 0x10051c758
// > sub_100521918 @ 0x100521d64
// > sub_1005302A4 @ 0x1005303ec
// > sub_100532F70 @ 0x1005330f0
// > sub_1005331C8 @ 0x10053343c
// > sub_10054975C @ 0x10054989c
// > sub_100549BA8 @ 0x100549cd4
// > sub_10054A0EC @ 0x10054a1c4
// > AccountReviewPopup::reviewChoicePicked @ 0x10054a5c8
//
// 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 11:03:16 +0000
//
void *__fastcall FLAlertLayer::create(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
float a7,
float a8,
float a9)
{
void *v18; // x19
int v19; // w0
int v20; // w20
void *__p[2]; // [xsp+0h] [xbp-80h] BYREF
__int64 v23; // [xsp+10h] [xbp-70h]
v18 = operator new(0x298u);
FLAlertLayer::FLAlertLayer((__int64)v18);
if ( *(char *)(a3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a3;
v23 = *(_QWORD *)(a3 + 16);
}
v19 = FLAlertLayer::init(v18, a1, a2, __p, a4, a5, a6, a7, a8, a9);
v20 = v19;
if ( SHIBYTE(v23) < 0 )
{
operator delete(__p[0]);
if ( v20 )
goto LABEL_6;
LABEL_8:
(*(void (__fastcall **)(void *))(*(_QWORD *)v18 + 16LL))(v18);
return nullptr;
}
if ( !v19 )
goto LABEL_8;
LABEL_6:
cocos2d::CCObject::autorelease((__int64)v18);
return v18;
}