//
// LevelListLayer::verifyListName from 0x6d80fc to 0x6d81ac (176 bytes)
//
// 1 xrefs:
// > LevelListLayer::onBack @ 0x6d81ee
//
// 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:57:08 +0000
//
int __fastcall LevelListLayer::verifyListName(LevelListLayer *this)
{
int v2; // r5
int result; // r0
int v4; // r5
int v5; // r7
int v6; // [sp+0h] [bp-14h] BYREF
int v7; // [sp+4h] [bp-10h]
int v8; // [sp+8h] [bp-Ch]
std::string::basic_string(&v6, *((_DWORD *)this + 160) + 348);
if ( (v6 & 1) != 0 )
v2 = v7;
else
v2 = (int)(unsigned __int8)v6 >> 1;
result = std::string::~string((int)&v6);
if ( !v2 )
{
std::string::basic_string(&v6, *((_DWORD *)this + 160) + 360);
if ( (v6 & 1) != 0 )
v4 = v7;
else
v4 = (int)(unsigned __int8)v6 >> 1;
std::string::~string((int)&v6);
v5 = *((_DWORD *)this + 160);
if ( v4 )
{
std::string::basic_string(&v6, v5 + 360);
}
else
{
v6 = 0;
v7 = 0;
v8 = 0;
std::string::__init(&v6, "Unknown", 7u);
}
std::string::operator=((unsigned __int8 *)(v5 + 348), (unsigned __int8 *)&v6);
return std::string::~string((int)&v6);
}
return result;
}