//
// RewardsPage::rewardsStatusFailed from 0x1403cd6e0 to 0x1403cd78e (174 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405cd4d8
// > ??> @ 0x1406d7bc8
//
// 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
//
// Hidden C++ exception states: #wind=1
void RewardsPage::rewardsStatusFailed(RewardsPage *a1)
{
float v1; // xmm3_4
__int64 v3; // rcx
__int64 v4; // rbx
struct cocos2d::CCDelayTime *v5; // rax
struct cocos2d::CCSequence *v6; // rax
cocos2d::ccColor3B *v7; // r8
float v8; // [rsp+20h] [rbp-8h]
void *v9; // [rsp+38h] [rbp+10h]
v3 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v9 = operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0((__int64)v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v3 = qword_1406C2EE8;
}
if ( !cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v3 + 528), 1) )
{
v4 = cocos2d::CCCallFunc::create(&a1[-1].m_fRotationX, RewardsPage::tryGetRewards);
v5 = cocos2d::CCDelayTime::create(1.0);
v6 = cocos2d::CCSequence::create(v5, v4, 0);
cocos2d::CCNode::runAction((CCLightFlash *)&a1[-1].m_fRotationX, (cocos2d::CCPoint)v6, v7, v1, v8);
}
}