//
// ShareCommentLayer::textInputClosed from 0x10026df14 to 0x10026dfa0 (140 bytes)
//
// 2 xrefs:
// > sub_10026DFD4 @ 0x10026dfd8
// > ??> @ 0x100916750
//
// 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:01:45 +0000
//
void __fastcall ShareCommentLayer::textInputClosed(__int64 a1, __int64 a2)
{
std::string *p_str; // x1
std::string __p; // [xsp+0h] [xbp-40h] BYREF
std::string __str; // [xsp+18h] [xbp-28h] BYREF
CCTextInputNode::getString(a2, &__str);
std::string::operator=((std::string *)(a1 + 728), &__str);
if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL )
p_str = &__str;
else
p_str = (std::string *)__str.__r_.__value_.__r.__words[0];
sub_100009900(&__p, (char *)p_str);
std::string::operator=((std::string *)(a1 + 728), &__p);
sub_10026E0A0(a1);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
}