//
// SetupTriggerPopup::updateValue from 0x1406138f0 to 0x140613976 (134 bytes)
//
// 46 xrefs:
// > CustomizeObjectSettingsPopup::onCustomToggleTriggerValue @ 0x14014467e
// > EasingSelectPopup::init @ 0x1401765ce
// > SetupMoveCommandPopup::onCustomToggleTriggerValue @ 0x14039011f
// > SetupObjectOptions2Popup::onPlusButton @ 0x140597ea6
// > SetItemIDLayer::onCustomToggleTriggerValue @ 0x1405987be
// > SetItemIDLayer::onCustomToggleTriggerValue @ 0x1405988ac
// > SetTargetIDLayer::valueDidChange @ 0x14059930d
// > SetupAdvFollowPopup::onCustomToggleTriggerValue @ 0x14059cf57
// > SetupAdvFollowPopup::updateMode @ 0x14059d02e
// > SetupAreaAnimTriggerPopup::onDeactivateAnimValue @ 0x1405aa0b5
// > SetupEnterEffectPopup::onNextFreeEnterEffectID @ 0x1405b5b36
// > SetupGradientPopup::valueDidChange @ 0x1405b7675
// > SetupInteractObjectPopup::valueDidChange @ 0x1405b9908
// > SetupKeyframePopup::onCustomToggleTriggerValue @ 0x1405bbb72
// > SetupOptionsTriggerPopup::onCustomToggleTriggerValue @ 0x1405cc298
// > SetupPickupTriggerPopup::onCustomToggleTriggerValue @ 0x1405ccc06
// > SetupRotateGameplayPopup::onPlusButton @ 0x1405d70e6
// > SetupGameplayOffsetPopup::onCustomToggleTriggerValue @ 0x1405d7a05
// > SetupSequenceTriggerPopup::onCustomToggleTriggerValue @ 0x1405d99bc
// > SetupAudioTriggerPopup::onProxMode @ 0x1405db9a7
// > SetupReverbPopup::onReverb @ 0x1405dc3a4
// > SetupSFXPopup::pageChanged @ 0x1405dd989
// > SetupSFXPopup::onPlusButton @ 0x1405de9e4
// > SetupSFXPopup::sfxBrowserClosed @ 0x1405deab7
// > SetupSFXPopup::sfxBrowserClosed @ 0x1405dead9
// > SetupSongTriggerPopup::onSavePlaybackPos @ 0x1405f392a
// > SetupSongTriggerPopup::pageChanged @ 0x1405f3ab9
// > SetupSongTriggerPopup::onClose @ 0x1405f3c61
// > SetupSpawnPopup::onSelectRemap @ 0x1405f594b
// > SetupSpawnPopup::onSelectRemap @ 0x1405f5963
// > SetupTimerControlTriggerPopup::onCustomToggleTriggerValue @ 0x1405f9377
// > UIObjectSettingsPopup::onCustomToggleTriggerValue @ 0x140600920
// > UIObjectSettingsPopup::onCustomToggleTriggerValue @ 0x1406009bc
// > SetupItemEditTriggerPopup::onOpButton @ 0x1406022f2
// > SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x14060357f
// > SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x14060363a
// > SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x14060372b
// > SetupItemCompareTriggerPopup::onOpButton @ 0x140604df5
// > SetupItemCompareTriggerPopup::onCustomToggleTriggerValue @ 0x1406051bb
// > SetupItemCompareTriggerPopup::onCustomToggleTriggerValue @ 0x140605294
// > SetupAudioLineGuidePopup::selectSettingClosed @ 0x1406071b9
// > SetupArtSwitchPopup::selectArtClosed @ 0x140608ef5
// > SetupStopTriggerPopup::onCustomToggleTriggerValue @ 0x1406097e7
// > SetupTriggerPopup::onDisableValue @ 0x14060e334
// > SetupTriggerPopup::valueChanged @ 0x140611465
// > ??> @ 0x14092fff0
//
// 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:16 +0000
//
void __fastcall SetupTriggerPopup::updateValue(cocos2d::CCDictionary **a1, unsigned int a2, float a3)
{
__int64 v5; // r8
if ( cocos2d::CCDictionary::objectForKey(a1[94], (int)a2) )
{
if ( a3 == 0.0 )
{
(*((void (__fastcall **)(cocos2d::CCDictionary **, _QWORD, _QWORD))*a1 + 144))(a1, a2, 0);
}
else
{
LOBYTE(v5) = 1;
(*((void (__fastcall **)(cocos2d::CCDictionary **, _QWORD, __int64))*a1 + 144))(a1, a2, v5);
}
}
else
{
SetupTriggerPopup::updateValueControls(a1, a2, a3);
}
SetupTriggerPopup::valueChanged((__int64)a1, a2, a3);
}