//
// GameLevelManager::onRequestThreadMembersCompleted from 0x1000a4924 to 0x1000a4a40 (284 bytes)
//
// 1 xrefs:
// > GameLevelManager::handleIt @ 0x100094028
//
// 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 10:58:33 +0000
//
_QWORD *__fastcall GameLevelManager::onRequestThreadMembersCompleted(__int64 a1, std::string *a2, char *a3)
{
char *v3; // x21
__int64 v6; // x22
char *v7; // x1
std::string::size_type v8; // x0
int v9; // w21
_BOOL4 v10; // w0
_BOOL4 v11; // w22
_QWORD *result; // x0
__int64 v13; // x8
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v15; // [xsp+1Fh] [xbp-21h]
v3 = a3;
v6 = *(_QWORD *)(a1 + 1088);
v7 = a3;
if ( a3[23] < 0 )
v7 = *(char **)a3;
sub_100009900(__p, v7);
cocos2d::CCDictionary::removeObjectForKey(v6, (char *)__p);
if ( v15 < 0 )
operator delete(__p[0]);
v8 = std::string::find((const std::string *)v3, 95, 0);
if ( v8 == -1 )
{
v9 = 0;
}
else
{
if ( v3[23] < 0 )
v3 = *(char **)v3;
v9 = atoi(&v3[v8 + 1]);
}
sub_100009900(__p, "-1");
v10 = sub_1000045BC(a2, __p);
v11 = v10;
if ( v15 < 0 )
{
operator delete(__p[0]);
if ( v11 )
goto LABEL_12;
}
else if ( v10 )
{
LABEL_12:
result = *(_QWORD **)(a1 + 1264);
if ( !result )
return result;
v13 = 88;
return (_QWORD *)(*(__int64 (**)(void))(*result + v13))();
}
GameLevelManager::storeThreadManifest(a1, v9, a2);
result = *(_QWORD **)(a1 + 1264);
if ( !result )
return result;
v13 = 80;
return (_QWORD *)(*(__int64 (**)(void))(*result + v13))();
}