//
// GJMultiplayerManager::onUploadCommentCompleted from 0x1007397a0 to 0x100739866 (198 bytes)
//
// 0 xrefs:
//
// 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:36:26 +0000
//
unsigned __int8 __fastcall GJMultiplayerManager::onUploadCommentCompleted(__int64 a1, unsigned __int8 *a2, __int64 a3)
{
const char *v5; // r15
unsigned int v6; // r15d
const void *v7; // rdi
unsigned __int64 v8; // rcx
size_t v9; // rdx
bool v10; // r14
unsigned __int8 result; // al
__int64 v12; // rdi
_WORD __s2[23]; // [rsp+1h] [rbp-2Fh] BYREF
if ( (*(_BYTE *)a3 & 1) != 0 )
{
GJMultiplayerManager::removeDLFromActive(a1, *(_QWORD *)(a3 + 16));
if ( (*(_BYTE *)a3 & 1) != 0 )
goto LABEL_3;
}
else
{
GJMultiplayerManager::removeDLFromActive(a1, a3 + 1);
if ( (*(_BYTE *)a3 & 1) != 0 )
{
LABEL_3:
v5 = *(const char **)(a3 + 16);
goto LABEL_6;
}
}
v5 = (const char *)(a3 + 1);
LABEL_6:
v6 = atoi(v5);
strcpy((char *)__s2, "-1");
v7 = a2 + 1;
v8 = *a2 >> 1;
if ( (*a2 & 1) != 0 )
{
v7 = *((const void **)a2 + 2);
v8 = *((_QWORD *)a2 + 1);
}
v9 = 2;
if ( v8 < 2 )
v9 = v8;
v10 = v8 == 2;
result = memcmp(v7, __s2, v9) == 0;
if ( (v10 & result) == 0 )
{
v12 = *(_QWORD *)(a1 + 352);
if ( v12 )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v12 + 16LL))(v12, v6);
}
return result;
}