//
// SetupTriggerPopup::addTitle from 0x10012ee4c to 0x10012ef14 (200 bytes)
//
// 94 xrefs:
// > SetupTeleportPopup::init @ 0x10000b3c0
// > SetupTimerTriggerPopup::init @ 0x10002d40c
// > SetupTimerEventTriggerPopup::init @ 0x10002db90
// > SetupTimerControlTriggerPopup::init @ 0x10002e068
// > SetupAreaMoveTriggerPopup::init @ 0x1000341fc
// > SetupAreaTransformTriggerPopup::init @ 0x100036514
// > SetupAreaRotateTriggerPopup::init @ 0x100036d14
// > SetupAreaFadeTriggerPopup::init @ 0x1000373ec
// > SetupAreaTintTriggerPopup::init @ 0x100037a5c
// > SetupAreaTriggerPopup::init @ 0x1000387e8
// > SetupAreaAnimTriggerPopup::init @ 0x100038d8c
// > SetupObjectOptions2Popup::init @ 0x100041710
// > SetupPickupTriggerPopup::init @ 0x1000433a4
// > SetupCameraRotatePopup2::init @ 0x10004c358
// > CustomizeObjectSettingsPopup::init @ 0x100050d00
// > SetupAdvFollowPopup::init @ 0x10005fe58
// > SetupAdvFollowEditPhysicsPopup::init @ 0x100063960
// > SetupAdvFollowRetargetPopup::init @ 0x100064514
// > SetupSpawnPopup::init @ 0x1000f7b2c
// > SetupReverbPopup::init @ 0x10017f3a0
// > SetupSFXPopup::init @ 0x10017fb34
// > SetupSFXEditPopup::init @ 0x100181288
// > SetupShaderEffectPopup::setupShockWave @ 0x10018202c
// > SetupShaderEffectPopup::setupShockLine @ 0x100182f88
// > SetupShaderEffectPopup::setupGlitch @ 0x100183e3c
// > SetupShaderEffectPopup::setupChromatic @ 0x10018436c
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0x1001847ec
// > SetupShaderEffectPopup::setupPixelate @ 0x100184e60
// > SetupShaderEffectPopup::setupLensCircle @ 0x1001853e0
// > SetupShaderEffectPopup::setupRadialBlur @ 0x100185b4c
// > SetupShaderEffectPopup::setupMotionBlur @ 0x100186378
// > SetupShaderEffectPopup::setupBulge @ 0x100186d18
// > SetupShaderEffectPopup::setupPinch @ 0x100187448
// > SetupShaderEffectPopup::setupGrayscale @ 0x100187dbc
// > SetupShaderEffectPopup::setupSepia @ 0x1001881ac
// > SetupShaderEffectPopup::setupInvertColor @ 0x100188408
// > SetupShaderEffectPopup::setupHueShift @ 0x10018895c
// > SetupShaderEffectPopup::setupColorChange @ 0x100188be0
// > SetupShaderEffectPopup::setupSplitScreen @ 0x100189154
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x100189540
// > SetupRotateGameplayPopup::init @ 0x10019e75c
// > SetupGameplayOffsetPopup::init @ 0x10019f0dc
// > SetupObjectTogglePopup::init @ 0x1001a2d30
// > SetupObjectTogglePopup::init @ 0x1001a2e0c
// > SetupObjectTogglePopup::init @ 0x1001a2e88
// > GJRateLevelLayer::init @ 0x1001b0d7c
// > SetupKeyframeAnimPopup::init @ 0x1001b3e88
// > SetupKeyframePopup::init @ 0x1001b4840
// > SetupZoomTriggerPopup::init @ 0x1001b8498
// > SetupSongTriggerPopup::init @ 0x1001c2964
// > SetupStaticCameraPopup::init @ 0x1001d0b34
// > SetTargetIDLayer::init @ 0x100213434
// > SetupInstantCollisionTriggerPopup::init @ 0x100230c7c
// > SetupCollisionStateTriggerPopup::init @ 0x1002315c4
// > SetupTransformPopup::init @ 0x1002319f4
// > SetupRotatePopup::init @ 0x1002684fc
// > SetupMoveCommandPopup::init @ 0x100273964
// > SetupPlatformerEndPopup::init @ 0x1002adee4
// > SetupEnterTriggerPopup::init @ 0x1002d2934
// > EditGameObjectPopup::init @ 0x1002dd8e0
// > UISaveLoadLayer::init @ 0x1002e4838
// > SetupAnimSettingsPopup::init @ 0x1002e76fc
// > SetupBGSpeedTrigger::init @ 0x1002f35fc
// > SetupGradientPopup::init @ 0x100342614
// > SetupEnterEffectPopup::init @ 0x1003ff538
// > SetupEnterEffectPopup::init @ 0x1003ff808
// > SetupEnterEffectPopup::init @ 0x1003ffbac
// > SetupEnterEffectPopup::init @ 0x1003ffd48
// > SetupEnterEffectPopup::init @ 0x1003ffff4
// > SetupEnterEffectPopup::init @ 0x1004000fc
// > SetupRotateCommandPopup::init @ 0x100405ef0
// > SetupEventLinkPopup::init @ 0x100406fd0
// > SelectEventLayer::init @ 0x1004076ac
// > SetupPlayerControlPopup::init @ 0x100409504
// > SetupSpawnParticlePopup::init @ 0x100409a88
// > SetupCheckpointPopup::init @ 0x10040a410
// > MultiTriggerPopup::init @ 0x10040a8c8
// > UIObjectSettingsPopup::init @ 0x10040aba4
// > SetupResetTriggerPopup::init @ 0x10040b68c
// > SetupItemEditTriggerPopup::init @ 0x10040b98c
// > SetupItemCompareTriggerPopup::init @ 0x10040d76c
// > SetupCoinLayer::init @ 0x10040f214
// > SetupPersistentItemTriggerPopup::init @ 0x10040f5c4
// > SetupAudioLineGuidePopup::init @ 0x10040fafc
// > SetupCameraGuidePopup::init @ 0x100410298
// > SetupForceBlockPopup::init @ 0x100410794
// > SetupArtSwitchPopup::init @ 0x100410f24
// > SetupStopTriggerPopup::init @ 0x100411520
// > SetupObjectControlPopup::init @ 0x100411bf0
// > SetupDashRingPopup::init @ 0x100411f20
// > SetupInteractObjectPopup::init @ 0x100412a2c
// > SetupOptionsTriggerPopup::init @ 0x1004136d4
// > SetItemIDLayer::init @ 0x100419d10
// > SetupGravityTriggerPopup::init @ 0x1004218e0
//
// 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, __int64 a2)
{
const char *v2; // x8
cocos2d::CCLabelBMFont *v4; // x20
cocos2d::CCDirector *v5; // x0
__n128 v6; // q0
__n128 v7; // q1
_DWORD v9[4]; // [xsp+0h] [xbp-30h] BYREF
v2 = (const char *)a2;
if ( *(char *)(a2 + 23) < 0 )
v2 = *(const char **)a2;
v4 = cocos2d::CCLabelBMFont::create_1(v2, "bigFont.fnt");
(*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 576) + 440LL))(
*(_QWORD *)(a1 + 576),
v4);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v4->setScale)(v4, 0.5);
v5 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v5);
v6.n128_f32[0] = *(float *)&v9[2] * 0.5;
v7.n128_f32[0] = (float)((float)(*(float *)&v9[3] * 0.5) + (float)(*(float *)(a1 + 712) * 0.5)) + -14.0;
sub_100022980(v6, v7, v9);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, _DWORD *))v4->setPosition)(v4, v9);
return v4;
}