//
// GameLevelManager::onBanUserCompleted from 0x10008e9cc to 0x10008eb78 (428 bytes)
//
// 1 xrefs:
// > GameLevelManager::handleIt @ 0x100089938
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GameLevelManager::onBanUserCompleted(GameLevelManager *a1, _QWORD *a2)
{
bool v4; // w0
bool v5; // w20
cocos2d::CCString *v6; // x0
char *CString; // x0
void **v8; // x1
cocos2d::CCString *v9; // x0
char *v10; // x0
void **v11; // x1
cocos2d::CCString *v12; // x0
char *v13; // x0
void **v14; // x1
cocos2d::CCString *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 = (cocos2d::CCString *)sub_100268F4C("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];
GameLevelManager::resetTimerForKey(a1, (const char *)v8);
if ( v19 < 0 )
operator delete(__p[0]);
v9 = (cocos2d::CCString *)sub_100268F4C("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];
GameLevelManager::resetTimerForKey(a1, (const char *)v11);
if ( v19 < 0 )
operator delete(__p[0]);
v12 = (cocos2d::CCString *)sub_100268F4C("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];
GameLevelManager::resetTimerForKey(a1, (const char *)v14);
if ( v19 < 0 )
operator delete(__p[0]);
v15 = (cocos2d::CCString *)sub_100268F4C("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];
GameLevelManager::resetTimerForKey(a1, (const char *)v17);
if ( v19 < 0 )
operator delete(__p[0]);
}