//
// RewardsPage::rewardsStatusFailed from 0xa84d6c to 0xa84ddc (112 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'RewardsPage::rewardsStatusFailed @ 0xa84de0
// > ??> @ 0x971e0
// > ??> @ 0x1498830
//
// This function is hookable on this platform (idp: arm, 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 13:00:34 +0000
//
__int64 __fastcall RewardsPage::rewardsStatusFailed(RewardsPage *this)
{
cocos2d::CCDictionary **v2; // x0
__int64 result; // x0
cocos2d::CCSequence *v4; // x20
cocos2d::CCFiniteTimeAction *v5; // x0
cocos2d::CCAction *v6; // x0
v2 = (cocos2d::CCDictionary **)GameStatsManager::sharedState(this);
result = GameStatsManager::areRewardsLoaded(v2);
if ( !(_BYTE)result )
{
v4 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)result, 1.0);
v5 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, RewardsPage::tryGetRewards, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v4, v5, 0);
return cocos2d::CCNode::runAction(this, v6);
}
return result;
}