//
// sub_10024BD40 from 0x10024bd40 to 0x10024be00 (192 bytes)
//
// 1 xrefs:
// > FRequestProfilePage::init @ 0x10024b4e0
//
// 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:29 +0000
//
void __fastcall sub_10024BD40(__int64 a1)
{
__int64 v2; // x0
char *v3; // x1
__int64 StoredOnlineLevels; // x0
__int64 v5; // x20
int v6; // w21
int v7; // w0
unsigned int *v8; // x9
__int64 v9; // x10
unsigned __int64 v10; // x9
unsigned __int64 v11; // x10
if ( (*(_BYTE *)(a1 + 880) & 1) == 0 )
{
v2 = GameLevelManager::sharedState();
v3 = (char *)(a1 + 712);
if ( *(char *)(a1 + 735) < 0 )
v3 = *(char **)v3;
StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, v3);
if ( StoredOnlineLevels )
{
v5 = StoredOnlineLevels;
if ( (unsigned int)sub_1002E757C(StoredOnlineLevels) )
{
v6 = sub_10024C5B4(a1);
v7 = sub_1002E757C(v5);
v8 = *(unsigned int **)(v5 + 56);
v9 = *v8;
if ( (_DWORD)v9 )
{
v10 = *((_QWORD *)v8 + 2);
v11 = v10 + 8 * v9 - 8;
do
{
if ( !*(_QWORD *)v10 )
break;
*(_BYTE *)(*(_QWORD *)v10 + 725LL) = v6 != v7;
v10 += 8LL;
}
while ( v10 <= v11 );
}
sub_10024C268(a1);
CustomListView::reloadAll(*(_QWORD *)(*(_QWORD *)(a1 + 784) + 544LL));
}
}
}
}