//
// LevelListLayer::verifyListName from 0x10034b3a0 to 0x10034b527 (391 bytes)
//
// 1 xrefs:
// > LevelListLayer::onBack @ 0x10034b215
//
// 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 12:28:47 +0000
//
void __fastcall LevelListLayer::verifyListName(__int64 a1)
{
__int64 v1; // rax
__int128 *v2; // rax
char v3; // al
__int64 v4; // r14
__int64 v5; // rax
__int128 *v6; // rax
char v7; // al
__int64 v8; // r14
void **p_data; // r14
std::string *v10; // rdi
std::string *v11; // rbx
std::string v12; // [rsp+0h] [rbp-60h] BYREF
std::string __str; // [rsp+18h] [rbp-48h] BYREF
__int128 v14; // [rsp+30h] [rbp-30h] BYREF
void *__p; // [rsp+40h] [rbp-20h]
v1 = *(_QWORD *)(a1 + 912);
if ( (*(_BYTE *)(v1 + 432) & 1) != 0 )
{
sub_10001AD30(&v14, *(const void **)(v1 + 448), *(_QWORD *)(v1 + 440));
v3 = v14;
if ( (v14 & 1) != 0 )
{
LABEL_3:
v4 = *((_QWORD *)&v14 + 1);
operator delete(__p);
if ( v4 )
return;
goto LABEL_7;
}
}
else
{
v2 = (__int128 *)(v1 + 432);
__p = *((void **)v2 + 2);
v14 = *v2;
v3 = v14;
if ( (v14 & 1) != 0 )
goto LABEL_3;
}
if ( v3 )
return;
LABEL_7:
v5 = *(_QWORD *)(a1 + 912);
if ( (*(_BYTE *)(v5 + 456) & 1) != 0 )
{
sub_10001AD30(&v14, *(const void **)(v5 + 472), *(_QWORD *)(v5 + 464));
v7 = v14;
if ( (v14 & 1) != 0 )
{
LABEL_9:
v8 = *((_QWORD *)&v14 + 1);
operator delete(__p);
if ( !v8 )
goto LABEL_10;
goto LABEL_14;
}
}
else
{
v6 = (__int128 *)(v5 + 456);
__p = *((void **)v6 + 2);
v14 = *v6;
v7 = v14;
if ( (v14 & 1) != 0 )
goto LABEL_9;
}
if ( !v7 )
{
LABEL_10:
p_data = (void **)&__str.__r_.__value_.__l.__data_;
v10 = (std::string *)(*(_QWORD *)(a1 + 912) + 432LL);
__str.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)14;
strcpy(__str.__r_.__value_.__s.__data_, "Unknown");
std::string::operator=(v10, &__str);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 )
return;
LABEL_18:
operator delete(*p_data);
return;
}
LABEL_14:
v11 = *(std::string **)(a1 + 912);
if ( (*(_BYTE *)&v11[19].__r_.__value_.__s.0 & 1) != 0 )
sub_10001AD30(&v12, v11[19].__r_.__value_.__l.__data_, v11[19].__r_.__value_.__l.__size_);
else
v12 = v11[19];
p_data = (void **)&v12.__r_.__value_.__l.__data_;
std::string::operator=(v11 + 18, &v12);
if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) != 0 )
goto LABEL_18;
}