From b5d118fdade139c5288ff96d43f144f8f9b0f8f4 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 30 Oct 2026 15:25:09 +0000 Subject: [PATCH] Decompile 2 functions in Source/Contents/NavigationRequest.cpp, Source/Contents/NavigationManager.h Batch #5655 by zindokar: 0 byte-identical, 2 confirmed by peer review. - fn_19630 CNavigationManager::SetViewMode: logic confirmed by peer review - fn_19631 CNavigationManager::BuildGridLabels: logic confirmed by peer review Peer-reviewed-by: Yommy, willerthal, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/NavigationRequest.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Source/Contents/NavigationRequest.cpp b/Source/Contents/NavigationRequest.cpp index cc1137b8..9b6f70d8 100644 --- a/Source/Contents/NavigationRequest.cpp +++ b/Source/Contents/NavigationRequest.cpp @@ -129,8 +129,26 @@ void CNavigationManager::SetViewIcon(int icon) { } // OFFSET: 0x00B9F9B0 +// FUNCTION: fn_19630 +bool CNavigationManager::SetViewMode(int mode) { + if (mode != 1 && mode != 2 && mode != 0) { + return false; + } + + this->unknown_1258 = mode; + return true; +} // OFFSET: 0x00B9F9E0 +// FUNCTION: fn_19631 +void CNavigationManager::BuildGridLabels() { + char path[260]; + for (int index = 0; index < 8; ++index) { + std::memset(path, 0, sizeof(path)); + std::sprintf(path, "유저인터페이스\\navigation_interface3\\navi_grid%d_%d.tga", this->viewIcon, index); + this->labels[index] = path; + } +} // OFFSET: 0x00B97200 // FUNCTION: fn_19598