//
// CreateParticlePopup::textChanged from 0x665e88 to 0x665f26 (158 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CreateParticlePopup::textChanged @ 0x665f30
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:40 +0000
//
int __fastcall CreateParticlePopup::textChanged(int this, CCTextInputNode *a2)
{
cocos2d::CCArray **v2; // r6
char *v4; // r0
float v5; // s16
int v6; // r0
int v7; // r0
char v8; // [sp+0h] [bp-14h] BYREF
char v9; // [sp+1h] [bp-13h] BYREF
char *v10; // [sp+8h] [bp-Ch]
v2 = (cocos2d::CCArray **)this;
if ( !*(_BYTE *)(this + 540) )
{
CCTextInputNode::getString((CCTextInputNode *)&v8, (int)a2);
if ( (v8 & 1) != 0 )
v4 = v10;
else
v4 = &v9;
v5 = atof(v4);
std::string::~string((int)&v8);
if ( (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2) == 5 && v5 < 1.0 )
v5 = 1.0;
v6 = (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2);
CreateParticlePopup::updateParticleValueForType((unsigned int)v2, v5, v6, nullptr);
v7 = (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2);
return CreateParticlePopup::updateSliderForType(v2, v7);
}
return this;
}