diff --git a/Source/UI/AdventureGuide/UIAdventureGuide.cpp b/Source/UI/AdventureGuide/UIAdventureGuide.cpp index ae28cadb..1322c878 100644 --- a/Source/UI/AdventureGuide/UIAdventureGuide.cpp +++ b/Source/UI/AdventureGuide/UIAdventureGuide.cpp @@ -2113,15 +2113,540 @@ void CUIQuest::SearchNavigation() { namespace AdventureGuide { // OFFSET: 0x009C5BB0 +// FUNCTION: fn_14001 +void CUIIntro::Slot15(int width, int height) { + this->banner = new CUIStaticImage(*this->m_context); + this->banner->SetSize(630, 216); + this->banner->Move(0, 0); + { + const std::uint8_t bannerSource[] = { + 0xAD, 0x14, 0x55, 0xD7, 0x53, 0x35, 0xD2, 0x08, 0xAB, 0x5F, 0x55, 0xE1, 0x2E, 0x41, 0x4B, 0x84, 0x09, 0xCD, 0xF0, 0x43, 0xE7, 0x8E, 0x65, 0xA0, + 0x2A, 0xCE, 0xFC, 0x49, 0xF6, 0xA7, 0x75, 0xA2, 0x32, 0xD9, 0xF4, 0x43, 0xFD, 0x9E, 0x65, 0xEB, 0x0F, 0xD6, 0xE5, 0x2D}; + thread_local EncryptedName bannerName(bannerSource); + const std::string banner(bannerName.Text()); + this->banner->SetImage(banner); + } + this->AddChild(this->banner); + + this->image = new CUIStaticImage(*this->m_context); + this->image->SetSize(583, 162); + this->image->Move(22, 27); + this->image->SetImage(std::string()); + this->AddChild(this->image); + + this->contents = new CUIListBoxEx(*this->m_context); + this->contents->itemWidth = 603; + this->contents->rowHeight = 44; + this->contents->SetSize(603, 166); + this->contents->Move(10, 207); + this->contents->onSelect = [this](CUITabInfo* item, const Guide_Intro::Contents& contents) { this->OnSelectContents(item, contents); }; + this->contents->binder = [this](CUITabInfo* item, const Guide_Intro::Contents& contents) { this->BindContents(item, contents); }; + { + const std::uint8_t disabledSource[] = { + 0x5B, 0xF8, 0xC3, 0x63, 0xA7, 0xCB, 0xC0, 0xC8, 0x5D, 0xB3, 0xC3, 0x55, 0xDA, 0xBF, 0x59, 0x44, 0xFF, 0x21, 0x66, 0xF7, 0x13, 0x70, 0x77, 0x60, + 0xDC, 0x22, 0x6A, 0xFD, 0x02, 0x59, 0x69, 0x6C, 0xE8, 0x23, 0x5C, 0xA8, 0x49, 0x67, 0x68, 0x75, 0x9B}; + thread_local EncryptedName disabledName(disabledSource); + const std::string disabled(disabledName.Text()); + const std::uint8_t pressedSource[] = { + 0x65, 0x32, 0xAD, 0x03, 0xA3, 0xE9, 0xB2, 0xCE, 0x63, 0x79, 0xAD, 0x35, 0xDE, 0x9D, 0x2B, 0x42, 0xC1, 0xEB, 0x08, 0x97, 0x17, 0x52, 0x05, 0x66, + 0xE2, 0xE8, 0x04, 0x9D, 0x06, 0x7B, 0x1B, 0x6A, 0xD6, 0xE9, 0x32, 0xC8, 0x4D, 0x45, 0x1A, 0x73, 0xA5}; + thread_local EncryptedName pressedName(pressedSource); + const std::string pressed(pressedName.Text()); + const std::uint8_t hoverSource[] = { + 0x47, 0xBC, 0xAB, 0x85, 0xF9, 0xC7, 0xB4, 0xC6, 0x41, 0xF7, 0xAB, 0xB3, 0x84, 0xB3, 0x2D, 0x4A, 0xE3, 0x65, 0x0E, 0x11, 0x4D, 0x7C, 0x03, 0x6E, + 0xC0, 0x66, 0x02, 0x1B, 0x5C, 0x55, 0x1D, 0x62, 0xF4, 0x67, 0x34, 0x4E, 0x17, 0x6B, 0x1C, 0x7B, 0x87}; + thread_local EncryptedName hoverName(hoverSource); + const std::string hover(hoverName.Text()); + const std::uint8_t normalSource[] = { + 0x09, 0x5A, 0x9F, 0x71, 0x4F, 0x1B, 0x7E, 0xEE, 0x0F, 0x11, 0x9F, 0x47, 0x32, 0x6F, 0xE7, 0x62, 0xAD, 0x83, 0x3A, 0xE5, 0xFB, 0xA0, 0xC9, 0x46, + 0x8E, 0x80, 0x36, 0xEF, 0xEA, 0x89, 0xD7, 0x4A, 0xBA, 0x81, 0x00, 0xBA, 0xA1, 0xB7, 0xD6, 0x53, 0xC9}; + thread_local EncryptedName normalName(normalSource); + const std::string normal(normalName.Text()); + this->contents->SetImages(normal, hover, pressed, disabled); + } + this->contents->itemX = 0; + this->contents->itemY = 0; + this->contents->scrollBar->SetSize(8, 166); + this->contents->scrollBar->Move(595, 0); + this->contents->scrollBar->step = 44; + { + const std::uint8_t downSource[] = { + 0x67, 0x5A, 0xBF, 0xC3, 0xF1, 0x85, 0xEE, 0x72, 0x61, 0x11, 0xBF, 0xF5, 0x8C, 0xF1, 0x77, 0xFE, 0xC3, 0x83, 0x1A, 0x57, 0x45, 0x3E, 0x59, 0xDA, + 0xE0, 0x80, 0x16, 0x5D, 0x54, 0x17, 0x58, 0xDC, 0xD5, 0x9A, 0x13, 0x55, 0x6E, 0x2A, 0x59, 0xCD, 0xC8, 0x82, 0x20, 0x5D, 0x5E, 0x3C, 0x45, 0x91, + 0xC5, 0x98, 0x0F, 0x39}; + thread_local EncryptedName downName(downSource); + const std::string down(downName.Text()); + const std::uint8_t upSource[] = { + 0x21, 0xD4, 0x39, 0x2D, 0x15, 0xDD, 0xFC, 0x10, 0x27, 0x9F, 0x39, 0x1B, 0x68, 0xA9, 0x65, 0x9C, 0x85, 0x0D, 0x9C, 0xB9, 0xA1, 0x66, 0x4B, 0xB8, + 0xA6, 0x0E, 0x90, 0xB3, 0xB0, 0x4F, 0x4A, 0xBE, 0x93, 0x14, 0x95, 0xBB, 0x8A, 0x72, 0x4B, 0xAF, 0x8E, 0x0C, 0xA6, 0xA2, 0xA5, 0x3D, 0x5B, 0xB0, + 0x91, 0x7B}; + thread_local EncryptedName upName(upSource); + const std::string up(upName.Text()); + this->contents->scrollBar->SetButtonImages(up, down); + } + { + const std::uint8_t backgroundSource[] = { + 0x7D, 0x12, 0x2D, 0xCD, 0x7B, 0x71, 0x2A, 0x4E, 0x7B, 0x59, 0x2D, 0xFB, 0x06, 0x05, 0xB3, 0xC2, 0xD9, 0xCB, 0x88, 0x59, 0xCF, 0xCA, 0x9D, 0xE6, + 0xFA, 0xC8, 0x84, 0x53, 0xDE, 0xE3, 0x9C, 0xE0, 0xCF, 0xD2, 0x81, 0x5B, 0xE4, 0xDD, 0x88, 0xDC, 0xD0, 0xD4, 0x89, 0x19, 0xD9, 0xD2, 0x9F, 0x83}; + thread_local EncryptedName backgroundName(backgroundSource); + const std::string background(backgroundName.Text()); + this->contents->scrollBar->SetBackground(background); + } + { + const std::uint8_t thumbBottomSource[] = { + 0x5F, 0x6A, 0xAD, 0x51, 0x17, 0xE7, 0x38, 0x68, 0x59, 0x21, 0xAD, 0x67, 0x6A, 0x93, 0xA1, 0xE4, 0xFB, 0xB3, 0x08, 0xC5, 0xA3, 0x5C, 0x8F, 0xC0, + 0xD8, 0xB0, 0x04, 0xCF, 0xB2, 0x75, 0x8E, 0xC6, 0xED, 0xAA, 0x01, 0xC7, 0x88, 0x5D, 0x95, 0xD0, 0xF2, 0xA7, 0x32, 0xCF, 0xB8, 0x5E, 0x93, 0x8B, + 0xFD, 0xA8, 0x1D, 0xAB}; + thread_local EncryptedName thumbBottomName(thumbBottomSource); + const std::string thumbBottom(thumbBottomName.Text()); + const std::uint8_t thumbMiddleSource[] = { + 0xC9, 0x88, 0xEF, 0x41, 0x7D, 0x93, 0xB8, 0x14, 0xCF, 0xC3, 0xEF, 0x77, 0x00, 0xE7, 0x21, 0x98, 0x6D, 0x51, 0x4A, 0xD5, 0xC9, 0x28, 0x0F, 0xBC, + 0x4E, 0x52, 0x46, 0xDF, 0xD8, 0x01, 0x0E, 0xBA, 0x7B, 0x48, 0x43, 0xD7, 0xE2, 0x29, 0x15, 0xAC, 0x64, 0x45, 0x70, 0xD6, 0xD4, 0x39, 0x53, 0xBB, + 0x64, 0x57, 0x2F}; + thread_local EncryptedName thumbMiddleName(thumbMiddleSource); + const std::string thumbMiddle(thumbMiddleName.Text()); + const std::uint8_t thumbTopSource[] = { + 0xBF, 0xBC, 0x1F, 0x2B, 0x45, 0xA9, 0xBC, 0x20, 0xB9, 0xF7, 0x1F, 0x1D, 0x38, 0xDD, 0x25, 0xAC, 0x1B, 0x65, 0xBA, 0xBF, 0xF1, 0x12, 0x0B, 0x88, + 0x38, 0x66, 0xB6, 0xB5, 0xE0, 0x3B, 0x0A, 0x8E, 0x0D, 0x7C, 0xB3, 0xBD, 0xDA, 0x13, 0x11, 0x98, 0x12, 0x71, 0x80, 0xA4, 0xF5, 0x49, 0x1B, 0x80, + 0x0F, 0x13}; + thread_local EncryptedName thumbTopName(thumbTopSource); + const std::string thumbTop(thumbTopName.Text()); + this->contents->scrollBar->SetThumbImages(thumbTop, thumbMiddle, thumbBottom); + } + this->contents->AddNewItem(); + this->AddChild(this->contents); +} // OFFSET: 0x009C6F50 +// FUNCTION: fn_14002 +void CUIItem::Slot15(int width, int height) { + this->itemList = new CUIListBoxEx(*this->m_context); + this->itemList->itemWidth = 603; + this->itemList->rowHeight = 128; + this->itemList->SetSize(627, 355); + this->itemList->Move(0, 0); + this->itemList->onSelect = [this](CUIItemInfo* item, const CItemData& data) { this->OnSelectItem(item, data); }; + this->itemList->binder = [this](CUIItemInfo* item, const CItemData& data) { this->BindItem(item, data); }; + { + const std::uint8_t listDisabledSource[] = { + 0xD1, 0x4C, 0x93, 0x63, 0x71, 0x93, 0xB0, 0x86, 0xD7, 0x07, 0x93, 0x55, 0x0C, 0xE7, 0x29, 0x0A, 0x75, 0x95, 0x36, 0xF7, 0xC5, 0x28, 0x07, 0x2E, + 0x56, 0x96, 0x3A, 0xFD, 0xD4, 0x01, 0x19, 0x22, 0x62, 0x97, 0x0C, 0xAA, 0xEE, 0x33, 0x1A, 0x39, 0x7C, 0x82, 0x3F, 0xB7, 0xD3, 0x30, 0x05, 0x4B}; + thread_local EncryptedName listDisabledName(listDisabledSource); + const std::string listDisabled(listDisabledName.Text()); + const std::uint8_t listOverSource[] = { + 0xFB, 0x48, 0xC1, 0xE1, 0x01, 0x6F, 0xEE, 0x70, 0xFD, 0x03, 0xC1, 0xD7, 0x7C, 0x1B, 0x77, 0xFC, 0x5F, 0x91, 0x64, 0x75, 0xB5, 0xD4, 0x59, 0xD8, + 0x7C, 0x92, 0x68, 0x7F, 0xA4, 0xFD, 0x47, 0xD4, 0x48, 0x93, 0x5E, 0x28, 0x9E, 0xCE, 0x5D, 0xD8, 0x49, 0xC9, 0x63, 0x76, 0xB1, 0xA1}; + thread_local EncryptedName listOverName(listOverSource); + const std::string listOver(listOverName.Text()); + const std::uint8_t listPressSource[] = { + 0x79, 0x82, 0xFD, 0xC9, 0x4D, 0x5D, 0xD0, 0x20, 0x7F, 0xC9, 0xFD, 0xFF, 0x30, 0x29, 0x49, 0xAC, 0xDD, 0x5B, 0x58, 0x5D, 0xF9, 0xE6, 0x67, 0x88, + 0xFE, 0x58, 0x54, 0x57, 0xE8, 0xCF, 0x79, 0x84, 0xCA, 0x59, 0x62, 0x00, 0xD2, 0xE3, 0x67, 0x88, 0xCA, 0x5E, 0x13, 0x51, 0xE0, 0xE3, 0x15}; + thread_local EncryptedName listPressName(listPressSource); + const std::string listPress(listPressName.Text()); + const std::uint8_t listNormalSource[] = { + 0x83, 0x96, 0x9B, 0x91, 0xA7, 0xE3, 0xB4, 0x04, 0x85, 0xDD, 0x9B, 0xA7, 0xDA, 0x97, 0x2D, 0x88, 0x27, 0x4F, 0x3E, 0x05, 0x13, 0x58, 0x03, 0xAC, + 0x04, 0x4C, 0x32, 0x0F, 0x02, 0x71, 0x1D, 0xA0, 0x30, 0x4D, 0x04, 0x58, 0x38, 0x43, 0x1E, 0xBB, 0x2E, 0x58, 0x37, 0x45, 0x05, 0x40, 0x01, 0xC9}; + thread_local EncryptedName listNormalName(listNormalSource); + const std::string listNormal(listNormalName.Text()); + this->itemList->SetImages(listNormal, listPress, listOver, listDisabled); + } + this->itemList->itemX = 0; + this->itemList->itemY = 0; + this->itemList->scrollBar->SetSize(8, 355); + this->itemList->scrollBar->Move(619, 0); + this->itemList->scrollBar->step = 20; + { + const std::uint8_t downSource[] = { + 0xB3, 0x88, 0x8D, 0xB7, 0x39, 0xA1, 0xC0, 0x1C, 0xB5, 0xC3, 0x8D, 0x81, 0x44, 0xD5, 0x59, 0x90, 0x17, 0x51, 0x28, 0x23, 0x8D, 0x1A, 0x77, 0xB4, + 0x34, 0x52, 0x24, 0x29, 0x9C, 0x33, 0x76, 0xB2, 0x01, 0x48, 0x21, 0x21, 0xA6, 0x0E, 0x77, 0xA3, 0x1C, 0x50, 0x12, 0x29, 0x96, 0x18, 0x6B, 0xFF, + 0x11, 0x4A, 0x3D, 0x4D}; + thread_local EncryptedName downName(downSource); + const std::string down(downName.Text()); + const std::uint8_t upSource[] = { + 0x2B, 0xF0, 0xC9, 0xC9, 0xBF, 0x6F, 0xF4, 0x8E, 0x2D, 0xBB, 0xC9, 0xFF, 0xC2, 0x1B, 0x6D, 0x02, 0x8F, 0x29, 0x6C, 0x5D, 0x0B, 0xD4, 0x43, 0x26, + 0xAC, 0x2A, 0x60, 0x57, 0x1A, 0xFD, 0x42, 0x20, 0x99, 0x30, 0x65, 0x5F, 0x20, 0xC0, 0x43, 0x31, 0x84, 0x28, 0x56, 0x46, 0x0F, 0x8F, 0x53, 0x2E, + 0x9B, 0x5F}; + thread_local EncryptedName upName(upSource); + const std::string up(upName.Text()); + this->itemList->scrollBar->SetButtonImages(up, down); + } + { + const std::uint8_t backgroundSource[] = { + 0xD7, 0x76, 0xF3, 0x53, 0xB9, 0x29, 0x52, 0xC2, 0xD1, 0x3D, 0xF3, 0x65, 0xC4, 0x5D, 0xCB, 0x4E, 0x73, 0xAF, 0x56, 0xC7, 0x0D, 0x92, 0xE5, 0x6A, + 0x50, 0xAC, 0x5A, 0xCD, 0x1C, 0xBB, 0xE4, 0x6C, 0x65, 0xB6, 0x5F, 0xC5, 0x26, 0x85, 0xF0, 0x50, 0x7A, 0xB0, 0x57, 0x87, 0x1B, 0x8A, 0xE7, 0x0F}; + thread_local EncryptedName backgroundName(backgroundSource); + const std::string background(backgroundName.Text()); + this->itemList->scrollBar->SetBackground(background); + } + { + const std::uint8_t thumbBottomSource[] = { + 0xB5, 0x90, 0xA1, 0x51, 0xEF, 0xBF, 0x22, 0x90, 0xB3, 0xDB, 0xA1, 0x67, 0x92, 0xCB, 0xBB, 0x1C, 0x11, 0x49, 0x04, 0xC5, 0x5B, 0x04, 0x95, 0x38, + 0x32, 0x4A, 0x08, 0xCF, 0x4A, 0x2D, 0x94, 0x3E, 0x07, 0x50, 0x0D, 0xC7, 0x70, 0x05, 0x8F, 0x28, 0x18, 0x5D, 0x3E, 0xCF, 0x40, 0x06, 0x89, 0x73, + 0x17, 0x52, 0x11, 0xAB}; + thread_local EncryptedName thumbBottomName(thumbBottomSource); + const std::string thumbBottom(thumbBottomName.Text()); + const std::uint8_t thumbMiddleSource[] = { + 0x51, 0xC4, 0xAB, 0xE5, 0x43, 0x05, 0x0A, 0x8C, 0x57, 0x8F, 0xAB, 0xD3, 0x3E, 0x71, 0x93, 0x00, 0xF5, 0x1D, 0x0E, 0x71, 0xF7, 0xBE, 0xBD, 0x24, + 0xD6, 0x1E, 0x02, 0x7B, 0xE6, 0x97, 0xBC, 0x22, 0xE3, 0x04, 0x07, 0x73, 0xDC, 0xBF, 0xA7, 0x34, 0xFC, 0x09, 0x34, 0x72, 0xEA, 0xAF, 0xE1, 0x23, + 0xFC, 0x1B, 0x6B}; + thread_local EncryptedName thumbMiddleName(thumbMiddleSource); + const std::string thumbMiddle(thumbMiddleName.Text()); + const std::uint8_t thumbTopSource[] = { + 0x81, 0x7E, 0x21, 0x19, 0xAB, 0x87, 0x4C, 0xFA, 0x87, 0x35, 0x21, 0x2F, 0xD6, 0xF3, 0xD5, 0x76, 0x25, 0xA7, 0x84, 0x8D, 0x1F, 0x3C, 0xFB, 0x52, + 0x06, 0xA4, 0x88, 0x87, 0x0E, 0x15, 0xFA, 0x54, 0x33, 0xBE, 0x8D, 0x8F, 0x34, 0x3D, 0xE1, 0x42, 0x2C, 0xB3, 0xBE, 0x96, 0x1B, 0x67, 0xEB, 0x5A, + 0x31, 0xD1}; + thread_local EncryptedName thumbTopName(thumbTopSource); + const std::string thumbTop(thumbTopName.Text()); + this->itemList->scrollBar->SetThumbImages(thumbTop, thumbMiddle, thumbBottom); + } + this->itemList->AddNewItem(); + this->AddChild(this->itemList); + + this->unknown_0084 = new CUIImageButton(*this->m_context); + this->unknown_0084->SetSize(62, 20); + this->unknown_0084->Move(471, 363); + this->unknown_0084->SetOnClick([this]() { this->RequestNavigation(); }); + this->unknown_0084->disabled = 0; + this->unknown_0084->Invalidate(); + { + const std::uint8_t findDisableSource[] = { + 0xE7, 0x0A, 0x53, 0x65, 0xC1, 0x9D, 0xA4, 0x60, 0xE1, 0x41, 0x53, 0x53, 0xBC, 0xE9, 0x3D, 0xEC, 0x43, 0xD3, 0xF6, 0xF1, 0x75, 0x26, 0x13, 0xC8, + 0x60, 0xD0, 0xFA, 0xFB, 0x64, 0x0F, 0x03, 0xD9, 0x49, 0xFA, 0xF5, 0xF6, 0x6F, 0x37, 0x3E, 0xC9, 0x4E, 0xD6, 0xF2, 0xFD, 0x6D, 0x36, 0x4F, 0xCF, + 0x4A, 0xD5, 0x93}; + thread_local EncryptedName findDisableName(findDisableSource); + const std::string findDisable(findDisableName.Text()); + const std::uint8_t findOverSource[] = { + 0xBF, 0xF4, 0xB5, 0x5F, 0x67, 0x3B, 0x24, 0x48, 0xB9, 0xBF, 0xB5, 0x69, 0x1A, 0x4F, 0xBD, 0xC4, 0x1B, 0x2D, 0x10, 0xCB, 0xD3, 0x80, 0x93, 0xE0, + 0x38, 0x2E, 0x1C, 0xC1, 0xC2, 0xA9, 0x83, 0xF1, 0x11, 0x04, 0x13, 0xCC, 0xC9, 0x91, 0xBE, 0xEA, 0x09, 0x3E, 0x07, 0x8B, 0xC5, 0x98, 0x91, 0x85}; + thread_local EncryptedName findOverName(findOverSource); + const std::string findOver(findOverName.Text()); + const std::uint8_t findPressSource[] = { + 0x0B, 0x42, 0x73, 0xD1, 0x47, 0xFF, 0x88, 0x88, 0x0D, 0x09, 0x73, 0xE7, 0x3A, 0x8B, 0x11, 0x04, 0xAF, 0x9B, 0xD6, 0x45, 0xF3, 0x44, 0x3F, 0x20, + 0x8C, 0x98, 0xDA, 0x4F, 0xE2, 0x6D, 0x2F, 0x31, 0xA5, 0xB2, 0xD5, 0x42, 0xE9, 0x55, 0x12, 0x35, 0xB9, 0x88, 0xC0, 0x58, 0xA9, 0x53, 0x20, 0x35, + 0xCB}; + thread_local EncryptedName findPressName(findPressSource); + const std::string findPress(findPressName.Text()); + const std::uint8_t findNormalSource[] = { + 0xC1, 0xA2, 0x87, 0xA7, 0x2D, 0x43, 0x30, 0x4C, 0xC7, 0xE9, 0x87, 0x91, 0x50, 0x37, 0xA9, 0xC0, 0x65, 0x7B, 0x22, 0x33, 0x99, 0xF8, 0x87, 0xE4, + 0x46, 0x78, 0x2E, 0x39, 0x88, 0xD1, 0x97, 0xF5, 0x6F, 0x52, 0x21, 0x34, 0x83, 0xE9, 0xAA, 0xEF, 0x6E, 0x7F, 0x2A, 0x3C, 0x81, 0xA3, 0x97, 0xEC, + 0x71, 0x0D}; + thread_local EncryptedName findNormalName(findNormalSource); + const std::string findNormal(findNormalName.Text()); + this->unknown_0084->SetImages(findNormal, findPress, findOver, findDisable); + } + this->AddChild(this->unknown_0084); + + this->unknown_0088 = new CUIImageButton(*this->m_context); + this->unknown_0088->SetSize(62, 20); + this->unknown_0088->Move(540, 363); + this->unknown_0088->SetOnClick([this]() { this->SearchNavigation(); }); + this->unknown_0088->disabled = 0; + this->unknown_0088->Invalidate(); + { + const std::uint8_t moveDisableSource[] = { + 0x09, 0xAE, 0x2D, 0x15, 0x27, 0xA7, 0xDA, 0x6E, 0x0F, 0xE5, 0x2D, 0x23, 0x5A, 0xD3, 0x43, 0xE2, 0xAD, 0x77, 0x88, 0x81, 0x93, 0x1C, 0x6D, 0xC6, + 0x8E, 0x74, 0x84, 0x8B, 0x82, 0x35, 0x7D, 0xD7, 0xA7, 0x5E, 0x80, 0x80, 0x91, 0x0C, 0x40, 0xC7, 0xA0, 0x72, 0x8C, 0x8D, 0x8B, 0x0C, 0x31, 0xC1, + 0xA4, 0x71, 0xED}; + thread_local EncryptedName moveDisableName(moveDisableSource); + const std::string moveDisable(moveDisableName.Text()); + const std::uint8_t moveOverSource[] = { + 0xAB, 0xE4, 0x7B, 0xFB, 0x47, 0xA1, 0x6C, 0x7A, 0xAD, 0xAF, 0x7B, 0xCD, 0x3A, 0xD5, 0xF5, 0xF6, 0x0F, 0x3D, 0xDE, 0x6F, 0xF3, 0x1A, 0xDB, 0xD2, + 0x2C, 0x3E, 0xD2, 0x65, 0xE2, 0x33, 0xCB, 0xC3, 0x05, 0x14, 0xD6, 0x6E, 0xF1, 0x0A, 0xF6, 0xD8, 0x1D, 0x2E, 0xC9, 0x2F, 0xE5, 0x02, 0xD9, 0xB7}; + thread_local EncryptedName moveOverName(moveOverSource); + const std::string moveOver(moveOverName.Text()); + const std::uint8_t movePressSource[] = { + 0xFD, 0xD2, 0x95, 0xDB, 0x01, 0xBB, 0x5C, 0xA8, 0xFB, 0x99, 0x95, 0xED, 0x7C, 0xCF, 0xC5, 0x24, 0x59, 0x0B, 0x30, 0x4F, 0xB5, 0x00, 0xEB, 0x00, + 0x7A, 0x08, 0x3C, 0x45, 0xA4, 0x29, 0xFB, 0x11, 0x53, 0x22, 0x38, 0x4E, 0xB7, 0x10, 0xC6, 0x15, 0x4F, 0x18, 0x26, 0x52, 0xEF, 0x17, 0xF4, 0x15, + 0x3D}; + thread_local EncryptedName movePressName(movePressSource); + const std::string movePress(movePressName.Text()); + const std::uint8_t moveNormalSource[] = { + 0x99, 0xD0, 0x67, 0x5B, 0xD7, 0x0B, 0x30, 0x72, 0x9F, 0x9B, 0x67, 0x6D, 0xAA, 0x7F, 0xA9, 0xFE, 0x3D, 0x09, 0xC2, 0xCF, 0x63, 0xB0, 0x87, 0xDA, + 0x1E, 0x0A, 0xCE, 0xC5, 0x72, 0x99, 0x97, 0xCB, 0x37, 0x20, 0xCA, 0xCE, 0x61, 0xA0, 0xAA, 0xD1, 0x36, 0x0D, 0xCA, 0xC0, 0x7B, 0xEB, 0x97, 0xD2, + 0x29, 0x7F}; + thread_local EncryptedName moveNormalName(moveNormalSource); + const std::string moveNormal(moveNormalName.Text()); + this->unknown_0088->SetImages(moveNormal, movePress, moveOver, moveDisable); + } + this->AddChild(this->unknown_0088); +} // OFFSET: 0x009CDD40 +// FUNCTION: fn_14006 +void CUIQuest::Slot15(int width, int height) { + this->questList = new CUIListBoxEx(*this->m_context); + this->questList->itemWidth = 603; + this->questList->rowHeight = 97; + this->questList->SetSize(627, 355); + this->questList->Move(0, 0); + this->questList->onSelect = [this](CUIQuestInfo* item, const CQuestInfo& data) { this->OnSelectQuest(item, data); }; + this->questList->binder = [this](CUIQuestInfo* item, const CQuestInfo& data) { BindQuestInfo(item, data); }; + { + const std::uint8_t listDisabledSource[] = { + 0xD7, 0xB4, 0xED, 0x59, 0x7D, 0x25, 0x84, 0xC2, 0xD1, 0xFF, 0xED, 0x6F, 0x00, 0x51, 0x1D, 0x4E, 0x73, 0x6D, 0x48, 0xCD, 0xC9, 0x9E, 0x33, 0x6A, + 0x50, 0x6E, 0x44, 0xC7, 0xD8, 0xB7, 0x2D, 0x66, 0x64, 0x6F, 0x72, 0x91, 0xE2, 0x85, 0x2E, 0x7D, 0x7A, 0x7A, 0x41, 0x8D, 0xDF, 0x86, 0x31, 0x0F}; + thread_local EncryptedName listDisabledName(listDisabledSource); + const std::string listDisabled(listDisabledName.Text()); + const std::uint8_t listOverSource[] = { + 0x01, 0xE8, 0x05, 0xED, 0x21, 0x57, 0x10, 0x36, 0x07, 0xA3, 0x05, 0xDB, 0x5C, 0x23, 0x89, 0xBA, 0xA5, 0x31, 0xA0, 0x79, 0x95, 0xEC, 0xA7, 0x9E, + 0x86, 0x32, 0xAC, 0x73, 0x84, 0xC5, 0xB9, 0x92, 0xB2, 0x33, 0x9A, 0x25, 0xBE, 0xF6, 0xA3, 0x9E, 0xB3, 0x69, 0xA7, 0x7A, 0x91, 0x99}; + thread_local EncryptedName listOverName(listOverSource); + const std::string listOver(listOverName.Text()); + const std::uint8_t listPressSource[] = { + 0xA5, 0x5C, 0x17, 0xA7, 0x4D, 0xDD, 0xAA, 0xDA, 0xA3, 0x17, 0x17, 0x91, 0x30, 0xA9, 0x33, 0x56, 0x01, 0x85, 0xB2, 0x33, 0xF9, 0x66, 0x1D, 0x72, + 0x22, 0x86, 0xBE, 0x39, 0xE8, 0x4F, 0x03, 0x7E, 0x16, 0x87, 0x88, 0x6F, 0xD2, 0x63, 0x1D, 0x72, 0x16, 0x80, 0xF9, 0x3F, 0xE0, 0x63, 0x6F}; + thread_local EncryptedName listPressName(listPressSource); + const std::string listPress(listPressName.Text()); + const std::uint8_t listNormalSource[] = { + 0x8F, 0xC8, 0x2D, 0x7F, 0xC9, 0xF9, 0xFA, 0xB4, 0x89, 0x83, 0x2D, 0x49, 0xB4, 0x8D, 0x63, 0x38, 0x2B, 0x11, 0x88, 0xEB, 0x7D, 0x42, 0x4D, 0x1C, + 0x08, 0x12, 0x84, 0xE1, 0x6C, 0x6B, 0x53, 0x10, 0x3C, 0x13, 0xB2, 0xB7, 0x56, 0x59, 0x50, 0x0B, 0x22, 0x06, 0x81, 0xAB, 0x6B, 0x5A, 0x4F, 0x79}; + thread_local EncryptedName listNormalName(listNormalSource); + const std::string listNormal(listNormalName.Text()); + this->questList->SetImages(listNormal, listPress, listOver, listDisabled); + } + this->questList->itemX = 0; + this->questList->itemY = 0; + this->questList->scrollBar->SetSize(8, 355); + this->questList->scrollBar->Move(619, 0); + this->questList->scrollBar->step = 20; + { + const std::uint8_t downSource[] = { + 0xAD, 0xB4, 0x67, 0xEB, 0xB7, 0xA1, 0x0E, 0x3E, 0xAB, 0xFF, 0x67, 0xDD, 0xCA, 0xD5, 0x97, 0xB2, 0x09, 0x6D, 0xC2, 0x7F, 0x03, 0x1A, 0xB9, 0x96, + 0x2A, 0x6E, 0xCE, 0x75, 0x12, 0x33, 0xB8, 0x90, 0x1F, 0x74, 0xCB, 0x7D, 0x28, 0x0E, 0xB9, 0x81, 0x02, 0x6C, 0xF8, 0x75, 0x18, 0x18, 0xA5, 0xDD, + 0x0F, 0x76, 0xD7, 0x11}; + thread_local EncryptedName downName(downSource); + const std::string down(downName.Text()); + const std::uint8_t upSource[] = { + 0x2D, 0xDA, 0xA1, 0xD9, 0x77, 0x2D, 0x94, 0xE0, 0x2B, 0x91, 0xA1, 0xEF, 0x0A, 0x59, 0x0D, 0x6C, 0x89, 0x03, 0x04, 0x4D, 0xC3, 0x96, 0x23, 0x48, + 0xAA, 0x00, 0x08, 0x47, 0xD2, 0xBF, 0x22, 0x4E, 0x9F, 0x1A, 0x0D, 0x4F, 0xE8, 0x82, 0x23, 0x5F, 0x82, 0x02, 0x3E, 0x56, 0xC7, 0xCD, 0x33, 0x40, + 0x9D, 0x75}; + thread_local EncryptedName upName(upSource); + const std::string up(upName.Text()); + this->questList->scrollBar->SetButtonImages(up, down); + } + { + const std::uint8_t backgroundSource[] = { + 0x73, 0xC8, 0x99, 0x75, 0x1F, 0xE9, 0x5E, 0x4E, 0x75, 0x83, 0x99, 0x43, 0x62, 0x9D, 0xC7, 0xC2, 0xD7, 0x11, 0x3C, 0xE1, 0xAB, 0x52, 0xE9, 0xE6, + 0xF4, 0x12, 0x30, 0xEB, 0xBA, 0x7B, 0xE8, 0xE0, 0xC1, 0x08, 0x35, 0xE3, 0x80, 0x45, 0xFC, 0xDC, 0xDE, 0x0E, 0x3D, 0xA1, 0xBD, 0x4A, 0xEB, 0x83}; + thread_local EncryptedName backgroundName(backgroundSource); + const std::string background(backgroundName.Text()); + this->questList->scrollBar->SetBackground(background); + } + { + const std::uint8_t thumbBottomSource[] = { + 0x99, 0x18, 0xC7, 0xE9, 0x05, 0xB3, 0xA6, 0x82, 0x9F, 0x53, 0xC7, 0xDF, 0x78, 0xC7, 0x3F, 0x0E, 0x3D, 0xC1, 0x62, 0x7D, 0xB1, 0x08, 0x11, 0x2A, + 0x1E, 0xC2, 0x6E, 0x77, 0xA0, 0x21, 0x10, 0x2C, 0x2B, 0xD8, 0x6B, 0x7F, 0x9A, 0x09, 0x0B, 0x3A, 0x34, 0xD5, 0x58, 0x77, 0xAA, 0x0A, 0x0D, 0x61, + 0x3B, 0xDA, 0x77, 0x13}; + thread_local EncryptedName thumbBottomName(thumbBottomSource); + const std::string thumbBottom(thumbBottomName.Text()); + const std::uint8_t thumbMiddleSource[] = { + 0xA5, 0xFA, 0x09, 0x85, 0xCD, 0x21, 0xEA, 0x88, 0xA3, 0xB1, 0x09, 0xB3, 0xB0, 0x55, 0x73, 0x04, 0x01, 0x23, 0xAC, 0x11, 0x79, 0x9A, 0x5D, 0x20, + 0x22, 0x20, 0xA0, 0x1B, 0x68, 0xB3, 0x5C, 0x26, 0x17, 0x3A, 0xA5, 0x13, 0x52, 0x9B, 0x47, 0x30, 0x08, 0x37, 0x96, 0x12, 0x64, 0x8B, 0x01, 0x27, + 0x08, 0x25, 0xC9}; + thread_local EncryptedName thumbMiddleName(thumbMiddleSource); + const std::string thumbMiddle(thumbMiddleName.Text()); + const std::uint8_t thumbTopSource[] = { + 0x9D, 0xA2, 0x89, 0x73, 0x61, 0xB3, 0x28, 0x52, 0x9B, 0xE9, 0x89, 0x45, 0x1C, 0xC7, 0xB1, 0xDE, 0x39, 0x7B, 0x2C, 0xE7, 0xD5, 0x08, 0x9F, 0xFA, + 0x1A, 0x78, 0x20, 0xED, 0xC4, 0x21, 0x9E, 0xFC, 0x2F, 0x62, 0x25, 0xE5, 0xFE, 0x09, 0x85, 0xEA, 0x30, 0x6F, 0x16, 0xFC, 0xD1, 0x53, 0x8F, 0xF2, + 0x2D, 0x0D}; + thread_local EncryptedName thumbTopName(thumbTopSource); + const std::string thumbTop(thumbTopName.Text()); + this->questList->scrollBar->SetThumbImages(thumbTop, thumbMiddle, thumbBottom); + } + this->questList->AddNewItem(); + this->AddChild(this->questList); + + this->unknown_0084 = new CUIImageButton(*this->m_context); + this->unknown_0084->SetSize(62, 20); + this->unknown_0084->Move(471, 363); + this->unknown_0084->SetOnClick([this]() { this->RequestNavigation(); }); + this->unknown_0084->disabled = 0; + this->unknown_0084->Invalidate(); + { + const std::uint8_t findDisableSource[] = { + 0x77, 0x9E, 0x2F, 0x39, 0xC3, 0x11, 0x5C, 0x82, 0x71, 0xD5, 0x2F, 0x0F, 0xBE, 0x65, 0xC5, 0x0E, 0xD3, 0x47, 0x8A, 0xAD, 0x77, 0xAA, 0xEB, 0x2A, + 0xF0, 0x44, 0x86, 0xA7, 0x66, 0x83, 0xFB, 0x3B, 0xD9, 0x6E, 0x89, 0xAA, 0x6D, 0xBB, 0xC6, 0x2B, 0xDE, 0x42, 0x8E, 0xA1, 0x6F, 0xBA, 0xB7, 0x2D, + 0xDA, 0x41, 0xEF}; + thread_local EncryptedName findDisableName(findDisableSource); + const std::string findDisable(findDisableName.Text()); + const std::uint8_t findOverSource[] = { + 0x37, 0xBC, 0xEB, 0x55, 0x31, 0xC1, 0xD8, 0x40, 0x31, 0xF7, 0xEB, 0x63, 0x4C, 0xB5, 0x41, 0xCC, 0x93, 0x65, 0x4E, 0xC1, 0x85, 0x7A, 0x6F, 0xE8, + 0xB0, 0x66, 0x42, 0xCB, 0x94, 0x53, 0x7F, 0xF9, 0x99, 0x4C, 0x4D, 0xC6, 0x9F, 0x6B, 0x42, 0xE2, 0x81, 0x76, 0x59, 0x81, 0x93, 0x62, 0x6D, 0x8D}; + thread_local EncryptedName findOverName(findOverSource); + const std::string findOver(findOverName.Text()); + const std::uint8_t findPressSource[] = { + 0x4D, 0x14, 0x0F, 0x81, 0x51, 0x69, 0x5A, 0x7E, 0x4B, 0x5F, 0x0F, 0xB7, 0x2C, 0x1D, 0xC3, 0xF2, 0xE9, 0xCD, 0xAA, 0x15, 0xE5, 0xD2, 0xED, 0xD6, + 0xCA, 0xCE, 0xA6, 0x1F, 0xF4, 0xFB, 0xFD, 0xC7, 0xE3, 0xE4, 0xA9, 0x12, 0xFF, 0xC3, 0xC0, 0xC3, 0xFF, 0xDE, 0xBC, 0x08, 0xBF, 0xC5, 0xF2, 0xC3, + 0x8D}; + thread_local EncryptedName findPressName(findPressSource); + const std::string findPress(findPressName.Text()); + const std::uint8_t findNormalSource[] = { + 0x6B, 0x6E, 0x8D, 0xC3, 0xA7, 0xBB, 0x0E, 0xE0, 0x6D, 0x25, 0x8D, 0xF5, 0xDA, 0xCF, 0x97, 0x6C, 0xCF, 0xB7, 0x28, 0x57, 0x13, 0x00, 0xB9, 0x48, + 0xEC, 0xB4, 0x24, 0x5D, 0x02, 0x29, 0xA9, 0x59, 0xC5, 0x9E, 0x2B, 0x50, 0x09, 0x11, 0x94, 0x43, 0xC4, 0xB3, 0x20, 0x58, 0x0B, 0x5B, 0xA9, 0x40, + 0xDB, 0xC1}; + thread_local EncryptedName findNormalName(findNormalSource); + const std::string findNormal(findNormalName.Text()); + this->unknown_0084->SetImages(findNormal, findPress, findOver, findDisable); + } + this->AddChild(this->unknown_0084); + + this->unknown_0088 = new CUIImageButton(*this->m_context); + this->unknown_0088->SetSize(62, 20); + this->unknown_0088->Move(540, 363); + this->unknown_0088->SetOnClick([this]() { this->SearchNavigation(); }); + this->unknown_0088->disabled = 0; + this->unknown_0088->Invalidate(); + { + const std::uint8_t moveDisableSource[] = { + 0xDD, 0x68, 0x8B, 0x4F, 0x1D, 0xB9, 0x8C, 0xEE, 0xDB, 0x23, 0x8B, 0x79, 0x60, 0xCD, 0x15, 0x62, 0x79, 0xB1, 0x2E, 0xDB, 0xA9, 0x02, 0x3B, 0x46, + 0x5A, 0xB2, 0x22, 0xD1, 0xB8, 0x2B, 0x2B, 0x57, 0x73, 0x98, 0x26, 0xDA, 0xAB, 0x12, 0x16, 0x47, 0x74, 0xB4, 0x2A, 0xD7, 0xB1, 0x12, 0x67, 0x41, + 0x70, 0xB7, 0x4B}; + thread_local EncryptedName moveDisableName(moveDisableSource); + const std::string moveDisable(moveDisableName.Text()); + const std::uint8_t moveOverSource[] = { + 0xE5, 0xDE, 0x6F, 0x31, 0xCD, 0x3D, 0xE8, 0x28, 0xE3, 0x95, 0x6F, 0x07, 0xB0, 0x49, 0x71, 0xA4, 0x41, 0x07, 0xCA, 0xA5, 0x79, 0x86, 0x5F, 0x80, + 0x62, 0x04, 0xC6, 0xAF, 0x68, 0xAF, 0x4F, 0x91, 0x4B, 0x2E, 0xC2, 0xA4, 0x7B, 0x96, 0x72, 0x8A, 0x53, 0x14, 0xDD, 0xE5, 0x6F, 0x9E, 0x5D, 0xE5}; + thread_local EncryptedName moveOverName(moveOverSource); + const std::string moveOver(moveOverName.Text()); + const std::uint8_t movePressSource[] = { + 0x9F, 0x9A, 0x6F, 0x6F, 0x5D, 0x47, 0x36, 0x02, 0x99, 0xD1, 0x6F, 0x59, 0x20, 0x33, 0xAF, 0x8E, 0x3B, 0x43, 0xCA, 0xFB, 0xE9, 0xFC, 0x81, 0xAA, + 0x18, 0x40, 0xC6, 0xF1, 0xF8, 0xD5, 0x91, 0xBB, 0x31, 0x6A, 0xC2, 0xFA, 0xEB, 0xEC, 0xAC, 0xBF, 0x2D, 0x50, 0xDC, 0xE6, 0xB3, 0xEB, 0x9E, 0xBF, + 0x5F}; + thread_local EncryptedName movePressName(movePressSource); + const std::string movePress(movePressName.Text()); + const std::uint8_t moveNormalSource[] = { + 0x37, 0x66, 0xA3, 0x93, 0xBD, 0x57, 0xB4, 0x5C, 0x31, 0x2D, 0xA3, 0xA5, 0xC0, 0x23, 0x2D, 0xD0, 0x93, 0xBF, 0x06, 0x07, 0x09, 0xEC, 0x03, 0xF4, + 0xB0, 0xBC, 0x0A, 0x0D, 0x18, 0xC5, 0x13, 0xE5, 0x99, 0x96, 0x0E, 0x06, 0x0B, 0xFC, 0x2E, 0xFF, 0x98, 0xBB, 0x0E, 0x08, 0x11, 0xB7, 0x13, 0xFC, + 0x87, 0xC9}; + thread_local EncryptedName moveNormalName(moveNormalSource); + const std::string moveNormal(moveNormalName.Text()); + this->unknown_0088->SetImages(moveNormal, movePress, moveOver, moveDisable); + } + this->AddChild(this->unknown_0088); +} // OFFSET: 0x009CAE30 +// FUNCTION: fn_14004 +void CUIMonster::Slot15(int width, int height) { + this->monsterList = new CUIListBoxEx(*this->m_context); + this->monsterList->itemWidth = 603; + this->monsterList->rowHeight = 128; + this->monsterList->SetSize(627, 355); + this->monsterList->Move(0, 0); + this->monsterList->onSelect = [this](CUIMonsterInfo* item, const CMonsterData& data) { this->OnSelectMonster(item, data); }; + this->monsterList->binder = [this](CUIMonsterInfo* item, const CMonsterData& data) { this->BindMonster(item, data); }; + { + const std::uint8_t listDisabledSource[] = { + 0xF3, 0xCC, 0x95, 0x0B, 0xE9, 0xFB, 0x16, 0x84, 0xF5, 0x87, 0x95, 0x3D, 0x94, 0x8F, 0x8F, 0x08, 0x57, 0x15, 0x30, 0x9F, 0x5D, 0x40, 0xA1, 0x2C, + 0x74, 0x16, 0x3C, 0x95, 0x4C, 0x69, 0xBF, 0x20, 0x40, 0x17, 0x0A, 0xC2, 0x76, 0x5B, 0xBC, 0x3B, 0x5E, 0x02, 0x39, 0xDF, 0x4B, 0x58, 0xA3, 0x49}; + thread_local EncryptedName listDisabledName(listDisabledSource); + const std::string listDisabled(listDisabledName.Text()); + const std::uint8_t listOverSource[] = { + 0x75, 0x20, 0x81, 0xDF, 0xD3, 0x33, 0xEA, 0xB4, 0x73, 0x6B, 0x81, 0xE9, 0xAE, 0x47, 0x73, 0x38, 0xD1, 0xF9, 0x24, 0x4B, 0x67, 0x88, 0x5D, 0x1C, + 0xF2, 0xFA, 0x28, 0x41, 0x76, 0xA1, 0x43, 0x10, 0xC6, 0xFB, 0x1E, 0x16, 0x4C, 0x92, 0x59, 0x1C, 0xC7, 0xA1, 0x23, 0x48, 0x63, 0xFD}; + thread_local EncryptedName listOverName(listOverSource); + const std::string listOver(listOverName.Text()); + const std::uint8_t listPressSource[] = { + 0x7F, 0xC6, 0x23, 0x37, 0x45, 0x49, 0x9A, 0x3C, 0x79, 0x8D, 0x23, 0x01, 0x38, 0x3D, 0x03, 0xB0, 0xDB, 0x1F, 0x86, 0xA3, 0xF1, 0xF2, 0x2D, 0x94, + 0xF8, 0x1C, 0x8A, 0xA9, 0xE0, 0xDB, 0x33, 0x98, 0xCC, 0x1D, 0xBC, 0xFE, 0xDA, 0xF7, 0x2D, 0x94, 0xCC, 0x1A, 0xCD, 0xAF, 0xE8, 0xF7, 0x5F}; + thread_local EncryptedName listPressName(listPressSource); + const std::string listPress(listPressName.Text()); + const std::uint8_t listNormalSource[] = { + 0x99, 0x2A, 0x47, 0x83, 0x37, 0xE1, 0xFA, 0x2E, 0x9F, 0x61, 0x47, 0xB5, 0x4A, 0x95, 0x63, 0xA2, 0x3D, 0xF3, 0xE2, 0x17, 0x83, 0x5A, 0x4D, 0x86, + 0x1E, 0xF0, 0xEE, 0x1D, 0x92, 0x73, 0x53, 0x8A, 0x2A, 0xF1, 0xD8, 0x4A, 0xA8, 0x41, 0x50, 0x91, 0x34, 0xE4, 0xEB, 0x57, 0x95, 0x42, 0x4F, 0xE3}; + thread_local EncryptedName listNormalName(listNormalSource); + const std::string listNormal(listNormalName.Text()); + this->monsterList->SetImages(listNormal, listPress, listOver, listDisabled); + } + this->monsterList->itemX = 0; + this->monsterList->itemY = 0; + this->monsterList->scrollBar->SetSize(8, 355); + this->monsterList->scrollBar->Move(619, 0); + this->monsterList->scrollBar->step = 20; + { + const std::uint8_t downSource[] = { + 0x57, 0x66, 0x09, 0x61, 0x0D, 0x75, 0x74, 0x08, 0x51, 0x2D, 0x09, 0x57, 0x70, 0x01, 0xED, 0x84, 0xF3, 0xBF, 0xAC, 0xF5, 0xB9, 0xCE, 0xC3, 0xA0, + 0xD0, 0xBC, 0xA0, 0xFF, 0xA8, 0xE7, 0xC2, 0xA6, 0xE5, 0xA6, 0xA5, 0xF7, 0x92, 0xDA, 0xC3, 0xB7, 0xF8, 0xBE, 0x96, 0xFF, 0xA2, 0xCC, 0xDF, 0xEB, + 0xF5, 0xA4, 0xB9, 0x9B}; + thread_local EncryptedName downName(downSource); + const std::string down(downName.Text()); + const std::uint8_t upSource[] = { + 0xF1, 0x56, 0x13, 0x03, 0xDD, 0x81, 0x0E, 0xCC, 0xF7, 0x1D, 0x13, 0x35, 0xA0, 0xF5, 0x97, 0x40, 0x55, 0x8F, 0xB6, 0x97, 0x69, 0x3A, 0xB9, 0x64, + 0x76, 0x8C, 0xBA, 0x9D, 0x78, 0x13, 0xB8, 0x62, 0x43, 0x96, 0xBF, 0x95, 0x42, 0x2E, 0xB9, 0x73, 0x5E, 0x8E, 0x8C, 0x8C, 0x6D, 0x61, 0xA9, 0x6C, + 0x41, 0xF9}; + thread_local EncryptedName upName(upSource); + const std::string up(upName.Text()); + this->monsterList->scrollBar->SetButtonImages(up, down); + } + { + const std::uint8_t backgroundSource[] = { + 0x21, 0x2C, 0x11, 0x17, 0xD1, 0x4F, 0x7E, 0x0C, 0x27, 0x67, 0x11, 0x21, 0xAC, 0x3B, 0xE7, 0x80, 0x85, 0xF5, 0xB4, 0x83, 0x65, 0xF4, 0xC9, 0xA4, + 0xA6, 0xF6, 0xB8, 0x89, 0x74, 0xDD, 0xC8, 0xA2, 0x93, 0xEC, 0xBD, 0x81, 0x4E, 0xE3, 0xDC, 0x9E, 0x8C, 0xEA, 0xB5, 0xC3, 0x73, 0xEC, 0xCB, 0xC1}; + thread_local EncryptedName backgroundName(backgroundSource); + const std::string background(backgroundName.Text()); + this->monsterList->scrollBar->SetBackground(background); + } + { + const std::uint8_t thumbBottomSource[] = { + 0x0F, 0x74, 0x11, 0xEF, 0x59, 0xE1, 0xAA, 0xDE, 0x09, 0x3F, 0x11, 0xD9, 0x24, 0x95, 0x33, 0x52, 0xAB, 0xAD, 0xB4, 0x7B, 0xED, 0x5A, 0x1D, 0x76, + 0x88, 0xAE, 0xB8, 0x71, 0xFC, 0x73, 0x1C, 0x70, 0xBD, 0xB4, 0xBD, 0x79, 0xC6, 0x5B, 0x07, 0x66, 0xA2, 0xB9, 0x8E, 0x71, 0xF6, 0x58, 0x01, 0x3D, + 0xAD, 0xB6, 0xA1, 0x15}; + thread_local EncryptedName thumbBottomName(thumbBottomSource); + const std::string thumbBottom(thumbBottomName.Text()); + const std::uint8_t thumbMiddleSource[] = { + 0xEB, 0x78, 0x89, 0xD5, 0xCF, 0x1F, 0xE6, 0xC6, 0xED, 0x33, 0x89, 0xE3, 0xB2, 0x6B, 0x7F, 0x4A, 0x4F, 0xA1, 0x2C, 0x41, 0x7B, 0xA4, 0x51, 0x6E, + 0x6C, 0xA2, 0x20, 0x4B, 0x6A, 0x8D, 0x50, 0x68, 0x59, 0xB8, 0x25, 0x43, 0x50, 0xA5, 0x4B, 0x7E, 0x46, 0xB5, 0x16, 0x42, 0x66, 0xB5, 0x0D, 0x69, + 0x46, 0xA7, 0x49}; + thread_local EncryptedName thumbMiddleName(thumbMiddleSource); + const std::string thumbMiddle(thumbMiddleName.Text()); + const std::uint8_t thumbTopSource[] = { + 0x4B, 0x32, 0xB7, 0x77, 0x21, 0x13, 0xA2, 0xDA, 0x4D, 0x79, 0xB7, 0x41, 0x5C, 0x67, 0x3B, 0x56, 0xEF, 0xEB, 0x12, 0xE3, 0x95, 0xA8, 0x15, 0x72, + 0xCC, 0xE8, 0x1E, 0xE9, 0x84, 0x81, 0x14, 0x74, 0xF9, 0xF2, 0x1B, 0xE1, 0xBE, 0xA9, 0x0F, 0x62, 0xE6, 0xFF, 0x28, 0xF8, 0x91, 0xF3, 0x05, 0x7A, + 0xFB, 0x9D}; + thread_local EncryptedName thumbTopName(thumbTopSource); + const std::string thumbTop(thumbTopName.Text()); + this->monsterList->scrollBar->SetThumbImages(thumbTop, thumbMiddle, thumbBottom); + } + this->monsterList->AddNewItem(); + this->AddChild(this->monsterList); + + this->unknown_0084 = new CUIImageButton(*this->m_context); + this->unknown_0084->SetSize(62, 20); + this->unknown_0084->Move(540, 363); + this->unknown_0084->SetOnClick([this]() { this->SearchNavigation(); }); + this->unknown_0084->disabled = 0; + this->unknown_0084->Invalidate(); + { + const std::uint8_t naviDisableSource[] = { + 0xC1, 0xDA, 0x3D, 0x23, 0xEF, 0x73, 0x6A, 0x7A, 0xC7, 0x91, 0x3D, 0x15, 0x92, 0x07, 0xF3, 0xF6, 0x65, 0x03, 0x98, 0xB7, 0x5B, 0xC8, 0xDD, 0xD2, + 0x46, 0x00, 0x94, 0xBD, 0x4A, 0xE1, 0xCD, 0xC3, 0x6F, 0x2A, 0x93, 0xB8, 0x59, 0xD4, 0xF0, 0xD3, 0x68, 0x06, 0x9F, 0xB8, 0x43, 0xD8, 0x81, 0xD5, + 0x6C, 0x05, 0xFD}; + thread_local EncryptedName naviDisableName(naviDisableSource); + const std::string naviDisable(naviDisableName.Text()); + const std::uint8_t naviOverSource[] = { + 0x1D, 0xFA, 0xAF, 0x55, 0x29, 0xDB, 0x2C, 0xB4, 0x1B, 0xB1, 0xAF, 0x63, 0x54, 0xAF, 0xB5, 0x38, 0xB9, 0x23, 0x0A, 0xC1, 0x9D, 0x60, 0x9B, 0x1C, + 0x9A, 0x20, 0x06, 0xCB, 0x8C, 0x49, 0x8B, 0x0D, 0xB3, 0x0A, 0x01, 0xCE, 0x9F, 0x7C, 0xB6, 0x16, 0xAB, 0x30, 0x1D, 0x81, 0x8B, 0x78, 0x99, 0x79}; + thread_local EncryptedName naviOverName(naviOverSource); + const std::string naviOver(naviOverName.Text()); + const std::uint8_t naviPressSource[] = { + 0x81, 0x92, 0x97, 0x8F, 0xF9, 0x51, 0x88, 0xAA, 0x87, 0xD9, 0x97, 0xB9, 0x84, 0x25, 0x11, 0x26, 0x25, 0x4B, 0x32, 0x1B, 0x4D, 0xEA, 0x3F, 0x02, + 0x06, 0x48, 0x3E, 0x11, 0x5C, 0xC3, 0x2F, 0x13, 0x2F, 0x62, 0x39, 0x14, 0x4F, 0xF6, 0x12, 0x17, 0x33, 0x58, 0x24, 0x06, 0x17, 0xFD, 0x20, 0x17, + 0x41}; + thread_local EncryptedName naviPressName(naviPressSource); + const std::string naviPress(naviPressName.Text()); + const std::uint8_t naviNormalSource[] = { + 0x91, 0x02, 0x3D, 0xD1, 0x8F, 0xFD, 0x1A, 0xA6, 0x97, 0x49, 0x3D, 0xE7, 0xF2, 0x89, 0x83, 0x2A, 0x35, 0xDB, 0x98, 0x45, 0x3B, 0x46, 0xAD, 0x0E, + 0x16, 0xD8, 0x94, 0x4F, 0x2A, 0x6F, 0xBD, 0x1F, 0x3F, 0xF2, 0x93, 0x4A, 0x39, 0x5A, 0x80, 0x05, 0x3E, 0xDF, 0x90, 0x4A, 0x23, 0x1D, 0xBD, 0x06, + 0x21, 0xAD}; + thread_local EncryptedName naviNormalName(naviNormalSource); + const std::string naviNormal(naviNormalName.Text()); + this->unknown_0084->SetImages(naviNormal, naviPress, naviOver, naviDisable); + } + this->AddChild(this->unknown_0084); +} // OFFSET: 0x009DBAC0 // FUNCTION: fn_45477