Decompile 8 functions in Source/UI/Acceptance/UIChooseSellBuyWnd.cpp, Source/UI/Buttons/UITextButton.cpp, ...

Batch #4791 by eAthena: 5 byte-identical, 3 confirmed by peer review.

- fn_10787 UIEmblemWnd::Slot15: byte-identical
- fn_10791 UIWordDisplayWnd::Slot15: byte-identical
- fn_11734 UIChatRoomWnd::Move: logic confirmed by peer review
- fn_11753 UILoginOTPWnd::Slot18: byte-identical
- fn_12185 UINotifyItemObtainWnd::Slot15: byte-identical
- fn_12193 UIPetTamingDeceiveWnd::Slot15: byte-identical
- fn_11308 UIImgMenu::Move: logic confirmed by peer review
- fn_11558 UIString::SendMsg: logic confirmed by peer review

Peer-reviewed-by: alisonrag, youko
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-10-30 04:58:33 +00:00
commit 31bc572fdd
13 changed files with 52 additions and 0 deletions

View file

@ -2080,3 +2080,13 @@ int UIGraffiStrboxWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, s
return UIFrameWnd::SendMsg(sender, message, a, b, c, d);
}
// OFFSET: 0x008E4380
// FUNCTION: fn_12185
void UINotifyItemObtainWnd::Slot15(int, int) {
}
// OFFSET: 0x008E7120
// FUNCTION: fn_12193
void UIPetTamingDeceiveWnd::Slot15(int, int) {
}

View file

@ -1520,3 +1520,15 @@ void UIItemStoreComboBoxWnd::Paint() {
const auto* background = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\basic_interface\\bg_setting.bmp")));
this->DrawBitmap(0, this->geometry.height - background->image.height, &background->image, false);
}
// OFFSET: 0x00884700
// FUNCTION: fn_11308
void UIImgMenu::Move(int x, int y) {
UIWindow::Move(x, y);
}
// OFFSET: 0x00899A20
// FUNCTION: fn_11558
int UIString::SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) {
return UIWindow::SendMsg(sender, message, argument1, argument2, argument3, argument4);
}

View file

@ -14,6 +14,7 @@ public:
/* 00CC */ std::uint32_t m_finishTime;
/* 00D0 */ int m_started;
void Slot15(int width, int height) override;
void Slot19() override;
void Paint() override;
void Slot25(int x, int y) override;

View file

@ -9,6 +9,7 @@ public:
/* 00E4 */ std::uint32_t m_shownTick;
bool CanHitTest() override;
void Slot15(int width, int height) override;
void Slot19() override;
};

View file

@ -6,6 +6,7 @@
class UIImgMenu : public UIWindow {
public:
int ItemAt(int x, int y);
void Move(int x, int y) override;
void Slot27(int x, int y) override;
void Slot28(int x, int y) override;
void ResetCursor(int x, int y) override;

View file

@ -9,6 +9,7 @@ class UIString : public UIWindow {
public:
explicit UIString(UIWindowContext& windows);
void ResetCursor(int x, int y) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
/* 007C */ int unknown_007C;
/* 0080 */ int unknown_0080;

View file

@ -8,6 +8,7 @@ struct UIButtonContext;
class UIChatRoomWnd : public UIFrameWnd {
public:
void Move(int x, int y) override;
void Slot11() override;
void Paint() override;

View file

@ -11,6 +11,11 @@
#include <string>
// OFFSET: 0x0085ACD0
// FUNCTION: fn_10787
void UIEmblemWnd::Slot15(int, int) {
}
// OFFSET: 0x0085CE40
// FUNCTION: fn_10809
void UIEmblemWnd::Paint() {

View file

@ -7,6 +7,7 @@
class UIEmblemWnd : public UIWindow {
public:
void Slot15(int width, int height) override;
void Slot19() 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;

View file

@ -7,6 +7,7 @@ struct UIButtonContext;
class UILoginOTPWnd : public UIFrameWnd {
public:
void Slot18() override;
void Paint() override;
protected:

View file

@ -974,3 +974,15 @@ void UILoginWnd::Slot27(int, int) {
// FUNCTION: fn_11790
void UIMakeCharWnd::Slot19() {
}
// OFFSET: 0x008AD130
// FUNCTION: fn_11734
void UIChatRoomWnd::Move(int x, int y) {
this->geometry.Move(x, y);
this->Slot36();
}
// OFFSET: 0x008B7A60
// FUNCTION: fn_11753
void UILoginOTPWnd::Slot18() {
}

View file

@ -9,6 +9,11 @@
#include "Resource/TextureNames.h"
#include "UI/Window/UIWordDisplayWnd.h"
// OFFSET: 0x0085B000
// FUNCTION: fn_10791
void UIWordDisplayWnd::Slot15(int, int) {
}
// OFFSET: 0x0085E370
// FUNCTION: fn_10825
void UIWordDisplayWnd::Paint() {

View file

@ -8,6 +8,7 @@
class UIWordDisplayWnd : public UIFrameWnd {
public:
void Slot15(int width, int height) override;
void Slot19() 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;