Decompile fn_13630 (FriendOptionWndInfo::IsValid)

Batch #2078 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_13630 FriendOptionWndInfo::IsValid: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-29 09:56:11 +00:00
commit 4640388907
2 changed files with 2 additions and 2 deletions

View file

@ -225,7 +225,7 @@ int UIFriendOptionWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, s
// OFFSET: 0x009A54B0
// FUNCTION: fn_13630
bool FriendOptionWndInfo::IsValid() const {
int FriendOptionWndInfo::IsValid() const {
return this->width == 280 && this->height == 120 && this->x >= 0 && this->x <= g_renderer->viewport.width - 280 && this->y >= 0 &&
this->y <= g_renderer->viewport.height - 120;
}

View file

@ -125,7 +125,7 @@ struct ExchangeAcceptWndInfo : WindowPlacement {
struct FriendOptionWndInfo : WindowPlacement {
void Reset();
bool IsValid() const;
int IsValid() const;
};
struct GuildHelperWndInfo : WindowPlacement {