//
// GameStatsManager::hasRewardBeenCollected from 0x1401e1a70 to 0x1401e1acf (95 bytes)
//
// 3 xrefs:
// > RewardsPage::rewardsStatusFinished @ 0x1403cd560
// > RewardsPage::rewardsStatusFinished @ 0x1403cd61b
// > ??> @ 0x1406cc534
//
// 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
//
// Hidden C++ exception states: #wind=1
bool GameStatsManager::hasRewardBeenCollected(GameStatsManager *a1, GJRewardType a2, int a3)
{
GameStatsManager *v3; // rbx
_QWORD *ItemKey; // rax
_QWORD v6[4]; // [rsp+20h] [rbp-38h] BYREF
v3 = a1;
ItemKey = GameStatsManager::getItemKey((__int64)a1, v6, a2, a3);
LOBYTE(v3) = cocos2d::CCDictionary::objectForKey(v3->m_dailyChests, ItemKey) != 0;
sub_14003A830((__int64)v6);
return (char)v3;
}