From 5f3e6276276bc9713ff286f9dc6bdddbef43420e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 04:06:49 +0000 Subject: [PATCH] Decompile fn_11358 (UIDescriptRace::Paint) Batch #7098 by Landruca: 1 byte-identical, 0 confirmed by peer review. - fn_11358 UIDescriptRace::Paint: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Buttons/UIDescriptRace.h | 2 ++ Source/UI/Buttons/UITextButton.cpp | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/Source/UI/Buttons/UIDescriptRace.h b/Source/UI/Buttons/UIDescriptRace.h index c1be02eb..7419d135 100644 --- a/Source/UI/Buttons/UIDescriptRace.h +++ b/Source/UI/Buttons/UIDescriptRace.h @@ -25,6 +25,8 @@ public: void Slot15(int width, int height) override; void Slot25(int x, int y) override; int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override; + void Paint() override; + void sub_8A0B10(); /* 0120 */ int m_race; /* 0124 */ UIDescriptRaceText m_text; diff --git a/Source/UI/Buttons/UITextButton.cpp b/Source/UI/Buttons/UITextButton.cpp index 715c72ad..e6be00f1 100644 --- a/Source/UI/Buttons/UITextButton.cpp +++ b/Source/UI/Buttons/UITextButton.cpp @@ -2646,6 +2646,13 @@ void UIDescriptRace::Slot25(int, int) { } } +// OFFSET: 0x0088ACF0 +// FUNCTION: fn_11358 +void UIDescriptRace::Paint() { + UIBitmapButton::Paint(); + this->sub_8A0B10(); +} + // OFFSET: 0x00890330 // FUNCTION: fn_11410 void UITabControl::Slot26(int, int) {