//
// ShareCommentLayer::updateDescText from 0x90eae0 to 0x90eb30 (80 bytes)
//
// 5 xrefs:
// > ShareCommentLayer::init @ 0x90f2d4
// > ShareCommentLayer::onClear @ 0x9101ec
// > ShareCommentLayer::textChanged @ 0x910328
// > ShareCommentLayer::textInputClosed @ 0x9104a8
// > ??> @ 0xaad70
//
// 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 12:57:15 +0000
//
__int64 __fastcall ShareCommentLayer::updateDescText(ShareCommentLayer *this, __int64 *a2)
{
__int64 *v3; // x0
const void *v4; // x3
size_t v5; // x2
v3 = (__int64 *)((char *)this + 728);
if ( v3 != a2 )
{
if ( (*(_BYTE *)a2 & 1) != 0 )
{
v4 = (const void *)a2[2];
v5 = a2[1];
}
else
{
v4 = (char *)a2 + 1;
v5 = *(_BYTE *)a2 >> 1;
}
std::string::assign(v3, v4, v5);
}
return ShareCommentLayer::updateCharCountLabel(this);
}