Decompile fn_07740 (UIMiniPartyWnd::Slot15)

Batch #5926 by ntrl: 0 byte-identical, 1 confirmed by peer review.

- fn_07740 UIMiniPartyWnd::Slot15: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, KWDev, System4z
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 17:48:42 +00:00
commit 573faf49ec
2 changed files with 17 additions and 1 deletions

View file

@ -4,7 +4,7 @@
#include "UI/Window/UIWindowMgr.h"
#include <windows.h>
#include <mmsystem.h>
#include <timeapi.h>
// OFFSET: 0x007426F0
// FUNCTION: fn_07737
@ -21,6 +21,21 @@ void UIMiniPartyWnd::Move(int x, int y) {
this->geometry.y = y;
}
// OFFSET: 0x00742AC0
// FUNCTION: fn_07740
void UIMiniPartyWnd::Slot15(int, int) {
UIMiniPartyInfoWnd* info = new UIMiniPartyInfoWnd(*this->m_context, *this->m_frameContext);
this->m_infoWnd = info;
info->m_owner = this;
info->SetSize(174, 52);
info->Move(0, 0);
this->AddChild(info);
this->m_widths.resize(3);
this->m_widths[0] = 174;
this->m_widths[1] = 101;
this->m_widths[2] = 64;
}
// OFFSET: 0x00742BE0
// FUNCTION: fn_07741
void UIMiniPartyWnd::Paint() {

View file

@ -30,6 +30,7 @@ public:
class UIMiniPartyWnd : public UIFrameWnd {
public:
UIMiniPartyWnd(UIWindowContext& windowContext, UIFrameContext& frameContext);
void Slot15(int width, int height) override;
void Move(int x, int y) override;
void Paint() override;
void Slot25(int x, int y) override;