// // cocos2d::CCParticleSystem::resetSystem from 0x1008b1690 to 0x1008b180a (378 bytes) // // 73 xrefs: // > LevelEditorLayer::claimCustomParticle @ 0x1000c836e // > GJBaseGameLayer::playSpeedParticle @ 0x10013c2b4 // > GJBaseGameLayer::claimCustomParticle @ 0x10013d9d8 // > ParticleGameObject::resetObject @ 0x1001931df // > ParticleGameObject::updateSyncedAnimation @ 0x10019322a // > ParticleGameObject::updateSyncedAnimation @ 0x10019332d // > ParticleGameObject::updateAnimateOnTrigger @ 0x10019337f // > PlayerObject::playDeathEffect @ 0x1001efb56 // > PlayerObject::playDeathEffect @ 0x1001f0218 // > PlayerObject::playDeathEffect @ 0x1001f0926 // > PlayerObject::playDeathEffect @ 0x1001f0fbe // > PlayerObject::playDeathEffect @ 0x1001f13c2 // > PlayerObject::playDeathEffect @ 0x1001f1bd8 // > PlayerObject::playDeathEffect @ 0x1001f2176 // > PlayerObject::playDeathEffect @ 0x1001f2855 // > PlayerObject::playDeathEffect @ 0x1001f2bed // > PlayerObject::playDeathEffect @ 0x1001f3202 // > PlayerObject::playDeathEffect @ 0x1001f376b // > PlayerObject::playDeathEffect @ 0x1001f3f28 // > PlayerObject::playDeathEffect @ 0x1001f4514 // > PlayerObject::playDeathEffect @ 0x1001f4ea8 // > PlayerObject::playDeathEffect @ 0x1001f5465 // > PlayerObject::playDeathEffect @ 0x1001f5ac9 // > PlayerObject::playDeathEffect @ 0x1001f6122 // > PlayerObject::playDeathEffect @ 0x1001f62c5 // > PlayerObject::playDeathEffect @ 0x1001f6811 // > PlayerObject::playCompleteEffect @ 0x1001f7852 // > GJChestSprite::switchToState @ 0x100202058 // > GJChestSprite::switchToState @ 0x100202450 // > LevelCell::playRecallUnlock @ 0x10023ab97 // > MapSelectLayer::checkTouchMonster @ 0x1002534f2 // > GJDifficultySprite::updateFeatureState @ 0x1002a504c // > GJPathPage::playUnlockAnimation @ 0x1002ebf55 // > GJPathPage::unlockAnimationStep2 @ 0x1002ec987 // > GJPathPage::unlockAnimationStep3 @ 0x1002ed010 // > GJPathPage::unlockAnimationStep3 @ 0x1002ed21c // > GJShopLayer::init @ 0x10030f48c // > PlayerObject::removeAllParticles @ 0x1003e9f25 // > PlayerObject::toggleVisibility @ 0x1003f023d // > PlayerObject::toggleVisibility @ 0x1003f02d5 // > PlayerObject::resetAllParticles @ 0x1003f0395 // > PlayerObject::hitGround @ 0x1003f914f // > PlayerObject::playSpiderDashEffect @ 0x1003fbd73 // > PlayerObject::spiderTestJumpX @ 0x1003fccf9 // > PlayerObject::spiderTestJumpY @ 0x1003fdb8f // > PlayerObject::rotateGameplay @ 0x1003ff7a1 // > PlayerObject::toggleFlyMode @ 0x100403475 // > PlayerObject::toggleFlyMode @ 0x100403481 // > PlayerObject::toggleBirdMode @ 0x100404025 // > PlayerObject::toggleSwingMode @ 0x1004044fc // > PlayerObject::toggleSwingMode @ 0x100404508 // > PlayerObject::toggleSwingMode @ 0x10040463a // > PlayerObject::toggleSwingMode @ 0x100404646 // > LevelPage::updateDynamicPage @ 0x100420a28 // > LevelPage::updateDynamicPage @ 0x100420afc // > LevelPage::updateDynamicPage @ 0x100420be3 // > CreateParticlePopup::onDurationForever @ 0x100469a64 // > CreateParticlePopup::onMaxEmission @ 0x100469ab4 // > CreateParticlePopup::onCalcEmission @ 0x100469b5f // > CreateParticlePopup::update @ 0x10046af55 // > GameToolbox::particleFromStruct @ 0x1004f3ddc // > MenuGameLayer::destroyPlayer @ 0x1004f9f26 // > GauntletSelectLayer::playUnlockAnimation @ 0x1005a080a // > GauntletSelectLayer::unlockAnimationStep2 @ 0x1005a0dfa // > GauntletSelectLayer::unlockAnimationStep3 @ 0x1005a109b // > GauntletSelectLayer::unlockAnimationStep3 @ 0x1005a1215 // > GameObject::setVisible @ 0x10068e20c // > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x1006db478 // > CurrencyRewardLayer::init @ 0x10088971a // > CurrencyRewardLayer::init @ 0x100889b2e // > CurrencyRewardLayer::init @ 0x100889f39 // > CurrencyRewardLayer::init @ 0x10088a2e6 // > CurrencyRewardLayer::createObjectsFull @ 0x10088bc31 // // 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 12:37:21 +0000 // __int64 __fastcall cocos2d::CCParticleSystem::resetSystem(__int64 a1) { __int64 result; // rax __int64 v3; // rcx __int64 v4; // rsi _DWORD *v5; // r8 __int64 v6; // rcx __int64 v7; // rsi __int64 v8; // rdi int v9; // r14d *(_BYTE *)(a1 + 452) = 1; *(_BYTE *)(a1 + 556) = 0; *(_DWORD *)(a1 + 352) = 0; *(_DWORD *)(a1 + 552) = 0; result = *(unsigned int *)(a1 + 456); if ( *(_DWORD *)(a1 + 456) ) { v3 = *(_QWORD *)(a1 + 416); if ( (unsigned int)result >= 4 ) { v5 = (_DWORD *)(v3 + 64); v4 = 0; do { *v5 = 0; v5[37] = 0; v5[74] = 0; v5[111] = 0; v4 += 4; v5 += 148; } while ( (result & 0xFFFFFFFC) != v4 ); } else { v4 = 0; } if ( (result & 3) != 0 ) { v6 = 148 * v4 + v3 + 64; v7 = 0; do { *(_DWORD *)(v6 + v7) = 0; v7 += 148; } while ( 148 * (result & 3) != v7 ); } *(_DWORD *)(a1 + 428) = result; v8 = *(_QWORD *)(a1 + 432); if ( v8 ) { while ( 1 ) { *(_DWORD *)(a1 + 428) = result - 1; if ( v8 ) { v9 = *(_DWORD *)(*(_QWORD *)(a1 + 416) + 148LL * (unsigned int)(result - 1) + 72); cocos2d::CCParticleBatchNode::disableParticle(v8, v9 + *(_DWORD *)(a1 + 440)); LODWORD(result) = *(_DWORD *)(a1 + 456); *(_DWORD *)(*(_QWORD *)(a1 + 416) + 148LL * (unsigned int)(result - 1) + 72) = v9; } result = (unsigned int)(result - 1); *(_DWORD *)(a1 + 456) = result; if ( !(_DWORD)result ) break; v8 = *(_QWORD *)(a1 + 432); } } else { *(_DWORD *)(a1 + 428) = 0; *(_DWORD *)(a1 + 456) = 0; } } else { *(_DWORD *)(a1 + 428) = 0; } *(_BYTE *)(a1 + 286) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source