//
// CCTextInputNode::setParseEmotes from 0x3e3b10 to 0x3e3b7e (110 bytes)
//
// 8 xrefs:
// > EditLevelLayer::init @ 0x4a146a
// > ShareCommentLayer::init @ 0x541da2
// > SetTextPopup::init @ 0x5de586
// > ThreadDescPopup::buildUI @ 0x7540e2
// > NewThreadPopup::applyMode @ 0x755ffe
// > NewThreadPopup::init @ 0x756ca8
// > ThreadViewPopup::init @ 0x75cbe0
// > SoundPackDescPopup::init @ 0x786812
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:03 +0000
//
int __fastcall CCTextInputNode::setParseEmotes(CCTextInputNode *this, int a2)
{
int v3; // r0
const char *v4; // r0
const char *v5; // r7
size_t v6; // r0
int v8[3]; // [sp+0h] [bp-14h] BYREF
*((_DWORD *)this + 93) = a2;
v3 = *((_DWORD *)this + 109);
if ( v3 )
TextArea::setParseEmotes(v3, a2);
v4 = (const char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 104) + 624))(*((_DWORD *)this + 104));
memset(v8, 0, sizeof(v8));
v5 = v4;
v6 = strlen(v4);
std::string::__init(v8, v5, v6);
CCTextInputNode::updateLabel((float *)this, (int)v8);
return std::string::~string((int)v8);
}