//
// SetupTriggerPopup::triggerSliderChanged from 0x140475d20 to 0x140475ddc (188 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::createValueControlAdvanced @ 0x1404766c8
// > ??> @ 0x1406db678
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupTriggerPopup::triggerSliderChanged(SetupTriggerPopup *a1, cocos2d::CCObject *a2)
{
bool m_disableTextDelegate; // bp
__int64 v5; // rsi
double v6; // xmm0_8
float TruncatedValue; // xmm6_4
struct cocos2d::CCObject *v8; // rax
SetupTriggerPopup *v9; // rcx
m_disableTextDelegate = a1->m_disableTextDelegate;
a1->m_disableTextDelegate = 1;
v5 = a2->getTag(a2);
SliderThumb::getValue((SliderThumb *)a2);
v6 = ((double (__fastcall *)(SetupTriggerPopup *, _QWORD))a1->triggerValueFromSliderValue)(a1, (unsigned int)v5);
TruncatedValue = *(float *)&v6;
v8 = cocos2d::CCDictionary::objectForKey(a1->m_inputNodes, v5);
if ( v8 )
TruncatedValue = SetupTriggerPopup::getTruncatedValue(v9, *(float *)&v6, v8[10].m_nZOrder);
SetupTriggerPopup::valueChanged(a1, v5, TruncatedValue);
((void (__fastcall *)(SetupTriggerPopup *, _QWORD))a1->updateInputNode)(a1, (unsigned int)v5);
a1->m_disableTextDelegate = m_disableTextDelegate;
}