//
// GJMultiplayerManager::onUploadCommentCompleted from 0x6413c0 to 0x64143c (124 bytes)
//
// 1 xrefs:
// > GJMultiplayerManager::handleIt @ 0x641e32
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:28 +0000
//
int __fastcall GJMultiplayerManager::onUploadCommentCompleted(
GJMultiplayerManager *a1,
unsigned __int8 *a2,
int a3,
int a4)
{
const char *v7; // r1
const char *v8; // r0
int v9; // r8
_BOOL4 v10; // r7
int result; // r0
GJMultiplayerManager *v12; // [sp+0h] [bp-10h] BYREF
unsigned __int8 *v13; // [sp+4h] [bp-Ch]
int v14; // [sp+8h] [bp-8h]
int v15; // [sp+Ch] [bp-4h]
v12 = a1;
v13 = a2;
v14 = a3;
v15 = a4;
if ( (*(_BYTE *)a3 & 1) != 0 )
v7 = *(const char **)(a3 + 8);
else
v7 = (const char *)(a3 + 1);
GJMultiplayerManager::removeDLFromActive(a1, v7);
if ( (*(_BYTE *)a3 & 1) != 0 )
v8 = *(const char **)(a3 + 8);
else
v8 = (const char *)(a3 + 1);
v12 = nullptr;
v13 = nullptr;
v14 = 0;
v9 = atoi(v8);
std::string::__init((int *)&v12, "-1", 2u);
v10 = sub_641032(a2, (unsigned __int8 *)&v12);
result = std::string::~string((int)&v12);
if ( !v10 )
{
result = *((_DWORD *)a1 + 70);
if ( result )
return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 8))(result, v9);
}
return result;
}