//
// GameLevelManager::getSavedDailyLevel from 0x3bf928 to 0x3bf97c (84 bytes)
//
// 5 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x331da6
// > GameLevelManager::getSavedLevel @ 0x3bfa32
// > GameStatsManager::getTotalCollectedCurrency @ 0x40dd70
// > DailyLevelPage::init @ 0x4d542a
// > DailyLevelPage::createNodeIfLoaded @ 0x4d56b4
//
// 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
//
GJGameLevel *GameLevelManager::getSavedDailyLevel(GameLevelManager *a1, int a2)
{
cocos2d::CCDictionary *m_dailyLevels; // r6
cocos2d::CCString *v3; // r0
char *CString; // r0
GJGameLevel *v5; // r6
std::string v7; // [sp+8h] [bp-8h] BYREF
m_dailyLevels = a1->m_dailyLevels;
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a2);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_776584((int)&v7, CString);
v5 = (GJGameLevel *)cocos2d::CCDictionary::objectForKey(m_dailyLevels, &v7);
sub_774008(&v7);
return v5;
}