From 0e2e431e102d00c76f5ec19a80f6ae4b6d26fae4 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 05:08:55 +0000 Subject: [PATCH] Decompile fn_04704 (CleanupUnhandledExceptionHandler) Batch #13096 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_04704 CleanupUnhandledExceptionHandler: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Client/Application/UnhandledExceptionHandler.cpp | 4 +--- Source/Client/Application/UnhandledExceptionHandler.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Client/Application/UnhandledExceptionHandler.cpp b/Source/Client/Application/UnhandledExceptionHandler.cpp index b030c154..b57d1212 100644 --- a/Source/Client/Application/UnhandledExceptionHandler.cpp +++ b/Source/Client/Application/UnhandledExceptionHandler.cpp @@ -78,13 +78,11 @@ bool InitUnhandledExceptionHandler(int (*callback)()) { // OFFSET: 0x00635C10 // FUNCTION: fn_04704 -int CleanupUnhandledExceptionHandler() { +void CleanupUnhandledExceptionHandler() { if (g_unhandledExceptionHandler != nullptr) { delete g_unhandledExceptionHandler; g_unhandledExceptionHandler = nullptr; } - - return 0; } // OFFSET: 0x00635C30 diff --git a/Source/Client/Application/UnhandledExceptionHandler.h b/Source/Client/Application/UnhandledExceptionHandler.h index 9f63a8a1..f86503a4 100644 --- a/Source/Client/Application/UnhandledExceptionHandler.h +++ b/Source/Client/Application/UnhandledExceptionHandler.h @@ -19,7 +19,7 @@ static_assert(sizeof(CUnhandledExceptionHandler) == 4); bool InitUnhandledExceptionHandler(int (*callback)()); -int CleanupUnhandledExceptionHandler(); +void CleanupUnhandledExceptionHandler(); INT_PTR CALLBACK DialogFunc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);