//
// LevelListLayer::shareCommentClosed from 0x100360270 to 0x1003602f9 (137 bytes)
//
// 2 xrefs:
// > sub_100360340 @ 0x10036034c
// > ??> @ 0x100918680
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall LevelListLayer::shareCommentClosed(__int64 a1, __int128 *a2, double a3)
{
__int64 v3; // rbx
std::string __str; // [rsp+8h] [rbp-38h] BYREF
__int128 v5; // [rsp+20h] [rbp-20h] BYREF
void *__p; // [rsp+30h] [rbp-10h]
v3 = *(_QWORD *)(a1 + 864);
if ( (*(_BYTE *)a2 & 1) != 0 )
{
sub_100006B70(&v5, *((const void **)a2 + 2), *((_QWORD *)a2 + 1), a3);
}
else
{
__p = *((void **)a2 + 2);
v5 = *a2;
}
LevelTools::base64EncodeString(&__str, &v5);
std::string::operator=((std::string *)(v3 + 496), &__str);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 )
{
if ( (v5 & 1) == 0 )
return;
LABEL_8:
operator delete(__p);
return;
}
operator delete(__str.__r_.__value_.__l.__data_);
if ( (v5 & 1) != 0 )
goto LABEL_8;
}