rodecomp/Source/UI/Chat/UISubChatHisWnd.cpp
ragnarok-clanker 091c51e067 Decompile fn_12788 (UISubChatHisWnd::Slot11)
Batch #4628 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_12788 UISubChatHisWnd::Slot11: logic confirmed by peer review

Peer-reviewed-by: willerthal, tayoba, Snow
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 04:15:47 +00:00

31 lines
747 B
C++

#include "UI/Chat/UISubChatHisWnd.h"
#include "Contents/UserData/NormalItemSlots.h"
#include "UI/Chat/UINewChatWnd.h"
#include "UI/Edit/UIEditCtrl.h"
#include "UI/Window/InputFocus.h"
#include "UI/Window/UIWindowMgr.h"
// OFFSET: 0x009312E0
// OFFSET: 0x009309B0
// OFFSET: 0x00931710
// OFFSET: 0x0091C9E0
// FUNCTION: fn_12619
bool UISubChatHisWnd::Slot42(void* output) {
*static_cast<SubChatHistoryState*>(output) = this->m_state;
return true;
}
// OFFSET: 0x00941020
// FUNCTION: fn_12788
void UISubChatHisWnd::Slot11() {
if (this->m_saved) {
this->m_saved->width = this->geometry.width;
this->m_saved->height = this->geometry.height;
this->m_saved->x = this->geometry.x;
this->m_saved->y = this->geometry.y;
}
}