//
// GameManager::verifyStarUnlocks from 0x1003635d0 to 0x100363626 (86 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:28:56 +0000
//
void __fastcall GameManager::verifyStarUnlocks(__m128 a1)
{
unsigned int i; // ebx
__int64 v2; // rax
__int64 MainLevel; // r14
__int64 v4; // rax
__int64 v5; // rax
for ( i = 1; i != 23; ++i )
{
v2 = GameLevelManager::sharedState(*(double *)a1.i64);
MainLevel = GameLevelManager::getMainLevel(v2, i, 0);
v4 = GameStatsManager::sharedState();
if ( GameStatsManager::hasCompletedLevel(v4, MainLevel) )
{
v5 = GameStatsManager::sharedState();
GameStatsManager::completedStarLevel(v5, MainLevel, a1);
}
}
}