From d84bb2d96139fcbebf36db25a87877ac587ee4dd Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 31 Oct 2026 19:46:25 +0000 Subject: [PATCH] Decompile fn_14831 (EnchantUI::CUIUpgradeRandom::Slot15) Batch #8616 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_14831 EnchantUI::CUIUpgradeRandom::Slot15: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, gordaoprogramas, Tanke Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Enchant/UIEnchantUI.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Source/UI/Enchant/UIEnchantUI.cpp b/Source/UI/Enchant/UIEnchantUI.cpp index 9667c0cb..0fcd81f2 100644 --- a/Source/UI/Enchant/UIEnchantUI.cpp +++ b/Source/UI/Enchant/UIEnchantUI.cpp @@ -1966,4 +1966,19 @@ void CUIUpgradePerfect::Slot15(int width, int height) { } // OFFSET: 0x00A01CA0 +// FUNCTION: fn_14831 +void CUIUpgradeRandom::Slot15(int width, int height) { + CUIUpgradeEnchantPage::Slot15(width, height); + { + const std::uint8_t backgroundSource[] = { + 0xE3, 0x5E, 0x17, 0xED, 0x17, 0x87, 0x26, 0xB0, 0xE5, 0x15, 0x17, 0xDB, 0x6A, 0xF3, 0xBF, 0x38, + 0x4D, 0x92, 0xBF, 0x76, 0xB9, 0x3D, 0xB6, 0x34, 0x7F, 0x93, 0xB0, 0x48, 0xA4, 0x3C, 0x81, 0x0D, + 0x42, 0x96, 0xB2, 0x55, 0xF9, 0x2B, 0x8E, 0x0D, 0x23 + }; + // GLOBAL: gl_25273 + thread_local EncryptedName backgroundName(backgroundSource); + const std::string image(backgroundName.Text()); + this->background->SetImage(image); + } +} }