//
// sub_10094C460 from 0x10094c460 to 0x10094c4de (126 bytes)
//
// 1 xrefs:
// > InvitesPopup::init @ 0x10094c14b
//
// 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:35 +0000
//
__int64 __fastcall sub_10094C460(__int64 a1)
{
_QWORD *v2; // rdi
__int64 result; // rax
_WORD v4[8]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
v2 = *(_QWORD **)(a1 + 832);
if ( v2 )
{
v4[0] = 0;
CCTextInputNode::setString(v2, (__int64)v4);
if ( (v4[0] & 1) != 0 )
operator delete(__p);
}
result = *(unsigned __int8 *)(a1 + 840);
if ( (result & 1) != 0 )
{
if ( !*(_QWORD *)(a1 + 848) )
return result;
**(_BYTE **)(a1 + 856) = 0;
*(_QWORD *)(a1 + 848) = 0;
}
else
{
if ( !(_BYTE)result )
return result;
*(_WORD *)(a1 + 840) = 0;
}
return sub_10094C500(a1);
}