//
// SetupTriggerPopup::addTitle from 0x100235de0 to 0x100235ea1 (193 bytes)
//
// 94 xrefs:
// > SetupRotateCommandPopup::init @ 0x10000537b
// > SetupPickupTriggerPopup::init @ 0x100058bdd
// > SetupAnimSettingsPopup::init @ 0x10009ac5f
// > SetItemIDLayer::init @ 0x10009c21c
// > CustomizeObjectSettingsPopup::init @ 0x1001f9855
// > SetupKeyframeAnimPopup::init @ 0x1001fecf2
// > SetupKeyframePopup::init @ 0x1001ffe89
// > SetupSpawnPopup::init @ 0x10028f4b7
// > SetupEnterTriggerPopup::init @ 0x10029b04f
// > EditGameObjectPopup::init @ 0x1002ab377
// > UISaveLoadLayer::init @ 0x1002b5283
// > SetTargetIDLayer::init @ 0x1002b9f8d
// > SetupShaderEffectPopup::setupShockWave @ 0x1002c63fe
// > SetupShaderEffectPopup::setupShockLine @ 0x1002c786e
// > SetupShaderEffectPopup::setupGlitch @ 0x1002c8bc1
// > SetupShaderEffectPopup::setupChromatic @ 0x1002c923b
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0x1002c97b0
// > SetupShaderEffectPopup::setupPixelate @ 0x1002c9fcb
// > SetupShaderEffectPopup::setupLensCircle @ 0x1002ca688
// > SetupShaderEffectPopup::setupRadialBlur @ 0x1002cb018
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1002cbab8
// > SetupShaderEffectPopup::setupBulge @ 0x1002cc6f3
// > SetupShaderEffectPopup::setupPinch @ 0x1002cd013
// > SetupShaderEffectPopup::setupGrayscale @ 0x1002cdc77
// > SetupShaderEffectPopup::setupSepia @ 0x1002ce144
// > SetupShaderEffectPopup::setupInvertColor @ 0x1002ce400
// > SetupShaderEffectPopup::setupHueShift @ 0x1002cea5b
// > SetupShaderEffectPopup::setupColorChange @ 0x1002ced8f
// > SetupShaderEffectPopup::setupSplitScreen @ 0x1002cf3f0
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x1002cf8a4
// > SetupSongTriggerPopup::init @ 0x1002d31f7
// > SetupAdvFollowPopup::init @ 0x10030553e
// > SetupAdvFollowEditPhysicsPopup::init @ 0x10030a7de
// > SetupAdvFollowRetargetPopup::init @ 0x10030b8cd
// > SetupObjectOptions2Popup::init @ 0x10031b2b2
// > SetupZoomTriggerPopup::init @ 0x100321386
// > SetupTeleportPopup::init @ 0x100358dbb
// > SetupObjectTogglePopup::init @ 0x100375d9e
// > SetupObjectTogglePopup::init @ 0x100375eee
// > SetupObjectTogglePopup::init @ 0x100375fe9
// > SetupInstantCollisionTriggerPopup::init @ 0x100397358
// > SetupCollisionStateTriggerPopup::init @ 0x100397fbb
// > SetupStaticCameraPopup::init @ 0x10039b45f
// > SetupTimerTriggerPopup::init @ 0x1003a0d23
// > SetupTimerEventTriggerPopup::init @ 0x1003a1849
// > SetupTimerControlTriggerPopup::init @ 0x1003a1fe3
// > SetupEnterEffectPopup::init @ 0x1003f0b86
// > SetupEnterEffectPopup::init @ 0x1003f0fcb
// > SetupEnterEffectPopup::init @ 0x1003f178b
// > SetupEnterEffectPopup::init @ 0x1003f1d16
// > SetupEnterEffectPopup::init @ 0x1003f211a
// > SetupEnterEffectPopup::init @ 0x1003f22df
// > SetupReverbPopup::init @ 0x1004b7e34
// > SetupSFXPopup::init @ 0x1004b8c37
// > SetupSFXEditPopup::init @ 0x1004baf88
// > SetupCameraRotatePopup2::init @ 0x1004bebda
// > SetupGravityTriggerPopup::init @ 0x1004c519f
// > SetupAreaMoveTriggerPopup::init @ 0x1004d21ac
// > SetupAreaTransformTriggerPopup::init @ 0x1004d558b
// > SetupAreaRotateTriggerPopup::init @ 0x1004d6515
// > SetupAreaFadeTriggerPopup::init @ 0x1004d72fc
// > SetupAreaTintTriggerPopup::init @ 0x1004d8110
// > SetupAreaTriggerPopup::init @ 0x1004d98e8
// > SetupAreaAnimTriggerPopup::init @ 0x1004da543
// > GJRateLevelLayer::init @ 0x100505b3f
// > SetupBGSpeedTrigger::init @ 0x10050aa54
// > SetupInteractObjectPopup::init @ 0x10050e1a7
// > SetupTransformPopup::init @ 0x100510b98
// > SetupEventLinkPopup::init @ 0x100577617
// > SelectEventLayer::init @ 0x100578350
// > SetupPlayerControlPopup::init @ 0x10057ac4f
// > SetupSpawnParticlePopup::init @ 0x10057b47a
// > SetupCheckpointPopup::init @ 0x10057c2c6
// > MultiTriggerPopup::init @ 0x10057ca24
// > UIObjectSettingsPopup::init @ 0x10057ced3
// > SetupResetTriggerPopup::init @ 0x10057dddb
// > SetupItemEditTriggerPopup::init @ 0x10057e2bc
// > SetupItemCompareTriggerPopup::init @ 0x100580b77
// > SetupCoinLayer::init @ 0x100582f78
// > SetupPersistentItemTriggerPopup::init @ 0x100583578
// > SetupAudioLineGuidePopup::init @ 0x100583d46
// > SetupCameraGuidePopup::init @ 0x1005847bb
// > SetupForceBlockPopup::init @ 0x100584f78
// > SetupArtSwitchPopup::init @ 0x100585a41
// > SetupStopTriggerPopup::init @ 0x1005862a9
// > SetupObjectControlPopup::init @ 0x100586bcd
// > SetupDashRingPopup::init @ 0x1005870c9
// > SetupRotatePopup::init @ 0x10059cc83
// > SetupOptionsTriggerPopup::init @ 0x1005e6e19
// > SetupGradientPopup::init @ 0x1005f18b0
// > SetupMoveCommandPopup::init @ 0x10060753e
// > SetupPlatformerEndPopup::init @ 0x100669e9b
// > SetupRotateGameplayPopup::init @ 0x100797aac
// > SetupGameplayOffsetPopup::init @ 0x10079889e
//
// 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; // rax
cocos2d::CCLabelBMFont *v3; // r14
_BYTE v5[8]; // [rsp+0h] [rbp-20h] BYREF
float v6[6]; // [rsp+8h] [rbp-18h] BYREF
if ( (*(_BYTE *)a2 & 1) != 0 )
v2 = *(const char **)(a2 + 16);
else
v2 = (const char *)(a2 + 1);
v3 = cocos2d::CCLabelBMFont::create_3(v2, "bigFont.fnt");
(*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**(_QWORD **)(a1 + 576) + 440LL))(
*(_QWORD *)(a1 + 576),
v3);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v3->setScale)(v3, 0.5);
cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v6);
sub_10028CBE0(v5, v6[0] * 0.5, (float)((float)(0.5 * *(float *)(a1 + 712)) + (float)(v6[1] * 0.5)) + -14.0);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, _BYTE *))v3->setPosition)(v3, v5);
return v3;
}