//
// SetupTriggerPopup::addTitle from 0xb1b6c4 to 0xb1b7c8 (260 bytes)
//
// 135 xrefs:
// > CreateStartPosPopup::init @ 0x7d7404
// > GJRateLevelLayer::init @ 0x952584
// > GJRateEditorSoundLayer::init @ 0x953c10
// > GJRateLevelListLayer::init @ 0x9553d4
// > CustomizeObjectSettingsPopup::init @ 0x98430c
// > SetupEnterTriggerPopup::init @ 0xa22b40
// > EditGameObjectPopup::init @ 0xa249c4
// > UISaveLoadLayer::init @ 0xa27518
// > SetupMoveCommandPopup::init @ 0xa3dee0
// > SetupOpacityPopup::init @ 0xa4138c
// > SetupObjectTogglePopup::init @ 0xa42058
// > SetupObjectTogglePopup::init @ 0xa42504
// > SetupObjectTogglePopup::init @ 0xa42618
// > SetupSpawnPopup::init @ 0xa43718
// > SetupPulsePopup::init @ 0xa46984
// > CollisionBlockPopup::init @ 0xa64880
// > GJFollowCommandLayer::init @ 0xa7a098
// > GJPFollowCommandLayer::init @ 0xa7a928
// > SetupRotateCommandPopup::init @ 0xa7b4fc
// > SetItemIDLayer::init @ 0xa97ef4
// > SetTargetIDLayer::init @ 0xa98970
// > SetupAnimSettingsPopup::init @ 0xa9a6e0
// > SetupCollisionTriggerPopup::init @ 0xa9b330
// > SetupInstantCollisionTriggerPopup::init @ 0xa9bf4c
// > SetupCollisionStateTriggerPopup::init @ 0xa9cabc
// > SetupCountTriggerPopup::init @ 0xa9d138
// > SetupInteractObjectPopup::init @ 0xa9da1c
// > SetupInstantCountPopup::init @ 0xa9ee44
// > SetupPickupTriggerPopup::init @ 0xa9fda8
// > SetupRotatePopup::init @ 0xaa085c
// > SetupStaticCameraPopup::init @ 0xab19a8
// > SetupZoomTriggerPopup::init @ 0xab2524
// > SetupPlatformerEndPopup::init @ 0xab5074
// > SetupObjectOptions2Popup::init @ 0xabe2a4
// > SetupTransformPopup::init @ 0xae9578
// > SetupSongTriggerPopup::init @ 0xaea7fc
// > SetupCameraRotatePopup2::init @ 0xaece84
// > SetupRandAdvTriggerPopup::init @ 0xaf02c4
// > SetupOptionsTriggerPopup::init @ 0xb19d74
// > SetupCameraEdgePopup::init @ 0xb256fc
// > SetupRotateGameplayPopup::init @ 0xb266f4
// > SetupGameplayOffsetPopup::init @ 0xb27230
// > SetupTeleportPopup::init @ 0xb27e90
// > SetupGradientPopup::init @ 0xb30bac
// > SetupShaderEffectPopup::setupShockWave @ 0xb32348
// > SetupShaderEffectPopup::setupShockLine @ 0xb33374
// > SetupShaderEffectPopup::setupGlitch @ 0xb342f4
// > SetupShaderEffectPopup::setupChromatic @ 0xb348b0
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0xb34dc0
// > SetupShaderEffectPopup::setupPixelate @ 0xb354c4
// > SetupShaderEffectPopup::setupLensCircle @ 0xb35ae8
// > SetupShaderEffectPopup::setupRadialBlur @ 0xb36338
// > SetupShaderEffectPopup::setupMotionBlur @ 0xb36c38
// > SetupShaderEffectPopup::setupBulge @ 0xb37698
// > SetupShaderEffectPopup::setupPinch @ 0xb37e7c
// > SetupShaderEffectPopup::setupGrayscale @ 0xb388c4
// > SetupShaderEffectPopup::setupSepia @ 0xb38d50
// > SetupShaderEffectPopup::setupInvertColor @ 0xb39034
// > SetupShaderEffectPopup::setupHueShift @ 0xb39624
// > SetupShaderEffectPopup::setupColorChange @ 0xb39940
// > SetupShaderEffectPopup::setupSplitScreen @ 0xb39f48
// > SetupShaderEffectPopup::setupShaderTrigger @ 0xb3a3bc
// > SetupAreaAnimTriggerPopup::init @ 0xb3c7d8
// > SetupAreaMoveTriggerPopup::init @ 0xb3f1c0
// > SetupAreaTransformTriggerPopup::init @ 0xb400e0
// > SetupAreaRotateTriggerPopup::init @ 0xb40b3c
// > SetupAreaFadeTriggerPopup::init @ 0xb41468
// > SetupAreaTintTriggerPopup::init @ 0xb41d90
// > SetupAreaTriggerPopup::init @ 0xb42948
// > SetupEnterEffectPopup::init @ 0xb44058
// > SetupEnterEffectPopup::init @ 0xb44100
// > SetupEnterEffectPopup::init @ 0xb446b8
// > SetupEnterEffectPopup::init @ 0xb44990
// > SetupEnterEffectPopup::init @ 0xb44b48
// > SetupEnterEffectPopup::init @ 0xb44f14
// > SetupAdvFollowEditPhysicsPopup::init @ 0xb47490
// > SetupAdvFollowRetargetPopup::init @ 0xb482bc
// > SetupAdvFollowPopup::init @ 0xb48c7c
// > SetupBGSpeedTrigger::init @ 0xb4f544
// > SetupGravityTriggerPopup::init @ 0xb4fdc0
// > SetupKeyframeAnimPopup::init @ 0xb694e8
// > SetupKeyframePopup::init @ 0xb6a020
// > SetupReverbPopup::init @ 0xb6cc5c
// > SetupSFXPopup::init @ 0xb6e740
// > SetupSFXEditPopup::init @ 0xb6f9f8
// > SetupEventLinkPopup::init @ 0xb727c8
// > SetupPlayerControlPopup::init @ 0xb72f30
// > SetupSpawnParticlePopup::init @ 0xb73734
// > SetupCheckpointPopup::init @ 0xb74308
// > MultiTriggerPopup::init @ 0xb74a7c
// > UIObjectSettingsPopup::init @ 0xb74fc4
// > SetupResetTriggerPopup::init @ 0xb75c58
// > SetupCoinLayer::init @ 0xb761a8
// > SetupPersistentItemTriggerPopup::init @ 0xb767b8
// > SetupCameraGuidePopup::init @ 0xb76f74
// > SetupForceBlockPopup::init @ 0xb77700
// > SetupObjectControlPopup::init @ 0xb77f98
// > SetupProgressPopup::init @ 0xb78520
// > SetupDashRingPopup::init @ 0xb78ce8
// > SetupStopTriggerPopup::init @ 0xb79594
// > SetupAudioLineGuidePopup::init @ 0xb79ec8
// > SetupArtSwitchPopup::init @ 0xb7a93c
// > SetupItemEditTriggerPopup::init @ 0xb7ca74
// > SetupItemCompareTriggerPopup::init @ 0xb7e05c
// > SelectEventLayer::init @ 0xb7f9ec
// > SetupTimerTriggerPopup::init @ 0xbb1438
// > SetupTimerEventTriggerPopup::init @ 0xbb1e38
// > SetupTimerControlTriggerPopup::init @ 0xbb2558
// > AdminActionConfirmPopup::init @ 0xc3e224
// > ReviewChoiceSheet::init @ 0xc416dc
// > AutoBackupOptionsPopup::init @ 0xc56978
// > NotificationFilterPopup::init @ 0xc5ffdc
// > RenameThreadPopup::init @ 0xc6ef4c
// > ThreadSearchPopup::init @ 0xc6f98c
// > ThreadMessageOptionsPopup::init @ 0xc7918c
// > ThreadDescPopup::buildUI @ 0xc79d20
// > ThreadOptionsPopup::init @ 0xc7f1a4
// > AudioAssetsPopup::init @ 0xc8e300
// > AccountBanPopup::init @ 0xc938cc
// > CreatorSettingsPopup::init @ 0xc97080
// > DeathMarkerSettingsPopup::init @ 0xca6200
// > DeathStatsPopup::init @ 0xca78a0
// > DeathTrackerOptionsPopup::init @ 0xca8db4
// > EditorSFXActionConfigLayer::init @ 0xcbeb20
// > EditorSFXSettingsPopup::init @ 0xcc7e60
// > SoundPackDescPopup::init @ 0xccfc3c
// > EditorSoundConfigUploadPopup::init @ 0xcd4a5c
// > GridSettingsLayer::onBuildWindowContent @ 0xcdc288
// > KeybindCapturePopup::init @ 0xcf738c
// > KeybindCapturePopup::init @ 0xcf7948
// > PlatformerControlsPopup::init @ 0xcfae90
// > CommentOptionsPopup::init @ 0xcff9fc
// > ReportPopup::init @ 0xd0067c
// > ControlSlotsPopup::init @ 0xd05e1c
// > ??> @ 0xac438
//
// This function is hookable on this platform (idp: arm, 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 13:01:34 +0000
//
__int64 __fastcall SetupTriggerPopup::addTitle(__int64 a1, __int64 a2)
{
cocos2d::CCLabelBMFont *v3; // x2
__int64 v4; // x19
cocos2d::CCDirector *v5; // x0
cocos2d::CCDirector *v6; // x0
void (__fastcall *v7)(__int64, _BYTE *); // x21
__int64 v9; // [xsp+58h] [xbp+58h] BYREF
_BYTE v10[8]; // [xsp+60h] [xbp+60h] BYREF
v3 = (cocos2d::CCLabelBMFont *)(a2 + 1);
if ( (*(_BYTE *)a2 & 1) != 0 )
v3 = *(cocos2d::CCLabelBMFont **)(a2 + 16);
v4 = cocos2d::CCLabelBMFont::create(v3, "bigFont.fnt", (const char *)v3);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v4);
v5 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 0.5);
v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);
cocos2d::CCDirector::getWinSize(&v9, v6);
v7 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v4 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v10,
*(float *)&v9 * 0.5,
(float)((float)((float)(*(float *)(a1 + 736) * 0.5) + (float)(*((float *)&v9 + 1) * 0.5)) - 14.0)
+ *(float *)(a1 + 740));
v7(v4, v10);
return v4;
}