// // PlayerObject::playCompleteEffect from 0x1404e2420 to 0x1404e2905 (1253 bytes) // // 3 xrefs: // > PlayLayer::levelComplete @ 0x14050623d // > PlayLayer::levelComplete @ 0x140506251 // > @ 0x140929b04 // // 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:33:09 +0000 // struct cocos2d::CCAction *__fastcall PlayerObject::playCompleteEffect(__int64 a1, char a2, char a3) { cocos2d::CCParticleSystem *v6; // rcx cocos2d::CCNode *v7; // rcx __int64 v8; // r14 struct cocos2d::CCAction *v9; // rbx struct cocos2d::CCAction *result; // rax cocos2d::CCParticleSystem *v11; // rdi __int64 v12; // rdx __int64 v13; // rbx __int64 v14; // rax __int64 v15; // rax unsigned int v16; // xmm1_4 __int64 v17; // rax __int64 v18; // rdx __int64 v19; // rax __int64 v20; // rax __int64 v21; // rbx __int64 v22; // rbx __int64 v23; // rax __int64 v24; // rbx __int64 v25; // rbx __int64 v26; // rdx __int64 v27; // rcx __int64 v28; // r8 cocos2d::CCObject *v29; // rdi __int64 v30; // rbx __int64 v31; // rax __int64 v32; // rdx __int64 v33; // rcx __int64 v34; // r8 cocos2d::CCObject *v35; // rdi __int64 v36; // rbx __int64 v37; // rax __int64 v38; // rdx __int64 v39; // rcx __int64 v40; // r8 cocos2d::CCObject *v41; // rdi __int64 v42; // rbx __int64 v43; // rax __int16 v44; // [rsp+30h] [rbp-38h] __m128i si128; // [rsp+40h] [rbp-28h] BYREF if ( *(_BYTE *)(a1 + 2500) ) PlayerObject::fadeOutStreak2(a1); PlayerObject::stopDashing(a1); if ( *(_BYTE *)(a1 + 2030) ) cocos2d::CCParticleSystem::stopSystem(*(cocos2d::CCParticleSystem **)(a1 + 2240)); v6 = *(cocos2d::CCParticleSystem **)(a1 + 2248); *(_BYTE *)(a1 + 2030) = 0; cocos2d::CCParticleSystem::stopSystem(v6); cocos2d::CCParticleSystem::stopSystem(*(cocos2d::CCParticleSystem **)(a1 + 2256)); cocos2d::CCParticleSystem::stopSystem(*(cocos2d::CCParticleSystem **)(a1 + 2264)); cocos2d::CCParticleSystem::stopSystem(*(cocos2d::CCParticleSystem **)(a1 + 2280)); v7 = *(cocos2d::CCNode **)(a1 + 3096); if ( v7 ) { cocos2d::CCNode::stopAllActions(v7); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 3096) + 336LL))(*(_QWORD *)(a1 + 3096), 0); } PlayerObject::toggleGhostEffect(a1, 0); PlayerObject::disableSwingFire(a1); if ( (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 504LL))(a1) ) v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 504LL))(a1); else v8 = *(_QWORD *)(a1 + 3120); if ( a3 ) { result = (struct cocos2d::CCAction *)(*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 + 320) + 40LL))( a1 + 320, 0); } else { v9 = cocos2d::CCFadeTo::create(0.1, 0); (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v9 + 64LL))(v9, 4); result = cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v9); } if ( !a2 ) { v11 = cocos2d::CCParticleSystemQuad::create("explodeEffectVortex.plist", 0); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v11 + 1528LL))(v11, 2); (*(void (__fastcall **)(_QWORD, cocos2d::CCParticleSystem *, __int64))(**(_QWORD **)(a1 + 3120) + 456LL))( *(_QWORD *)(a1 + 3120), v11, 99); LOBYTE(v12) = 1; (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v11 + 1544LL))(v11, v12); v13 = *(_QWORD *)v11; v14 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(v13 + 184))(v11, v14); v44 = *(_WORD *)(a1 + 2706); *(float *)si128.m128i_i32 = (float)(unsigned __int8)v44 / 255.0; v15 = *(_QWORD *)v11; *(float *)&v16 = (float)*(unsigned __int8 *)(a1 + 2708) / 255.0; *(float *)&si128.m128i_i32[1] = (float)HIBYTE(v44) / 255.0; si128.m128i_i64[1] = v16 | 0x3F80000000000000LL; (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v15 + 1352))(v11, &si128); v17 = *(_QWORD *)v11; si128 = _mm_load_si128((const __m128i *)&xmmword_140836B20); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v17 + 1384))(v11, &si128); LOBYTE(v18) = 1; (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __int64))(*(_QWORD *)v11 + 1272LL))(v11, v18); v19 = *(_QWORD *)v11; si128 = _mm_load_si128((const __m128i *)&xmmword_140836960); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v19 + 1368))(v11, &si128); v20 = *(_QWORD *)v11; si128 = _mm_load_si128((const __m128i *)&xmmword_140836960); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(v20 + 1400))(v11, &si128); v21 = *(_QWORD *)v11; (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v11 + 1048LL))(v11); (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v21 + 1056))(v11); v22 = *(_QWORD *)v11; (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v11 + 960LL))(v11); (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v22 + 968))(v11); v23 = (*(__int64 (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v11 + 944LL))(v11); cocos2d::CCPoint::operator*(v23, &si128); (*(void (__fastcall **)(cocos2d::CCParticleSystem *, __m128i *))(*(_QWORD *)v11 + 952LL))(v11, &si128); v24 = *(_QWORD *)v11; (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v11 + 1280LL))(v11); (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v24 + 1288))(v11); v25 = *(_QWORD *)v11; (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(*(_QWORD *)v11 + 1312LL))(v11); (*(void (__fastcall **)(cocos2d::CCParticleSystem *))(v25 + 1320))(v11); cocos2d::CCParticleSystem::resetSystem(v11); v29 = CCCircleWave::create(v27, v26, v28, 0, 1); v30 = *(_QWORD *)v29; *((_WORD *)v29 + 170) = *(_WORD *)(a1 + 2706); *((_BYTE *)v29 + 342) = *(_BYTE *)(a1 + 2708); v31 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v30 + 184))(v29, v31); (*(void (__fastcall **)(__int64, cocos2d::CCObject *, __int64))(*(_QWORD *)v8 + 456LL))(v8, v29, 99); v35 = CCCircleWave::create(v33, v32, v34, 0, 1); v36 = *(_QWORD *)v35; *((_WORD *)v35 + 170) = *(_WORD *)(a1 + 2709); *((_BYTE *)v35 + 342) = *(_BYTE *)(a1 + 2711); v37 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v36 + 184))(v35, v37); *((_DWORD *)v35 + 90) = 1061997773; (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**(_QWORD **)(a1 + 3120) + 456LL))( *(_QWORD *)(a1 + 3120), v35, 1000); v41 = CCCircleWave::create(v39, v38, v40, 0, 1); v42 = *(_QWORD *)v41; *((_WORD *)v41 + 170) = *(_WORD *)(a1 + 2706); *((_BYTE *)v41 + 342) = *(_BYTE *)(a1 + 2708); v43 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v42 + 184))(v41, v43); *((_DWORD *)v41 + 90) = 1061997773; return (struct cocos2d::CCAction *)(*(__int64 (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**(_QWORD **)(a1 + 3120) + 456LL))( *(_QWORD *)(a1 + 3120), v41, 1000); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source