Decompile 10 functions in Source/UI/GameSettings/UIHotKeyWnd.cpp, Source/UI/Items/UIMerchantItemLogWnd.cpp, ...

Batch #16976 by KWDev: 10 byte-identical, 0 confirmed by peer review.

- fn_12740 UIHotKeyWnd::SaveHotkeys: byte-identical
- fn_13575 UIMerchantItemLogWnd::OnCreate: byte-identical
- fn_13578 UIMerchantItemLogWnd::OnProcess: byte-identical
- fn_09912 UIRefining_Notice::Paint: byte-identical
- fn_11504 UIWindow::WrapLinkText: byte-identical
- fn_09228 UIAchListWnd::OnLBtnDown: byte-identical
- fn_16914 UIWindow::UIWindow: byte-identical
- fn_12099 UIWindow::DrawTitleBarAt: byte-identical
- fn_07560 NAsyncWorkPtr::NAsyncWorkPtr: byte-identical
- fn_10163 UIRuneSetinfoList::AddLine: byte-identical (already on main)

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-11 12:05:23 +00:00
commit 7b5f29a7ef
10 changed files with 28 additions and 21 deletions

View file

@ -133,14 +133,14 @@ void UIWindow::WrapPixelText(const char* text, std::vector<std::string>& lines,
// OFFSET: 0x008932D0
// FUNCTION: fn_11504
void UIWindow::WrapLinkText(int* kind, std::vector<std::string>* lines, const std::string& text) {
int width = this->geometry.width;
const int width = this->geometry.width;
if (*kind != 3) {
width -= 16;
this->WrapPixelText(text.c_str(), *lines, width);
const int inner = width - 16;
this->WrapPixelText(text.c_str(), *lines, inner);
return;
}
width -= 24;
const int inner = width - 24;
std::vector<bool> wrapped;
this->WrapTextWithBreaks(text.c_str(), lines, &wrapped, width);
this->WrapTextWithBreaks(text.c_str(), lines, &wrapped, inner);
}