//
// FriendPickerPopup::textChanged from 0x10050408c to 0x100504110 (132 bytes)
//
// 2 xrefs:
// > sub_1005041F0 @ 0x1005041f4
// > ??> @ 0x100997180
//
// 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:06:55 +0000
//
__int64 __fastcall FriendPickerPopup::textChanged(__int64 a1, __int64 a2)
{
void **v3; // x20
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
char v6; // [xsp+17h] [xbp-29h]
__int128 v7; // [xsp+18h] [xbp-28h] BYREF
__int64 v8; // [xsp+28h] [xbp-18h]
*(_BYTE *)(a1 + 824) = 0;
CCTextInputNode::getString(a2, __p);
sub_10050412C(&v7, __p);
v3 = (void **)(a1 + 832);
if ( *(char *)(a1 + 855) < 0 )
operator delete(*v3);
*(_OWORD *)v3 = v7;
*(_QWORD *)(a1 + 848) = v8;
HIBYTE(v8) = 0;
LOBYTE(v7) = 0;
if ( v6 < 0 )
operator delete(__p[0]);
return sub_100503A98(a1);
}