//
// InfoAlertButton::create from 0x1001f8d18 to 0x1001f8e48 (304 bytes)
//
// 77 xrefs:
// > SetupOpacityPopup::init @ 0x1000268cc
// > SetupRandAdvTriggerPopup::init @ 0x100031fcc
// > ChallengesPage::init @ 0x100035c84
// > SetGroupIDLayer::init @ 0x10003f070
// > SetupObjectOptionsPopup::init @ 0x100043230
// > CustomizeObjectLayer::init @ 0x100055fa0
// > SetupSmartBlockLayer::init @ 0x100077cc4
// > sub_100078D94 @ 0x100078fa0
// > sub_100079BF0 @ 0x100079c78
// > sub_10007B234 @ 0x10007b2d4
// > GJThreadCell::loadFromThread @ 0x100130298
// > GJCompactUserCell::buildUserRow @ 0x100139760
// > GameSettingsLayer::addSpecialContent @ 0x100165634
// > GameSettingsLayer::addToggle @ 0x1001663b4
// > AutoSaveSettingsLayer::init @ 0x1001676ec
// > sub_1001ACBB8 @ 0x1001acc3c
// > CreateStartPosPopup::init @ 0x1001c1fd4
// > sub_1001C6760 @ 0x1001c68cc
// > PurchaseItemPopup::init @ 0x1001ccb94
// > sub_1001CE6A8 @ 0x1001ce980
// > sub_1001CF204 @ 0x1001cf290
// > LevelOptionsLayer::setupOptions @ 0x10020ef88
// > StartPosLayer::init @ 0x10020f994
// > sub_100221F74 @ 0x1002220c0
// > GJSpecialColorSelect::init @ 0x1002440d4
// > FRequestProfilePage::init @ 0x10024b1b8
// > sub_100261DDC @ 0x100261f54
// > SetupSequenceTriggerPopup::init @ 0x10026a68c
// > ShareCommentLayer::init @ 0x10026ca78
// > ShareCommentLayer::init @ 0x10026cb4c
// > FriendsProfilePage::init @ 0x100271a68
// > sub_1002D7110 @ 0x1002d7234
// > sub_1002E5208 @ 0x1002e5aa0
// > sub_1002E5208 @ 0x1002e5c50
// > sub_1002E85A0 @ 0x1002e8708
// > LevelLeaderboard::init @ 0x1002ed138
// > sub_100314E5C @ 0x10031500c
// > sub_10034C23C @ 0x10034c3ac
// > sub_100369218 @ 0x10036a528
// > sub_100370DB0 @ 0x100370f14
// > GJAccountSettingsLayer::init @ 0x100373658
// > GJAccountSettingsLayer::init @ 0x100373a7c
// > GJAccountSettingsLayer::init @ 0x100373e80
// > sub_100375C88 @ 0x1003760d4
// > sub_10037D790 @ 0x10037d81c
// > GameLevelOptionsLayer::init @ 0x10037f8b8
// > sub_10038DCA0 @ 0x10038dde8
// > sub_1004500BC @ 0x10045023c
// > sub_1004513E0 @ 0x10045156c
// > sub_10045F6C4 @ 0x10045fc7c
// > sub_10046CBBC @ 0x10046cf54
// > sub_10049E474 @ 0x1004a0050
// > AudioAssetsPopup::init @ 0x1004a9640
// > ClearPlatformerSavesOptionsPopup::init @ 0x1004aaaf4
// > DeathMarkerSettingsPopup::init @ 0x1004b6b9c
// > DeathMarkerSettingsPopup::init @ 0x1004b6cf8
// > DeathMarkerSettingsPopup::init @ 0x1004b6fc0
// > DeathMarkerSettingsPopup::init @ 0x1004b7570
// > DeathTrackerPopup::init @ 0x1004bacc8
// > sub_1004CC170 @ 0x1004cccf4
// > GridSettingsLayer::onBuildWindowContent @ 0x1004defa4
// > MessageThreadsPage::init @ 0x1004f3fc8
// > sub_1004FA25C @ 0x1004fa6a8
// > FriendPickerPopup::init @ 0x100503230
// > sub_1005048D8 @ 0x100504f04
// > sub_100508F28 @ 0x1005098e4
// > InvitesPopup::init @ 0x10050e844
// > ReportQueuePopup::init @ 0x1005232dc
// > sub_10052A0E4 @ 0x10052a384
// > sub_10053288C @ 0x10053297c
// > DailyRecallUnlockPopup::init @ 0x10053aae8
// > sub_10053BF58 @ 0x10053c130
// > sub_1005401F4 @ 0x100540430
// > AccountReviewPopup::init @ 0x100540f58
// > sub_1005452FC @ 0x100545eb0
// > sub_1005467AC @ 0x100547458
// > sub_10054C7E0 @ 0x10054c850
//
// 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:00:41 +0000
//
char *__fastcall InfoAlertButton::create(__int64 a1, __int64 a2, float a3)
{
char *v6; // x19
int v7; // w20
void *__p[2]; // [xsp+0h] [xbp-70h] BYREF
__int64 v10; // [xsp+10h] [xbp-60h]
void *__dst[2]; // [xsp+20h] [xbp-50h] BYREF
__int64 v12; // [xsp+30h] [xbp-40h]
v6 = (char *)operator new(0x230u);
CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v6);
*(_QWORD *)v6 = off_1008F4740;
*((_QWORD *)v6 + 40) = off_1008F4BB8;
*(_OWORD *)(v6 + 504) = 0u;
*(_OWORD *)(v6 + 520) = 0u;
*(_OWORD *)(v6 + 536) = 0u;
*((_DWORD *)v6 + 138) = 1065353216;
v6[556] = 0;
if ( *(char *)(a1 + 23) < 0 )
{
sub_1000097D0(__dst, *(void **)a1, *(_QWORD *)(a1 + 8));
}
else
{
*(_OWORD *)__dst = *(_OWORD *)a1;
v12 = *(_QWORD *)(a1 + 16);
}
if ( *(char *)(a2 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a2;
v10 = *(_QWORD *)(a2 + 16);
}
v7 = InfoAlertButton::init(v6, __dst, __p, a3);
if ( SHIBYTE(v10) < 0 )
operator delete(__p[0]);
if ( SHIBYTE(v12) < 0 )
{
operator delete(__dst[0]);
if ( v7 )
goto LABEL_11;
LABEL_13:
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
if ( !v7 )
goto LABEL_13;
LABEL_11:
cocos2d::CCObject::autorelease((__int64)v6);
return v6;
}