rodecomp/Source/UI/Window/UIBasicInfoWnd.cpp
ragnarok-clanker 7f6065ba11 Decompile fn_13489 (UIBasicInfoWnd::Slot03)
Batch #3530 by eAthena: 1 byte-identical, 0 confirmed by peer review.

- fn_13489 UIBasicInfoWnd::Slot03: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-29 22:45:17 +00:00

49 lines
1.1 KiB
C++

#include "UI/Window/UIBasicInfoWnd.h"
#include "UI/Window/UIWindowMgr.h"
// OFFSET: 0x00998190
// FUNCTION: fn_13489
bool UIBasicInfoWnd::Slot03() {
return true;
}
// OFFSET: 0x00999BC0
// FUNCTION: fn_13499
void UIBasicInfoWnd::Slot11() {
if (this->saved) {
this->saved->height = this->geometry.height;
this->saved->width = this->geometry.width;
this->saved->x = this->geometry.x;
this->saved->y = this->geometry.y;
this->saved->unknown_0010 = this->mode;
}
}
// OFFSET: 0x00999360
// FUNCTION: fn_13494
void UIBasicInfoWnd::Slot25(int x, int y) {
if (y < 17) {
UIFrameWnd::Slot25(x, y);
}
}
// OFFSET: 0x00999330
// FUNCTION: fn_13493
void UIBasicInfoWnd::Slot26(int x, int y) {
if (y < 17) {
this->SendMsg(this, 6, 202, 0, 0, 0);
}
}
// OFFSET: 0x00999430
// FUNCTION: fn_13496
void UIBasicInfoWnd::Slot27(int x, int y) {
UIFrameWnd::Slot27(x, y);
if (UIWindow* window = g_windowMgr.LookupWindow(307)) {
int screenX = 0;
int screenY = 0;
this->ToScreen(screenX, screenY);
window->Move(screenX, this->geometry.height + screenY);
}
}