//
// GJMultiplayerManager::onUploadCommentCompleted from 0x50ff58 to 0x50ffbe (102 bytes)
//
// 1 xrefs:
// > GJMultiplayerManager::handleIt @ 0x51046a
//
// 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
//
int __fastcall GJMultiplayerManager::onUploadCommentCompleted(
GJMultiplayerManager *a1,
int a2,
const char **a3,
int a4)
{
int v7; // r6
int v8; // r8
int result; // r0
_DWORD v10[2]; // [sp+8h] [bp-8h] BYREF
v10[0] = a3;
v10[1] = a4;
GJMultiplayerManager::removeDLFromActive(a1, *a3);
v7 = atoi(*a3);
sub_776584((int)v10, "-1");
v8 = sub_774DBC(a2, v10);
result = sub_774008(v10);
if ( v8 )
{
result = (int)a1->m_mpDelegate;
if ( result )
return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 8))(result, v7);
}
return result;
}