Decompile fn_22569 (CPc::ApplyLayerEffects)

Batch #12233 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review.

- fn_22569 CPc::ApplyLayerEffects: logic confirmed by peer review

Peer-reviewed-by: Yommy, cremane, codeplay
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 13:12:18 +00:00
commit 8afeb8bfd1

View file

@ -1019,9 +1019,9 @@ void CPc::ApplyLayerEffects(
hover = static_cast<short>(this->HoverHeight());
}
const std::int64_t hoverOffset = hover;
const int hoverOffset = hover;
this->render.unknown_0128 = static_cast<std::uint32_t>(hoverOffset);
this->render.unknown_012C = static_cast<std::uint32_t>(hoverOffset >> 32);
this->render.unknown_012C = static_cast<std::uint32_t>(hoverOffset >> 31);
SpriteQuad jitter;
if ((this->render.flags & 8) != 0 && layer < 5 && (this->render.flags & 0x30000) == 0) {