//
// GameLevelManager::hasRatedLevelStars from 0x3c11f4 to 0x3c1244 (80 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::updateSideButtons @ 0x3b2b84
// > GameLevelManager::rateStars @ 0x3d0446
//
// 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
//
bool GameLevelManager::hasRatedLevelStars(GameLevelManager *a1, int a2)
{
cocos2d::CCDictionary *m_ratedLevels; // r6
char *RateStarsKey; // r0
int v4; // r6
bool result; // r0
std::string v6; // [sp+8h] [bp-8h] BYREF
m_ratedLevels = a1->m_ratedLevels;
RateStarsKey = (char *)GameLevelManager::getRateStarsKey(a1, a2);
sub_776584((int)&v6, RateStarsKey);
v4 = cocos2d::CCDictionary::objectForKey(m_ratedLevels, &v6);
sub_774008(&v6);
result = v4;
if ( v4 )
return 1;
return result;
}