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).
This commit is contained in:
parent
0240982a68
commit
d84bb2d961
1 changed files with 15 additions and 0 deletions
|
|
@ -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<sizeof(backgroundSource), 0x7DE349D717D7F123ULL> backgroundName(backgroundSource);
|
||||
const std::string image(backgroundName.Text());
|
||||
this->background->SetImage(image);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue