//
// CreateParticlePopup::textChanged from 0x10036fa48 to 0x10036fb28 (224 bytes)
//
// 2 xrefs:
// > sub_10036FB28 @ 0x10036fb2c
// > ??> @ 0x1009316c8
//
// This function is hookable on this platform (idp: arm, 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:03:22 +0000
//
void __fastcall CreateParticlePopup::textChanged(__int64 a1, __int64 a2)
{
double v4; // d8
char *v5; // x21
float v6; // s8
int v7; // w0
__int64 v9; // x0
__n128 v10; // q0
__int64 v11; // x0
char *v12[2]; // [xsp+8h] [xbp-48h] BYREF
char v13; // [xsp+1Fh] [xbp-31h]
if ( (*(_BYTE *)(a1 + 704) & 1) == 0 )
{
CCTextInputNode::getString(a2, v12);
if ( v13 < 0 )
{
v5 = v12[0];
v4 = atof(v12[0]);
operator delete(v5);
}
else
{
v4 = atof((const char *)v12);
}
v6 = v4;
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( v6 < 1.0 && v7 == 5 )
v6 = 1.0;
v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v10.n128_f32[0] = v6;
sub_10036EA40(a1, v9, 0, v10);
v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
sub_10036E854(a1, v11);
}
}