//
// GameStatsManager::getDailyLevelKey from 0x40d988 to 0x40d9c0 (56 bytes)
//
// 5 xrefs:
// > GameStatsManager::storeEventChest @ 0x40d9ea
// > GameStatsManager::hasCompletedDailyLevel @ 0x40da3c
// > GameStatsManager::completedDailyLevel @ 0x42074c
// > GameStatsManager::completedDailyLevel @ 0x420794
// > GameStatsManager::completedDailyLevel @ 0x420810
//
// 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
//
GameStatsManager *__fastcall GameStatsManager::getDailyLevelKey(GameStatsManager *this, int a2, const char *a3)
{
cocos2d::CCString *v4; // r0
char *CString; // r0
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"d%i", a3);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_776584((int)this, CString);
return this;
}