Decompile 3 functions in Source/Contents/Effects/EffectPrimitiveMotion.cpp, Source/Contents/Effects/EffectParticle.h, ...

Batch #1853 by ragnarok-clanker: 1 byte-identical, 2 confirmed by peer review.

- fn_19849 EffectPrimitiveState::UpdateColor: logic confirmed by peer review
- fn_19762 EffectPrimitiveSlot::EffectPrimitiveSlot: byte-identical (already on main)
- fn_19865 DrawEffectPrimitive15: logic confirmed by peer review

Peer-reviewed-by: Yommy
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-10-28 22:53:38 +00:00
commit 2e808aaa74
11 changed files with 255 additions and 41 deletions

View file

@ -54,7 +54,7 @@ EffectPrimitiveState::EffectPrimitiveState(RenderObjectState& render) {
this->unknown_0338 = 0;
this->unknown_0358 = 0.0f;
this->unknown_0364 = 0.0f;
this->unknown_0328 = 0.0f;
this->alphaSpeed = 0.0f;
this->unknown_02EC = 0;
this->unknown_02C0 = 0.0f;
this->unknown_0320 = 0;
@ -96,15 +96,15 @@ EffectPrimitiveState::EffectPrimitiveState(RenderObjectState& render) {
this->unknown_01EC = -1;
this->unknown_01F0 = -1;
this->unknown_01C0 = -1;
this->unknown_0324 = 254.0f;
this->unknown_032C = 1.0f;
this->alpha = 254.0f;
this->alphaDelta = 1.0f;
this->unknown_02D4 = 254.0f;
this->unknown_02D8 = 0;
this->unknown_0254 = 1;
this->unknown_01F4 = 1;
this->unknown_01E8 = 4;
render.previousAnimation = 0;
render.unknown_003C = 0;
render.curMotion = 0;
this->textureCount = 1;
this->unknown_02E4 = 0;
this->unknown_02DC = 0;