//
// sub_1004F520C from 0x1004f520c to 0x1004f5294 (136 bytes)
//
// 1 xrefs:
// > MessageThreadsPage::init @ 0x1004f4550
//
// 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:06:47 +0000
//
void __fastcall sub_1004F520C(__int64 a1)
{
_QWORD *v2; // x20
__int64 v3; // x8
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD **)(a1 + 784);
if ( v2 )
{
sub_100009900(__p, "");
CCTextInputNode::setString(v2, (__int64 *)__p);
if ( v5 < 0 )
operator delete(__p[0]);
}
v3 = *(char *)(a1 + 831);
if ( v3 < 0 )
v3 = *(_QWORD *)(a1 + 816);
if ( v3 )
{
std::string::assign((std::string *)(a1 + 808), "");
sub_1004F5C34(a1, 0, 0);
}
}