//
// SetupTriggerPopup::triggerSliderChanged from 0x14060d340 to 0x14060d42b (235 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x14060de52
// > ??> @ 0x14092fe34
//
// 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
//
__int64 __fastcall SetupTriggerPopup::triggerSliderChanged(cocos2d::CCDictionary **a1, float *a2)
{
char v2; // r14
__int64 v5; // rsi
double v6; // xmm0_8
float TruncatedValue; // xmm6_4
struct cocos2d::CCObject *v8; // rax
__int64 v9; // rdx
__int64 v10; // rcx
cocos2d::CCDictionary *v11; // rbx
struct cocos2d::CCObject *v12; // rax
__int64 result; // rax
v2 = *((_BYTE *)a1 + 744);
*((_BYTE *)a1 + 744) = 1;
v5 = (*(int (__fastcall **)(float *))(*(_QWORD *)a2 + 56LL))(a2);
SliderThumb::getValue(a2);
v6 = (*((double (__fastcall **)(cocos2d::CCDictionary **, _QWORD))*a1 + 147))(a1, (unsigned int)v5);
TruncatedValue = *(float *)&v6;
v8 = cocos2d::CCDictionary::objectForKey(a1[95], v5);
if ( v8 )
TruncatedValue = SetupTriggerPopup::getTruncatedValue(v10, v9, *((unsigned int *)v8 + 180));
v11 = a1[104];
v12 = cocos2d::CCFloat::create(TruncatedValue);
cocos2d::CCDictionary::setObject(v11, v12, v5);
SetupTriggerPopup::valueChanged(a1, (unsigned int)v5);
result = (*((__int64 (__fastcall **)(cocos2d::CCDictionary **, _QWORD))*a1 + 143))(a1, (unsigned int)v5);
*((_BYTE *)a1 + 744) = v2;
return result;
}