//
// sub_10002C908 from 0x10002c908 to 0x10002c950 (72 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::setupProgressBars @ 0x10002b740
//
// 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 10:57:29 +0000
//
__int64 __fastcall sub_10002C908(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 SavedLevel_1; // x0
__int64 v4; // x0
if ( (*(_BYTE *)(result + 488) & 1) == 0 )
{
v1 = result;
v2 = GameLevelManager::sharedState(result);
SavedLevel_1 = GameLevelManager::getSavedLevel_1(v2, *(_QWORD *)(v1 + 504));
if ( !SavedLevel_1 )
SavedLevel_1 = *(_QWORD *)(v1 + 504);
v4 = DeathTrackerPopup::create(SavedLevel_1);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
return result;
}