//
// GauntletSelectLayer::loadLevelsFailed from 0x60b670 to 0x60b716 (166 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GauntletSelectLayer::loadLevelsFailed @ 0x60b724
//
// 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:48 +0000
//
int __fastcall GauntletSelectLayer::loadLevelsFailed(GauntletSelectLayer *this, const char *a2, int a3)
{
size_t v5; // r0
_BOOL4 v6; // r8
int result; // r0
int v8[3]; // [sp+4h] [bp-1Ch] BYREF
int v9[3]; // [sp+10h] [bp-10h] BYREF
memset(v8, 0, sizeof(v8));
v5 = strlen(a2);
std::string::__init(v8, a2, v5);
memset(v9, 0, sizeof(v9));
std::string::__init(v9, "get_gauntlets", 0xDu);
v6 = sub_60A05E((unsigned __int8 *)v8, (unsigned __int8 *)v9);
std::string::~string((int)v9);
result = std::string::~string((int)v8);
if ( v6 )
{
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 89) + 172))(*((_DWORD *)this + 89), 0);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 88) + 172))(*((_DWORD *)this + 88), 1);
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 86) + 172))(*((_DWORD *)this + 86), 1);
}
return result;
}