From d6a55087ea960cd7e0a87f42b50a88a56f36ec7e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 11:58:48 +0000 Subject: [PATCH] Decompile fn_13196 (UIKeyStrokeWnd::UIKeyStrokeWnd) Batch #7821 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_13196 UIKeyStrokeWnd::UIKeyStrokeWnd: logic confirmed by peer review Peer-reviewed-by: eAthena, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Edit/UICandidateWnd.cpp | 8 ++++++++ Source/UI/Edit/UICandidateWnd.h | 3 +++ Source/UI/Window/UIBasicInfoWnd.cpp | 2 ++ Source/UI/Window/UIBasicInfoWnd.h | 1 + 4 files changed, 14 insertions(+) diff --git a/Source/UI/Edit/UICandidateWnd.cpp b/Source/UI/Edit/UICandidateWnd.cpp index 2fff5b8b..2360431d 100644 --- a/Source/UI/Edit/UICandidateWnd.cpp +++ b/Source/UI/Edit/UICandidateWnd.cpp @@ -12,6 +12,14 @@ #include #include +// OFFSET: 0x0096D300 + +// OFFSET: 0x0096D370 + +// OFFSET: 0x0096D3F0 +// FUNCTION: fn_13196 +UIKeyStrokeWnd::UIKeyStrokeWnd(UIWindowContext& windowContext, UIFrameContext& frameContext) : UIFrameWnd(windowContext, frameContext, 0) {} + // OFFSET: 0x0096D6F0 // FUNCTION: fn_13200 void UICandidateWnd::Slot15(int, int) {} diff --git a/Source/UI/Edit/UICandidateWnd.h b/Source/UI/Edit/UICandidateWnd.h index 69f15236..0ab5ef2c 100644 --- a/Source/UI/Edit/UICandidateWnd.h +++ b/Source/UI/Edit/UICandidateWnd.h @@ -9,6 +9,7 @@ struct UIButtonContext; class UICandidateWnd : public UIFrameWnd { public: + UICandidateWnd(UIWindowContext& windowContext, UIFrameContext& frameContext, UIButtonContext& controls); void Slot15(int width, int height) override; void Paint() override; int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override; @@ -24,6 +25,7 @@ protected: class UICompositionWnd : public UIFrameWnd { public: + UICompositionWnd(UIWindowContext& windowContext, UIFrameContext& frameContext, UIButtonContext& controls); void Slot15(int width, int height) override; void Paint() override; int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override; @@ -35,6 +37,7 @@ protected: class UIKeyStrokeWnd : public UIFrameWnd { public: + UIKeyStrokeWnd(UIWindowContext& windowContext, UIFrameContext& frameContext); void Slot15(int width, int height) override; void Paint() override; int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override; diff --git a/Source/UI/Window/UIBasicInfoWnd.cpp b/Source/UI/Window/UIBasicInfoWnd.cpp index bb488703..867505a3 100644 --- a/Source/UI/Window/UIBasicInfoWnd.cpp +++ b/Source/UI/Window/UIBasicInfoWnd.cpp @@ -7,6 +7,8 @@ #include +// OFFSET: 0x00997250 + // OFFSET: 0x00998190 // FUNCTION: fn_13489 bool UIBasicInfoWnd::Slot03() { diff --git a/Source/UI/Window/UIBasicInfoWnd.h b/Source/UI/Window/UIBasicInfoWnd.h index 1aa013f5..203bf330 100644 --- a/Source/UI/Window/UIBasicInfoWnd.h +++ b/Source/UI/Window/UIBasicInfoWnd.h @@ -8,6 +8,7 @@ class UIStaticText; class UIBasicInfoWnd : public UIFrameWnd { public: + UIBasicInfoWnd(UIWindowContext& windowContext, UIFrameContext& frameContext, UIButtonContext& controls); bool Slot03() override; void Slot11() override; void Slot25(int x, int y) override;