//
// GameStatsManager::hasRewardBeenCollected from 0x1402e5450 to 0x1402e54af (95 bytes)
//
// 3 xrefs:
// > RewardsPage::rewardsStatusFinished @ 0x140562df6
// > RewardsPage::rewardsStatusFinished @ 0x140562eb7
// > ??> @ 0x14091df9c
//
// 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 11:29:50 +0000
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall GameStatsManager::hasRewardBeenCollected(__int64 a1, unsigned int a2, unsigned int a3)
{
__int64 v3; // rbx
_QWORD *ItemKey; // rax
_QWORD v6[4]; // [rsp+20h] [rbp-38h] BYREF
v3 = a1;
ItemKey = GameStatsManager::getItemKey(a1, v6, a2, a3);
LOBYTE(v3) = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(v3 + 536), ItemKey) != 0;
sub_14003D310((__int64)v6);
return (unsigned __int8)v3;
}