From 4bb91b522d135994aa61a9447ceba33cd328bc60 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 29 Oct 2026 23:03:07 +0000 Subject: [PATCH] Decompile 2 functions in Source/UI/UIMacroBlackListCheckWnd.cpp, Source/UI/UIMacroBlackListCheckWnd.h, ... Batch #3689 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_09803 UIMacroBlackListCheckWnd::Activate: logic confirmed by peer review - fn_09817 UIMacroDetectorWnd::Slot19: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/UIMacroBlackListCheckWnd.cpp | 7 +++++++ Source/UI/UIMacroDetectorWnd.cpp | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/Source/UI/UIMacroBlackListCheckWnd.cpp b/Source/UI/UIMacroBlackListCheckWnd.cpp index a91f156a..18a3d821 100644 --- a/Source/UI/UIMacroBlackListCheckWnd.cpp +++ b/Source/UI/UIMacroBlackListCheckWnd.cpp @@ -175,3 +175,10 @@ int UIMacroBlackListCheckWnd::SendMsg( } // OFFSET: 0x007ECE80 +// FUNCTION: fn_09803 +void UIMacroBlackListCheckWnd::Activate(unsigned char state, int duration) { + this->startTick = timeGetTime(); + this->duration = duration; + this->unknown_00E4 = state; + this->Invalidate(); +} diff --git a/Source/UI/UIMacroDetectorWnd.cpp b/Source/UI/UIMacroDetectorWnd.cpp index e793336a..d32b14a1 100644 --- a/Source/UI/UIMacroDetectorWnd.cpp +++ b/Source/UI/UIMacroDetectorWnd.cpp @@ -19,3 +19,10 @@ void UIMacroDetectorWnd::Slot27(int, int) { } // OFFSET: 0x007EDC30 +// FUNCTION: fn_09817 +void UIMacroDetectorWnd::Slot19() { + if (this->messageTick + this->messageDuration < timeGetTime()) { + this->message = ""; + } + this->Invalidate(); +}