//
// LevelListLayer::shareCommentClosed from 0x1002e3f38 to 0x1002e3fc0 (136 bytes)
//
// 2 xrefs:
// > sub_1002E3FF4 @ 0x1002e3ff8
// > ??> @ 0x1009239f8
//
// 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:02:49 +0000
//
void __fastcall LevelListLayer::shareCommentClosed(__int64 a1, __int64 a2)
{
std::string *v2; // x19
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
__int64 v4; // [xsp+10h] [xbp-30h]
std::string __str; // [xsp+18h] [xbp-28h] BYREF
v2 = *(std::string **)(a1 + 912);
if ( *(char *)(a2 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a2;
v4 = *(_QWORD *)(a2 + 16);
}
LevelTools::base64EncodeString((__n128 *)__p, (__n128 *)&__str);
std::string::operator=(v2 + 21, &__str);
if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__str.__r_.__value_.__l.__data_);
if ( SHIBYTE(v4) < 0 )
operator delete(__p[0]);
}