rodecomp/Source/UI/UISlotBitmap.cpp
ragnarok-clanker cca267e5e8 Decompile 8 functions in Source/UI/Buttons/UIBmpTextButton2.h, Source/UI/Buttons/UITextureButton.h, ...
Batch #3721 by youko: 5 byte-identical, 3 confirmed by peer review.

- fn_10813 UINoneVisibleButton::Paint: byte-identical
- fn_10822 UITextureButton::Paint: byte-identical
- fn_10827 UIEditCtrlVarId::Slot24: byte-identical
- fn_10833 UISlotBitmap::Slot26: byte-identical
- fn_10844 UIRadioBtn::Slot25: logic confirmed by peer review
- fn_10846 UISlotBitmap::Slot25: logic confirmed by peer review
- fn_10862 UIResizer::Slot28: byte-identical
- fn_10887 UISlotBitmap::Slot32: logic confirmed by peer review

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/UIBmpTextButton2.cpp, Source/UI/Buttons/UIColorButton.cpp, Source/UI/Buttons/UINoneVisibleButton.cpp, Source/UI/Buttons/UIRadioBtn.cpp, Source/UI/Buttons/UITextureButton.cpp, Source/UI/Chat/UIChatRoomTitle.cpp, Source/UI/Shop/UIMerchantShopTitle.cpp, Source/UI/UISlotBitmap.cpp, Source/UI/Window/UIBitmapTab.cpp, Source/UI/Window/UIEmblemWnd.cpp, Source/UI/Window/UIResizer.cpp, Source/UI/Window/UITab.cpp, Source/UI/Window/UIWordDisplayWnd.cpp
2026-10-29 23:07:25 +00:00

27 lines
658 B
C++

#include "UI/UISlotBitmap.h"
// OFFSET: 0x0085E980
// FUNCTION: fn_10833
void UISlotBitmap::Slot26(int, int) {
if (this->parent) {
this->parent->SendMsg(this, 6, 184, 0, 0, 0);
}
}
// OFFSET: 0x0085ED30
// FUNCTION: fn_10846
void UISlotBitmap::Slot25(int, int) {
if (this->parent) {
this->parent->SendMsg(this, 13, this->slot, 0, 0, 0);
this->parent->SendMsg(this, 6, this->geometry.id, 0, 0, 0);
}
}
// OFFSET: 0x0085FE60
// FUNCTION: fn_10887
void UISlotBitmap::Slot32(int, int) {
if (this->parent) {
this->parent->SendMsg(this, 13, this->slot, 0, 0, 0);
this->parent->SendMsg(this, 6, this->geometry.id, 226, 0, 0);
}
}