From 142e722e4560b4841ba2eba3e19d52b2a3dcd0f9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 10:38:27 +0000 Subject: [PATCH] Decompile fn_07856 (CGifRes::Slot02) Batch #14431 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_07856 CGifRes::Slot02: logic confirmed by peer review Peer-reviewed-by: Yommy, secret Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Resource/GifResource.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/Resource/GifResource.cpp b/Source/Resource/GifResource.cpp index ce72b1bfc..d445b4707 100644 --- a/Source/Resource/GifResource.cpp +++ b/Source/Resource/GifResource.cpp @@ -156,7 +156,12 @@ void CGifRes::Unload() { // FUNCTION: fn_07856 void CGifRes::Slot02() { const std::size_t count = this->frames.size(); - if (count <= 1 || this->currentFrame >= count) { + if (count <= 1) { + this->frameChanged = false; + return; + } + + if (this->currentFrame >= count) { this->frameChanged = false; return; }