// // LevelEditorLayer::updatePreviewParticles from 0x662454 to 0x6624e0 (140 bytes) // // 8 xrefs: // > LevelEditorLayer::updateEditorMode @ 0x662700 // > LevelEditorLayer::onStopPlaytest @ 0x662890 // > LevelEditorLayer::onPlaytest @ 0x66442c // > EditorUI::keyDown @ 0x6c64f4 // > EditorPauseLayer::togglePreviewParticles @ 0x78ad54 // > EditorOptionsLayer::onClose @ 0x8c29d4 // > MapSelectLayer::init @ 0x98094c // > @ 0x67860 // // 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 LevelEditorLayer::updatePreviewParticles(LevelEditorLayer *a1) { GameManager *v2; // x0 bool m_alwaysHideParticleIcons; // w1 unsigned int v4; // w19 ParticleGameObject *v5; // x0 bool v6; // cf unsigned int v7; // w1 GameManager *v8; // x0 v2 = GameManager::sharedState(); a1->m_previewParticles = GameManager::getGameVariable(v2, "0117"); m_alwaysHideParticleIcons = a1->m_alwaysHideParticleIcons; if ( !m_alwaysHideParticleIcons ) { v8 = GameManager::sharedState(); m_alwaysHideParticleIcons = GameManager::getGameVariable(v8, "0137"); } a1->m_hideParticleIcons = m_alwaysHideParticleIcons; v4 = 0; while ( 1 ) { v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_particleObjects); v7 = v4++; if ( v6 ) break; v5 = (ParticleGameObject *)cocos2d::CCArray::objectAtIndex(a1->m_particleObjects, v7); LevelEditorLayer::updatePreviewParticle(a1, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source