//
// RewardsPage::rewardsStatusFailed from 0x616aa0 to 0x616aec (76 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'RewardsPage::rewardsStatusFailed @ 0x616af4
//
// 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:54:56 +0000
//
int __fastcall RewardsPage::rewardsStatusFailed(RewardsPage *this)
{
cocos2d::CCDictionary **v2; // r0
int result; // r0
float v4; // r1
cocos2d::CCSequence *v5; // r6
cocos2d::CCFiniteTimeAction *v6; // r0
int v7; // r3
cocos2d::CCAction *v8; // r0
v2 = (cocos2d::CCDictionary **)GameStatsManager::sharedState(this);
result = GameStatsManager::areRewardsLoaded(v2);
if ( !result )
{
v5 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3F800000, v4);
v6 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, RewardsPage::tryGetRewards, 0);
v8 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v5, v6, 0, v7, RewardsPage::tryGetRewards, 0);
return cocos2d::CCNode::runAction(this, v8);
}
return result;
}