//
// GauntletLayer::loadLevelsFinished from 0x60f284 to 0x60f314 (144 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GauntletLayer::loadLevelsFinished @ 0x60f31c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:50 +0000
//
int __fastcall GauntletLayer::loadLevelsFinished(const char **this, cocos2d::CCArray *a2, const char *a3, int a4)
{
int v7; // r0
size_t v8; // r0
_BOOL4 v9; // r9
unsigned __int8 v11[12]; // [sp+4h] [bp-Ch] BYREF
int v12[3]; // [sp+10h] [bp+0h] BYREF
v7 = GameLevelManager::sharedState((GameLevelManager *)this);
GameLevelManager::getGauntletSearchKey((GameLevelManager *)v11, v7, *(this + 82));
memset(v12, 0, sizeof(v12));
v8 = strlen(a3);
std::string::__init(v12, a3, v8);
v9 = sub_60DA42(v11, (unsigned __int8 *)v12);
std::string::~string((int)v12);
if ( v9 )
{
(*(void (__fastcall **)(_DWORD, _DWORD))(*(_DWORD *)*(this + 81) + 172))(*(this + 81), 0);
GauntletLayer::setupGauntlet((int)this, a2);
}
return std::string::~string((int)v11);
}