//
// GameStatsManager::hasCompletedDailyStars from 0x1003d2890 to 0x1003d2904 (116 bytes)
//
// 8 xrefs:
// > sub_1000A79F0 @ 0x1000a7a24
// > LevelCell::loadCustomLevelCell @ 0x1001338cc
// > LevelCell::loadCustomLevelCell @ 0x100133df4
// > LevelCell::loadCustomLevelCell @ 0x100134b64
// > LevelCell::loadCustomLevelCell @ 0x100135874
// > LevelCell::recallChestReady @ 0x10013645c
// > GameManager::recountUserStats @ 0x1003b6fac
// > GameStatsManager::completedDailyLevel @ 0x1003d2550
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:04:11 +0000
//
bool __fastcall GameStatsManager::hasCompletedDailyStars(__int64 a1, int a2)
{
__int64 v2; // x19
void *v3; // x0
char *CString; // x0
__int64 v5; // x19
void *__p[2]; // [xsp+18h] [xbp-28h] BYREF
char v8; // [xsp+2Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 608);
v3 = sub_1003065B0("%s%i", "dstar_", a2);
CString = (char *)cocos2d::CCString::getCString((__int64)v3);
sub_100009900(__p, CString);
v5 = cocos2d::CCDictionary::objectForKey(v2, __p);
if ( v8 < 0 )
operator delete(__p[0]);
return v5 != 0;
}