rodecomp/Source/UI/Window/UIZeroChatWnd.cpp
ragnarok-clanker 284cee10a8 Decompile 2 functions in Source/UI/Window/UIZeroChatWnd.cpp, Source/UI/Window/UIBalloonOpenBtn.h, ...
Batch #7225 by aDw: 0 byte-identical, 2 confirmed by peer review.

- fn_12891 UIBalloonOpenBtn::Slot15: logic confirmed by peer review
- fn_12892 UIDebuffRemoveWnd::Slot15: logic confirmed by peer review

Peer-reviewed-by: eAthena, alisonrag, Lumen
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/Window/UIZeroChatWnd.cpp
2026-10-31 05:02:14 +00:00

35 lines
1.3 KiB
C++

#include "UI/Window/UIBalloonOpenBtn.h"
#include "Contents/MessageTable.h"
#include "UI/Buttons/UIBasicButton.h"
#include "UI/Buttons/UIBitmapButton.h"
#include "UI/Guild/UIGuild_Storage_Log.h"
#include "UI/Lists/UITabControl.h"
#include "UI/Text/UIStaticText.h"
#include "UI/Window/UIDebuffRemoveWnd.h"
#include <string>
// OFFSET: 0x0094B410
// FUNCTION: fn_12891
void UIBalloonOpenBtn::Slot15(int width, int height) {
this->m_button = new UIBitmapButton(*this->m_context, *this->m_controls);
this->m_button->SetBitmap("유저인터페이스\\basic_interface\\combo_btn_a.bmp", 0, 0);
this->m_button->SetBitmap("유저인터페이스\\basic_interface\\combo_btn_b.bmp", 1, 0);
this->m_button->SetBitmap("유저인터페이스\\basic_interface\\combo_btn_c.bmp", 2, 0);
this->m_button->SetSize(this->m_button->BitmapWidth(), this->m_button->BitmapHeight());
this->m_button->Move(0, 0);
this->m_button->SetId(0x1FE);
this->AddChild(this->m_button);
}
// OFFSET: 0x0094B500
// FUNCTION: fn_12892
void UIDebuffRemoveWnd::Slot15(int width, int height) {
this->m_button = new UIBasicButton(*this->m_context, *this->m_controls);
this->m_button->Configure(0x96, LookupMessage(0x10E6));
this->m_button->Move(0xF, 0x16);
this->m_button->SetId(0xB8);
this->AddChild(this->m_button);
}
// OFFSET: 0x0094B5C0