//
// RewardsPage::init from 0x1403cc490 to 0x1403cd341 (3761 bytes)
//
// 5 xrefs:
// > MenuLayer::onDaily @ 0x14033518e
// > MenuLayer::onDaily @ 0x140335195
// > MenuLayer::onDaily @ 0x14033517f
// > ??> @ 0x1405cd688
// > ??> @ 0x1406d7ba4
//
// 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=15
bool RewardsPage::init(RewardsPage *a1)
{
__int64 v2; // rax
cocos2d::CCTouchDispatcher *v3; // rax
bool result; // al
_BOOL8 v5; // rdx
_BOOL8 v6; // rdx
__int64 v7; // rcx
cocos2d::CCDirector *v8; // rax
cocos2d::CCLayer *v9; // rax
struct cocos2d::CCRect *v10; // rax
struct cocos2d::extension::CCScale9Sprite *v11; // rdi
__int64 v12; // rdx
cocos2d::extension::CCScale9Sprite_vtbl *v13; // rbx
const cocos2d::CCSize *v14; // rax
float v15; // xmm0_4
cocos2d::extension::CCScale9Sprite_vtbl *v16; // rbx
const cocos2d::CCPoint *v17; // rax
struct cocos2d::CCSprite *v18; // rdi
float v19; // xmm0_4
cocos2d::CCSprite_vtbl *v20; // rbx
double v21; // xmm0_8
const cocos2d::CCPoint *v22; // rax
int i; // r14d
struct cocos2d::CCSprite *v24; // rdi
float v25; // xmm6_4
cocos2d::CCSprite_vtbl *v26; // rbx
const cocos2d::CCPoint *v27; // rax
struct cocos2d::CCSprite *v28; // rbx
CCMenuItemSpriteExtra *v29; // rdi
CCMenuItemSpriteExtra_vtbl *v30; // rbx
struct cocos2d::CCPoint v31; // rax
__int64 v32; // rcx
__int64 v33; // rcx
__int64 v34; // rcx
__int64 v35; // rcx
__int64 v36; // rcx
__int64 v37; // rcx
CCLightFlash *v38; // r14
CCMenuItemSpriteExtra *v39; // rdi
float v40; // xmm0_4
CCMenuItemSpriteExtra_vtbl *v41; // rbx
struct cocos2d::CCPoint v42; // rax
struct cocos2d::CCScaleTo *v43; // rax
struct cocos2d::CCEaseInOut *v44; // rbx
struct cocos2d::CCScaleTo *v45; // rax
struct cocos2d::CCEaseInOut *v46; // rax
struct cocos2d::CCSequence *v47; // rax
struct cocos2d::CCRepeatForever *v48; // rax
cocos2d::ccColor3B *v49; // r8
float v50; // xmm0_4
cocos2d::CCLabelBMFont *v51; // rax
float v52; // xmm0_4
cocos2d::CCLabelBMFont *v53; // rax
float v54; // xmm0_4
cocos2d::CCString *v55; // rax
const char *CString; // rax
struct cocos2d::CCSprite *v57; // rdi
CCMenuItemSpriteExtra *v58; // rax
CCMenuItemSpriteExtra *v59; // rbx
float v60; // xmm0_4
CCMenuItemSpriteExtra_vtbl *v61; // rbx
struct cocos2d::CCPoint v62; // rax
cocos2d::CCString *v63; // rax
const char *v64; // rax
struct cocos2d::CCSprite *v65; // r14
CCMenuItemSpriteExtra *v66; // rax
CCMenuItemSpriteExtra *v67; // rbx
void **p_m_capacity; // rcx
float v69; // xmm0_4
CCMenuItemSpriteExtra_vtbl *v70; // rbx
struct cocos2d::CCPoint v71; // rax
__int64 v72; // rax
__int64 v73; // rcx
GameLevelManager *v74; // rcx
float v75; // [rsp+28h] [rbp-E0h]
char Src[15]; // [rsp+38h] [rbp-D0h] BYREF
char v77; // [rsp+47h] [rbp-C1h]
__int64 v78; // [rsp+48h] [rbp-C0h]
__int64 v79; // [rsp+50h] [rbp-B8h]
char v80[16]; // [rsp+58h] [rbp-B0h] BYREF
__int64 v81; // [rsp+68h] [rbp-A0h]
__int64 v82; // [rsp+70h] [rbp-98h]
cocos2d::CCRect *v83; // [rsp+78h] [rbp-90h] BYREF
struct cocos2d::CCPoint v84; // [rsp+80h] [rbp-88h] BYREF
cocos2d::CCRect v85; // [rsp+88h] [rbp-80h] BYREF
__int64 v86; // [rsp+98h] [rbp-70h]
__int64 v87; // [rsp+A0h] [rbp-68h]
__int128 v88; // [rsp+A8h] [rbp-60h] BYREF
__int64 v89; // [rsp+B8h] [rbp-50h]
__int64 v90; // [rsp+C0h] [rbp-48h]
__int128 v91; // [rsp+C8h] [rbp-40h] BYREF
__int64 v92; // [rsp+D8h] [rbp-30h]
__int64 v93; // [rsp+E0h] [rbp-28h]
__int128 v94; // [rsp+E8h] [rbp-20h] BYREF
__int64 v95; // [rsp+F8h] [rbp-10h]
__int64 v96; // [rsp+100h] [rbp-8h]
__int128 v97; // [rsp+108h] [rbp+0h] BYREF
__int64 v98; // [rsp+118h] [rbp+10h]
__int64 v99; // [rsp+120h] [rbp+18h]
__int128 v100; // [rsp+128h] [rbp+20h] BYREF
__int64 v101; // [rsp+138h] [rbp+30h]
__int64 v102; // [rsp+140h] [rbp+38h]
char *v103; // [rsp+1F8h] [rbp+F0h] BYREF
float v104; // [rsp+200h] [rbp+F8h]
char v105; // [rsp+208h] [rbp+100h] BYREF
struct cocos2d::CCPoint v106; // [rsp+210h] [rbp+108h] BYREF
if ( !a1->m_forcePrioRegistered )
{
a1->m_forcePrioRegistered = 1;
v2 = cocos2d::CCDirector::sharedDirector(a1);
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);
cocos2d::CCTouchDispatcher::registerForcePrio(v3, a1, 2);
}
LODWORD(v103) = -1778384896;
result = cocos2d::CCLayerColor::initWithColor(a1, (const struct cocos2d::_ccColor4B *)&v103);
if ( result )
{
LOBYTE(v5) = 1;
a1->setTouchEnabled(a1, v5);
LOBYTE(v6) = 1;
a1->setKeypadEnabled(a1, v6);
v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7);
cocos2d::CCDirector::getWinSize(v8);
v9 = (cocos2d::CCLayer *)cocos2d::CCLayer::create();
a1->m_mainLayer = v9;
a1->addChild_1(a1, v9);
cocos2d::CCRect::CCRect(&v85, 0.0, 0.0, 80.0, 80.0);
v11 = cocos2d::extension::CCScale9Sprite::create("GJ_square02.png", v10);
LOBYTE(v12) = -1;
v11->setOpacity(&v11->cocos2d::CCRGBAProtocol, v12);
v13 = v11->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v103, 340.0, 220.0);
v13->setContentSize(v11, v14);
v15 = ((float (__fastcall *)(cocos2d::CCLayer *, struct cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v11,
0xFFFFFFFFLL);
v16 = v11->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint(v15, v104 * 0.5);
v16->setPosition_0(v11, v17);
v18 = cocos2d::CCSprite::createWithSpriteFrameName("rewardsLabel_001.png");
v19 = ((float (__fastcall *)(cocos2d::CCLayer *, struct cocos2d::CCSprite *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v18,
20);
v20 = v18->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v21 = cocos2d::CCPoint::CCPoint(v19, v104 * 0.5);
v20->setPosition_0(v18, v22);
for ( i = 0; i < 4; ++i )
{
v24 = cocos2d::CCSprite::createWithSpriteFrameName("rewardCorner_001.png");
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v24, 8);
v25 = 145.0;
if ( i )
{
switch ( i )
{
case 1:
v25 = -145.0;
cocos2d::CCSprite::setFlipY(v24, 1);
break;
case 2:
cocos2d::CCSprite::setFlipX(v24, 1);
cocos2d::CCSprite::setFlipY(v24, 1);
break;
case 3:
cocos2d::CCSprite::setFlipX(v24, 1);
break;
}
}
else
{
v25 = -145.0;
}
v26 = v24->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v21 = cocos2d::CCPoint::CCPoint(*(float *)&v21, (float)(v104 * 0.5) + v25);
v26->setPosition_0(v24, v27);
}
a1->m_joystickConnected = -1;
v28 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_closeBtn_001.png");
v103 = (char *)operator new(0x208u);
v29 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((CCMenuItemSpriteExtra *)v103);
if ( v29 )
{
if ( CCMenuItemSpriteExtra::init(v29, v28, nullptr, a1, (cocos2d::SEL_MenuHandler *)AudioAssetsBrowser::onClose) )
{
cocos2d::CCObject::autorelease(v29);
goto LABEL_19;
}
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v29->~CCMenuItemSpriteExtra)(v29, 1);
}
v29 = nullptr;
LABEL_19:
HIDWORD(v29->m_pfnSelector.adj) = 1070386381;
a1->m_buttonMenu = cocos2d::CCMenu::create(v29, 0);
v30 = v29->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint(*(float *)&v21, (float)((float)(v104 * 0.5) - 170.0) + 10.0);
v31 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, &v106);
((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v30->setPosition_0)(v29, v31);
v83 = &v85;
v85 = 0;
v86 = 4;
v87 = 15;
strcpy((char *)&v85, "0007");
v32 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v84 = (struct cocos2d::CCPoint)operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0(*(_QWORD *)&v84);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v32 = qword_1406C2EE8;
}
if ( GameStatsManager::isSpecialChestUnlocked(v32, &v85) )
{
v103 = (char *)&v88;
v88 = 0;
v89 = 4;
v90 = 15;
strcpy((char *)&v88, "0008");
v33 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v106 = (struct cocos2d::CCPoint)operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0(*(_QWORD *)&v106);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v33 = qword_1406C2EE8;
}
if ( GameStatsManager::isSpecialChestUnlocked(v33, &v88) )
{
v103 = (char *)&v91;
v91 = 0;
v92 = 4;
v93 = 15;
strcpy((char *)&v91, "0009");
v34 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v106 = (struct cocos2d::CCPoint)operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0(*(_QWORD *)&v106);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v34 = qword_1406C2EE8;
}
if ( GameStatsManager::isSpecialChestUnlocked(v34, &v91) )
{
v103 = (char *)&v94;
v94 = 0;
v95 = 4;
v96 = 15;
strcpy((char *)&v94, "0010");
v35 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v106 = (struct cocos2d::CCPoint)operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0(*(_QWORD *)&v106);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v35 = qword_1406C2EE8;
}
if ( GameStatsManager::isSpecialChestUnlocked(v35, &v94) )
{
v103 = (char *)&v97;
v97 = 0;
v98 = 4;
v99 = 15;
strcpy((char *)&v97, "0011");
v36 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v106 = (struct cocos2d::CCPoint)operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0(*(_QWORD *)&v106);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v36 = qword_1406C2EE8;
}
if ( GameStatsManager::isSpecialChestUnlocked(v36, &v97) )
{
v103 = (char *)&v100;
v100 = 0;
v101 = 4;
v102 = 15;
strcpy((char *)&v100, "0024");
v37 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v106 = (struct cocos2d::CCPoint)operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0(*(_QWORD *)&v106);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v37 = qword_1406C2EE8;
}
if ( GameStatsManager::isSpecialChestUnlocked(v37, &v100) )
{
LABEL_43:
v50 = ((float (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCMenu *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
a1->m_buttonMenu,
10);
cocos2d::CCPoint::CCPoint(v50, v104 * 0.5);
v51 = cocos2d::CCLabelBMFont::create("00:00:00", (const char *)&qword_14052A4D8);
a1->m_leftLabel = v51;
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v51, 20);
v52 = ((float (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_leftLabel->setScale_0)(a1->m_leftLabel);
cocos2d::CCPoint::CCPoint(v52, -70.0);
cocos2d::CCPoint::operator+(&v105, &v103);
a1->m_leftLabel->setPosition_0(a1->m_leftLabel, (const cocos2d::CCPoint *)&v103);
v53 = cocos2d::CCLabelBMFont::create("00:00:00", (const char *)&qword_14052A4D8);
a1->m_rightLabel = v53;
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v53, 20);
v54 = ((float (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_rightLabel->setScale_0)(a1->m_rightLabel);
cocos2d::CCPoint::CCPoint(v54, 70.0);
cocos2d::CCPoint::operator+(&v105, &v103);
a1->m_rightLabel->setPosition_0(a1->m_rightLabel, (const cocos2d::CCPoint *)&v103);
v55 = cocos2d::CCString::createWithFormat("chest_%02d_%02d_001.png", 2, 1);
CString = cocos2d::CCString::getCString(v55);
v57 = cocos2d::CCSprite::createWithSpriteFrameName(CString);
v103 = (char *)operator new(0x208u);
v58 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((CCMenuItemSpriteExtra *)v103);
v59 = v58;
if ( v58 )
{
if ( CCMenuItemSpriteExtra::init(
v58,
v57,
nullptr,
a1,
(cocos2d::SEL_MenuHandler *)RewardsPage::onReward) )
{
cocos2d::CCObject::autorelease(v59);
goto LABEL_48;
}
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v59->~CCMenuItemSpriteExtra)(v59, 1);
}
v59 = nullptr;
LABEL_48:
a1->m_rightChest = v59;
v78 = 14;
v79 = 15;
strcpy(Src, "chestClick.ogg");
v77 = 0;
v103 = Src;
if ( &v59->m_activateSound.m_data.m_capacity != (std::size_t *)Src )
sub_14003CCE0((void **)&v59->m_activateSound.m_data.m_capacity, Src, 0xEu);
sub_14003A830((__int64)Src);
a1->m_rightChest->setTag(a1->m_rightChest, 2);
v60 = ((float (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild_1)(
a1->m_buttonMenu,
a1->m_rightChest);
cocos2d::CCPoint::CCPoint(v60, 70.0);
cocos2d::CCPoint::operator+(&v105, &v103);
v61 = a1->m_rightChest->__vftable;
cocos2d::CCNode::convertToWorldSpace(a1->m_mainLayer, &v84);
v62 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, (const struct cocos2d::CCPoint *)&v83);
((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v61->setPosition_0)(
a1->m_rightChest,
v62);
LODWORD(a1->m_rightChest->m_pDisabledImage) = 1066024305;
v63 = cocos2d::CCString::createWithFormat("chest_%02d_%02d_001.png", 1, 1);
v64 = cocos2d::CCString::getCString(v63);
v65 = cocos2d::CCSprite::createWithSpriteFrameName(v64);
v57->getContentSize(v57);
v103 = (char *)operator new(0x208u);
v66 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((CCMenuItemSpriteExtra *)v103);
v67 = v66;
if ( v66 )
{
if ( CCMenuItemSpriteExtra::init(
v66,
v65,
nullptr,
a1,
(cocos2d::SEL_MenuHandler *)RewardsPage::onReward) )
{
cocos2d::CCObject::autorelease(v67);
LABEL_55:
a1->m_leftChest = v67;
v67->setTag(v67, 1);
v81 = 14;
v82 = 15;
strcpy(v80, "chestClick.ogg");
v80[15] = 0;
v103 = v80;
p_m_capacity = (void **)&a1->m_leftChest->m_activateSound.m_data.m_capacity;
if ( p_m_capacity != (void **)v80 )
sub_14003CCE0(p_m_capacity, v80, 0xEu);
sub_14003A830((__int64)v80);
v69 = ((float (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild_1)(
a1->m_buttonMenu,
a1->m_leftChest);
cocos2d::CCPoint::CCPoint(v69, -70.0);
cocos2d::CCPoint::operator+(&v105, &v103);
v70 = a1->m_leftChest->__vftable;
cocos2d::CCNode::convertToWorldSpace(a1->m_mainLayer, &v84);
v71 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, (const struct cocos2d::CCPoint *)&v83);
((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v70->setPosition_0)(
a1->m_leftChest,
v71);
LODWORD(a1->m_leftChest->m_pDisabledImage) = 1066024305;
v72 = qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v85.origin = (cocos2d::CCPoint)operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280(*(_QWORD *)&v85.origin);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v72 = qword_1406C2EC0;
}
*(_QWORD *)(v72 + 856) = &a1->GJRewardDelegate;
v73 = qword_1406C2EE8;
if ( !qword_1406C2EE8 )
{
v85.origin = (cocos2d::CCPoint)operator new(0x3E0u);
qword_1406C2EE8 = sub_1401D0AE0(*(_QWORD *)&v85.origin);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8);
v73 = qword_1406C2EE8;
}
if ( cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v73 + 528), 1) )
{
RewardsPage::updateTimers(a1, 0.0);
}
else
{
a1->m_leftLabel->setVisible(a1->m_leftLabel, 0);
a1->m_rightLabel->setVisible(a1->m_rightLabel, 0);
v74 = (GameLevelManager *)qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v103 = (char *)operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280((__int64)v103);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v74 = (GameLevelManager *)qword_1406C2EC0;
}
GameLevelManager::getGJRewards(v74, 0);
}
cocos2d::CCNode::schedule(a1, RewardsPage::updateTimers);
return 1;
}
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v67->~CCMenuItemSpriteExtra)(v67, 1);
}
v67 = nullptr;
goto LABEL_55;
}
}
}
}
}
}
v38 = (CCLightFlash *)cocos2d::CCSprite::createWithSpriteFrameName("GJ_freeChestBtn_001.png");
v103 = (char *)operator new(0x208u);
v39 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((CCMenuItemSpriteExtra *)v103);
if ( v39 )
{
if ( CCMenuItemSpriteExtra::init(v39, v38, nullptr, a1, (cocos2d::SEL_MenuHandler *)RewardsPage::onFreeStuff) )
{
cocos2d::CCObject::autorelease(v39);
LABEL_42:
HIDWORD(v39->m_pfnSelector.adj) = 1070386381;
v40 = ((float (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild_1)(
a1->m_buttonMenu,
v39);
v41 = v39->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
cocos2d::CCPoint::CCPoint(v40, (float)((float)(v104 * 0.5) + 170.0) - 10.0);
v42 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, &v106);
((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v41->setPosition_0)(v39, v42);
v43 = cocos2d::CCScaleTo::create(0.5, 1.1);
v44 = cocos2d::CCEaseInOut::create(v43, 2.0);
v45 = cocos2d::CCScaleTo::create(0.5, 1.0);
v46 = cocos2d::CCEaseInOut::create(v45, 2.0);
v47 = cocos2d::CCSequence::create(v44, v46, 0);
v48 = cocos2d::CCRepeatForever::create(v47);
cocos2d::CCNode::runAction(v38, (cocos2d::CCPoint)v48, v49, 80.0, v75);
goto LABEL_43;
}
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v39->~CCMenuItemSpriteExtra)(v39, 1);
}
v39 = nullptr;
goto LABEL_42;
}
return result;
}