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