//
// GauntletLayer::loadLevelsFinished from 0x10023383c to 0x1002338e8 (172 bytes)
//
// 2 xrefs:
// > sub_100233908 @ 0x10023390c
// > ??> @ 0x1007c6de0
//
// 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 GauntletLayer::loadLevelsFinished(GauntletLayer *a1, cocos2d::CCArray *a2, const char *a3, int a4)
{
bool v7; // w0
bool v8; // w21
void *__p[2]; // [xsp+0h] [xbp-50h] BYREF
char v10; // [xsp+17h] [xbp-39h]
void *v11[2]; // [xsp+18h] [xbp-38h] BYREF
char v12; // [xsp+2Fh] [xbp-21h]
GameLevelManager::sharedState();
GameLevelManager::getGauntletSearchKey(a1->m_gauntletType, v11);
sub_100009900(__p, (char *)a3);
v7 = sub_1000045BC(v11, __p);
v8 = v7;
if ( v10 < 0 )
{
operator delete(__p[0]);
if ( !v8 )
goto LABEL_6;
goto LABEL_5;
}
if ( v7 )
{
LABEL_5:
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_loadingCircle->setVisible)(a1->m_loadingCircle, 0);
GauntletLayer::setupGauntlet(a1, a2);
}
LABEL_6:
if ( v12 < 0 )
operator delete(v11[0]);
}