//
// GameStatsManager::isDailyRecall from 0x517ac4 to 0x517b36 (114 bytes)
//
// 8 xrefs:
// > LevelCell::recallChestReady @ 0x425392
// > LevelCell::loadCustomLevelCell @ 0x42ec4c
// > LevelCell::loadCustomLevelCell @ 0x43018c
// > LevelInfoLayer::updateLabelValues @ 0x49bdc2
// > GJGameLevel::levelHasDiamonds @ 0x4abc2e
// > GameStatsManager::unlockDailyRecall @ 0x523684
// > GameStatsManager::awardCurrencyForLevel @ 0x52a1fa
// > GameStatsManager::completedDailyLevel @ 0x52ae4c
//
// 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
//
bool __fastcall GameStatsManager::isDailyRecall(GameStatsManager *this, const char *a2)
{
int v2; // r6
cocos2d::CCString *v3; // r0
const char *CString; // r7
size_t v5; // r0
_BOOL4 v6; // r6
int v8[3]; // [sp+0h] [bp-14h] BYREF
if ( (int)a2 <= 0 )
return 0;
v2 = *((_DWORD *)this + 121);
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2);
memset(v8, 0, sizeof(v8));
CString = (const char *)cocos2d::CCString::getCString(v3);
v5 = strlen(CString);
std::string::__init(v8, CString, v5);
v6 = cocos2d::CCDictionary::objectForKey(v2, v8) != 0;
std::string::~string((int)v8);
return v6;
}