//
// GameStatsManager::hasRewardBeenCollected from 0x1000725a0 to 0x1000725ee (78 bytes)
//
// 3 xrefs:
// > RewardsPage::updateTimers @ 0x10021b19d
// > RewardsPage::updateTimers @ 0x10021b1c0
// > RewardsPage::rewardsStatusFinished @ 0x10021b5a7
//
// 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)
{
double v3; // xmm0_8
cocos2d::CCDictionary *m_dailyChests; // rbx
__int64 v5; // rbx
size_t v7[5]; // [rsp+8h] [rbp-28h] BYREF
m_dailyChests = a1->m_dailyChests;
GameStatsManager::getRewardKey(v7, v3, *(__int64 *)&a2, a2, a3);
v5 = cocos2d::CCDictionary::objectForKey_1(m_dailyChests, v7);
if ( (v7[0] & 1) != 0 )
operator delete((void *)v7[2]);
return v5 != 0;
}