//
// CreateParticlePopup::textChanged from 0x531184 to 0x531214 (144 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CreateParticlePopup::textChanged @ 0x53121c
//
// 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 CreateParticlePopup::textChanged(CreateParticlePopup *a1, CCTextInputNode *a2)
{
float v4; // s16
gjParticleValue v5; // r0
gjParticleValue v6; // r0
char *v7; // [sp+0h] [bp-Ch] BYREF
if ( !a1->m_disableTextDelegate )
{
CCTextInputNode::getString((CCTextInputNode *)&v7, (int)a2);
v4 = atof(v7);
sub_774008(&v7);
if ( a2->getTag(a2) == 5 && v4 < 1.0 )
v4 = 1.0;
v5 = a2->getTag(a2);
CreateParticlePopup::updateParticleValueForType(a1, v4, v5, nullptr);
v6 = a2->getTag(a2);
CreateParticlePopup::updateSliderForType(a1, v6);
}
}