//
// sub_1003B0BB8 from 0x1003b0bb8 to 0x1003b0c10 (88 bytes)
//
// 1 xrefs:
// > GameManager::dataLoaded @ 0x1003b97c8
//
// 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:03:53 +0000
//
__int64 sub_1003B0BB8()
{
__int64 v0; // x19
__int64 v1; // x0
__int64 MainLevel; // x20
__int64 v3; // x0
__int64 result; // x0
__int64 v5; // x0
v0 = 1;
do
{
v1 = GameLevelManager::sharedState();
MainLevel = GameLevelManager::getMainLevel(v1, v0, 0);
v3 = GameStatsManager::sharedState(MainLevel);
result = GameStatsManager::hasCompletedLevel(v3, MainLevel);
if ( (_DWORD)result )
{
v5 = GameStatsManager::sharedState(result);
result = sub_1003CEEC0(v5, MainLevel);
}
v0 = (unsigned int)(v0 + 1);
}
while ( (_DWORD)v0 != 23 );
return result;
}