//
// GameStatsManager::hasRewardBeenCollected from 0x1003334cc to 0x100333520 (84 bytes)
//
// 4 xrefs:
// > RewardsPage::updateTimers @ 0x1001c4744
// > RewardsPage::updateTimers @ 0x1001c4760
// > RewardsPage::rewardsStatusFinished @ 0x1001c4aec
// > GameStatsManager::collectReward @ 0x100333564
//
// 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
//
// local variable allocation has failed, the output may be wrong!
bool __fastcall GameStatsManager::hasRewardBeenCollected(GameStatsManager *a1, GJRewardType a2, int a3)
{
cocos2d::CCDictionary *m_dailyChests; // x19
__int64 v4; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v7; // [xsp+1Fh] [xbp-11h]
m_dailyChests = a1->m_dailyChests;
GameStatsManager::getRewardKey(*(__int64 *)&a2, *(__int64 *)&a3, __p);
v4 = cocos2d::CCDictionary::objectForKey_1(m_dailyChests, __p);
if ( v7 < 0 )
operator delete(__p[0]);
return v4 != 0;
}