//
// GJLevelList::completedLevels from 0x100562fe0 to 0x10056302b (75 bytes)
//
// 4 xrefs:
// > GameStatsManager::claimListReward @ 0x100073caa
// > LevelListCell::loadFromList @ 0x10024562b
// > LevelListLayer::updateStatsArt @ 0x10035e287
// > LevelListLayer::onClaimReward @ 0x10035f026
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall GJLevelList::completedLevels(GJLevelList *a1)
{
int *begin; // r14
std::__vector_base::pointer end; // r15
int i; // ebx
GameStatsManager *v4; // rax
begin = a1->m_levels.__begin_;
end = a1->m_levels.__end_;
for ( i = 0; begin != end; ++begin )
{
v4 = GameStatsManager::sharedState();
i += GameStatsManager::hasCompletedOnlineLevel(v4, *begin);
}
return i;
}