//
// GJMultiplayerManager::onExitLobbyCompleted from 0x100266e5c to 0x100266f20 (196 bytes)
//
// 1 xrefs:
// > GJMultiplayerManager::handleIt @ 0x1002667ec
//
// This function is hookable on this platform (idp: arm, 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 11:01:41 +0000
//
__int64 (***__fastcall GJMultiplayerManager::onExitLobbyCompleted(__int64 a1, _QWORD *a2, const char *a3))(void)
{
const char *v3; // x20
const char *v6; // x1
_BOOL4 v7; // w21
__int64 (***result)(void); // x0
__int64 (**v9)(void); // x8
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v11; // [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;
atoi(v3);
sub_100009900(__p, "-1");
v7 = sub_1000045BC(a2, __p);
if ( v11 < 0 )
operator delete(__p[0]);
result = *(__int64 (****)(void))(a1 + 360);
if ( v7 )
{
if ( !result )
return result;
v9 = *result + 1;
}
else
{
if ( !result )
return result;
v9 = *result;
}
return (__int64 (***)(void))(*v9)();
}