//
// GameLevelManager::uploadLevelComment from 0x1000a717c to 0x1000a7200 (132 bytes)
//
// 1 xrefs:
// > ShareCommentLayer::onShare @ 0x1001d5840
//
// 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, __int64 a2, __int64 a3, __int64 a4)
{
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
__int64 v8; // [xsp+10h] [xbp-30h]
if ( *(char *)(a3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a3;
v8 = *(_QWORD *)(a3 + 16);
}
GameLevelManager::uploadComment(a1, __p, 0, a2, a4);
if ( SHIBYTE(v8) < 0 )
operator delete(__p[0]);
}