Decompile 5 functions in Source/UI/Buttons/UITagButton.cpp, Source/UI/Buttons/UITagButton.h, ...

Batch #5008 by Yommy: 0 byte-identical, 5 confirmed by peer review.

- fn_13834 UITextButton::GetLine: logic confirmed by peer review
- fn_13844 UITagButton::Slot31: logic confirmed by peer review
- fn_13845 UITagButton::AddString: logic confirmed by peer review
- fn_13846 UITagButton::GetString: logic confirmed by peer review
- fn_13847 UITagButton::GetStringCount: logic confirmed by peer review

Peer-reviewed-by: youko, SapitoSucio
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/UI/Buttons/UITagButton.cpp
This commit is contained in:
ragnarok-clanker 2026-10-30 07:05:32 +00:00
commit db500e2ecf
5 changed files with 102 additions and 0 deletions

View file

@ -1653,3 +1653,13 @@ void UIImgMenu::Move(int x, int y) {
int UIString::SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) {
return UIWindow::SendMsg(sender, message, argument1, argument2, argument3, argument4);
}
// OFFSET: 0x009B4EF0
// FUNCTION: fn_13834
const std::string& UITextButton::GetLine(std::size_t index) const {
try {
return this->m_lines.at(index);
} catch (...) {
return g_emptyString;
}
}