Decompile 2 functions in Source/UI/Chat/UIChatRoomMakeWnd.cpp, Source/UI/Chat/UIChatRoomMakeWnd.h

Batch #4651 by gordaoprogramas: 0 byte-identical, 2 confirmed by peer review.

- fn_11928 UIChatRoomChangeWnd::UIChatRoomChangeWnd: logic confirmed by peer review
- fn_11929 UIChatRoomMakeWnd::UIChatRoomMakeWnd: logic confirmed by peer review

Peer-reviewed-by: eAthena, youko
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/UI/Chat/UIChatRoomMakeWnd.cpp
This commit is contained in:
ragnarok-clanker 2026-10-30 04:24:18 +00:00
commit b043089187
3 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#include "UI/Chat/UIChatRoomMakeWnd.h"
#include "Contents/MessageTable.h"
// OFFSET: 0x008C7280
// FUNCTION: fn_11929
UIChatRoomMakeWnd::UIChatRoomMakeWnd(UIWindowContext& windows, UIFrameContext& frames) : UIFrameWnd(windows, frames, 0) {
this->m_title = LookupMessage(125);
}
// OFFSET: 0x008C7120
// FUNCTION: fn_11928
UIChatRoomChangeWnd::UIChatRoomChangeWnd(UIWindowContext& windows, UIFrameContext& frames) : UIChatRoomMakeWnd(windows, frames) {
this->m_title = LookupMessage(126);
}

View file

@ -0,0 +1,27 @@
#ifndef RAGNAROK_SOURCE_UI_CHAT_UICHATROOMMAKEWND_H
#define RAGNAROK_SOURCE_UI_CHAT_UICHATROOMMAKEWND_H
#include "UI/Window/UIFrameWnd.h"
#include <cstdint>
#include <string>
#include <vector>
class UIChatRoomMakeWnd : public UIFrameWnd {
public:
UIChatRoomMakeWnd(UIWindowContext& windows, UIFrameContext& frames);
/* 00B4 */ std::string m_title;
/* 00CC */ unsigned char unknown_00CC[0x2C];
/* 00F8 */ std::vector<std::uint32_t> unknown_00F8;
/* 0104 */ std::vector<std::uint32_t> unknown_0104;
/* 0110 */ std::vector<std::uint32_t> unknown_0110;
/* 011C */ std::vector<std::uint32_t> unknown_011C;
};
class UIChatRoomChangeWnd : public UIChatRoomMakeWnd {
public:
UIChatRoomChangeWnd(UIWindowContext& windows, UIFrameContext& frames);
};
#endif

View file

@ -783,6 +783,7 @@
"Source/UI/Buttons/UITextureButton.cpp": 2,
"Source/UI/CashShop/UICashShopWnd.cpp": 2,
"Source/UI/Chat/ChatSuggestions.cpp": 2,
"Source/UI/Chat/UIChatRoomMakeWnd.cpp": 2,
"Source/UI/Chat/UIChatRoomTitle.cpp": 2,
"Source/UI/Chat/UISubChatHisWnd.cpp": 2,
"Source/UI/Chat/UIWhisperWnd.cpp": 2,