//
// GauntletSelectLayer::loadLevelsFinished from 0x60d798 to 0x60d84a (178 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GauntletSelectLayer::loadLevelsFinished @ 0x60d858
//
// 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:49 +0000
//
int __fastcall GauntletSelectLayer::loadLevelsFinished(
GauntletSelectLayer *this,
cocos2d::CCArray *a2,
const char *a3,
int a4)
{
size_t v6; // r0
_BOOL4 v7; // r8
int result; // r0
int v9[3]; // [sp+4h] [bp-1Ch] BYREF
int v10[3]; // [sp+10h] [bp-10h] BYREF
memset(v9, 0, sizeof(v9));
v6 = strlen(a3);
std::string::__init(v9, a3, v6);
memset(v10, 0, sizeof(v10));
std::string::__init(v10, "get_gauntlets", 0xDu);
v7 = sub_60A05E((unsigned __int8 *)v9, (unsigned __int8 *)v10);
std::string::~string((int)v10);
result = std::string::~string((int)v9);
if ( v7 )
{
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 89) + 172))(*((_DWORD *)this + 89), 0);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 88) + 172))(*((_DWORD *)this + 88), 0);
GauntletSelectLayer::setupGauntlets(this);
GauntletSelectLayer::updateArrows(this);
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 86) + 172))(*((_DWORD *)this + 86), 1);
}
return result;
}