From 1a87e6eeafc66826ee5fe9fd081ea8735d5c05cd Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 19:54:04 +0000 Subject: [PATCH] Decompile fn_17827 (ShowErrorDialog) Batch #13416 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_17827 ShowErrorDialog: logic confirmed by peer review Peer-reviewed-by: eAthena, Tanke, StrawberrysherbetIX Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Client/Application/ErrorDialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Client/Application/ErrorDialog.cpp b/Source/Client/Application/ErrorDialog.cpp index b8c89a636..0782c1acd 100644 --- a/Source/Client/Application/ErrorDialog.cpp +++ b/Source/Client/Application/ErrorDialog.cpp @@ -5,8 +5,10 @@ // OFFSET: 0x00AD6320 // FUNCTION: fn_17827 int ShowErrorDialog(const std::string& text, const UINT& type) { + const UINT flags = type; + const char* message = text.c_str(); GetRenderSystemHolder()->PrepareErrorDialog(); - return MessageBoxA(nullptr, text.c_str(), "Error", type); + return MessageBoxA(nullptr, message, "Error", flags); } // OFFSET: 0x00AD6360