//
// sub_10009BCE0 from 0x10009bce0 to 0x10009be8c (428 bytes)
//
// 1 xrefs:
// > GameLevelManager::handleIt @ 0x10009330c
//
// 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:28 +0000
//
void __fastcall sub_10009BCE0(__int64 a1, _QWORD *a2)
{
bool v4; // w0
bool v5; // w20
__int64 v6; // x0
char *CString; // x0
void **v8; // x1
__int64 v9; // x0
char *v10; // x0
void **v11; // x1
__int64 v12; // x0
char *v13; // x0
void **v14; // x1
__int64 v15; // x0
char *v16; // x0
void **v17; // x1
void *__p[2]; // [xsp+18h] [xbp-28h] BYREF
char v19; // [xsp+2Fh] [xbp-11h]
sub_100009900(__p, "-1");
v4 = sub_1000045BC(a2, __p);
v5 = v4;
if ( v19 < 0 )
{
operator delete(__p[0]);
if ( v5 )
return;
}
else if ( v4 )
{
return;
}
v6 = sub_1003065B0("lb_%i_%i", 1, 0);
CString = (char *)cocos2d::CCString::getCString(v6);
sub_100009900(__p, CString);
if ( v19 >= 0 )
v8 = __p;
else
v8 = (void **)__p[0];
sub_1000ADE4C(a1, v8);
if ( v19 < 0 )
operator delete(__p[0]);
v9 = sub_1003065B0("lb_%i_%i", 1, 1);
v10 = (char *)cocos2d::CCString::getCString(v9);
sub_100009900(__p, v10);
if ( v19 >= 0 )
v11 = __p;
else
v11 = (void **)__p[0];
sub_1000ADE4C(a1, v11);
if ( v19 < 0 )
operator delete(__p[0]);
v12 = sub_1003065B0("lb_%i_%i", 1, 2);
v13 = (char *)cocos2d::CCString::getCString(v12);
sub_100009900(__p, v13);
if ( v19 >= 0 )
v14 = __p;
else
v14 = (void **)__p[0];
sub_1000ADE4C(a1, v14);
if ( v19 < 0 )
operator delete(__p[0]);
v15 = sub_1003065B0("lb_%i_%i", 1, 3);
v16 = (char *)cocos2d::CCString::getCString(v15);
sub_100009900(__p, v16);
if ( v19 >= 0 )
v17 = __p;
else
v17 = (void **)__p[0];
sub_1000ADE4C(a1, v17);
if ( v19 < 0 )
operator delete(__p[0]);
}