//
// FriendPickerPopup::textChanged from 0xc815e4 to 0xc816c4 (224 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FriendPickerPopup::textChanged @ 0xc816c8
// > ??> @ 0x57358
// > ??> @ 0x14ee320
//
// 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 13:05:39 +0000
//
__int64 __fastcall FriendPickerPopup::textChanged(FriendPickerPopup *this, CCTextInputNode *a2)
{
__int64 *v3; // x21
__int64 v4; // x2
__int64 v5; // x3
char v6; // w0
__int64 v8[3]; // [xsp+38h] [xbp+38h] BYREF
__int64 v9[3]; // [xsp+50h] [xbp+50h] BYREF
*((_BYTE *)this + 824) = 0;
v3 = (__int64 *)((char *)this + 832);
CCTextInputNode::getString(a2, v8);
sub_C6DE48((__int64)v8, v9);
if ( (*((_BYTE *)this + 832) & 1) != 0 )
{
**((_BYTE **)this + 106) = 0;
*((_QWORD *)this + 105) = 0;
}
else
{
*((_BYTE *)this + 833) = 0;
*((_BYTE *)this + 832) = 0;
}
std::string::reserve((__int64 *)this + 104, 0);
v4 = v9[0];
v5 = v9[1];
v6 = v8[0];
*((_QWORD *)this + 106) = v9[2];
*v3 = v4;
*((_QWORD *)this + 105) = v5;
if ( (v6 & 1) != 0 )
operator delete((void *)v8[2]);
FriendPickerPopup::buildRows(this);
return _stack_chk_guard;
}