//
// LevelBrowserLayer::loadLevelsFailed from 0x1402cc550 to 0x1402cc59b (75 bytes)
//
// 3 xrefs:
// > ??> @ 0x140585248
// > ??> @ 0x14058a2b8
// > ??> @ 0x1406d2cb4
//
// 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
//
// Merged with: LevelBrowserLayer::loadLevelsFailed, LevelListLayer::loadLevelsFailed
char __fastcall LevelBrowserLayer::loadLevelsFailed(__int64 a1, const char *a2)
{
char result; // al
__int64 v4; // rdx
__int64 v5; // rcx
result = LevelBrowserLayer::isCorrect((LevelBrowserLayer *)(a1 - 544), a2);
if ( result )
{
result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 192) + 320LL))(*(_QWORD *)(a1 + 192), 0);
v5 = *(_QWORD *)(a1 + 104);
if ( v5 )
{
LOBYTE(v4) = 1;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 320LL))(v5, v4);
}
}
return result;
}