//
// LevelPickerPopup::loadLevelsFailed from 0x1400ea8f0 to 0x1400ea97a (138 bytes)
//
// 2 xrefs:
// > ??> @ 0x14072ced8
// > ??> @ 0x140914ed0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:26:34 +0000
//
void __fastcall LevelPickerPopup::loadLevelsFailed(__int64 a1, _BYTE *a2)
{
__int64 v3; // rax
const void *v4; // rcx
size_t v5; // r8
__int64 v6; // rcx
const char *v7; // rdx
if ( *(_BYTE *)(a1 + 32) )
{
if ( !a2 )
goto LABEL_10;
v3 = -1;
do
++v3;
while ( a2[v3] );
v4 = (const void *)(a1 + 64);
if ( *(_QWORD *)(a1 + 88) > 0xFu )
v4 = *(const void **)(a1 + 64);
v5 = *(_QWORD *)(a1 + 80);
if ( v5 == v3 && (!v5 || !memcmp(v4, a2, v5)) )
{
LABEL_10:
v6 = *(_QWORD *)(a1 - 80);
if ( v6 )
LoadingCircle::fadeAndRemove(v6);
v7 = "No levels found";
if ( *(_BYTE *)(a1 + 33) )
v7 = "No lists found";
PagedListPopup::showStatus(a1 - 776, v7);
}
}
}