//
// SetupTriggerPopup::textChanged from 0x548500 to 0x5485b0 (176 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupTriggerPopup::textChanged @ 0x5485b8
//
// 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::textChanged(SetupTriggerPopup *a1, CCTextInputNode *a2)
{
intptr_t v4; // r7
float v5; // s15
float TruncatedValue; // r0
void (__fastcall *updateInputValue)(SetupTriggerPopup *__hidden, int, float *); // r3
cocos2d::CCDictionary *m_triggerValues; // r5
float v9; // r1
cocos2d::CCObject *v10; // r0
float v11; // r0
cocos2d::CCFloat *v12; // [sp+4h] [bp-Ch] BYREF
char *v13; // [sp+8h] [bp-8h] BYREF
v12 = (cocos2d::CCFloat *)a2;
if ( !a1->m_disableTextDelegate )
{
v4 = a2->getTag(a2);
CCTextInputNode::getString((CCTextInputNode *)&v13, (int)a2);
v5 = atof(v13);
v12 = (cocos2d::CCFloat *)LODWORD(v5);
sub_774008(&v13);
TruncatedValue = SetupTriggerPopup::getTruncatedValue(a1, v5, a2->m_decimalPlaces);
updateInputValue = a1->updateInputValue;
v12 = (cocos2d::CCFloat *)LODWORD(TruncatedValue);
updateInputValue(a1, v4, (float *)&v12);
m_triggerValues = a1->m_triggerValues;
v10 = cocos2d::CCFloat::create(v12, v9);
cocos2d::CCDictionary::setObject(m_triggerValues, v10, v4);
SetupTriggerPopup::valueChanged(a1, v4, *(float *)&v12);
v11 = ((float (__fastcall *)(SetupTriggerPopup *, intptr_t, cocos2d::CCFloat *))a1->triggerSliderValueFromValue)(
a1,
v4,
v12);
SetupTriggerPopup::updateSlider(a1, v4, v11);
}
}