//
// SetupTriggerPopup::addHelpButton from 0x679e84 to 0x679f72 (238 bytes)
//
// 98 xrefs:
// > CustomizeObjectSettingsPopup::init @ 0x57ef46
// > SetupEnterTriggerPopup::init @ 0x5d6718
// > SetupMoveCommandPopup::init @ 0x5e7632
// > SetupObjectTogglePopup::init @ 0x5ea278
// > SetupObjectTogglePopup::init @ 0x5ea32a
// > SetupObjectTogglePopup::init @ 0x5ea394
// > SetupSpawnPopup::init @ 0x5eb1e4
// > SetupPulsePopup::init @ 0x5ed1bc
// > CollisionBlockPopup::init @ 0x600db0
// > GJFollowCommandLayer::init @ 0x60f468
// > GJPFollowCommandLayer::init @ 0x60fabc
// > SetupRotateCommandPopup::init @ 0x610364
// > SetItemIDLayer::init @ 0x623722
// > SetTargetIDLayer::init @ 0x623eea
// > SetupAnimSettingsPopup::init @ 0x6251e4
// > SetupCollisionTriggerPopup::init @ 0x625a9a
// > SetupInstantCollisionTriggerPopup::init @ 0x626172
// > SetupCollisionStateTriggerPopup::init @ 0x626790
// > SetupCountTriggerPopup::init @ 0x626aca
// > SetupInteractObjectPopup::init @ 0x627162
// > SetupInstantCountPopup::init @ 0x627dde
// > SetupPickupTriggerPopup::init @ 0x6288dc
// > SetupRotatePopup::init @ 0x629028
// > SetupStaticCameraPopup::init @ 0x634c06
// > SetupZoomTriggerPopup::init @ 0x635498
// > SetupPlatformerEndPopup::init @ 0x6370fe
// > SetupObjectOptions2Popup::init @ 0x63c9f4
// > SetupTransformPopup::init @ 0x657ac4
// > SetupSongTriggerPopup::init @ 0x658794
// > SetupCameraRotatePopup2::init @ 0x65a016
// > SetupOptionsTriggerPopup::init @ 0x675be2
// > SetupRotateGameplayPopup::init @ 0x67fa86
// > SetupGameplayOffsetPopup::init @ 0x680140
// > SetupTeleportPopup::init @ 0x68089c
// > SetupGradientPopup::init @ 0x687282
// > SetupShaderEffectPopup::setupShockWave @ 0x6882fc
// > SetupShaderEffectPopup::setupShockLine @ 0x688ec4
// > SetupShaderEffectPopup::setupGlitch @ 0x6899c2
// > SetupShaderEffectPopup::setupChromatic @ 0x689d58
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0x68a0c0
// > SetupShaderEffectPopup::setupPixelate @ 0x68a574
// > SetupShaderEffectPopup::setupLensCircle @ 0x68a990
// > SetupShaderEffectPopup::setupRadialBlur @ 0x68af2c
// > SetupShaderEffectPopup::setupMotionBlur @ 0x68b564
// > SetupShaderEffectPopup::setupBulge @ 0x68bc7c
// > SetupShaderEffectPopup::setupPinch @ 0x68c1fa
// > SetupShaderEffectPopup::setupGrayscale @ 0x68c93e
// > SetupShaderEffectPopup::setupSepia @ 0x68cc26
// > SetupShaderEffectPopup::setupInvertColor @ 0x68cde2
// > SetupShaderEffectPopup::setupHueShift @ 0x68d172
// > SetupShaderEffectPopup::setupColorChange @ 0x68d34c
// > SetupShaderEffectPopup::setupSplitScreen @ 0x68d738
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x68da08
// > SetupAreaMoveTriggerPopup::init @ 0x68ff0e
// > SetupAreaTransformTriggerPopup::init @ 0x69082a
// > SetupAreaRotateTriggerPopup::init @ 0x690e2e
// > SetupAreaFadeTriggerPopup::init @ 0x69134a
// > SetupAreaTintTriggerPopup::init @ 0x69185e
// > SetupAreaTriggerPopup::init @ 0x691f7e
// > SetupAreaAnimTriggerPopup::init @ 0x6924c6
// > SetupEnterEffectPopup::init @ 0x69402a
// > SetupEnterEffectPopup::init @ 0x6944ba
// > SetupEnterEffectPopup::init @ 0x694642
// > SetupEnterEffectPopup::init @ 0x69486e
// > SetupEnterEffectPopup::init @ 0x694996
// > SetupEnterEffectPopup::init @ 0x694c48
// > SetupAdvFollowEditPhysicsPopup::init @ 0x69671e
// > SetupAdvFollowRetargetPopup::init @ 0x696fea
// > SetupAdvFollowPopup::init @ 0x697544
// > SetupBGSpeedTrigger::init @ 0x69b87a
// > SetupGravityTriggerPopup::init @ 0x69bc64
// > SetupKeyframeAnimPopup::init @ 0x6adbec
// > SetupKeyframePopup::init @ 0x6ae2ec
// > SetupReverbPopup::init @ 0x6b070c
// > SetupSFXEditPopup::init @ 0x6b0cd8
// > SetupSFXPopup::init @ 0x6b1844
// > SetupEventLinkPopup::init @ 0x6b3742
// > SetupPlayerControlPopup::init @ 0x6b3b10
// > SetupSpawnParticlePopup::init @ 0x6b3f36
// > SetupCheckpointPopup::init @ 0x6b4672
// > MultiTriggerPopup::init @ 0x6b4a40
// > UIObjectSettingsPopup::init @ 0x6b4c6e
// > SetupResetTriggerPopup::init @ 0x6b53e4
// > SetupCoinLayer::init @ 0x6b5622
// > SetupPersistentItemTriggerPopup::init @ 0x6b58f0
// > SetupCameraGuidePopup::init @ 0x6b5cfa
// > SetupForceBlockPopup::init @ 0x6b6120
// > SetupObjectControlPopup::init @ 0x6b65fc
// > SetupProgressPopup::init @ 0x6b6868
// > SetupDashRingPopup::init @ 0x6b6c86
// > SetupStopTriggerPopup::init @ 0x6b715c
// > SetupAudioLineGuidePopup::init @ 0x6b75cc
// > SetupArtSwitchPopup::init @ 0x6b7c54
// > SetupItemEditTriggerPopup::init @ 0x6b910c
// > SetupItemCompareTriggerPopup::init @ 0x6b9ed6
// > SetupTimerTriggerPopup::init @ 0x6da0ea
// > SetupTimerEventTriggerPopup::init @ 0x6da696
// > SetupTimerControlTriggerPopup::init @ 0x6daa30
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:57 +0000
//
int __fastcall SetupTriggerPopup::addHelpButton(int a1, int a2, int a3, int a4)
{
_DWORD *v7; // r7
cocos2d::CCDirector *v8; // r0
const cocos2d::CCPoint *v9; // r9
int (__fastcall *v10)(_DWORD *, _BYTE *); // r6
float v12[2]; // [sp+4h] [bp-38h] BYREF
_BYTE v13[8]; // [sp+Ch] [bp-30h] BYREF
_BYTE v14[8]; // [sp+14h] [bp-28h] BYREF
int v15[3]; // [sp+1Ch] [bp-20h] BYREF
int v16[3]; // [sp+28h] [bp-14h] BYREF
std::string::basic_string(v15, a2);
std::string::basic_string(v16, a3);
v7 = (_DWORD *)InfoAlertButton::create((char *)v15, (int)v16, 1065353216);
std::string::~string((int)v16);
std::string::~string((int)v15);
v7[104] = a4;
v8 = (cocos2d::CCDirector *)(*(int (__fastcall **)(_DWORD, _DWORD *))(**(_DWORD **)(a1 + 444) + 228))(
*(_DWORD *)(a1 + 444),
v7);
cocos2d::CCDirector::sharedDirector(v8);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v12);
v9 = *(const cocos2d::CCPoint **)(a1 + 444);
v10 = *(int (__fastcall **)(_DWORD *, _BYTE *))(*v7 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v13,
(float)((float)(v12[0] * 0.5) - (float)(*(float *)(a1 + 556) * 0.5)) + 18.0,
(float)((float)((float)(*(float *)(a1 + 560) * 0.5) + (float)(v12[1] * 0.5)) - 18.0) + *(float *)(a1 + 564));
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v14, v9);
return v10(v7, v14);
}