//
// SetupTriggerPopup::addHelpButton from 0x14060be50 to 0x14060bfc8 (376 bytes)
//
// 98 xrefs:
// > CollisionBlockPopup::init @ 0x1400a4f05
// > CustomizeObjectSettingsPopup::init @ 0x14014441b
// > GJFollowCommandLayer::init @ 0x14037ad8b
// > SetupMoveCommandPopup::init @ 0x14038e757
// > GJPFollowCommandLayer::init @ 0x140398867
// > SetupEnterTriggerPopup::init @ 0x14039a599
// > SetupRotateCommandPopup::init @ 0x1403ae15a
// > SetupObjectOptions2Popup::init @ 0x1405979e3
// > SetItemIDLayer::init @ 0x1405981c7
// > SetTargetIDLayer::init @ 0x1405990e9
// > SetupAdvFollowPopup::init @ 0x140599637
// > SetupAdvFollowEditPhysicsPopup::init @ 0x14059ead8
// > SetupAdvFollowRetargetPopup::init @ 0x14059fb52
// > SetupAnimSettingsPopup::init @ 0x1405a1aef
// > SetupAreaMoveTriggerPopup::init @ 0x1405a2d50
// > SetupAreaTransformTriggerPopup::init @ 0x1405a58ec
// > SetupAreaRotateTriggerPopup::init @ 0x1405a61b4
// > SetupAreaFadeTriggerPopup::init @ 0x1405a6917
// > SetupAreaTintTriggerPopup::init @ 0x1405a7137
// > SetupAreaTriggerPopup::init @ 0x1405a813a
// > SetupAreaAnimTriggerPopup::init @ 0x1405a870b
// > SetupCameraRotatePopup2::init @ 0x1405af41a
// > SetupCollisionTriggerPopup::init @ 0x1405afc72
// > SetupInstantCollisionTriggerPopup::init @ 0x1405b07c0
// > SetupCollisionStateTriggerPopup::init @ 0x1405b12a9
// > SetupCountTriggerPopup::init @ 0x1405b18d6
// > SetupPlatformerEndPopup::init @ 0x1405b2edd
// > SetupEnterEffectPopup::init @ 0x1405b39de
// > SetupEnterEffectPopup::init @ 0x1405b41e1
// > SetupEnterEffectPopup::init @ 0x1405b44b9
// > SetupEnterEffectPopup::init @ 0x1405b48df
// > SetupEnterEffectPopup::init @ 0x1405b4b06
// > SetupEnterEffectPopup::init @ 0x1405b5005
// > SetupGradientPopup::init @ 0x1405b61ab
// > SetupInstantCountPopup::init @ 0x1405b7ac9
// > SetupInteractObjectPopup::init @ 0x1405b9211
// > SetupKeyframeAnimPopup::init @ 0x1405b9e71
// > SetupKeyframePopup::init @ 0x1405bab9b
// > SetupBGSpeedTrigger::init @ 0x1405be43e
// > SetupGravityTriggerPopup::init @ 0x1405bea8b
// > SetupObjectTogglePopup::init @ 0x1405bf3e7
// > SetupObjectTogglePopup::init @ 0x1405bf589
// > SetupOptionsTriggerPopup::init @ 0x1405cb9c7
// > SetupPickupTriggerPopup::init @ 0x1405cc630
// > SetupPulsePopup::init @ 0x1405cd212
// > SetupRotateGameplayPopup::init @ 0x1405d6791
// > SetupGameplayOffsetPopup::init @ 0x1405d732d
// > SetupRotatePopup::init @ 0x1405d7d87
// > SetupReverbPopup::init @ 0x1405dbe48
// > SetupSFXPopup::init @ 0x1405dc926
// > SetupSFXEditPopup::init @ 0x1405def26
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x1405dff59
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e0b6e
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e1e86
// > SetupShaderEffectPopup::setupGlitch @ 0x1405e2fcd
// > SetupShaderEffectPopup::setupChromatic @ 0x1405e364c
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0x1405e3c13
// > SetupShaderEffectPopup::setupPixelate @ 0x1405e4475
// > SetupShaderEffectPopup::setupLensCircle @ 0x1405e4b57
// > SetupShaderEffectPopup::setupRadialBlur @ 0x1405e5538
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e5fcf
// > SetupShaderEffectPopup::setupBulge @ 0x1405e6b8e
// > SetupShaderEffectPopup::setupPinch @ 0x1405e74b0
// > SetupShaderEffectPopup::setupGrayscale @ 0x1405e806e
// > SetupShaderEffectPopup::setupSepia @ 0x1405e8561
// > SetupShaderEffectPopup::setupInvertColor @ 0x1405e88a8
// > SetupShaderEffectPopup::setupHueShift @ 0x1405e8ede
// > SetupShaderEffectPopup::setupColorChange @ 0x1405e926a
// > SetupShaderEffectPopup::setupSplitScreen @ 0x1405e9af4
// > SetupSongTriggerPopup::init @ 0x1405f2792
// > SetupSpawnPopup::init @ 0x1405f40da
// > SetupStaticCameraPopup::init @ 0x1405f5d59
// > SetupTeleportPopup::init @ 0x1405f6aa6
// > SetupTimerTriggerPopup::init @ 0x1405f8028
// > SetupTimerEventTriggerPopup::init @ 0x1405f8a23
// > SetupTimerControlTriggerPopup::init @ 0x1405f9096
// > SetupTransformPopup::init @ 0x1405fb2ae
// > SetupEventLinkPopup::init @ 0x1405fc16b
// > SetupPlayerControlPopup::init @ 0x1405fe11e
// > SetupSpawnParticlePopup::init @ 0x1405fe840
// > SetupCheckpointPopup::init @ 0x1405ff398
// > MultiTriggerPopup::init @ 0x1405ffb18
// > UIObjectSettingsPopup::init @ 0x1405fff50
// > SetupResetTriggerPopup::init @ 0x140600d40
// > SetupItemEditTriggerPopup::init @ 0x140601249
// > SetupItemCompareTriggerPopup::init @ 0x140603bf7
// > SetupCoinLayer::init @ 0x140605f61
// > SetupPersistentItemTriggerPopup::init @ 0x1406064d1
// > SetupAudioLineGuidePopup::init @ 0x140606b2d
// > SetupCameraGuidePopup::init @ 0x1406074d8
// > SetupForceBlockPopup::init @ 0x140607be6
// > SetupArtSwitchPopup::init @ 0x140608ab9
// > SetupStopTriggerPopup::init @ 0x140609390
// > SetupObjectControlPopup::init @ 0x140609bd1
// > SetupProgressPopup::init @ 0x14060a079
// > SetupDashRingPopup::init @ 0x14060a758
// > SetupZoomTriggerPopup::init @ 0x140615fec
// > ??> @ 0x14092fc48
//
// 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=3
void __fastcall SetupTriggerPopup::addHelpButton(__int64 a1, __int64 a2, __int64 a3, float a4)
{
__int64 v7; // rbx
__int64 v8; // rax
char *v9; // rsi
__int64 v10; // rcx
__int64 v11; // rax
__int64 v12; // rdi
__int64 v13; // rbx
__int64 v14; // rax
__int64 v15; // rax
float v16[2]; // [rsp+20h] [rbp-A8h] BYREF
_BYTE *v17; // [rsp+28h] [rbp-A0h] BYREF
_BYTE v18[8]; // [rsp+30h] [rbp-98h] BYREF
_BYTE v19[32]; // [rsp+38h] [rbp-90h] BYREF
_BYTE v20[32]; // [rsp+58h] [rbp-70h] BYREF
__int64 v21; // [rsp+78h] [rbp-50h]
__int64 v22; // [rsp+80h] [rbp-48h]
v21 = a2;
v22 = a3;
v17 = v19;
v7 = sub_14003F4F0((__int64)v19, a3);
v8 = sub_14003F4F0((__int64)v20, a2);
v9 = InfoAlertButton::create(v8, v7);
*((float *)v9 + 146) = a4;
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v9);
v11 = cocos2d::CCDirector::sharedDirector(v10);
cocos2d::CCDirector::getWinSize(v11, v16);
v12 = *(_QWORD *)v9;
v13 = *(_QWORD *)(a1 + 552);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v17,
(float)((float)(v16[0] * 0.5) - (float)(*(float *)(a1 + 732) * 0.5)) + 18.0,
(float)((float)((float)(*(float *)(a1 + 736) * 0.5) + (float)(v16[1] * 0.5)) - 18.0) + *(float *)(a1 + 740));
cocos2d::CCNode::convertToNodeSpace(v13, v18, v14);
(*(void (__fastcall **)(char *, __int64))(v12 + 184))(v9, v15);
sub_14003D310(a2);
sub_14003D310(a3);
}