//
// GameStatsManager::hasRewardBeenCollected from 0x100038080 to 0x1000380ce (78 bytes)
//
// 3 xrefs:
// > RewardsPage::updateTimers @ 0x1001fe7a2
// > RewardsPage::updateTimers @ 0x1001fe7c5
// > RewardsPage::rewardsStatusFinished @ 0x1001fec67
//
// This function is hookable on this platform (idp: pc, 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 12:19:32 +0000
//
bool __fastcall GameStatsManager::hasRewardBeenCollected(__int64 a1, __int64 a2, int a3)
{
__int64 v3; // rbx
__int64 v4; // rbx
size_t v6[5]; // [rsp+8h] [rbp-28h] BYREF
v3 = *(_QWORD *)(a1 + 480);
GameStatsManager::getRewardKey(v6, a2, a2, a3);
v4 = cocos2d::CCDictionary::objectForKey(v3, v6);
if ( (v6[0] & 1) != 0 )
operator delete((void *)v6[2]);
return v4 != 0;
}