//
// SetupTriggerPopup::createToggleValueControl from 0x14060e420 to 0x14060e5ab (395 bytes)
//
// 265 xrefs:
// > AutoSaveSettingsLayer::init @ 0x14009b5ba
// > AutoSaveSettingsLayer::init @ 0x14009b834
// > CollisionBlockPopup::init @ 0x1400a5124
// > GridSettingsLayer::onBuildWindowContent @ 0x1402c911b
// > SetupMoveCommandPopup::init @ 0x14038ec1f
// > SetupMoveCommandPopup::init @ 0x14038ecac
// > SetupMoveCommandPopup::init @ 0x14038edb6
// > SetupMoveCommandPopup::init @ 0x14038ee43
// > SetupMoveCommandPopup::init @ 0x14038f0de
// > SetupMoveCommandPopup::init @ 0x14038f15f
// > SetupMoveCommandPopup::init @ 0x14038f450
// > SetupMoveCommandPopup::init @ 0x14038f4e1
// > SetupMoveCommandPopup::init @ 0x14038f56e
// > SetupMoveCommandPopup::init @ 0x14038f5f9
// > SetupMoveCommandPopup::init @ 0x14038f8b1
// > EditGameObjectPopup::init @ 0x1403a530b
// > SetupRotateCommandPopup::init @ 0x1403ae57e
// > SetupRotateCommandPopup::init @ 0x1403ae601
// > SetupRotateCommandPopup::init @ 0x1403ae689
// > SetupRotateCommandPopup::init @ 0x1403ae719
// > SetupRotateCommandPopup::init @ 0x1403ae7a4
// > SetupRotateCommandPopup::init @ 0x1403ae83e
// > TouchControlEditLayer::buildHud @ 0x140452fd4
// > TouchControlEditLayer::buildHud @ 0x140453049
// > TouchControlEditLayer::buildHud @ 0x1404530c6
// > TouchControlEditLayer::buildHud @ 0x14045314a
// > TouchControlEditLayer::buildHud @ 0x1404531c8
// > StartPosLayer::init @ 0x14045e2c4
// > StartPosLayer::init @ 0x14045e340
// > StartPosLayer::init @ 0x14045e3bc
// > StartPosLayer::init @ 0x14045e442
// > StartPosLayer::init @ 0x14045e4ba
// > StartPosLayer::init @ 0x14045e534
// > StartPosLayer::init @ 0x14045e5b1
// > StartPosLayer::init @ 0x14045e62b
// > StartPosLayer::init @ 0x14045e69b
// > StartPosLayer::init @ 0x14045e716
// > SetItemIDLayer::init @ 0x14059839b
// > SetItemIDLayer::init @ 0x140598427
// > SetupAdvFollowPopup::init @ 0x1405998ef
// > SetupAdvFollowPopup::init @ 0x140599963
// > SetupAdvFollowPopup::init @ 0x1405999d7
// > SetupAdvFollowPopup::init @ 0x140599a4b
// > SetupAdvFollowPopup::init @ 0x140599aba
// > SetupAdvFollowPopup::init @ 0x140599bde
// > SetupAdvFollowPopup::init @ 0x140599c4e
// > SetupAdvFollowPopup::init @ 0x140599f79
// > SetupAdvFollowPopup::init @ 0x14059b327
// > SetupAdvFollowPopup::init @ 0x14059b69f
// > SetupAdvFollowPopup::init @ 0x14059c1a0
// > SetupAdvFollowEditPhysicsPopup::init @ 0x14059ed1a
// > SetupAdvFollowEditPhysicsPopup::init @ 0x14059eda4
// > SetupAdvFollowEditPhysicsPopup::init @ 0x14059f604
// > SetupAdvFollowEditPhysicsPopup::init @ 0x14059f692
// > SetupAdvFollowRetargetPopup::init @ 0x14059fe46
// > SetupAdvFollowRetargetPopup::init @ 0x14059fecc
// > SetupAdvFollowRetargetPopup::init @ 0x14059ff4a
// > SetupAdvFollowRetargetPopup::init @ 0x14059ffef
// > SetupAnimSettingsPopup::init @ 0x1405a1bef
// > SetupAnimSettingsPopup::init @ 0x1405a1c76
// > SetupAnimSettingsPopup::init @ 0x1405a1d15
// > SetupAnimSettingsPopup::init @ 0x1405a1dac
// > SetupAnimSettingsPopup::init @ 0x1405a1e45
// > SetupAnimSettingsPopup::init @ 0x1405a1ed4
// > SetupAnimSettingsPopup::init @ 0x1405a210e
// > SetupAreaMoveTriggerPopup::init @ 0x1405a3469
// > SetupAreaMoveTriggerPopup::init @ 0x1405a35be
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1405a4539
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1405a45b3
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1405a463e
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1405a4790
// > SetupAreaTintTriggerPopup::init @ 0x1405a7789
// > SetupAreaTintTriggerPopup::init @ 0x1405a781d
// > SetupAreaTintTriggerPopup::init @ 0x1405a78a5
// > SetupAreaAnimTriggerPopup::init @ 0x1405a901c
// > SetupAreaAnimTriggerPopup::init @ 0x1405a9223
// > SetupAreaAnimTriggerPopup::init @ 0x1405a996c
// > SetupCameraModePopup::init @ 0x1405abc04
// > SetupCameraRotatePopup2::init @ 0x1405af5b4
// > SetupCameraRotatePopup2::init @ 0x1405af643
// > SetupCollisionTriggerPopup::init @ 0x1405affe4
// > SetupCollisionTriggerPopup::init @ 0x1405b0056
// > SetupCollisionTriggerPopup::init @ 0x1405b00cd
// > SetupCollisionTriggerPopup::init @ 0x1405b0159
// > SetupCollisionTriggerPopup::init @ 0x1405b01ed
// > SetupInstantCollisionTriggerPopup::init @ 0x1405b0c04
// > SetupInstantCollisionTriggerPopup::init @ 0x1405b0c77
// > SetupInstantCollisionTriggerPopup::init @ 0x1405b0ced
// > SetupCountTriggerPopup::init @ 0x1405b1c49
// > SetupCountTriggerPopup::init @ 0x1405b1cdc
// > SetupPlatformerEndPopup::init @ 0x1405b318f
// > SetupPlatformerEndPopup::init @ 0x1405b321b
// > SetupPlatformerEndPopup::init @ 0x1405b32aa
// > SetupEnterEffectPopup::init @ 0x1405b3d88
// > SetupEnterEffectPopup::init @ 0x1405b4d12
// > SetupEnterEffectPopup::init @ 0x1405b4d94
// > SetupEnterEffectPopup::init @ 0x1405b4e1c
// > SetupGradientPopup::init @ 0x1405b6766
// > SetupGradientPopup::init @ 0x1405b680f
// > SetupGradientPopup::init @ 0x1405b68ad
// > SetupInteractObjectPopup::init @ 0x1405b92e0
// > SetupInteractObjectPopup::init @ 0x1405b943f
// > SetupInteractObjectPopup::init @ 0x1405b94c3
// > SetupInteractObjectPopup::init @ 0x1405b9602
// > SetupInteractObjectPopup::init @ 0x1405b97f4
// > SetupKeyframePopup::init @ 0x1405baca2
// > SetupKeyframePopup::init @ 0x1405bb29f
// > SetupKeyframePopup::init @ 0x1405bb340
// > SetupKeyframePopup::init @ 0x1405bb3e8
// > SetupKeyframePopup::init @ 0x1405bb47f
// > SetupKeyframePopup::init @ 0x1405bb520
// > SetupGravityTriggerPopup::init @ 0x1405bec25
// > SetupGravityTriggerPopup::init @ 0x1405beca0
// > SetupGravityTriggerPopup::init @ 0x1405bed20
// > SetupObjectTogglePopup::init @ 0x1405bf816
// > SetupObjectTogglePopup::init @ 0x1405bf8af
// > SetupObjectTogglePopup::init @ 0x1405bf971
// > SetupObjectTogglePopup::init @ 0x1405bfa0d
// > SetupPickupTriggerPopup::init @ 0x1405cc9d7
// > SetupRotateGameplayPopup::init @ 0x1405d688e
// > SetupRotateGameplayPopup::init @ 0x1405d6930
// > SetupRotateGameplayPopup::init @ 0x1405d6b55
// > SetupRotateGameplayPopup::init @ 0x1405d6be2
// > SetupRotateGameplayPopup::init @ 0x1405d6e57
// > SetupRotateGameplayPopup::init @ 0x1405d6f12
// > SetupGameplayOffsetPopup::init @ 0x1405d76e6
// > SetupGameplayOffsetPopup::init @ 0x1405d776b
// > SetupSequenceTriggerPopup::init @ 0x1405d97d0
// > SetupAudioTriggerPopup::addProxVolControls @ 0x1405db23f
// > SetupAudioTriggerPopup::addProxVolControls @ 0x1405db2bf
// > SetupAudioTriggerPopup::addProxVolControls @ 0x1405db348
// > SetupReverbPopup::init @ 0x1405dbf29
// > SetupSFXPopup::init @ 0x1405dccf7
// > SetupSFXPopup::init @ 0x1405dcd85
// > SetupSFXPopup::init @ 0x1405dce11
// > SetupSFXPopup::init @ 0x1405dce8f
// > SetupSFXPopup::init @ 0x1405dd1d6
// > SetupSFXPopup::init @ 0x1405dd31f
// > SetupSFXPopup::init @ 0x1405dd3c1
// > SetupSFXPopup::init @ 0x1405dd7da
// > SetupSFXEditPopup::init @ 0x1405df603
// > SetupSFXEditPopup::init @ 0x1405df694
// > SetupSFXEditPopup::init @ 0x1405df71f
// > SetupSFXEditPopup::init @ 0x1405df7b2
// > SetupShaderEffectPopup::init @ 0x1405dfc3d
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x1405e0006
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x1405e00ad
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e1288
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e130c
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e138a
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e1449
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e176d
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e17ee
// > SetupShaderEffectPopup::setupShockWave @ 0x1405e187a
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e259f
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e2619
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e26a0
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e271a
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e27a1
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e2822
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e28e5
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e2b3f
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e2bbf
// > SetupShaderEffectPopup::setupShockLine @ 0x1405e2c4a
// > SetupShaderEffectPopup::setupGlitch @ 0x1405e34ad
// > SetupShaderEffectPopup::setupChromatic @ 0x1405e38bf
// > SetupShaderEffectPopup::setupChromatic @ 0x1405e3945
// > SetupShaderEffectPopup::setupChromatic @ 0x1405e39f6
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0x1405e413d
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0x1405e41d0
// > SetupShaderEffectPopup::setupChromaticGlitch @ 0x1405e4287
// > SetupShaderEffectPopup::setupPixelate @ 0x1405e46eb
// > SetupShaderEffectPopup::setupPixelate @ 0x1405e4771
// > SetupShaderEffectPopup::setupPixelate @ 0x1405e4803
// > SetupShaderEffectPopup::setupPixelate @ 0x1405e4889
// > SetupShaderEffectPopup::setupPixelate @ 0x1405e493a
// > SetupShaderEffectPopup::setupLensCircle @ 0x1405e5114
// > SetupShaderEffectPopup::setupLensCircle @ 0x1405e5194
// > SetupShaderEffectPopup::setupLensCircle @ 0x1405e530a
// > SetupShaderEffectPopup::setupRadialBlur @ 0x1405e5941
// > SetupShaderEffectPopup::setupRadialBlur @ 0x1405e59d0
// > SetupShaderEffectPopup::setupRadialBlur @ 0x1405e5cc9
// > SetupShaderEffectPopup::setupRadialBlur @ 0x1405e5d49
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e6239
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e62c2
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e65da
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e6751
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e67cd
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e6842
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e68d8
// > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e6961
// > SetupShaderEffectPopup::setupBulge @ 0x1405e6e2d
// > SetupShaderEffectPopup::setupBulge @ 0x1405e6eb8
// > SetupShaderEffectPopup::setupBulge @ 0x1405e71c1
// > SetupShaderEffectPopup::setupBulge @ 0x1405e7241
// > SetupShaderEffectPopup::setupPinch @ 0x1405e7717
// > SetupShaderEffectPopup::setupPinch @ 0x1405e779d
// > SetupShaderEffectPopup::setupPinch @ 0x1405e79eb
// > SetupShaderEffectPopup::setupPinch @ 0x1405e7a98
// > SetupShaderEffectPopup::setupPinch @ 0x1405e7d9d
// > SetupShaderEffectPopup::setupPinch @ 0x1405e7e1d
// > SetupShaderEffectPopup::setupGrayscale @ 0x1405e825e
// > SetupShaderEffectPopup::setupGrayscale @ 0x1405e82d8
// > SetupShaderEffectPopup::setupInvertColor @ 0x1405e8c22
// > SetupShaderEffectPopup::setupInvertColor @ 0x1405e8ca3
// > SetupShaderEffectPopup::setupInvertColor @ 0x1405e8d24
// > SetupShaderEffectPopup::setupSplitScreen @ 0x1405e9d6e
// > SetupShaderEffectPopup::setupSplitScreen @ 0x1405e9df4
// > SetupSongTriggerPopup::init @ 0x1405f28a5
// > SetupSongTriggerPopup::init @ 0x1405f2955
// > SetupSongTriggerPopup::init @ 0x1405f2cef
// > SetupSongTriggerPopup::init @ 0x1405f2d7c
// > SetupSpawnPopup::init @ 0x1405f4425
// > SetupSpawnPopup::init @ 0x1405f44b2
// > SetupSpawnPopup::init @ 0x1405f4544
// > SetupStaticCameraPopup::init @ 0x1405f5e43
// > SetupStaticCameraPopup::init @ 0x1405f5eeb
// > SetupStaticCameraPopup::init @ 0x1405f61b4
// > SetupStaticCameraPopup::init @ 0x1405f6321
// > SetupTeleportPopup::init @ 0x1405f6cb0
// > SetupTeleportPopup::init @ 0x1405f6d3f
// > SetupTeleportPopup::init @ 0x1405f6dbd
// > SetupTeleportPopup::init @ 0x1405f6e3b
// > SetupTeleportPopup::init @ 0x1405f6ec7
// > SetupTeleportPopup::init @ 0x1405f6f56
// > SetupTeleportPopup::init @ 0x1405f6fe4
// > SetupTeleportPopup::init @ 0x1405f7109
// > SetupTeleportPopup::init @ 0x1405f74ea
// > SetupTeleportPopup::init @ 0x1405f7576
// > SetupTeleportPopup::init @ 0x1405f7734
// > SetupTimerTriggerPopup::init @ 0x1405f825e
// > SetupTimerTriggerPopup::init @ 0x1405f85ba
// > SetupTimerTriggerPopup::init @ 0x1405f8646
// > SetupTimerTriggerPopup::init @ 0x1405f86d6
// > SetupTimerEventTriggerPopup::init @ 0x1405f8db8
// > SetupTransformPopup::init @ 0x1405fb364
// > SetupTransformPopup::init @ 0x1405fb58c
// > SetupTransformPopup::init @ 0x1405fb61c
// > SetupTransformPopup::init @ 0x1405fb9c0
// > SetupTransformPopup::init @ 0x1405fba7b
// > SetupPlayerControlPopup::init @ 0x1405fe20e
// > SetupPlayerControlPopup::init @ 0x1405fe28f
// > SetupPlayerControlPopup::init @ 0x1405fe31a
// > SetupPlayerControlPopup::init @ 0x1405fe3a0
// > SetupPlayerControlPopup::init @ 0x1405fe422
// > SetupPlayerControlPopup::init @ 0x1405fe4b2
// > SetupSpawnParticlePopup::init @ 0x1405ff12d
// > SetupCheckpointPopup::init @ 0x1405ff834
// > MultiTriggerPopup::init @ 0x1405ffbd8
// > UIObjectSettingsPopup::init @ 0x140600534
// > UIObjectSettingsPopup::init @ 0x140600895
// > SetupPersistentItemTriggerPopup::init @ 0x1406066c8
// > SetupPersistentItemTriggerPopup::init @ 0x140606780
// > SetupPersistentItemTriggerPopup::init @ 0x140606809
// > SetupPersistentItemTriggerPopup::init @ 0x140606893
// > SetupAudioLineGuidePopup::init @ 0x140606e61
// > SetupForceBlockPopup::init @ 0x140607efa
// > SetupForceBlockPopup::init @ 0x140607f86
// > SetupStopTriggerPopup::init @ 0x140609581
// > SetupProgressPopup::init @ 0x14060a146
// > SetupProgressPopup::init @ 0x14060a3b0
// > SetupDashRingPopup::init @ 0x14060aa80
// > SetupDashRingPopup::init @ 0x14060ab0e
// > SetupDashRingPopup::init @ 0x14060abcf
// > ??> @ 0x14092feb8
//
// 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:15 +0000
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall SetupTriggerPopup::createToggleValueControl(
int a1,
int a2,
__int64 a3,
const struct cocos2d::CCPoint *a4,
char a5,
int a6,
int a7,
float a8)
{
float v12; // xmm2_4
float v13; // xmm1_4
cocos2d::CCPoint *v14; // rcx
const struct cocos2d::CCPoint *v15; // rax
int v16; // ebx
int v17; // eax
__int64 ToggleValueControlAdvanced; // rbx
_BYTE v20[8]; // [rsp+60h] [rbp-C8h] BYREF
_BYTE v21[8]; // [rsp+68h] [rbp-C0h] BYREF
_BYTE *v22; // [rsp+70h] [rbp-B8h] BYREF
_BYTE v23[8]; // [rsp+78h] [rbp-B0h] BYREF
_BYTE v24[32]; // [rsp+80h] [rbp-A8h] BYREF
__int64 v25; // [rsp+A0h] [rbp-88h]
v25 = a3;
if ( a5 )
{
v12 = 4.0;
v13 = 0.0;
v14 = (cocos2d::CCPoint *)v20;
}
else
{
v12 = 0.0;
v13 = 8.0;
v14 = (cocos2d::CCPoint *)&v22;
}
cocos2d::CCPoint::CCPoint(v14, v13, v12);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v21, v15);
v22 = v24;
v16 = sub_14003F4F0((__int64)v24, a3);
cocos2d::CCPoint::operator*(v21, v20);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, a4);
ToggleValueControlAdvanced = SetupTriggerPopup::createToggleValueControlAdvanced(
a1,
a2,
v16,
v17,
a5,
a6,
a7,
a8 * 0.69999999,
a8 * 0.34999999,
a8 * 110.0,
(__int64)v20);
sub_14003D310(a3);
return ToggleValueControlAdvanced;
}