//
// SetupTriggerPopup::addTitle from 0x9e4e40 to 0x9e4f28 (232 bytes)
//
// 95 xrefs:
// > GJRateLevelLayer::init @ 0x822ba8
// > CustomizeObjectSettingsPopup::init @ 0x8442b0
// > SetupEnterTriggerPopup::init @ 0x8c79a0
// > EditGameObjectPopup::init @ 0x8d1348
// > UISaveLoadLayer::init @ 0x8d8f84
// > SetupMoveCommandPopup::init @ 0x8e46ec
// > SetupObjectTogglePopup::init @ 0x8e93d4
// > SetupObjectTogglePopup::init @ 0x8e94a8
// > SetupObjectTogglePopup::init @ 0x8e9730
// > SetupSpawnPopup::init @ 0x8eaf00
// > SetupRotateCommandPopup::init @ 0x928f28
// > SetItemIDLayer::init @ 0x94b9bc
// > SetTargetIDLayer::init @ 0x94c750
// > SetupAnimSettingsPopup::init @ 0x94e78c
// > SetupInstantCollisionTriggerPopup::init @ 0x9514f8
// > SetupCollisionStateTriggerPopup::init @ 0x9524e8
// > SetupInteractObjectPopup::init @ 0x954b78
// > SetupPickupTriggerPopup::init @ 0x9578b0
// > SetupRotatePopup::init @ 0x958790
// > SetupStaticCameraPopup::init @ 0x96ae8c
// > SetupZoomTriggerPopup::init @ 0x96bcf0
// > SetupPlatformerEndPopup::init @ 0x96f368
// > SetupObjectOptions2Popup::init @ 0x97c304
// > SetupTransformPopup::init @ 0x9a8a18
// > SetupSongTriggerPopup::init @ 0x9aa070
// > SetupCameraRotatePopup2::init @ 0x9adcd8
// > SetupOptionsTriggerPopup::init @ 0x9e2734
// > SetupRotateGameplayPopup::init @ 0x9ef600
// > SetupGameplayOffsetPopup::init @ 0x9f046c
// > SetupTeleportPopup::init @ 0x9f1368
// > SetupGradientPopup::init @ 0x9fa4bc
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x9fc504
// > SetupShaderEffectPopup::setupShockWave @ 0x9fcd40
// > SetupShaderEffectPopup::setupShockLine @ 0x9fe318
// > SetupShaderEffectPopup::setupGlitch @ 0x9ff848
// > SetupShaderEffectPopup::setupChromatic @ 0xa000f8
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xa00864
// > SetupShaderEffectPopup::setupPixelate @ 0xa012a4
// > SetupShaderEffectPopup::setupLensCircle @ 0xa01b90
// > SetupShaderEffectPopup::setupRadialBlur @ 0xa02738
// > SetupShaderEffectPopup::setupMotionBlur @ 0xa03438
// > SetupShaderEffectPopup::setupBulge @ 0xa0432c
// > SetupShaderEffectPopup::setupPinch @ 0xa04e58
// > SetupShaderEffectPopup::setupGrayscale @ 0xa05d10
// > SetupShaderEffectPopup::setupSepia @ 0xa063c0
// > SetupShaderEffectPopup::setupInvertColor @ 0xa06820
// > SetupShaderEffectPopup::setupHueShift @ 0xa070dc
// > SetupShaderEffectPopup::setupColorChange @ 0xa07574
// > SetupShaderEffectPopup::setupSplitScreen @ 0xa07e10
// > SetupAreaMoveTriggerPopup::init @ 0xa0b32c
// > SetupAreaTransformTriggerPopup::init @ 0xa0c7d4
// > SetupAreaRotateTriggerPopup::init @ 0xa0d4bc
// > SetupAreaFadeTriggerPopup::init @ 0xa0e004
// > SetupAreaTintTriggerPopup::init @ 0xa0ec10
// > SetupAreaTriggerPopup::init @ 0xa0fa94
// > SetupAreaAnimTriggerPopup::init @ 0xa106b0
// > SetupEnterEffectPopup::init @ 0xa135f0
// > SetupEnterEffectPopup::init @ 0xa13b74
// > SetupEnterEffectPopup::init @ 0xa13d3c
// > SetupEnterEffectPopup::init @ 0xa14038
// > SetupEnterEffectPopup::init @ 0xa14214
// > SetupEnterEffectPopup::init @ 0xa145dc
// > SetupAdvFollowPopup::init @ 0xa18610
// > SetupAdvFollowEditPhysicsPopup::init @ 0xa1d454
// > SetupAdvFollowRetargetPopup::init @ 0xa1e6a8
// > SetupBGSpeedTrigger::init @ 0xa21624
// > SetupGravityTriggerPopup::init @ 0xa21ff8
// > SetupKeyframeAnimPopup::init @ 0xa3a484
// > SetupKeyframePopup::init @ 0xa3b41c
// > SetupReverbPopup::init @ 0xa3f464
// > SetupSFXPopup::init @ 0xa4030c
// > SetupSFXEditPopup::init @ 0xa41a80
// > SetupEventLinkPopup::init @ 0xa44240
// > SetupPlayerControlPopup::init @ 0xa44c68
// > SetupSpawnParticlePopup::init @ 0xa456a8
// > SetupCheckpointPopup::init @ 0xa46608
// > MultiTriggerPopup::init @ 0xa46f04
// > UIObjectSettingsPopup::init @ 0xa47538
// > SetupResetTriggerPopup::init @ 0xa48620
// > SetupItemEditTriggerPopup::init @ 0xa4a5b0
// > SetupItemCompareTriggerPopup::init @ 0xa4ccec
// > SetupCoinLayer::init @ 0xa4e5d8
// > SetupPersistentItemTriggerPopup::init @ 0xa4ed1c
// > SetupAudioLineGuidePopup::init @ 0xa4f6c4
// > SetupCameraGuidePopup::init @ 0xa501b8
// > SetupForceBlockPopup::init @ 0xa50b18
// > SetupArtSwitchPopup::init @ 0xa51844
// > SetupStopTriggerPopup::init @ 0xa520d0
// > SetupObjectControlPopup::init @ 0xa52bdc
// > SetupDashRingPopup::init @ 0xa53260
// > SelectEventLayer::init @ 0xa54bcc
// > SetupTimerTriggerPopup::init @ 0xa7b670
// > SetupTimerEventTriggerPopup::init @ 0xa7c38c
// > SetupTimerControlTriggerPopup::init @ 0xa7cca4
// > ??> @ 0x63e40
//
// 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
//
cocos2d::CCLabelBMFont *__fastcall SetupTriggerPopup::addTitle(__int64 a1)
{
cocos2d::CCLabelBMFont *v2; // x19
cocos2d::CCDirector *v3; // x0
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21
float v6; // [xsp+58h] [xbp+58h]
float v7; // [xsp+5Ch] [xbp+5Ch]
cocos2d::CCPoint v8; // [xsp+60h] [xbp+60h] BYREF
v2 = cocos2d::CCLabelBMFont::create();
(*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 576) + 440LL))(
*(_QWORD *)(a1 + 576),
v2);
v2->setScale(v2, 0.5);
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v3);
setPosition = v2->setPosition;
cocos2d::CCPoint::CCPoint(&v8, v6 * 0.5, (float)((float)(*(float *)(a1 + 712) * 0.5) + (float)(v7 * 0.5)) - 14.0);
setPosition(v2, &v8);
return v2;
}