//
// GJMultiplayerManager::onUploadCommentCompleted from 0x1001ceff8 to 0x1001cf0b0 (184 bytes)
//
// 1 xrefs:
// > GJMultiplayerManager::handleIt @ 0x1001ce920
//
// 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 GJMultiplayerManager::onUploadCommentCompleted(GJMultiplayerManager *a1, _QWORD *a2, const char *a3)
{
const char *v3; // x21
const char *v6; // x1
__int64 v7; // x21
bool v8; // w0
bool v9; // w20
GJMPDelegate *m_mpDelegate; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v12; // [xsp+1Fh] [xbp-21h]
v3 = a3;
v6 = a3;
if ( a3[23] < 0 )
v6 = *(const char **)a3;
GJMultiplayerManager::removeDLFromActive(a1, v6);
if ( v3[23] < 0 )
v3 = *(const char **)v3;
v7 = atoi(v3);
sub_100009900(__p, "-1");
v8 = sub_1000045BC(a2, __p);
v9 = v8;
if ( v12 < 0 )
{
operator delete(__p[0]);
if ( v9 )
return;
}
else if ( v8 )
{
return;
}
m_mpDelegate = a1->m_mpDelegate;
if ( m_mpDelegate )
((void (__fastcall *)(GJMPDelegate *, __int64))m_mpDelegate->didUploadMPComment)(m_mpDelegate, v7);
}