//
// CCTextInputNode::setParseEmotes from 0x1001fc47c to 0x1001fc4e8 (108 bytes)
//
// 8 xrefs:
// > EditLevelLayer::init @ 0x10010f500
// > ShareCommentLayer::init @ 0x10026d1dc
// > sub_10037C930 @ 0x10037cdac
// > sub_1004D4894 @ 0x1004d4b54
// > ThreadViewPopup::init @ 0x1004f8c88
// > sub_100508F28 @ 0x100509d24
// > sub_10050B100 @ 0x10050b320
// > ThreadDescPopup::buildUI @ 0x100512f60
//
// 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:00:43 +0000
//
void __fastcall CCTextInputNode::setParseEmotes(__int64 a1, int a2)
{
__int64 v3; // x0
char *v4; // x0
std::string __p; // [xsp+8h] [xbp-28h] BYREF
*(_DWORD *)(a1 + 504) = a2;
v3 = *(_QWORD *)(a1 + 616);
if ( v3 )
sub_10011B3D8(v3, a2);
v4 = (char *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 576) + 1248LL))(*(_QWORD *)(a1 + 576));
sub_100009900(&__p, v4);
CCTextInputNode::updateLabel(a1, &__p);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
}