Decompile 5 functions in Source/Contents/Effects/Bash.cpp, Source/Contents/Effects/ElectricEffect.cpp, ...

Batch #12525 by cremane: 0 byte-identical, 5 confirmed by peer review.

- fn_07059 CMeteorEffect::Slot04: logic confirmed by peer review
- fn_07102 CRectUpEffect::Slot03: logic confirmed by peer review
- fn_18872 CBash::Slot03: logic confirmed by peer review
- fn_18873 CBash::Slot04: logic confirmed by peer review
- fn_19007 CElectricEffect::Slot04: logic confirmed by peer review

Peer-reviewed-by: Yommy, gordaoprogramas, dori
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-05 16:53:13 +00:00
commit f87862c8f6
4 changed files with 13 additions and 7 deletions

View file

@ -132,7 +132,8 @@ void CMeteorEffect::Slot03() {
// OFFSET: 0x00707CA0
// FUNCTION: fn_07059
void CMeteorEffect::Slot04() {
for (CParticle* particle : this->unknown_00CC) {
for (auto it = this->unknown_00CC.begin(); it != this->unknown_00CC.end(); ++it) {
CParticle* particle = *it;
if ((particle->life == 0.0f || particle->life * 60.0f > static_cast<float>(particle->unknown_00E8)) && particle) {
static_cast<CSpriteParticle*>(particle)->sub_B40F30(0);
}