//
// LevelBrowserLayer::recallCell from 0x7f61bc to 0x7f6240 (132 bytes)
//
// 2 xrefs:
// > LevelBrowserLayer::FLAlert_Clicked @ 0x7fc8bc
// > ??> @ 0x103df8
//
// 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 12:54:38 +0000
//
__int64 __fastcall LevelBrowserLayer::recallCell(LevelBrowserLayer *this, int a2)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x2
__int64 result; // x0
unsigned int *v7; // x2
unsigned int v8; // w3
__int64 *v9; // x2
__int64 *v10; // x4
__int64 v11; // x3
v2 = *((_QWORD *)this + 76);
if ( !v2 )
return 0;
v3 = *(_QWORD *)(v2 + 544);
if ( !v3 )
return 0;
v4 = *(_QWORD *)(v3 + 424);
if ( !v4 )
return 0;
v5 = *(_QWORD *)(v4 + 592);
result = 0;
if ( v5 )
{
v7 = *(unsigned int **)(v5 + 56);
v8 = *v7;
if ( *v7 )
{
v9 = *((__int64 **)v7 + 2);
v10 = &v9[v8 - 1];
if ( v9 <= v10 )
{
v11 = *v9;
if ( *v9 )
{
while ( *(_DWORD *)(*(_QWORD *)(v11 + 560) + 1292LL) != a2 )
{
if ( v10 >= ++v9 )
{
v11 = *v9;
if ( *v9 )
continue;
}
return 0;
}
return v11;
}
}
}
}
return result;
}