//
// SetupAnimationPopup::textChanged from 0x10046d830 to 0x10046d904 (212 bytes)
//
// 2 xrefs:
// > sub_10046D988 @ 0x10046d98c
// > ??> @ 0x10096c4d0
//
// 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:05:36 +0000
//
void __fastcall SetupAnimationPopup::textChanged(__int64 a1, __int64 a2)
{
char *v4; // x20
char *v5; // x20
char *v6[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
if ( (*(_BYTE *)(a1 + 744) & 1) == 0 )
{
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) )
{
CCTextInputNode::getString(a2, v6);
if ( v7 < 0 )
{
v4 = v6[0];
*(_DWORD *)(a1 + 1036) = atoi(v6[0]);
operator delete(v4);
}
else
{
*(_DWORD *)(a1 + 1036) = atoi((const char *)v6);
}
sub_10046D7B0(a1);
}
else
{
CCTextInputNode::getString(a2, v6);
if ( v7 < 0 )
{
v5 = v6[0];
*(_DWORD *)(a1 + 1032) = atoi(v6[0]);
operator delete(v5);
}
else
{
*(_DWORD *)(a1 + 1032) = atoi((const char *)v6);
}
sub_10046D904(a1);
sub_1001AD6E0(a1);
}
}
}