//
// InfoAlertButton::create from 0x1403cd630 to 0x1403cd82d (509 bytes)
//
// 80 xrefs:
// > AutoSaveSettingsLayer::init @ 0x14009b1d5
// > ChallengesPage::init @ 0x14009e2b3
// > ClearPlatformerSavesOptionsPopup::init @ 0x1400a4846
// > AdminActionConfirmPopup::addHelp @ 0x1400a616b
// > ReviewChoiceSheet::init @ 0x1400ae658
// > AccountReviewPopup::init @ 0x1400af985
// > AccountReviewPopup::buildReportedRows @ 0x1400b5361
// > AccountReviewPopup::buildFilterRows @ 0x1400b6cd4
// > AudioAssetsPopup::init @ 0x1400be0e4
// > ReportQueuePopup::init @ 0x1400c7af2
// > AutoBackupOptionsPopup::init @ 0x1400cdd23
// > MessageThreadsPage::init @ 0x1400d48a2
// > ThreadViewPopup::refreshLockNotice @ 0x1400db244
// > FriendPickerPopup::init @ 0x1400e705b
// > LevelPickerPopup::init @ 0x1400e957f
// > NewThreadPopup::init @ 0x1400efb00
// > InvitesPopup::init @ 0x1400f6e86
// > SongUsagePopup::init @ 0x140102210
// > DeathTrackerPopup::init @ 0x140105c17
// > DeathMarkerSettingsPopup::init @ 0x14011c30b
// > DeathMarkerSettingsPopup::init @ 0x14011c56a
// > DeathMarkerSettingsPopup::init @ 0x14011ca49
// > DeathMarkerSettingsPopup::init @ 0x14011d24a
// > ColorSelectPopup::init @ 0x140128e3b
// > ConfigureValuePopup::init @ 0x140131ec2
// > CustomizeObjectLayer::init @ 0x14013f8be
// > GJCompactUserCell::buildUserRow @ 0x1401586ad
// > GJThreadCell::loadFromThread @ 0x140159ff4
// > DailyRecallUnlockPopup::init @ 0x140174709
// > EditorSoundBrowserLayer::init @ 0x14018ebf3
// > FRequestProfilePage::init @ 0x14020f995
// > FriendsProfilePage::init @ 0x140213b70
// > GameSettingsLayer::addSpecialContent @ 0x1402c55d9
// > GameSettingsLayer::addSpecialContent @ 0x1402c5897
// > GameSettingsLayer::addToggle @ 0x1402c6ba2
// > GridSettingsLayer::onBuildWindowContent @ 0x1402c8f1a
// > GJPathPage::init @ 0x140393a93
// > EditTriggersPopup::init @ 0x14039a2b7
// > GJAccountSettingsLayer::init @ 0x14039d1ad
// > GJAccountSettingsLayer::init @ 0x14039d674
// > GJAccountSettingsLayer::init @ 0x14039daf0
// > SocialLinksPopup::init @ 0x14039f9a3
// > GameLevelOptionsLayer::create @ 0x1403aa4ff
// > PurchaseItemPopup::init @ 0x1403b5c67
// > GJSpecialColorSelect::init @ 0x1403be7b1
// > LevelLeaderboard::init @ 0x14042946b
// > ShareListLayer::init @ 0x140432797
// > ShareListLayer::init @ 0x140432a3a
// > LevelOptionsLayer::setupOptions @ 0x14045d574
// > StartPosLayer::init @ 0x14045e01d
// > NotificationFilterPopup::init @ 0x1404794db
// > CreateStartPosPopup::init @ 0x1404dc834
// > SetGroupIDLayer::init @ 0x14058f026
// > SetGroupIDLayer::onGroupIDOptions @ 0x140593c42
// > SetupObjectOptionsPopup::init @ 0x140594e13
// > SetupAnimationPopup::init @ 0x1405a0b7b
// > SetupCameraEdgePopup::init @ 0x1405aa69e
// > SetupCameraModePopup::init @ 0x1405ab8a7
// > SetupCameraOffsetTrigger::init @ 0x1405acb27
// > SetupEndPopup::init @ 0x1405b2319
// > SetupMGTrigger::init @ 0x1405bcae9
// > SetupOpacityPopup::init @ 0x1405bff6f
// > CreateParticlePopup::init @ 0x1405c31c1
// > SetupRandAdvTriggerPopup::init @ 0x1405d2d66
// > SetupRandTriggerPopup::init @ 0x1405d51be
// > SetupSequenceTriggerPopup::init @ 0x1405d88dd
// > SetupShakePopup::init @ 0x1405ea900
// > SetupSmartBlockLayer::init @ 0x1405ecbca
// > SetupSmartTemplateLayer::init @ 0x1405ee856
// > BrowseSmartTemplateLayer::init @ 0x1405ef9db
// > BrowseSmartKeyLayer::init @ 0x1405f115f
// > SetupTimeWarpPopup::init @ 0x1405f984e
// > SetupTouchTogglePopup::init @ 0x1405fa1d5
// > SetupTriggerPopup::addHelpButton @ 0x14060bec6
// > SFXBrowser::onImportSetup @ 0x14061d30a
// > ShareCommentLayer::init @ 0x14062e4e1
// > ShareCommentLayer::init @ 0x14062e750
// > ShareLevelSettingsLayer::init @ 0x140632e1e
// > ??> @ 0x140924620
// > ??> @ 0x14092462c
//
// This function is hookable on this platform (idp: pc, 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:31:33 +0000
//
// Hidden C++ exception states: #wind=6
char *__fastcall InfoAlertButton::create(__int64 a1, __int64 a2)
{
char *v4; // r14
void **v5; // rdi
void **v6; // rsi
__int64 *v7; // rbx
void *v8; // rdx
void *v9; // rdx
char v11[32]; // [rsp+40h] [rbp-A8h] BYREF
char v12[32]; // [rsp+60h] [rbp-88h] BYREF
__int64 v13; // [rsp+80h] [rbp-68h]
__int64 v14; // [rsp+88h] [rbp-60h]
v13 = a1;
v14 = a2;
v4 = (char *)operator new(0x250u);
CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((__int64)v4);
*(_QWORD *)v4 = &InfoAlertButton::`vftable';
*((_QWORD *)v4 + 40) = &InfoAlertButton::`vftable';
*(_OWORD *)(v4 + 520) = 0;
*((_QWORD *)v4 + 67) = 0;
*((_QWORD *)v4 + 68) = 15;
v4[520] = 0;
*(_OWORD *)(v4 + 552) = 0;
*((_QWORD *)v4 + 71) = 0;
*((_QWORD *)v4 + 72) = 15;
v4[552] = 0;
*((_DWORD *)v4 + 146) = 1065353216;
v4[588] = 0;
v5 = (void **)sub_14003F4F0((__int64)v11, a2);
v6 = (void **)sub_14003F4F0((__int64)v12, a1);
v7 = (__int64 *)cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png");
(*(void (__fastcall **)(__int64 *))(*v7 + 160))(v7);
if ( CCMenuItemSpriteExtra::init((__int64 *)v4, v7, 0, 0, 0) )
{
*((_DWORD *)v4 + 93) = 1069547520;
if ( v4 + 520 != (char *)v6 )
{
v8 = v6;
if ( (unsigned __int64)v6[3] > 0xF )
v8 = *v6;
sub_1400405A0((void **)v4 + 65, v8, (size_t)v6[2]);
}
if ( v4 + 552 != (char *)v5 )
{
v9 = v5;
if ( (unsigned __int64)v5[3] > 0xF )
v9 = *v5;
sub_1400405A0((void **)v4 + 69, v9, (size_t)v5[2]);
}
sub_14003D310((__int64)v6);
sub_14003D310((__int64)v5);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
sub_14003D310((__int64)v6);
sub_14003D310((__int64)v5);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v4 + 8LL))(v4, 1);
v4 = nullptr;
}
sub_14003D310(a1);
sub_14003D310(a2);
return v4;
}