//
// SetupTriggerPopup::addTitle from 0x14060bc30 to 0x14060bd39 (265 bytes)
//
// 132 xrefs:
// > CollisionBlockPopup::init @ 0x1400a4dd4
// > AdminActionConfirmPopup::init @ 0x1400a58c3
// > AccountBanPopup::init @ 0x1400a6dbd
// > ReviewChoiceSheet::init @ 0x1400ae514
// > AudioAssetsPopup::init @ 0x1400bdf3a
// > ReportPopup::init @ 0x1400c0a28
// > CommentOptionsPopup::init @ 0x1400c21e2
// > AutoBackupOptionsPopup::init @ 0x1400cdb46
// > ThreadMessageOptionsPopup::init @ 0x1400e5523
// > ThreadOptionsPopup::init @ 0x1400f460a
// > RenameThreadPopup::init @ 0x1400f9ed5
// > ThreadSearchPopup::init @ 0x1400fb133
// > ThreadDescPopup::buildUI @ 0x1400fca41
// > DeathMarkerSettingsPopup::init @ 0x14011bff8
// > DeathStatsPopup::init @ 0x14011e58f
// > DeathTrackerOptionsPopup::init @ 0x14011fcd7
// > CustomizeObjectSettingsPopup::init @ 0x140144333
// > EditorSFXActionConfigLayer::init @ 0x14018363d
// > EditorSFXSettingsPopup::init @ 0x14018d55e
// > SoundPackDescPopup::init @ 0x140199361
// > EditorSoundConfigUploadPopup::init @ 0x14019a976
// > GridSettingsLayer::onBuildWindowContent @ 0x1402c8e03
// > GJFollowCommandLayer::init @ 0x14037ac4c
// > SetupMoveCommandPopup::init @ 0x14038e620
// > GJPFollowCommandLayer::init @ 0x140398734
// > SetupEnterTriggerPopup::init @ 0x14039a473
// > EditGameObjectPopup::init @ 0x1403a519b
// > SetupRotateCommandPopup::init @ 0x1403ae013
// > GJRateLevelLayer::init @ 0x14041978b
// > CreatorSettingsPopup::init @ 0x1404485e2
// > KeybindCapturePopup::init @ 0x14044d4ee
// > KeybindCapturePopup::init @ 0x14044d536
// > PlatformerControlsPopup::init @ 0x14044f326
// > ControlSlotsPopup::init @ 0x1404569e9
// > NotificationFilterPopup::init @ 0x140479242
// > CreateStartPosPopup::init @ 0x1404dc4a0
// > SetupObjectOptions2Popup::init @ 0x1405978bd
// > SetItemIDLayer::init @ 0x14059806b
// > SetTargetIDLayer::init @ 0x140598eb2
// > SetupAdvFollowPopup::init @ 0x1405995ed
// > SetupAdvFollowEditPhysicsPopup::init @ 0x14059e9b6
// > SetupAdvFollowRetargetPopup::init @ 0x14059fa50
// > SetupAnimSettingsPopup::init @ 0x1405a19aa
// > SetupAreaMoveTriggerPopup::init @ 0x1405a2bff
// > SetupAreaTransformTriggerPopup::init @ 0x1405a57c5
// > SetupAreaRotateTriggerPopup::init @ 0x1405a607c
// > SetupAreaFadeTriggerPopup::init @ 0x1405a67db
// > SetupAreaTintTriggerPopup::init @ 0x1405a7002
// > SetupAreaTriggerPopup::init @ 0x1405a7ff8
// > SetupAreaAnimTriggerPopup::init @ 0x1405a8600
// > SetupCameraEdgePopup::init @ 0x1405aa503
// > SetupCameraRotatePopup2::init @ 0x1405af2dd
// > SetupCollisionTriggerPopup::init @ 0x1405afb07
// > SetupInstantCollisionTriggerPopup::init @ 0x1405b066c
// > SetupCollisionStateTriggerPopup::init @ 0x1405b1180
// > SetupCountTriggerPopup::init @ 0x1405b179e
// > SetupPlatformerEndPopup::init @ 0x1405b2d84
// > SetupEnterEffectPopup::init @ 0x1405b38b8
// > SetupEnterEffectPopup::init @ 0x1405b40c9
// > SetupEnterEffectPopup::init @ 0x1405b43b9
// > SetupEnterEffectPopup::init @ 0x1405b47f3
// > SetupEnterEffectPopup::init @ 0x1405b49fe
// > SetupEnterEffectPopup::init @ 0x1405b4f44
// > SetupGradientPopup::init @ 0x1405b6094
// > SetupInstantCountPopup::init @ 0x1405b798c
// > SetupInteractObjectPopup::init @ 0x1405b90d6
// > SetupKeyframeAnimPopup::init @ 0x1405b9d54
// > SetupKeyframePopup::init @ 0x1405baa62
// > SetupBGSpeedTrigger::init @ 0x1405be2a0
// > SetupGravityTriggerPopup::init @ 0x1405be97b
// > SetupObjectTogglePopup::init @ 0x1405bf1da
// > SetupObjectTogglePopup::init @ 0x1405bf2ff
// > SetupObjectTogglePopup::init @ 0x1405bf485
// > SetupOpacityPopup::init @ 0x1405bfdd3
// > SetupOptionsTriggerPopup::init @ 0x1405cb895
// > SetupPickupTriggerPopup::init @ 0x1405cc4e1
// > SetupPulsePopup::init @ 0x1405cd07e
// > SetupRandAdvTriggerPopup::init @ 0x1405d2ba0
// > SetupRotateGameplayPopup::init @ 0x1405d6661
// > SetupGameplayOffsetPopup::init @ 0x1405d7229
// > SetupRotatePopup::init @ 0x1405d7c7c
// > SetupReverbPopup::init @ 0x1405dbd23
// > SetupSFXPopup::init @ 0x1405dc7f8
// > SetupSFXEditPopup::init @ 0x1405decdc
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x1405dfe3f
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e09db
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e1cf3
// > SetupShaderEffectPopup::setupGlitch @ 0x1405e2ec1
// > SetupShaderEffectPopup::setupChromatic @ 0x1405e354e
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0x1405e3b08
// > SetupShaderEffectPopup::setupPixelate @ 0x1405e4376
// > SetupShaderEffectPopup::setupLensCircle @ 0x1405e4a47
// > SetupShaderEffectPopup::setupRadialBlur @ 0x1405e5426
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e5ec2
// > SetupShaderEffectPopup::setupBulge @ 0x1405e6a78
// > SetupShaderEffectPopup::setupPinch @ 0x1405e73ac
// > SetupShaderEffectPopup::setupGrayscale @ 0x1405e7f65
// > SetupShaderEffectPopup::setupSepia @ 0x1405e845c
// > SetupShaderEffectPopup::setupInvertColor @ 0x1405e87a5
// > SetupShaderEffectPopup::setupHueShift @ 0x1405e8df0
// > SetupShaderEffectPopup::setupColorChange @ 0x1405e9179
// > SetupShaderEffectPopup::setupSplitScreen @ 0x1405e99fa
// > SetupSongTriggerPopup::init @ 0x1405f267b
// > SetupSpawnPopup::init @ 0x1405f3f91
// > SetupStaticCameraPopup::init @ 0x1405f5c2b
// > SetupTeleportPopup::init @ 0x1405f6956
// > SetupTimerTriggerPopup::init @ 0x1405f7ef7
// > SetupTimerEventTriggerPopup::init @ 0x1405f890a
// > SetupTimerControlTriggerPopup::init @ 0x1405f8fd1
// > SetupTransformPopup::init @ 0x1405fb156
// > SetupEventLinkPopup::init @ 0x1405fc03c
// > SelectEventLayer::init @ 0x1405fc884
// > SetupPlayerControlPopup::init @ 0x1405fdff0
// > SetupSpawnParticlePopup::init @ 0x1405fe6ea
// > SetupCheckpointPopup::init @ 0x1405ff25f
// > MultiTriggerPopup::init @ 0x1405ffa2a
// > UIObjectSettingsPopup::init @ 0x1405ffdf8
// > SetupResetTriggerPopup::init @ 0x140600c19
// > SetupItemEditTriggerPopup::init @ 0x1406010c4
// > SetupItemCompareTriggerPopup::init @ 0x140603a97
// > SetupCoinLayer::init @ 0x140605e92
// > SetupPersistentItemTriggerPopup::init @ 0x140606392
// > SetupAudioLineGuidePopup::init @ 0x140606a02
// > SetupCameraGuidePopup::init @ 0x1406073aa
// > SetupForceBlockPopup::init @ 0x140607a9d
// > SetupArtSwitchPopup::init @ 0x1406089d1
// > SetupStopTriggerPopup::init @ 0x140609163
// > SetupObjectControlPopup::init @ 0x140609b2e
// > SetupProgressPopup::init @ 0x140609f2f
// > SetupDashRingPopup::init @ 0x14060a62b
// > SetupZoomTriggerPopup::init @ 0x140615ed6
// > ??> @ 0x14092fc30
//
// 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:35:14 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCLabelBMFont *__fastcall SetupTriggerPopup::addTitle(__int64 a1, const char *a2)
{
const char *v4; // rcx
struct cocos2d::CCLabelBMFont *v5; // rdi
__int64 v6; // rcx
__int64 v7; // rax
__int64 v8; // rbx
__int64 v9; // rax
float v11[2]; // [rsp+20h] [rbp-48h] BYREF
_BYTE v12[8]; // [rsp+28h] [rbp-40h] BYREF
const char *v13; // [rsp+30h] [rbp-38h]
v13 = a2;
v4 = a2;
if ( *((_QWORD *)a2 + 3) > 0xFu )
v4 = *(const char **)a2;
v5 = cocos2d::CCLabelBMFont::create(v4, &qword_140704F78);
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 584) + 464LL))(
*(_QWORD *)(a1 + 584),
v5);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v5 + 160LL))(v5);
v7 = cocos2d::CCDirector::sharedDirector(v6);
cocos2d::CCDirector::getWinSize(v7, v11);
v8 = *(_QWORD *)v5;
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v12,
v11[0] * 0.5,
(float)((float)((float)(*(float *)(a1 + 736) * 0.5) + (float)(v11[1] * 0.5)) - 14.0) + *(float *)(a1 + 740));
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v8 + 184))(v5, v9);
sub_14003D310((__int64)a2);
return v5;
}