//
// sub_1002AAE70 from 0x1002aae70 to 0x1002aaeb7 (71 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fb8b8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1002AAE70(__int64 a1, __int64 a2, int a3, __m128 a4)
{
CCTextInputNode *v4; // rdi
_WORD v5[8]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
if ( a3 && (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 )
{
v4 = *(CCTextInputNode **)(a1 + 24);
v5[0] = 0;
CCTextInputNode::setString(v4, (__int64)v5, a4);
if ( (v5[0] & 1) != 0 )
operator delete(__p);
}
}