//
// GameStatsManager::hasRewardBeenCollected from 0x5241dc to 0x524230 (84 bytes)
//
// 4 xrefs:
// > GameStatsManager::collectReward @ 0x52aa18
// > RewardsPage::updateTimers @ 0x616dd4
// > RewardsPage::updateTimers @ 0x616dea
// > RewardsPage::rewardsStatusFinished @ 0x619544
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:53 +0000
//
int __fastcall GameStatsManager::hasRewardBeenCollected(int a1, int a2, int a3)
{
int v3; // r7
int v4; // r6
int result; // r0
int v6[3]; // [sp+0h] [bp-14h] BYREF
v3 = *(_DWORD *)(a1 + 344);
GameStatsManager::getRewardKey(v6, a1, a2, a3);
v4 = cocos2d::CCDictionary::objectForKey(v3, v6);
std::string::~string((int)v6);
result = v4;
if ( v4 )
return 1;
return result;
}