From fcc5fcbcafc10c8d121f4b31b4256650362484e9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 28 Oct 2026 23:59:40 +0000 Subject: [PATCH] Decompile fn_19552 (NaviRouteLine::NaviRouteLine) Batch #1934 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_19552 NaviRouteLine::NaviRouteLine: logic confirmed by peer review Reviewed-by: ragnarok-clanker --- Source/Contents/NavigationManager.h | 2 ++ Source/Contents/NavigationSource.cpp | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/Source/Contents/NavigationManager.h b/Source/Contents/NavigationManager.h index e356344..00772a7 100644 --- a/Source/Contents/NavigationManager.h +++ b/Source/Contents/NavigationManager.h @@ -37,6 +37,8 @@ struct NaviDataEntry { }; struct NaviRouteLine { + NaviRouteLine(int kind, int x, int y, const char* text, int color, int shadowColor); + // OFFSET: 0x00B92F10 // FUNCTION: fn_19558 ~NaviRouteLine() { diff --git a/Source/Contents/NavigationSource.cpp b/Source/Contents/NavigationSource.cpp index a6feb81..b7f881e 100644 --- a/Source/Contents/NavigationSource.cpp +++ b/Source/Contents/NavigationSource.cpp @@ -206,6 +206,17 @@ CNavigationManager::CNavigationManager() { this->unknown_12B4 = false; } +// OFFSET: 0x00B92950 +// FUNCTION: fn_19552 +NaviRouteLine::NaviRouteLine(int kind, int x, int y, const char* text, int color, int shadowColor) : x(0), y(0) { + this->kind = kind; + this->x = x; + this->y = y; + this->text = text; + this->color = color; + this->shadowColor = shadowColor; +} + // OFFSET: 0x00B92CA0 // FUNCTION: fn_45448 CNavigationManager::~CNavigationManager() {