//
// InvitesPopup::textChanged from 0x10094e3e0 to 0x10094e4b8 (216 bytes)
//
// 2 xrefs:
// > sub_10094E500 @ 0x10094e50c
// > ??> @ 0x100bc6f50
//
// This function is hookable on this platform (idp: pc, 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 12:38:37 +0000
//
__int64 __fastcall InvitesPopup::textChanged(__int64 a1, __int64 a2, double a3, double a4, double a5, __m128i a6)
{
char *v6; // r14
char *v7; // r15
double v8; // xmm0_8
__int128 v10; // [rsp+8h] [rbp-48h] BYREF
void *__p; // [rsp+18h] [rbp-38h]
__int128 v12; // [rsp+20h] [rbp-30h] BYREF
char *v13; // [rsp+30h] [rbp-20h]
CCTextInputNode::getString(&v10, a2);
if ( (v10 & 1) != 0 )
{
sub_10001AD30(&v12, __p, *((unsigned __int64 *)&v10 + 1));
}
else
{
v13 = (char *)__p;
v12 = v10;
}
v6 = (char *)&v12 + ((unsigned __int8)v12 >> 1) + 1;
if ( (v12 & 1) != 0 )
v6 = &v13[*((_QWORD *)&v12 + 1)];
v7 = (char *)&v12 + 1;
if ( (v12 & 1) != 0 )
v7 = v13;
for ( ; v7 != v6; ++v7 )
*v7 = __tolower((unsigned __int8)*v7);
if ( (*(_BYTE *)(a1 + 840) & 1) != 0 )
operator delete(*(void **)(a1 + 856));
*(_QWORD *)(a1 + 856) = v13;
v8 = *(double *)&v12;
*(_OWORD *)(a1 + 840) = v12;
LOWORD(v12) = 0;
if ( (v10 & 1) != 0 )
operator delete(__p);
return sub_10094C500((_QWORD *)a1, v8, a4, a5, a6);
}