//
// GameObject::playDestroyObjectAnim from 0x100349680 to 0x10034a3e4 (3428 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::destroyObject @ 0x1001e950c
//
// 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 __fastcall GameObject::playDestroyObjectAnim(GameObject *a1, GJBaseGameLayer *a2)
{
__int64 v4; // x22
_BOOL4 v5; // w8
cocos2d::CCSprite *m_colorSprite; // x0
int m_objectID; // w9
__int64 *v8; // x0
cocos2d::CCSprite *v9; // x21
double *v10; // x0
__n128 v11; // q0
__n128 v12; // q1
cocos2d::CCSprite *v13; // x23
cocos2d::CCSprite *v14; // x0
__int64 v15; // x0
cocos2d::CCSprite *v16; // x19
__int64 v17; // x0
__int64 v18; // x0
cocos2d::CCNode *m_pParent; // x24
__int64 ObjectZOrder; // x0
__int64 v21; // x0
__int64 v22; // x0
unsigned __int8 *v23; // x0
unsigned __int8 v24; // w24
unsigned __int8 v25; // w25
unsigned __int8 v26; // w26
unsigned __int8 *v27; // x0
unsigned __int8 v28; // w27
unsigned __int8 v29; // w28
cocos2d::CCTintTo *v30; // x0
cocos2d::CCTintTo *v31; // x0
cocos2d::CCFadeTo *v32; // x0
int i; // w19
cocos2d::CCNode *v34; // x27
const char *v35; // x20
cocos2d::CCArray *v36; // x28
cocos2d::CCSpriteFrameCache *v37; // x21
cocos2d::CCString *v38; // x0
const char *CString; // x0
cocos2d::CCSpriteFrameCache *v40; // x21
cocos2d::CCString *v41; // x0
const char *v42; // x0
cocos2d::CCSpriteFrameCache *v43; // x21
cocos2d::CCString *v44; // x0
const char *v45; // x0
cocos2d::CCSpriteFrameCache *v46; // x21
cocos2d::CCString *v47; // x0
const char *v48; // x0
cocos2d::CCAnimation *v49; // x0
cocos2d::CCAnimate *v50; // x28
cocos2d::CCAction *v51; // x1
cocos2d::CCDelayTime *v52; // x21
char v53; // w0
__int64 v54; // x1
__int64 v55; // x2
__int64 v56; // x3
__int64 v57; // x4
__int64 v58; // x5
__int64 v59; // x6
__int64 v60; // x7
GameObjectType m_objectType; // w23
int v62; // w19
_BOOL4 hasUniqueCoin; // w21
__int64 *v64; // x0
cocos2d::CCParticleSystemQuad *v65; // x0
cocos2d::CCParticleSystemQuad *v66; // x22
int v67; // s0
int v73; // s0
CCCircleWave *v74; // x22
ObjectToolbox *v75; // x0
char *v76; // x0
__int64 v77; // x0
CCCircleWave *v78; // x0
_QWORD *v79; // x22
int v80; // w8
__int64 v81; // x0
const char *v82; // x8
GameObjectType v83; // w9
const char *v84; // x10
const char *v85; // x19
const char *v86; // x0
cocos2d::CCSprite *v87; // x20
cocos2d::CCNode *v88; // x21
__int64 v89; // x0
__int64 v90; // x0
__int64 v91; // x0
cocos2d::CCArray *v92; // x21
cocos2d::CCSpriteFrameCache *v93; // x22
cocos2d::CCString *v94; // x0
const char *v95; // x0
cocos2d::CCSpriteFrameCache *v96; // x22
cocos2d::CCString *v97; // x0
const char *v98; // x0
cocos2d::CCSpriteFrameCache *v99; // x22
cocos2d::CCString *v100; // x0
const char *v101; // x0
cocos2d::CCSpriteFrameCache *v102; // x22
cocos2d::CCString *v103; // x0
const char *v104; // x0
cocos2d::CCAnimation *v105; // x0
cocos2d::CCAnimate *v106; // x0
cocos2d::CCRepeatForever *v107; // x0
void **v108; // x0
cocos2d::CCSprite *v109; // x21
__int64 v110; // x0
__int64 v111; // x22
float v112; // s8
float v113; // s0
float v114; // s8
float v115; // s0
ZLayer ObjectZLayer; // w22
bool m_shouldBlendBase; // w23
int ParentMode; // w0
cocos2d::CCNode *v119; // x22
__int64 v120; // x0
__int64 v121; // x0
__int64 v122; // x0
void **v123; // x0
cocos2d::CCSprite *v124; // x22
__int64 v125; // x2
float v126; // s8
__int64 v127; // x0
__n128 v128; // q0
__n128 v129; // q1
__int64 v130; // x0
__int64 v131; // x0
cocos2d::CCDelayTime *v132; // x23
char v133; // w0
__int64 v134; // x1
__int64 v135; // x2
__int64 v136; // x3
__int64 v137; // x4
__int64 v138; // x5
__int64 v139; // x6
__int64 v140; // x7
cocos2d::CCSequence *v141; // x0
GameObject *v142; // [xsp+10h] [xbp-E0h]
unsigned __int8 v143; // [xsp+18h] [xbp-D8h]
cocos2d::CCSprite *v144; // [xsp+20h] [xbp-D0h]
cocos2d::CCSprite *v145; // [xsp+28h] [xbp-C8h]
float v146; // [xsp+34h] [xbp-BCh] BYREF
float v147; // [xsp+38h] [xbp-B8h] BYREF
void *__p[2]; // [xsp+40h] [xbp-B0h] BYREF
__int64 v149; // [xsp+50h] [xbp-A0h]
void *v150[2]; // [xsp+58h] [xbp-98h] BYREF
char v151; // [xsp+6Fh] [xbp-81h]
void *v152[2]; // [xsp+70h] [xbp-80h] BYREF
__int64 v153; // [xsp+80h] [xbp-70h]
cocos2d::CCPoint v154; // 0:s0.4,4:s1.4
cocos2d::CCPoint v155; // 0:s0.4,4:s1.4
if ( !a2 )
return;
v4 = ((__int64 (__fastcall *)(GameObject *))a1->getOpacity)(a1);
if ( (_DWORD)v4 )
{
v5 = 0;
}
else
{
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite )
v5 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))m_colorSprite->getOpacity)(m_colorSprite) == 0;
else
v5 = 1;
}
m_objectID = a1->m_objectID;
if ( m_objectID == 1614 )
{
if ( !a1->m_isInvisible && !v5 )
{
v9 = cocos2d::CCSprite::createWithSpriteFrameName("smallCoin_01_001.png");
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v9->setOpacity)(v9, v4);
v10 = (double *)((__int64 (__fastcall *)(cocos2d::CCSprite *))v9->getContentSize)(v9);
v11.n128_f64[0] = sub_100022AFC(v152, v10);
v11.n128_f32[0] = *(float *)v152 * 0.5;
v12.n128_f32[0] = *((float *)v152 + 1) * 0.5;
sub_100022980(v11, v12, v150);
v13 = cocos2d::CCSprite::createWithSpriteFrameName("smallCoin_01_color_001.png");
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSprite *, __int64))v9->addChild_0)(v9, v13, 1);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v13->setOpacity)(v13, v4);
((void (__fastcall *)(cocos2d::CCSprite *, void **))v13->setPosition)(v13, v150);
v14 = a1->m_colorSprite;
if ( v14 )
{
v15 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))v14->getColor)(v14);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v13->setColor)(v13, v15);
}
v16 = cocos2d::CCSprite::createWithSpriteFrameName("smallCoin_01_highlight_001.png");
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSprite *, __int64))v9->addChild_0)(v9, v16, 2);
((void (__fastcall *)(cocos2d::CCSprite *, void **))v16->setPosition)(v16, v150);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v16->setOpacity)(v16, v4);
v17 = ((__int64 (__fastcall *)(GameObject *, __int64))a1->getChildByTag)(a1, 2);
if ( v17 )
{
v18 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v17 + 928LL))(v17);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v16->setColor)(v16, v18);
}
v144 = v16;
((void (__fastcall *)(GameObject *))a1->getScaleX)(a1);
((void (__fastcall *)(cocos2d::CCSprite *))v9->setScaleX)(v9);
((void (__fastcall *)(GameObject *))a1->getScaleY)(a1);
((void (__fastcall *)(cocos2d::CCSprite *))v9->setScaleY)(v9);
m_pParent = a1->m_pParent;
if ( m_pParent )
{
ObjectZOrder = GameObject::getObjectZOrder(a1);
((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSprite *, __int64))m_pParent->addChild_0)(
m_pParent,
v9,
ObjectZOrder);
}
v21 = ((__int64 (__fastcall *)(GameObject *))a1->getPosition)(a1);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v9->setPosition)(v9, v21);
v142 = a1;
v22 = ((__int64 (__fastcall *)(GameObject *))a1->getColor)(a1);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v9->setColor)(v9, v22);
v23 = (unsigned __int8 *)((__int64 (__fastcall *)(cocos2d::CCSprite *))v9->getColor)(v9);
v24 = *v23;
v25 = v23[1];
v26 = v23[2];
v27 = (unsigned __int8 *)((__int64 (__fastcall *)(cocos2d::CCSprite *))v13->getColor)(v13);
v28 = *v27;
v29 = v27[1];
v143 = v27[2];
BYTE2(v147) = -56;
LOWORD(v147) = -1;
((void (__fastcall *)(cocos2d::CCSprite *, float *))v9->setColor)(v9, &v147);
BYTE2(v147) = -56;
LOWORD(v147) = -1;
((void (__fastcall *)(cocos2d::CCSprite *, float *))v13->setColor)(v13, &v147);
((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))v16->setOpacity)(v16, 0);
v30 = cocos2d::CCTintTo::create(0.3, v24, v25, v26);
v145 = v9;
cocos2d::CCNode::runAction(v9, v30);
v31 = cocos2d::CCTintTo::create(0.3, v28, v29, v143);
cocos2d::CCNode::runAction(v13, v31);
v32 = cocos2d::CCFadeTo::create(0.3, v4);
cocos2d::CCNode::runAction(v16, v32);
for ( i = 0; i != 3; ++i )
{
if ( i )
{
if ( i == 2 )
{
v34 = v144;
v35 = "highlight_";
}
else
{
v34 = v13;
v35 = "color_";
}
}
else
{
v34 = v145;
v35 = "";
}
v36 = (cocos2d::CCArray *)sub_10024A15C();
v37 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v38 = (cocos2d::CCString *)sub_100268F4C("smallCoin_01_%s001.png", v35);
CString = cocos2d::CCString::getCString(v38);
cocos2d::CCSpriteFrameCache::spriteFrameByName(v37, CString);
sub_10024A2D0((__int64)v36);
v40 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v41 = (cocos2d::CCString *)sub_100268F4C("smallCoin_02_%s001.png", v35);
v42 = cocos2d::CCString::getCString(v41);
cocos2d::CCSpriteFrameCache::spriteFrameByName(v40, v42);
sub_10024A2D0((__int64)v36);
v43 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v44 = (cocos2d::CCString *)sub_100268F4C("smallCoin_03_%s001.png", v35);
v45 = cocos2d::CCString::getCString(v44);
cocos2d::CCSpriteFrameCache::spriteFrameByName(v43, v45);
sub_10024A2D0((__int64)v36);
v46 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v47 = (cocos2d::CCString *)sub_100268F4C("smallCoin_04_%s001.png", v35);
v48 = cocos2d::CCString::getCString(v47);
cocos2d::CCSpriteFrameCache::spriteFrameByName(v46, v48);
sub_10024A2D0((__int64)v36);
v49 = cocos2d::CCAnimation::createWithSpriteFrames(v36, 0.05);
v50 = cocos2d::CCAnimate::create(v49);
v51 = cocos2d::CCRepeatForever::create(v50);
if ( i )
{
BYTE4(v50[1].__vftable) = 1;
cocos2d::CCNode::runAction(v34, v51);
v52 = cocos2d::CCDelayTime::create(0.3);
v53 = (unsigned __int8)cocos2d::CCFadeTo::create(0.3, 0);
v51 = sub_10018A494(v52, v54, v55, v56, v57, v58, v59, v60, v53);
}
else
{
BYTE5(v50[1].__vftable) = 1;
}
cocos2d::CCNode::runAction(v34, v51);
}
GameObject::playPickupAnimation(v142, v145, 30.0, 36.0, 54.0, 108.0, 12.0, 0.6, 0.4, 0.2, 0, 0.0, 0.0);
}
}
else
{
if ( m_objectID == 143 )
{
v8 = (__int64 *)((__int64 (__fastcall *)(GameObject *))a1->getPosition)(a1);
v154.x = sub_1000229B8((__int64 *)v152, v8);
GJBaseGameLayer::spawnParticle(a2, "glassDestroy01.plist", 0, kCCPositionTypeGrouped, v154);
return;
}
m_objectType = a1->m_objectType;
if ( m_objectType == (Collectible|0x1) )
{
LABEL_31:
v62 = 13158600;
hasUniqueCoin = GJBaseGameLayer::hasUniqueCoin(a2, (EffectGameObject *)a1);
v64 = (__int64 *)((__int64 (__fastcall *)(GameObject *))a1->getPosition)(a1);
v155.x = sub_1000229B8((__int64 *)v152, v64);
v65 = GJBaseGameLayer::spawnParticle(a2, "coinPickupEffect.plist", 0, kCCPositionTypeGrouped, v155);
if ( m_objectType == (Collectible|0x1) && (v66 = v65) != nullptr )
{
v67 = *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCParticleSystemQuad *))v65->getStartColor)(v65) + 12);
__asm { FMOV V1.2S, #1.0 }
v152[0] = _D1;
LODWORD(v152[1]) = 1065353216;
HIDWORD(v152[1]) = v67;
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, void **))v66->setStartColor)(v66, v152);
v73 = *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCParticleSystemQuad *))v66->getEndColor)(v66) + 12);
v152[0] = (void *)0x3F0000003F000000LL;
LODWORD(v152[1]) = 1056964608;
HIDWORD(v152[1]) = v73;
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, void **))v66->setEndColor)(v66, v152);
v74 = CCCircleWave::create(25.0, 5.0, 0.3, 0, 0);
}
else
{
v74 = CCCircleWave::create(25.0, 5.0, 0.3, 0, 0);
if ( m_objectType == (Collectible|0x1) )
v62 = 13158600;
else
v62 = 51455;
}
*(_WORD *)&v74->m_color.r = v62;
v74->m_color.b = BYTE2(v62);
v77 = ((__int64 (__fastcall *)(GameObject *))a1->getPosition)(a1);
((void (__fastcall *)(CCCircleWave *, __int64))v74->setPosition)(v74, v77);
((void (__fastcall *)(cocos2d::CCLayer *, CCCircleWave *, _QWORD))a2->m_objectLayer->addChild_0)(
a2->m_objectLayer,
v74,
0);
v78 = CCCircleWave::create_1(5.0, 60.0, 0.3, 0);
v79 = &v78->__vftable;
if ( m_objectType == (Collectible|0x1) )
v80 = -1;
else
v80 = 0xFFFF;
v78->m_color.b = BYTE2(v80);
*(_WORD *)&v78->m_color.r = v80;
v81 = ((__int64 (__fastcall *)(GameObject *))a1->getPosition)(a1);
(*(void (__fastcall **)(_QWORD *, __int64))(*v79 + 184LL))(v79, v81);
((void (__fastcall *)(cocos2d::CCLayer *, _QWORD *, _QWORD))a2->m_objectLayer->addChild_0)(
a2->m_objectLayer,
v79,
0);
v82 = "secretCoin";
v79[44] = 0x400000001LL;
v83 = a1->m_objectType;
if ( hasUniqueCoin )
v82 = "secretCoin_b";
v84 = "secretCoin_2";
if ( hasUniqueCoin )
v84 = "secretCoin_2_b";
if ( v83 == (Collectible|0x1) )
v85 = v84;
else
v85 = v82;
if ( v83 == (Collectible|0x1) )
v86 = "secretCoin_2_01_001.png";
else
v86 = "secretCoin_01_001.png";
v87 = cocos2d::CCSprite::createWithSpriteFrameName(v86);
((void (__fastcall *)(GameObject *))a1->getScaleX)(a1);
((void (__fastcall *)(cocos2d::CCSprite *))v87->setScale)(v87);
v88 = a1->m_pParent;
if ( v88 )
{
v89 = GameObject::getObjectZOrder(a1);
((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSprite *, __int64))v88->addChild_0)(v88, v87, v89);
}
v90 = ((__int64 (__fastcall *)(GameObject *))a1->getPosition)(a1);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v87->setPosition)(v87, v90);
if ( m_objectType == (Collectible|0x1) )
{
v91 = ((__int64 (__fastcall *)(GameObject *))a1->getColor)(a1);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v87->setColor)(v87, v91);
}
v92 = (cocos2d::CCArray *)sub_10024A15C();
v93 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v94 = (cocos2d::CCString *)sub_100268F4C("%s_01_001.png", v85);
v95 = cocos2d::CCString::getCString(v94);
cocos2d::CCSpriteFrameCache::spriteFrameByName(v93, v95);
sub_10024A2D0((__int64)v92);
v96 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v97 = (cocos2d::CCString *)sub_100268F4C("%s_01_002.png", v85);
v98 = cocos2d::CCString::getCString(v97);
cocos2d::CCSpriteFrameCache::spriteFrameByName(v96, v98);
sub_10024A2D0((__int64)v92);
v99 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v100 = (cocos2d::CCString *)sub_100268F4C("%s_01_003.png", v85);
v101 = cocos2d::CCString::getCString(v100);
cocos2d::CCSpriteFrameCache::spriteFrameByName(v99, v101);
sub_10024A2D0((__int64)v92);
v102 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v103 = (cocos2d::CCString *)sub_100268F4C("%s_01_004.png", v85);
v104 = cocos2d::CCString::getCString(v103);
cocos2d::CCSpriteFrameCache::spriteFrameByName(v102, v104);
sub_10024A2D0((__int64)v92);
v105 = cocos2d::CCAnimation::createWithSpriteFrames(v92, 0.05);
v106 = cocos2d::CCAnimate::create(v105);
v107 = cocos2d::CCRepeatForever::create(v106);
cocos2d::CCNode::runAction(v87, v107);
GameObject::playPickupAnimation(a1, v87, 50.0, 60.0, 90.0, 180.0, 20.0, 0.75, 0.5, 0.25, 0, 0.0, 0.0);
return;
}
if ( m_objectType != Collectible )
{
if ( m_objectType != SecretCoin )
return;
goto LABEL_31;
}
if ( !a1->m_isInvisible && !v5 )
{
v75 = ObjectToolbox::sharedState();
v76 = (char *)ObjectToolbox::intKeyToFrame(v75, a1->m_objectID);
sub_100009900(v152, v76);
if ( SHIBYTE(v153) < 0 )
{
sub_1000097D0(__p, v152[0], (unsigned __int64)v152[1]);
}
else
{
*(_OWORD *)__p = *(_OWORD *)v152;
v149 = v153;
}
GameObject::getColorFrame((char *)__p, v150);
if ( SHIBYTE(v149) < 0 )
operator delete(__p[0]);
if ( v153 >= 0 )
v108 = v152;
else
v108 = (void **)v152[0];
v109 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v108);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v109->setOpacity)(v109, v4);
v110 = ((__int64 (__fastcall *)(GameObject *, __int64))a1->getChildByTag)(a1, 1);
v111 = v110;
if ( v110 )
{
v112 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v110 + 136LL))(v110);
v113 = ((float (__fastcall *)(GameObject *))a1->getScaleX)(a1);
((void (__fastcall *)(cocos2d::CCSprite *, float))v109->setScaleX)(v109, v112 * v113);
v114 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v111 + 152LL))(v111);
v115 = ((float (__fastcall *)(GameObject *))a1->getScaleY)(a1);
((void (__fastcall *)(cocos2d::CCSprite *, float))v109->setScaleY)(v109, v114 * v115);
}
ObjectZLayer = GameObject::getObjectZLayer(a1);
m_shouldBlendBase = a1->m_shouldBlendBase;
ParentMode = GameObject::getParentMode(a1);
v119 = GameObject::parentForZLayer(a1, ObjectZLayer, m_shouldBlendBase, ParentMode);
v120 = GameObject::getObjectZOrder(a1);
((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSprite *, __int64))v119->addChild_0)(v119, v109, v120);
v121 = ((__int64 (__fastcall *)(GameObject *))a1->getPosition)(a1);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v109->setPosition)(v109, v121);
v122 = ((__int64 (__fastcall *)(GameObject *))a1->getColor)(a1);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v109->setColor)(v109, v122);
if ( a1->m_colorSprite )
{
if ( v151 >= 0 )
v123 = v150;
else
v123 = (void **)v150[0];
v124 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v123);
if ( a1->m_colorZLayerRelated )
v125 = 1;
else
v125 = 0xFFFFFFFFLL;
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSprite *, __int64))v109->addChild_0)(v109, v124, v125);
v126 = *(float *)((__int64 (__fastcall *)(cocos2d::CCSprite *))v109->getContentSize)(v109);
v127 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))v109->getContentSize)(v109);
v128.n128_f32[0] = v126 * 0.5;
v129.n128_f32[0] = *(float *)(v127 + 4) * 0.5;
sub_100022980(v128, v129, &v147);
((void (__fastcall *)(cocos2d::CCSprite *, float *))v124->setPosition)(v124, &v147);
v130 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_colorSprite->getColor)(a1->m_colorSprite);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v124->setColor)(v124, v130);
v131 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_colorSprite->getOpacity)(a1->m_colorSprite);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v124->setOpacity)(v124, v131);
v132 = cocos2d::CCDelayTime::create(0.45);
v133 = (unsigned __int8)cocos2d::CCFadeTo::create(0.15, 0);
v141 = sub_10018A494(v132, v134, v135, v136, v137, v138, v139, v140, v133);
cocos2d::CCNode::runAction(v124, v141);
}
GJBaseGameLayer::generatePickupAnimRandVal(a2, a1, &v147, &v146);
GameObject::playPickupAnimation(a1, v109, 20.0, 30.0, 65.0, 115.0, 10.0, 0.6, 0.45, 0.15, 1, v147, v146);
if ( v151 < 0 )
operator delete(v150[0]);
if ( SHIBYTE(v153) < 0 )
operator delete(v152[0]);
}
}
}