Decompile fn_13678 (BasicInfoWndInfo::Reset)

Batch #2362 by alisonrag: 0 byte-identical, 1 confirmed by peer review.

- fn_13678 BasicInfoWndInfo::Reset: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
This commit is contained in:
ragnarok-clanker 2026-10-29 15:48:55 +00:00
commit da7c7a6ca7
3 changed files with 32 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#include "Contents/UserData/NormalItemSlots.h"
#include "Client/Session.h"
#include "Render/Renderer.h"
#include <json/value.h>
@ -122,6 +123,26 @@ void AchTracingWndInfo::Reset() {
this->y = (g_renderer->viewport.height - 150) / 2;
}
// OFFSET: 0x009A63C0
// FUNCTION: fn_13678
void BasicInfoWndInfo::Reset() {
this->x = 0;
this->y = 0;
this->width = 220;
this->height = 134;
if (g_session.IsTreeGroupThree(g_session.GetDisplayJob()) == true) {
if (this->unknown_0012 == 1) {
this->height = 149;
} else {
this->height = 71;
}
this->unknown_0010 = 0;
} else {
this->height = this->unknown_0012 == 1 ? 134 : 55;
this->unknown_0010 = 0;
}
}
// OFFSET: 0x009A6430
// FUNCTION: fn_13679
void CashEmotionListWndInfo::Reset() {