// // LevelPage::playCoinEffect from 0x140445b50 to 0x14044602a (1242 bytes) // // 2 xrefs: // > LevelPage::ccTouchBegan @ 0x1404478f2 // > @ 0x1409271f4 // // This function is hookable on this platform (idp: pc, 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 11:32:23 +0000 // struct cocos2d::CCAction *__fastcall LevelPage::playCoinEffect(_QWORD **a1) { struct cocos2d::CCParticleSystemQuad *v2; // rdi __int64 v3; // rdx __int64 v4; // rbx __int64 v5; // rax __int64 v6; // rdx __int64 v7; // rcx __int64 v8; // r8 cocos2d::CCObject *v9; // rdi __int64 v10; // rbx __int64 v11; // rax __int64 v12; // rdx __int64 v13; // rcx __int64 v14; // r8 cocos2d::CCObject *v15; // rdi __int64 v16; // rbx __int64 v17; // rax struct cocos2d::CCSprite *v18; // rsi __int64 v19; // rbx __int64 v20; // rax __int64 v21; // rcx cocos2d::CCArray *v22; // rdi cocos2d::CCString *v23; // rax const char *CString; // rbx __int64 v25; // rdx __int64 v26; // rcx cocos2d::CCSpriteFrameCache *v27; // rax struct cocos2d::CCObject *v28; // rax cocos2d::CCString *v29; // rax const char *v30; // rbx __int64 v31; // rdx __int64 v32; // rcx cocos2d::CCSpriteFrameCache *v33; // rax struct cocos2d::CCObject *v34; // rax cocos2d::CCString *v35; // rax const char *v36; // rbx __int64 v37; // rdx __int64 v38; // rcx cocos2d::CCSpriteFrameCache *v39; // rax struct cocos2d::CCObject *v40; // rax cocos2d::CCString *v41; // rax const char *v42; // rbx __int64 v43; // rdx __int64 v44; // rcx cocos2d::CCSpriteFrameCache *v45; // rax struct cocos2d::CCObject *v46; // rax struct cocos2d::CCAnimation *v47; // rax struct cocos2d::CCActionInterval *v48; // rax struct cocos2d::CCAction *v49; // rax const struct cocos2d::CCPoint *v50; // rax float v51; // xmm7_4 float v52; // xmm6_4 float *v53; // rax __int64 v54; // rax __int64 v55; // rax __int64 v56; // rax struct cocos2d::CCFiniteTimeAction *v57; // rbx __int64 v58; // rax struct cocos2d::CCAction *v59; // rax struct cocos2d::CCFiniteTimeAction *v60; // rbx struct cocos2d::CCFadeOut *v61; // rax struct cocos2d::CCAction *v62; // rax _BYTE v64[8]; // [rsp+30h] [rbp-68h] BYREF _BYTE v65[8]; // [rsp+38h] [rbp-60h] BYREF _BYTE v66[16]; // [rsp+40h] [rbp-58h] BYREF float v67; // [rsp+A0h] [rbp+8h] BYREF float v68; // [rsp+A4h] [rbp+Ch] float v69; // [rsp+A8h] [rbp+10h] BYREF float v70; // [rsp+ACh] [rbp+14h] char v71; // [rsp+B0h] [rbp+18h] BYREF (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[70] + 336LL))(a1[70], 0); v2 = cocos2d::CCParticleSystemQuad::create("coinPickupEffect.plist", 0); v3 = *(_QWORD *)v2; LOBYTE(v3) = 1; (*(void (__fastcall **)(struct cocos2d::CCParticleSystemQuad *, __int64))(*(_QWORD *)v2 + 1544LL))(v2, v3); ((void (__fastcall *)(_QWORD **, struct cocos2d::CCParticleSystemQuad *, __int64))(*a1)[57])(a1, v2, 1); v4 = *(_QWORD *)v2; v5 = (*(__int64 (__fastcall **)(_QWORD *))(*a1[70] + 200LL))(a1[70]); (*(void (__fastcall **)(struct cocos2d::CCParticleSystemQuad *, __int64))(v4 + 184))(v2, v5); v9 = CCCircleWave::create(v7, v6, v8, 0, 0); *((_WORD *)v9 + 170) = -14081; *((_BYTE *)v9 + 342) = 0; v10 = *(_QWORD *)v9; v11 = (*(__int64 (__fastcall **)(_QWORD *))(*a1[70] + 200LL))(a1[70]); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v10 + 184))(v9, v11); ((void (__fastcall *)(_QWORD **, cocos2d::CCObject *, _QWORD))(*a1)[57])(a1, v9, 0); v15 = CCCircleWave::create(v13, v12, v14, 0, 1); v16 = *(_QWORD *)v15; *((_WORD *)v15 + 170) = -1; *((_BYTE *)v15 + 342) = 0; v17 = (*(__int64 (__fastcall **)(_QWORD *))(*a1[70] + 200LL))(a1[70]); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v16 + 184))(v15, v17); ((void (__fastcall *)(_QWORD **, cocos2d::CCObject *, _QWORD))(*a1)[57])(a1, v15, 0); *((_DWORD *)v15 + 88) = 1; *((_DWORD *)v15 + 89) = 4; v18 = cocos2d::CCSprite::createWithSpriteFrameName("secretCoin_01_001.png"); ((void (__fastcall *)(_QWORD **, struct cocos2d::CCSprite *, __int64))(*a1)[57])(a1, v18, 2); v19 = *(_QWORD *)v18; v20 = (*(__int64 (__fastcall **)(_QWORD *))(*a1[70] + 200LL))(a1[70]); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v19 + 184))(v18, v20); v22 = (cocos2d::CCArray *)cocos2d::CCArray::create(v21); v23 = cocos2d::CCString::createWithFormat("%s_01_001.png", "secretCoin"); CString = cocos2d::CCString::getCString(v23); v27 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v26, v25); v28 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v27, CString); cocos2d::CCArray::addObject(v22, v28); v29 = cocos2d::CCString::createWithFormat("%s_01_002.png", "secretCoin"); v30 = cocos2d::CCString::getCString(v29); v33 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v32, v31); v34 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v33, v30); cocos2d::CCArray::addObject(v22, v34); v35 = cocos2d::CCString::createWithFormat("%s_01_003.png", "secretCoin"); v36 = cocos2d::CCString::getCString(v35); v39 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v38, v37); v40 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v39, v36); cocos2d::CCArray::addObject(v22, v40); v41 = cocos2d::CCString::createWithFormat("%s_01_004.png", "secretCoin"); v42 = cocos2d::CCString::getCString(v41); v45 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v44, v43); v46 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v45, v42); cocos2d::CCArray::addObject(v22, v46); v47 = cocos2d::CCAnimation::createWithSpriteFrames(v22, 0.050000001); v48 = cocos2d::CCAnimate::create(v47); v49 = cocos2d::CCRepeatForever::create(v48); cocos2d::CCNode::runAction(v18, v49); v50 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD *))(*a1[70] + 200LL))(a1[70]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v67, v50); v51 = v68 - 60.0; v52 = (float)rand() / 32767.0; v53 = (float *)(*(__int64 (__fastcall **)(_QWORD *))(*a1[70] + 200LL))(a1[70]); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v69, (float)((float)((float)(v52 + v52) - 1.0) * 50.0) + *v53, v51); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v64); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v65); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v66); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v71, v67, v68 + 90.0); cocos2d::CCPoint::operator=(v65, v54); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v71, v69, v68 + 180.0); cocos2d::CCPoint::operator=(v66, v55); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v71, v69, v70 - 20.0); cocos2d::CCPoint::operator=(v64, v56); v57 = cocos2d::CCBezierTo::create(0.75, (const struct cocos2d::_ccBezierConfig *)v64); v58 = cocos2d::CCCallFunc::create(v18, sub_14003F5B0); v59 = cocos2d::CCSequence::create(v57, v58, 0); cocos2d::CCNode::runAction(v18, v59); v60 = cocos2d::CCDelayTime::create(0.5); v61 = cocos2d::CCFadeOut::create(0.30000001); v62 = cocos2d::CCSequence::create(v60, v61, 0); return cocos2d::CCNode::runAction(v18, v62); }
GD Web Decomp Icon

GD Web Decomp

Raw Source