From e65e93124c508b6d980786374de8619fd3d6bcb3 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 9 Nov 2026 18:36:16 +0000 Subject: [PATCH] Confirm 2 functions in Source/Render/Primitives/ScreenLine.cpp, Source/Resource/ResourceFailures.cpp, ... Batch #15246 by kyoshi: 1 byte-identical, 1 confirmed by peer review. - fn_19687 UIEntryQueueListBox::EntryValue: byte-identical (already on main) - fn_13578 UIMerchantItemLogWnd::OnProcess: logic confirmed by peer review (already on main) Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Render/Primitives/ScreenLine.cpp | 2 ++ Source/Resource/ResourceFailures.cpp | 2 ++ Source/UI/CashShop/UICashShopWnd.cpp | 2 ++ Source/UI/EntryQueue/UIEntryQueueWnd.cpp | 2 ++ Source/UI/Item/UIMerchantItemLogWnd.cpp | 2 ++ 5 files changed, 10 insertions(+) diff --git a/Source/Render/Primitives/ScreenLine.cpp b/Source/Render/Primitives/ScreenLine.cpp index 4082709c1..e153c0db8 100644 --- a/Source/Render/Primitives/ScreenLine.cpp +++ b/Source/Render/Primitives/ScreenLine.cpp @@ -31,6 +31,8 @@ #include #include +extern template int std::_Traits_compare>(const char*, std::size_t, const char*, std::size_t) noexcept; + namespace { __declspec(noinline) float ScreenLineSine(float angle) { return static_cast(std::sin(static_cast(angle))); diff --git a/Source/Resource/ResourceFailures.cpp b/Source/Resource/ResourceFailures.cpp index a37049aa9..3f90dc332 100644 --- a/Source/Resource/ResourceFailures.cpp +++ b/Source/Resource/ResourceFailures.cpp @@ -6,6 +6,8 @@ #include #include +extern template int std::_Traits_compare>(const char*, std::size_t, const char*, std::size_t) noexcept; + // GLOBAL: gl_24582 ResourceFailures g_resourceFailures; diff --git a/Source/UI/CashShop/UICashShopWnd.cpp b/Source/UI/CashShop/UICashShopWnd.cpp index 0cecba980..7f8d04040 100644 --- a/Source/UI/CashShop/UICashShopWnd.cpp +++ b/Source/UI/CashShop/UICashShopWnd.cpp @@ -49,6 +49,8 @@ #include #include +extern template int std::_Traits_compare>(const char*, std::size_t, const char*, std::size_t) noexcept; + #pragma pack(push, 1) struct CashItemPurchase { diff --git a/Source/UI/EntryQueue/UIEntryQueueWnd.cpp b/Source/UI/EntryQueue/UIEntryQueueWnd.cpp index 1695a749e..199220306 100644 --- a/Source/UI/EntryQueue/UIEntryQueueWnd.cpp +++ b/Source/UI/EntryQueue/UIEntryQueueWnd.cpp @@ -31,6 +31,8 @@ #include #include +extern template int std::_Traits_compare>(const char*, std::size_t, const char*, std::size_t) noexcept; + // OFFSET: 0x00BA3920 // FUNCTION: fn_19677 UIEntryQueueHelpWnd::UIEntryQueueHelpWnd() : UIFrameWnd(0), m_viewer(nullptr), m_close(nullptr) { diff --git a/Source/UI/Item/UIMerchantItemLogWnd.cpp b/Source/UI/Item/UIMerchantItemLogWnd.cpp index 295fdf416..e8361b893 100644 --- a/Source/UI/Item/UIMerchantItemLogWnd.cpp +++ b/Source/UI/Item/UIMerchantItemLogWnd.cpp @@ -31,6 +31,8 @@ #include #include +extern template int std::_Traits_compare>(const char*, std::size_t, const char*, std::size_t) noexcept; + // OFFSET: 0x0099E0E0 // FUNCTION: fn_13571 UIMerchantItemLogWnd::UIMerchantItemLogWnd(int mode) : UIItemBaseWnd() {