//
// RewardsPage::show from 0x616af8 to 0x616baa (178 bytes)
//
// 0 xrefs:
//
// 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::show(GameToolbox **this)
{
float v3; // r6
float v4; // r2
cocos2d::CCEaseElasticOut *v5; // r0
float v6; // r2
cocos2d::CCAction *v7; // r0
cocos2d::CCDirector *v8; // r0
cocos2d::CCScene *v9; // r5
cocos2d::CCScene *v10; // r0
int v11; // r0
unsigned __int8 v12; // r2
cocos2d::CCAction *v13; // r0
if ( *((_BYTE *)this + 468) )
return FLAlertLayer::show(this);
v3 = COERCE_FLOAT((*((int (__fastcall **)(GameToolbox **))*this + 144))(this));
(*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 115) + 80))(*(this + 115), 1036831949);
v5 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3E99999A, 1.0, v4);
v7 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v5, (cocos2d::CCActionInterval *)0x3FCCCCCD, v6);
v8 = (cocos2d::CCDirector *)cocos2d::CCNode::runAction(*(this + 115), v7);
v9 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v8) + 220);
v10 = *(this + 113);
if ( !v10 )
{
if ( (int)cocos2d::CCScene::getHighestChildZ(v9) <= 104 )
v11 = 105;
else
v11 = cocos2d::CCScene::getHighestChildZ(v9) + 1;
*(this + 116) = (GameToolbox *)v11;
v10 = v9;
}
if ( !*(this + 116) )
*(this + 116) = (GameToolbox *)(&dword_68 + 1);
(*(void (__fastcall **)(cocos2d::CCScene *, GameToolbox **, _DWORD))(*(_DWORD *)v10 + 232))(v10, this, *(this + 116));
(*((void (__fastcall **)(GameToolbox **, _DWORD))*this + 146))(this, 0);
v13 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E0F5C29, v3, v12);
cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v13);
return (*((int (__fastcall **)(GameToolbox **, int))*this + 43))(this, 1);
}