// // LevelEditorLayer::updatePreviewParticles from 0x1003605dc to 0x100360670 (148 bytes) // // 6 xrefs: // > EditorOptionsLayer::onClose @ 0x1002d4b18 // > LevelEditorLayer::updateEditorMode @ 0x100359170 // > LevelEditorLayer::onPlaytest @ 0x100362f70 // > LevelEditorLayer::onStopPlaytest @ 0x1003632e0 // > EditorPauseLayer::togglePreviewParticles @ 0x10039e1f8 // > EditorUI::keyDown @ 0x1003f9ed8 // // 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 LevelEditorLayer::updatePreviewParticles(LevelEditorLayer *a1) { int *p_m_activeGradients; // x20 GameManager *v3; // x0 bool GameVariable; // w0 GameManager *v5; // x0 unsigned int v6; // w20 ParticleGameObject *v7; // x0 p_m_activeGradients = &a1->m_activeGradients; v3 = GameManager::sharedState(); *((_BYTE *)p_m_activeGradients + 1459) = GameManager::getGameVariable(v3, "0117"); if ( (*((_BYTE *)p_m_activeGradients + 1463) & 1) != 0 ) { GameVariable = 1; } else { v5 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v5, "0137"); } *((_BYTE *)p_m_activeGradients + 1462) = GameVariable; if ( (unsigned int)sub_10024A36C((__int64)a1->m_particleObjects) ) { v6 = 0; do { v7 = (ParticleGameObject *)sub_10024A388((__int64)a1->m_particleObjects, v6); LevelEditorLayer::updatePreviewParticle(a1, v7); ++v6; } while ( v6 < (unsigned int)sub_10024A36C((__int64)a1->m_particleObjects) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source