//
// GameLevelManager::uploadLevelComment from 0x1005517e0 to 0x100551850 (112 bytes)
//
// 1 xrefs:
// > ShareCommentLayer::onShare @ 0x1005e11e4
//
// 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 GameLevelManager::uploadLevelComment(
__int64 a1,
unsigned int a2,
__int128 *a3,
unsigned int a4,
double a5)
{
__int128 v6; // [rsp+0h] [rbp-30h] BYREF
void *__p; // [rsp+10h] [rbp-20h]
if ( (*(_BYTE *)a3 & 1) != 0 )
{
sub_100006B70(&v6, *((const void **)a3 + 2), *((_QWORD *)a3 + 1), a5);
}
else
{
__p = *((void **)a3 + 2);
v6 = *a3;
}
GameLevelManager::uploadComment(a1, &v6, 0, a2, a4);
if ( (v6 & 1) != 0 )
operator delete(__p);
}