//
// LocalLevelManager::getCreatedLists from 0x10025eeb8 to 0x10025ef44 (140 bytes)
//
// 1 xrefs:
// > LevelBrowserLayer::loadPage @ 0x10049859c
//
// This function is hookable on this platform (idp: arm, 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:01:37 +0000
//
__int64 __fastcall LocalLevelManager::getCreatedLists(__int64 a1, int a2)
{
__int64 v4; // x19
__int64 v5; // x8
unsigned int *v6; // x9
__int64 v7; // x8
__int64 *v8; // x21
unsigned __int64 v9; // x22
__int64 v10; // x1
if ( a2 <= 0 )
return *(_QWORD *)(a1 + 368);
v4 = sub_1002E736C(a1);
v5 = *(_QWORD *)(a1 + 368);
if ( v5 )
{
v6 = *(unsigned int **)(v5 + 56);
v7 = *v6;
if ( (_DWORD)v7 )
{
v8 = *((__int64 **)v6 + 2);
v9 = (unsigned __int64)&v8[v7 - 1];
do
{
v10 = *v8;
if ( !*v8 )
break;
if ( *(_DWORD *)(v10 + 368) == a2 )
sub_1002E74E0(v4, v10);
++v8;
}
while ( (unsigned __int64)v8 <= v9 );
}
}
return v4;
}