//
// PlayLayer::showNewBest from 0x6fdf28 to 0x6ff150 (4648 bytes)
//
// 3 xrefs:
// > PlayLayer::destroyPlayer @ 0x6ff604
// > PlayLayer::destroyPlayer @ 0x6ffa88
// > ??> @ 0x442d8
//
// 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 12:52:01 +0000
//
__int64 __fastcall PlayLayer::showNewBest(
PlayLayer *this,
unsigned __int8 a2,
int a3,
int a4,
unsigned __int8 a5,
unsigned __int8 a6,
unsigned __int8 a7)
{
int v9; // w22
int v11; // w20
cocos2d::CCDirector *v12; // x0
float v13; // s10
float v14; // s0
float v15; // s1
float v16; // s2
cocos2d::CCNode *v17; // x0
cocos2d::CCNode *v18; // x19
const char *v19; // x1
const char *v20; // x2
__int64 v21; // x22
void (__fastcall *v22)(__int64, __int64 *); // x25
cocos2d::CCString *v23; // x0
cocos2d::CCLabelBMFont *CString; // x0
const char *v25; // x2
__int64 v26; // x22
void (__fastcall *v27)(__int64, __int64 *); // x25
void (__fastcall *v28)(__int64, __int64 *); // x25
float v29; // s9
cocos2d::CCString *v30; // x0
cocos2d::CCLabelBMFont *v31; // x0
const char *v32; // x2
__int64 v33; // x22
const char *v34; // x1
__int64 v35; // x25
void (__fastcall *v36)(__int64, __int64 *); // x26
float v37; // s0
float v38; // s8
float v39; // s0
cocos2d::CCString *v40; // x0
cocos2d::CCLabelBMFont *v41; // x0
const char *v42; // x2
__int64 v43; // x27
const char *v44; // x1
__int64 v45; // x22
void (__fastcall *v46)(__int64, __int64 *); // x26
FMODAudioEngine *v47; // x0
__int64 v48; // x26
float v49; // s0
void (__fastcall *v50)(__int64, __int64 *); // x25
void (__fastcall *v51)(__int64, __int64 *); // x25
__int64 v52; // x28
float v53; // s8
float v54; // s0
__int64 v55; // x23
FMODAudioEngine *v56; // x0
__int64 v57; // x24
cocos2d::CCScaleTo *v58; // x0
cocos2d::CCEaseElasticOut *v59; // x0
cocos2d::CCActionInterval *v60; // x1
cocos2d::CCDelayTime *v61; // x24
cocos2d::CCScaleTo *v62; // x23
cocos2d::CCEaseIn *v63; // x0
cocos2d::CCActionInterval *v64; // x1
cocos2d::CCHide *v65; // x22
__int64 v66; // x0
cocos2d::CCAction *v67; // x0
cocos2d::CCNode *v68; // x19
unsigned __int8 v69; // w1
cocos2d::CCDelayTime *v70; // x22
cocos2d::CCFiniteTimeAction *v71; // x21
unsigned __int8 v72; // w1
__int64 v73; // x20
__int64 v74; // x0
cocos2d::CCAction *v75; // x0
unsigned int v77; // w1
const char *v78; // x2
cocos2d::CCLabelBMFont *v79; // x0
__int64 v80; // x22
void (__fastcall *v81)(__int64, __int64 *); // x25
void (__fastcall *v82)(__int64, __int64 *); // x25
cocos2d::CCDirector *v83; // x0
__int64 v84; // x22
void (__fastcall *v85)(__int64, __int64 *); // x25
void (__fastcall *v86)(__int64, __int64 *); // x25
float v87; // s8
float v88; // s11
float v89; // s8
float v90; // s8
float v91; // s11
float v92; // s8
float v93; // s11
float v94; // s8
float v95; // s8
float v96; // s11
void (__fastcall *v97)(__int64, __int64 *); // [xsp+98h] [xbp+88h]
void (__fastcall *v98)(__int64, __int64 *); // [xsp+A0h] [xbp+90h]
__int64 v99; // [xsp+A0h] [xbp+90h]
__int64 v100; // [xsp+A0h] [xbp+90h]
int v101; // [xsp+ACh] [xbp+9Ch]
int v102; // [xsp+B4h] [xbp+A4h]
int v103; // [xsp+B8h] [xbp+A8h]
FMODAudioEngine *v104; // [xsp+B8h] [xbp+A8h]
__int64 v105; // [xsp+C0h] [xbp+B0h] BYREF
_BYTE v106[8]; // [xsp+C8h] [xbp+B8h] BYREF
__int64 v107; // [xsp+D0h] [xbp+C0h] BYREF
__int64 v108; // [xsp+D8h] [xbp+C8h] BYREF
__int64 v109; // [xsp+E0h] [xbp+D0h] BYREF
__int64 v110; // [xsp+E8h] [xbp+D8h]
void *v111; // [xsp+F0h] [xbp+E0h]
v102 = a3 + a4;
v9 = a2;
v103 = a5;
v11 = a7;
v101 = a6;
if ( a3 + a4 <= 0 )
{
v83 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v105, v83);
v14 = *(float *)&v105 * 0.5;
v13 = 0.7;
v15 = (float)(*((float *)&v105 + 1) * 0.5) + 20.0;
v16 = 0.0;
}
else
{
v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v105, v12);
v13 = 1.3;
v14 = *(float *)&v105 * 0.5;
v15 = (float)(*((float *)&v105 + 1) * 0.5) + 20.0;
v16 = 10.0;
}
v17 = (cocos2d::CCNode *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v106, v14, v15 + v16);
v18 = (cocos2d::CCNode *)cocos2d::CCNode::create(v17);
(*(void (__fastcall **)(PlayLayer *, cocos2d::CCNode *, __int64))(*(_QWORD *)this + 464LL))(this, v18, 100);
(*(void (__fastcall **)(cocos2d::CCNode *, _BYTE *))(*(_QWORD *)v18 + 184LL))(v18, v106);
if ( !v11 )
{
if ( v9 )
{
if ( !*((_BYTE *)this + 14400) )
{
v84 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"New Reward!", "goldFont.fnt", v20);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v84 + 160LL))(v84, 1.2);
v85 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v84 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.0, 5.0);
v85(v84, &v108);
v86 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v84 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.5, 0.0);
v86(v84, &v108);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v18 + 456LL))(v18, v84);
goto LABEL_7;
}
}
else if ( !*((_BYTE *)this + 14400) )
{
v21 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_newBest_001.png", v19);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v18 + 456LL))(v18, v21);
v22 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v21 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.5, 0.0);
v22(v21, &v108);
goto LABEL_7;
}
v109 = 0;
v110 = 0;
v111 = nullptr;
std::string::__init(&v109, "RIP", 3u);
v77 = llroundf((float)((float)rand() * 4.6566e-10) * 90.0) - 1;
switch ( v77 )
{
case 0u:
std::string::assign(&v109, "Y u die?");
break;
case 1u:
std::string::assign(&v109, "Not 100%");
break;
case 2u:
std::string::assign(&v109, "Try jump?");
break;
case 3u:
std::string::assign(&v109, "Kappa");
break;
case 4u:
case 0x23u:
std::string::assign(&v109, "Too slow");
break;
case 5u:
std::string::assign(&v109, "Ples omg why no");
break;
case 6u:
std::string::assign(&v109, "Maybe jump?");
break;
case 7u:
std::string::assign(&v109, "Problem?");
break;
case 8u:
std::string::assign(&v109, "Nice crash");
break;
case 9u:
std::string::assign(&v109, "Try again?");
break;
case 0xAu:
std::string::assign(&v109, "Almost...");
break;
case 0xBu:
std::string::assign(&v109, "Hehe...");
break;
case 0xCu:
std::string::assign(&v109, "U no like?");
break;
case 0xDu:
std::string::assign(&v109, "RIP");
break;
case 0xEu:
std::string::assign(&v109, "Rage time?");
break;
case 0xFu:
std::string::assign(&v109, "One more?");
break;
case 0x10u:
std::string::assign(&v109, "Noscope");
break;
case 0x11u:
std::string::assign(&v109, "Feel the pain");
break;
case 0x12u:
std::string::assign(&v109, "Over 1%!");
break;
case 0x13u:
std::string::assign(&v109, "BOOM!");
break;
case 0x14u:
std::string::assign(&v109, "Click faster");
break;
case 0x15u:
std::string::assign(&v109, "Dont be sad");
break;
case 0x16u:
std::string::assign(&v109, "Go again");
break;
case 0x17u:
std::string::assign(&v109, "So close");
break;
case 0x18u:
std::string::assign(&v109, "What!?");
break;
case 0x19u:
std::string::assign(&v109, "You ok?");
break;
case 0x1Au:
std::string::assign(&v109, "Did he died?");
break;
case 0x1Bu:
std::string::assign(&v109, "Go?");
break;
case 0x1Cu:
std::string::assign(&v109, "Game Over");
break;
case 0x1Du:
std::string::assign(&v109, "LOL");
break;
case 0x1Eu:
std::string::assign(&v109, "RubRub?");
break;
case 0x1Fu:
std::string::assign(&v109, "You Died");
break;
case 0x20u:
std::string::assign(&v109, "Continue?");
break;
case 0x21u:
std::string::assign(&v109, "Fail");
break;
case 0x22u:
std::string::assign(&v109, "Wrong button");
break;
case 0x24u:
std::string::assign(&v109, "Insert coin");
break;
case 0x25u:
std::string::assign(&v109, "You Lose");
break;
case 0x26u:
std::string::assign(&v109, "Combo Breaker!");
break;
case 0x27u:
std::string::assign(&v109, "Time's Up!");
break;
case 0x28u:
std::string::assign(&v109, "GGWP");
break;
case 0x29u:
std::string::assign(&v109, "VAMOS");
break;
case 0x2Au:
std::string::assign(&v109, "Not ok");
break;
case 0x2Bu:
std::string::assign(&v109, "Dead, you are");
break;
case 0x2Cu:
std::string::assign(&v109, "Slow down");
break;
case 0x2Du:
std::string::assign(&v109, "Nice try");
break;
case 0x2Eu:
std::string::assign(&v109, "Take a break");
break;
case 0x2Fu:
std::string::assign(&v109, "Explosion!");
break;
case 0x30u:
std::string::assign(&v109, "So random");
break;
case 0x31u:
std::string::assign(&v109, "...");
break;
case 0x32u:
std::string::assign(&v109, "Is that it?");
break;
case 0x33u:
std::string::assign(&v109, "Not even close");
break;
case 0x34u:
std::string::assign(&v109, "Give up");
break;
case 0x35u:
std::string::assign(&v109, "Hotel?");
break;
case 0x36u:
std::string::assign(&v109, "liaf uoy");
break;
case 0x37u:
std::string::assign(&v109, "Go home");
break;
case 0x38u:
std::string::assign(&v109, "Spam?");
break;
case 0x39u:
std::string::assign(&v109, "Try harder");
break;
case 0x3Au:
std::string::assign(&v109, "PogChamp");
break;
case 0x3Bu:
std::string::assign(&v109, "Hang in there");
break;
case 0x3Cu:
std::string::assign(&v109, "That's progress for ya");
break;
case 0x3Du:
std::string::assign(&v109, "Unlucky");
break;
case 0x3Eu:
std::string::assign(&v109, "Why tho?");
break;
case 0x3Fu:
std::string::assign(&v109, "Nope!");
break;
case 0x40u:
std::string::assign(&v109, "Brutal");
break;
case 0x41u:
std::string::assign(&v109, "Not like this");
break;
case 0x42u:
std::string::assign(&v109, "Oopsie");
break;
case 0x43u:
std::string::assign(&v109, "Crushed");
break;
case 0x44u:
std::string::assign(&v109, "A for effort");
break;
case 0x45u:
std::string::assign(&v109, "Denied");
break;
case 0x46u:
std::string::assign(&v109, "So far, so bad");
break;
case 0x47u:
std::string::assign(&v109, "Was that the plan?");
break;
case 0x48u:
std::string::assign(&v109, "Spike loves you.");
break;
case 0x49u:
std::string::assign(&v109, "Spike: 1, You: 0");
break;
case 0x4Au:
std::string::assign(&v109, "Need a Map?");
break;
case 0x4Bu:
std::string::assign(&v109, "Who put that there?");
break;
case 0x4Cu:
std::string::assign(&v109, "That looked painful");
break;
case 0x4Du:
std::string::assign(&v109, "Don't quit your day job");
break;
case 0x4Eu:
std::string::assign(&v109, "Again? Really?");
break;
case 0x4Fu:
std::string::assign(&v109, "Stop testing gravity");
break;
case 0x50u:
std::string::assign(&v109, "I blame 240fps");
break;
case 0x51u:
std::string::assign(&v109, "Wrong way!");
break;
case 0x52u:
std::string::assign(&v109, "RobTop pls fix!");
break;
case 0x53u:
std::string::assign(&v109, "Who buffed this?");
break;
case 0x54u:
std::string::assign(&v109, "Geometry Dash'nt");
break;
case 0x55u:
std::string::assign(&v109, "I like that part");
break;
case 0x56u:
std::string::assign(&v109, "Checkpoints, pls");
break;
case 0x57u:
std::string::assign(&v109, "Why jump there?");
break;
case 0x58u:
std::string::assign(&v109, "Who said GO?!");
break;
case 0x59u:
std::string::assign(&v109, "New Best'nt");
break;
default:
break;
}
v79 = (cocos2d::CCLabelBMFont *)((char *)&v109 + 1);
if ( (v109 & 1) != 0 )
v79 = (cocos2d::CCLabelBMFont *)v111;
v80 = cocos2d::CCLabelBMFont::create(v79, "goldFont.fnt", v78);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v80 + 160LL))(v80, 1.2);
v81 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v80 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.0, 5.0);
v81(v80, &v108);
v82 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v80 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.5, 0.0);
v82(v80, &v108);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v18 + 456LL))(v18, v80);
if ( (v109 & 1) != 0 )
operator delete(v111);
}
LABEL_7:
v23 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i%%",
(const char *)*((unsigned int *)this + 3660));
CString = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v23);
v26 = cocos2d::CCLabelBMFont::create(CString, "bigFont.fnt", v25);
v27 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v26 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.5, 1.0);
v27(v26, &v108);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v26 + 160LL))(v26, 1.1);
v28 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v26 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.0, -4.0);
v28(v26, &v108);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v18 + 456LL))(v18, v26);
if ( a3 <= 0 )
{
if ( a4 > 0 )
{
v29 = -5.0;
goto LABEL_10;
}
}
else if ( a4 > 0 )
{
v29 = -20.0;
LABEL_10:
v30 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"+%i",
(const char *)(unsigned int)a4);
v31 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v30);
v33 = cocos2d::CCLabelBMFont::create(v31, "bigFont.fnt", v32);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v33 + 160LL))(v33, 0.6);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v18 + 456LL))(v18, v33);
v35 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_bigDiamond_001.png", v34);
v36 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v35 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.0, 0.5);
v36(v35, &v108);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v35 + 160LL))(v35, 0.55);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v18 + 456LL))(v18, v35);
if ( !v103 )
{
v100 = FMODAudioEngine::sharedEngine(nullptr);
v109 = 0;
v110 = 0;
v111 = nullptr;
std::string::__init(&v109, "gold02.ogg", 0xAu);
FMODAudioEngine::playEffect(v100, (char *)&v109);
if ( (v109 & 1) != 0 )
operator delete(v111);
}
if ( a3 <= 0 )
{
v87 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v33 + 328LL))(v33);
v88 = (float)(v87 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v33 + 168LL))(v33)) + 1.0;
v89 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v35 + 328LL))(v35);
v90 = v88 + (float)(v89 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v35 + 168LL))(v35));
v91 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v33 + 328LL))(v33);
v37 = -(float)-(float)((float)((float)(v91 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v33 + 168LL))(v33))
* 0.5)
- (float)(v90 * 0.5));
}
else
{
v37 = 40.0;
}
v98 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v33 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, v37 + v29, -62.0);
v98(v33, &v108);
v97 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v35 + 184LL);
v99 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v33 + 192LL))(v33);
v38 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v33 + 328LL))(v33) * 0.5;
v39 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v33 + 168LL))(v33);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v107, (float)(v38 * v39) + 1.0, -1.0);
cocos2d::CCPoint::operator+(&v108, v99);
v97(v35, &v108);
if ( a3 > 0 )
goto LABEL_14;
LABEL_35:
if ( a4 <= 0 )
goto LABEL_24;
goto LABEL_19;
}
v29 = -5.0;
if ( a3 <= 0 )
goto LABEL_35;
LABEL_14:
v40 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"+%i",
(const char *)(unsigned int)a3);
v41 = (cocos2d::CCLabelBMFont *)cocos2d::CCString::getCString(v40);
v43 = cocos2d::CCLabelBMFont::create(v41, "bigFont.fnt", v42);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v43 + 160LL))(v43, 0.6);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v18 + 456LL))(v18, v43);
v45 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"currencyOrbIcon_001.png", v44);
v46 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v45 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, 0.0, 0.5);
v46(v45, &v108);
v47 = (FMODAudioEngine *)(*(__int64 (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v18 + 456LL))(v18, v45);
v48 = FMODAudioEngine::sharedEngine(v47);
v109 = 0;
v110 = 0;
v111 = nullptr;
std::string::__init(&v109, "magicExplosion.ogg", 0x12u);
FMODAudioEngine::playEffect(v48, (char *)&v109);
if ( (v109 & 1) != 0 )
operator delete(v111);
if ( a4 <= 0 )
{
v92 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v43 + 328LL))(v43);
v93 = (float)(v92 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v43 + 168LL))(v43)) + 5.0;
v94 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v45 + 328LL))(v45);
v95 = v93 + (float)(v94 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v45 + 168LL))(v45));
v96 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v43 + 328LL))(v43);
v49 = -(float)-(float)((float)((float)(v96 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v43 + 168LL))(v43)) * 0.5)
- (float)(v95 * 0.5));
}
else
{
v49 = -40.0;
}
v50 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v43 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, v49 + v29, -62.0);
v50(v43, &v108);
v51 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v45 + 184LL);
v52 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v43 + 192LL))(v43);
v53 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v43 + 328LL))(v43) * 0.5;
v54 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v43 + 168LL))(v43);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v107, (float)(v53 * v54) + 5.0, -0.5);
cocos2d::CCPoint::operator+(&v108, v52);
v51(v45, &v108);
LABEL_19:
cocos2d::CCNode::convertToWorldSpace(&v107, *((cocos2d::CCNode **)this + 407), (const cocos2d::CCPoint *)&unk_155C4E8);
if ( v103 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, (const cocos2d::CCPoint *)&v107);
v55 = CurrencyRewardLayer::create((unsigned int)a3, 0, 0, (unsigned int)a4, 9, 1, 0, 0, 0.0, 0.9, &v108, 0);
v56 = (FMODAudioEngine *)(*(__int64 (__fastcall **)(PlayLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(
this,
v55,
101);
v57 = FMODAudioEngine::sharedEngine(v56);
v109 = 0;
v110 = 0;
v111 = nullptr;
std::string::__init(&v109, "secretKey.ogg", 0xDu);
FMODAudioEngine::playEffect(v57, (char *)&v109);
if ( (v109 & 1) != 0 )
operator delete(v111);
}
else
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v108, (const cocos2d::CCPoint *)&v107);
v55 = CurrencyRewardLayer::create((unsigned int)a3, 0, 0, (unsigned int)a4, 0, 0, 0, 0, 0.0, 0.9, &v108, 0);
(*(void (__fastcall **)(PlayLayer *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v55, 101);
}
if ( !v101 )
*(_QWORD *)(v55 + 408) = (char *)this + 14000;
LABEL_24:
v58 = (cocos2d::CCScaleTo *)(*(__int64 (__fastcall **)(cocos2d::CCNode *, float))(*(_QWORD *)v18 + 160LL))(v18, 0.01);
v59 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create(v58, 0.4, 1.0);
v61 = (cocos2d::CCDelayTime *)cocos2d::CCEaseElasticOut::create(v59, v60, 0.6);
v62 = (cocos2d::CCScaleTo *)cocos2d::CCDelayTime::create(v61, v13);
v63 = (cocos2d::CCEaseIn *)cocos2d::CCScaleTo::create(v62, 0.2, 0.01, 0.01);
v65 = (cocos2d::CCHide *)cocos2d::CCEaseIn::create(v63, v64, 2.0);
v104 = (FMODAudioEngine *)cocos2d::CCHide::create(v65);
v66 = cocos2d::CCCallFunc::create(v18, 536, 1);
v67 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v61, v62, v65, v104, v66, 0);
cocos2d::CCNode::runAction(v18, v67);
if ( v102 > 0 )
{
LODWORD(v108) = 0;
v68 = (cocos2d::CCNode *)cocos2d::CCLayerColor::create(&v108);
(*(void (__fastcall **)(PlayLayer *, cocos2d::CCNode *, __int64))(*(_QWORD *)this + 464LL))(this, v68, 99);
v70 = (cocos2d::CCDelayTime *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)((char *)&qword_60 + 4), 0.3, v69);
v71 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCDelayTime::create(v70, v13 + 0.3);
v73 = cocos2d::CCFadeTo::create(nullptr, 0.4, v72);
v74 = cocos2d::CCCallFunc::create(v68, 536, 1);
v75 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v70, v71, v73, v74, 0);
cocos2d::CCNode::runAction(v68, v75);
}
return _stack_chk_guard;
}