Decompile 10 functions in Source/UI/Buttons/UITextButton.cpp, Source/UI/Party/UIRegisterPartyWnd.cpp, ...
Batch #13159 by KWDev: 10 byte-identical, 0 confirmed by peer review. - fn_11417 UIItemTagButton::Slot25: byte-identical - fn_10210 UIRuneSystem_tagListWnd::Slot28: byte-identical - fn_12642 UINavigationHelpWnd::Slot15: byte-identical - fn_09290 UIRegisterPartyWnd::NormalizeLevels: byte-identical - fn_03560 UIWindow::Slot44: byte-identical - fn_03637 UINavigationV4Wnd::SelectRouteNode: byte-identical - fn_16152 ProbabilityTableSelectCallback::operator(): byte-identical - fn_16715 ListSelectCallback<SelectPackageItemBox::CUIItemInfo,ITEM_INFO>::operator(): byte-identical - fn_16716 ListSelectCallback<SelectPackageItemBox::CUITabInfo,SelectPackageItemBox::CTabInfoData>::operator(): byte-identical - fn_16835 SkillDelayInfoSelectCallback::operator(): byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
0e469da67e
commit
02aad8c15e
8 changed files with 38 additions and 34 deletions
|
|
@ -109,11 +109,12 @@ void ProbabilityTableSelectCallback::operator()(CUIListItem* const& item) {
|
|||
if (selectedItem->index != static_cast<int>(list->selected) || !list->unknown_00E0) {
|
||||
ProbabilityTable::CUIItem* probabilityItem = dynamic_cast<ProbabilityTable::CUIItem*>(selectedItem);
|
||||
if (probabilityItem) {
|
||||
list->selected = probabilityItem->index;
|
||||
if (list->onSelect && probabilityItem->index >= 0 &&
|
||||
static_cast<unsigned int>(probabilityItem->index) < list->data.size()) {
|
||||
const int selectedIndex = probabilityItem->index;
|
||||
list->selected = selectedIndex;
|
||||
if (list->onSelect && selectedIndex >= 0 &&
|
||||
static_cast<unsigned int>(selectedIndex) < list->data.size()) {
|
||||
auto node = list->data.begin();
|
||||
for (int index = probabilityItem->index; index > 0; --index) {
|
||||
for (int index = selectedIndex; index > 0; --index) {
|
||||
++node;
|
||||
}
|
||||
list->onSelect(probabilityItem, *node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue