//
// sub_4AB62C from 0x4ab62c to 0x4ab660 (52 bytes)
//
// 4 xrefs:
// > GameLevelManager::getPlatformerSaveStats @ 0x4ab69a
// > GameLevelManager::getPlatformerSaveStats @ 0x4ab6a4
// > GameLevelManager::getPlatformerSaveStats @ 0x4ab6ae
// > GameLevelManager::getPlatformerSaveStats @ 0x4ab6b8
//
// 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:49:58 +0000
//
int __fastcall sub_4AB62C(int result, int a2)
{
int *v2; // r5
int v3; // r3
int v4; // r4
int v5; // r2
v2 = (int *)result;
if ( a2 )
{
v3 = *(_DWORD *)(a2 + 52);
if ( v3 )
v4 = *(_DWORD *)(v3 + 272);
else
v4 = 0;
while ( v3 )
{
result = sub_4AB5B0(*v2, *(GJGameLevel **)(v3 + 260));
if ( v4 )
v5 = *(_DWORD *)(v4 + 272);
else
v5 = 0;
v3 = v4;
v4 = v5;
}
}
return result;
}