//
// GameStatsManager::hasRewardBeenCollected from 0x4199dc to 0x419a2e (82 bytes)
//
// 4 xrefs:
// > GameStatsManager::collectReward @ 0x41c756
// > RewardsPage::updateTimers @ 0x4e6dce
// > RewardsPage::updateTimers @ 0x4e6de6
// > RewardsPage::rewardsStatusFinished @ 0x4e9cd0
//
// 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
//
bool GameStatsManager::hasRewardBeenCollected(GameStatsManager *a1, GJRewardType a2, int a3)
{
cocos2d::CCDictionary *m_dailyChests; // r7
int v4; // r6
bool result; // r0
std::string v6[3]; // [sp+0h] [bp-Ch] BYREF
v6[0].m_data.m_data = (stl::StringData::Internal *)a1;
v6[1].m_data.m_data = (stl::StringData::Internal *)a2;
v6[2].m_data.m_data = (stl::StringData::Internal *)a3;
m_dailyChests = a1->m_dailyChests;
GameStatsManager::getRewardKey((int)v6, (int)a1, a2, a3);
v4 = cocos2d::CCDictionary::objectForKey(m_dailyChests, v6);
sub_774008(v6);
result = v4;
if ( v4 )
return 1;
return result;
}