//
// RewardsPage::rewardsStatusFailed from 0x1001feea0 to 0x1001feeff (95 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ae4260
//
// 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:26:51 +0000
//
char __fastcall RewardsPage::rewardsStatusFailed(__int64 a1)
{
__int64 v1; // rax
char result; // al
int v3; // r14d
int v4; // eax
int v5; // ecx
int v6; // r8d
int v7; // r9d
__int64 v8; // rax
v1 = GameStatsManager::sharedState();
result = GameStatsManager::areRewardsLoaded(v1);
if ( !result )
{
v3 = cocos2d::CCDelayTime::create(1.0);
v4 = cocos2d::CCCallFunc::create(a1, RewardsPage::tryGetRewards, 0);
v8 = sub_10039EB60(v3, v4, 0, v5, v6, v7);
return cocos2d::CCNode::runAction(a1, v8);
}
return result;
}