From 832197eda4a860a79d4695573d54c19e2cc7d47e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 04:58:12 +0000 Subject: [PATCH] Decompile fn_21411 (CGameMode::HuntTargetText) Batch #11830 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_21411 CGameMode::HuntTargetText: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Client/Mode/GameMode.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/Client/Mode/GameMode.cpp b/Source/Client/Mode/GameMode.cpp index dd984974..5cb873f0 100644 --- a/Source/Client/Mode/GameMode.cpp +++ b/Source/Client/Mode/GameMode.cpp @@ -5234,15 +5234,16 @@ void WriteMyLog(const char* file, int line, const char* format, ...) { std::string CGameMode::HuntTargetText(const RenewQuestOngoingInfo& quest, int index) { std::string text; if (std::strlen(quest.m_huntName[index]) == 0) { - text.assign(g_renewQuestMgr->GetMonsterConditionText(quest.m_huntUnknown01A0[index], quest.m_huntUnknown01AC[index], quest.m_huntUnknown01B2[index])); + text = static_cast( + g_renewQuestMgr->GetMonsterConditionText(quest.m_huntUnknown01A0[index], quest.m_huntUnknown01AC[index], quest.m_huntUnknown01B2[index])); } else { - text.assign(FormatOwnedString("%s", quest.m_huntName[index])); + text = static_cast(FormatOwnedString("%s", quest.m_huntName[index])); } if (quest.m_huntUnknown00E0[index] == quest.m_huntUnknown0180[index]) { - text.assign(FormatOwnedString("%s [ %s ]", text.c_str(), LookupMessage(0x7EE))); + text = static_cast(FormatOwnedString("%s [ %s ]", text.c_str(), LookupMessage(0x7EE))); } else { - text.assign(FormatOwnedString("%s [ %d / %d ]", text.c_str(), quest.m_huntUnknown00E0[index], quest.m_huntUnknown0180[index])); + text = static_cast(FormatOwnedString("%s [ %d / %d ]", text.c_str(), quest.m_huntUnknown00E0[index], quest.m_huntUnknown0180[index])); } return text;