Decompile 51 functions in Source/Contents/Effects/Particle.cpp, Source/UI/Enchant/UIEnchantUI.cpp, ...
Batch #15085 by Yommy: 30 byte-identical, 21 confirmed by peer review. - fn_14031 CUIListBox<AdventureGuide::CUITab>::LoadSkin: byte-identical - fn_14030 CUIListBox<AdventureGuide::CUISubTab>::LoadSkin: byte-identical - fn_14718 CUIThumb::LoadSkin: byte-identical - fn_14699 CUITitleBar::LoadSkin: byte-identical - fn_16815 CUIListBoxEx<SkillDelayInfo::CUIDelayItem,SkillDelayInfo::CDelayItemData>::LoadSkin: byte-identical - fn_16673 CUIListBoxEx<SelectPackageItemBox::CUITabInfo,SelectPackageItemBox::CTabInfoData>::LoadSkin: byte-identical - fn_16672 CUIListBoxEx<SelectPackageItemBox::CUIItemInfo,ITEM_INFO>::LoadSkin: byte-identical - fn_16442 CUIListBoxEx<RenewQuestUI::CUIQuestItem,unsigned long>::LoadSkin: byte-identical - fn_16234 CUIListBoxEx<OngoingQuestInfo::CUIRewardItem,OngoingQuestInfo::CRewardItemData>::LoadSkin: byte-identical - fn_16123 CUIListBoxEx<ProbabilityTable::CUIItem,ProbabilityTable::CItemData>::LoadSkin: byte-identical - fn_15431 CUIListBoxEx<GameSettingsUI::CUIOptionItem,TALKTYPE>::LoadSkin: byte-identical - fn_15430 CUIListBoxEx<GameSettingsUI::CUIComboItem,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::LoadSkin: byte-identical - fn_15429 CUIListBoxEx<GameSettingsUI::CUIComboItem,RenderBackend>::LoadSkin: byte-identical - fn_15428 CUIListBoxEx<GameSettingsUI::CUIComboItem,DisplayMode>::LoadSkin: byte-identical - fn_15427 CUIListBoxEx<GameSettingsUI::CUIComboItem,RenderAdapter>::LoadSkin: byte-identical - fn_15198 CUIListBoxEx<ExchangeUI::CUIItem,ExchangeUI::CItemData>::LoadSkin: byte-identical - fn_15040 CUIListBoxEx<EquipmentPropertiesWnd::CUIItemEquipmentPropertiesLine,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::LoadSkin: byte-identical - fn_14840 CUIListBoxEx<EnchantUI::CUITargetItem,ITEM_INFO>::LoadSkin: byte-identical - fn_14839 CUIListBoxEx<EnchantUI::CUIEnchantItem,EnchantUI::CEnchantItemData>::LoadSkin: byte-identical - fn_14719 CUIVScrollBar::LoadSkin: byte-identical - fn_14667 CUIStaticImage::LoadSkin: byte-identical - fn_14650 CUIImageButton::LoadSkin: byte-identical - fn_14035 CUIListBoxEx<AdventureGuide::CUITabInfo,Guide_Intro::Contents>::LoadSkin: byte-identical - fn_14034 CUIListBoxEx<AdventureGuide::CUIQuestInfo,AdventureGuide::CQuestInfo>::LoadSkin: byte-identical - fn_14033 CUIListBoxEx<AdventureGuide::CUIMonsterInfo,AdventureGuide::CMonsterData>::LoadSkin: byte-identical - fn_14032 CUIListBoxEx<AdventureGuide::CUIItemInfo,AdventureGuide::CItemData>::LoadSkin: byte-identical - fn_14490 CUIImageTextButton::LoadSkin: byte-identical - fn_18815 CEZ2STRParticle::ReleaseResource: byte-identical - fn_14508 CUIResizer::LoadSkin: byte-identical - fn_18819 CEZ2STRParticle::Open: logic confirmed by peer review (already on main) - fn_18817 CEZ2STRParticle::Clear: byte-identical - fn_14694 CUITabButton::LoadSkin: logic confirmed by peer review - fn_18813 CEZ2STRParticle::CEZ2STRParticle: logic confirmed by peer review (already on main) - fn_14406 CUIBasicButton::LoadSkin: logic confirmed by peer review - fn_16122 CUIListBoxEx<ProbabilityTable::CUIItem,ProbabilityTable::CItemData>::AddNewItem: logic confirmed by peer review - fn_15200 CUIListBoxEx<ExchangeUI::CUIItem,ExchangeUI::CItemData>::OnScroll: logic confirmed by peer review - fn_15033 CUIEquipmentPropertiesWnd::Initialize: logic confirmed by peer review - fn_15035 CUIEquipmentPropertiesWnd::OnCreate: logic confirmed by peer review - fn_15039 CUIListBoxEx<EquipmentPropertiesWnd::CUIItemEquipmentPropertiesLine,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::AddNewItem: logic confirmed by peer review - fn_15042 CUIListBoxEx<EquipmentPropertiesWnd::CUIItemEquipmentPropertiesLine,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::OnScroll: logic confirmed by peer review - fn_15171 CUIEquipmentPropertiesWnd::SetTab: logic confirmed by peer review - fn_16229 OngoingQuestInfo::CUIRewards::OnCreate: logic confirmed by peer review - fn_16233 CUIListBoxEx<OngoingQuestInfo::CUIRewardItem,OngoingQuestInfo::CRewardItemData>::AddNewItem: logic confirmed by peer review - fn_16317 CUIOngoingQuestInfo::SetQuest: logic confirmed by peer review - fn_16814 CUIListBoxEx<SkillDelayInfo::CUIDelayItem,SkillDelayInfo::CDelayItemData>::AddNewItem: logic confirmed by peer review - fn_16872 CUISkillDelayInfo::CUISkillDelayInfo: logic confirmed by peer review - fn_16434 RenewQuestUI::CUIQuestItem::OnCreate: logic confirmed by peer review - fn_16436 CUIRenewQuestUI::OnCreate: logic confirmed by peer review - fn_16439 CUIListBoxEx<RenewQuestUI::CUIQuestItem,unsigned long>::AddNewItem: logic confirmed by peer review - fn_16444 CUIListBoxEx<RenewQuestUI::CUIQuestItem,unsigned long>::OnScroll: logic confirmed by peer review - fn_16624 CUIRenewQuestUI::OnInit: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
b98aa84400
commit
e152126ceb
20 changed files with 183 additions and 177 deletions
|
|
@ -137,7 +137,7 @@ template <>
|
|||
void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::AddNewItem();
|
||||
|
||||
template <>
|
||||
void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::LoadSkin(int resolveSkin);
|
||||
void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::LoadSkin(bool resolveSkin);
|
||||
|
||||
template <>
|
||||
void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::Resize(int width, int height);
|
||||
|
|
@ -279,18 +279,14 @@ void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::AddNe
|
|||
return;
|
||||
}
|
||||
|
||||
for (ProbabilityTable::CUIItem* item : this->items) {
|
||||
this->RemoveChild(item, 1);
|
||||
}
|
||||
this->items.clear();
|
||||
this->selected = static_cast<unsigned int>(-1);
|
||||
this->ClearItems();
|
||||
|
||||
if (this->geometry.height >= this->rowHeight) {
|
||||
unsigned int count = static_cast<unsigned int>(this->geometry.height / this->rowHeight) + 1;
|
||||
if (this->geometry.height % this->rowHeight >= 2) {
|
||||
++count;
|
||||
}
|
||||
this->items.resize(count, nullptr);
|
||||
this->items.resize(count);
|
||||
for (ProbabilityTable::CUIItem*& slot : this->items) {
|
||||
ProbabilityTable::CUIItem* item = new ProbabilityTable::CUIItem();
|
||||
item->SetSize(this->itemWidth, this->rowHeight);
|
||||
|
|
@ -317,7 +313,7 @@ void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::AddNe
|
|||
// OFFSET: 0x00A4C2F0
|
||||
// FUNCTION: fn_16123
|
||||
template <>
|
||||
void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::LoadSkin(int resolveSkin) {
|
||||
void CUIListBoxEx<ProbabilityTable::CUIItem, ProbabilityTable::CItemData>::LoadSkin(bool resolveSkin) {
|
||||
CResPtr<CBitmapRes>* images = reinterpret_cast<CResPtr<CBitmapRes>*>(reinterpret_cast<std::uint8_t*>(this) + 0x80);
|
||||
images[0] = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[0], resolveSkin));
|
||||
images[1] = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue