Decompile fn_06362 (ApplyServiceOptionItemWnd)

Batch #8871 by Romain: 0 byte-identical, 1 confirmed by peer review.

- fn_06362 ApplyServiceOptionItemWnd: logic confirmed by peer review

Peer-reviewed-by: Montyla, pedrao, dori
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-31 22:07:18 +00:00
commit 97cd41807e

View file

@ -990,6 +990,21 @@ void RequestModeAction48() {
}
}
// OFFSET: 0x006C5A10
// FUNCTION: fn_06362
void ApplyItemWndServiceOption(int id, unsigned char value, bool notify, int enabledMessage, int disabledMessage) {
if (g_serviceOptions.Get(id) != value) {
g_serviceOptions.Set(id, value);
if (notify) {
NotifyServiceOption(value, enabledMessage, disabledMessage, 0x64FFFF);
}
}
if (g_windowMgr.unknown_01D4) {
static_cast<UIItemWnd*>(g_windowMgr.unknown_01D4)->RefreshOptionBox();
}
}
// OFFSET: 0x006C5A60
// FUNCTION: fn_45464
void RequestModeAction61() {