//
// sub_100099038 from 0x100099038 to 0x100099120 (232 bytes)
//
// 1 xrefs:
// > GameLevelManager::handleIt @ 0x100093b70
//
// 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:27 +0000
//
void __fastcall sub_100099038(__int64 a1, char *a2, char *__s)
{
__int64 v5; // x21
_BOOL4 v6; // w0
_BOOL4 v7; // w21
__int64 v8; // x0
__int64 v9; // x20
__int64 v10; // x0
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v12; // [xsp+1Fh] [xbp-21h]
v5 = *(_QWORD *)(a1 + 1088);
if ( __s[23] < 0 )
__s = *(char **)__s;
sub_100009900(__p, __s);
cocos2d::CCDictionary::removeObjectForKey(v5, (char *)__p);
if ( v12 < 0 )
operator delete(__p[0]);
sub_100009900(__p, "-1");
v6 = sub_1000045BC(a2, __p);
v7 = v6;
if ( v12 < 0 )
{
operator delete(__p[0]);
if ( v7 )
{
LABEL_7:
v8 = *(_QWORD *)(a1 + 1248);
if ( v8 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 32LL))(v8);
return;
}
}
else if ( v6 )
{
goto LABEL_7;
}
if ( a2[23] < 0 )
a2 = *(char **)a2;
v9 = *(_QWORD *)(a1 + 1248);
if ( v9 )
{
v10 = atoi(a2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 24LL))(v9, v10);
}
}