//
// LevelListLayer::shareCommentClosed from 0x10034b960 to 0x10034b9e9 (137 bytes)
//
// 2 xrefs:
// > sub_10034BA30 @ 0x10034ba3c
// > ??> @ 0x100b205a0
//
// This function is hookable on this platform (idp: pc, 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:28:47 +0000
//
void __fastcall LevelListLayer::shareCommentClosed(__int64 a1, __int128 *a2)
{
std::string *v2; // rbx
std::string __str; // [rsp+8h] [rbp-38h] BYREF
__int128 v4; // [rsp+20h] [rbp-20h] BYREF
void *__p; // [rsp+30h] [rbp-10h]
v2 = *(std::string **)(a1 + 912);
if ( (*(_BYTE *)a2 & 1) != 0 )
{
sub_10001AD30(&v4, *((const void **)a2 + 2), *((_QWORD *)a2 + 1));
}
else
{
__p = *((void **)a2 + 2);
v4 = *a2;
}
LevelTools::base64EncodeString(&__str, &v4);
std::string::operator=(v2 + 21, &__str);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 )
{
if ( (v4 & 1) == 0 )
return;
LABEL_8:
operator delete(__p);
return;
}
operator delete(__str.__r_.__value_.__l.__data_);
if ( (v4 & 1) != 0 )
goto LABEL_8;
}