From 92fe7d1a78040655be76f1f71baa5c821d820058 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 29 Oct 2026 20:13:22 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/EffectResourceSwitcher.cpp Batch #3003 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_06974 CEZ2STREffect::Slot27: logic confirmed by peer review - fn_06975 CEZ2STREffect::EndLoop: logic confirmed by peer review Peer-reviewed-by: meitogi, bigodeira Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/EffectResourceSwitcher.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Source/Contents/EffectResourceSwitcher.cpp b/Source/Contents/EffectResourceSwitcher.cpp index 780d3f9a..cf5dea61 100644 --- a/Source/Contents/EffectResourceSwitcher.cpp +++ b/Source/Contents/EffectResourceSwitcher.cpp @@ -282,8 +282,21 @@ void CEZ2STREffect::Slot26(int argument) { } // OFFSET: 0x006FFF30 +// FUNCTION: fn_06974 +void CEZ2STREffect::Slot27(int argument) { + if (this->emitter) { + this->emitter->unknown_3FE9 = static_cast(argument); + } +} // OFFSET: 0x006FFF50 +// FUNCTION: fn_06975 +__declspec(noinline) void CEZ2STREffect::EndLoop(unsigned char fadeOut) { + if (this->emitter) { + this->emitter->looping = 0; + this->emitter->fadeOut = fadeOut; + } +} // OFFSET: 0x006FFF80 // FUNCTION: fn_06976