//
// GameStatsManager::getDailyLevelKey from 0x516d28 to 0x516d56 (46 bytes)
//
// 5 xrefs:
// > GameStatsManager::storeEventChest @ 0x516d7e
// > GameStatsManager::hasCompletedDailyLevel @ 0x516dd2
// > GameStatsManager::completedDailyLevel @ 0x52aecc
// > GameStatsManager::completedDailyLevel @ 0x52af0c
// > GameStatsManager::completedDailyLevel @ 0x52af98
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:51:43 +0000
//
GameStatsManager *__fastcall GameStatsManager::getDailyLevelKey(GameStatsManager *this, int a2, const char *a3)
{
cocos2d::CCString *v4; // r0
const char *CString; // r0
const char *v6; // r5
size_t v7; // r0
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"d%i", a3);
CString = (const char *)cocos2d::CCString::getCString(v4);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
v6 = CString;
v7 = strlen(CString);
std::string::__init((int *)this, v6, v7);
return this;
}