From 9175ed23edb9f821403dcc10c90d480dbdd0bb1b Mon Sep 17 00:00:00 2001 From: Sebastian Mischke Date: Sun, 4 Jan 2026 19:10:44 +0100 Subject: [PATCH] Rename FUN_100a81b0 to ReportError --- LEGO1/lego/sources/roi/legoroi.cpp | 4 ++-- LEGO1/lego/sources/roi/legoroi.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/sources/roi/legoroi.cpp b/LEGO1/lego/sources/roi/legoroi.cpp index 6336c2f2..ac061890 100644 --- a/LEGO1/lego/sources/roi/legoroi.cpp +++ b/LEGO1/lego/sources/roi/legoroi.cpp @@ -61,7 +61,7 @@ TextureHandler g_textureHandler = NULL; // FUNCTION: LEGO1 0x100a81b0 // FUNCTION: BETA10 0x101898c0 // FUNCTION: ALPHA 0x100bb1c0 -void LegoROI::FUN_100a81b0(const LegoChar* p_error, ...) +void LegoROI::ReportError(const LegoChar* p_error, ...) { // Probably a printf-like debug function that was removed early. // No known implementation in any of the binaries. @@ -418,7 +418,7 @@ LegoResult LegoROI::ApplyChildAnimationTransformation( } } else { - FUN_100a81b0("%s ROI Not found\n", name); + ReportError("%s ROI Not found\n", name); #ifdef BETA10 _RPT1(_CRT_ASSERT, "%s ROI Not Found", name); // Note that the macro inserts an INT3, which breaks the assumption that INT3 diff --git a/LEGO1/lego/sources/roi/legoroi.h b/LEGO1/lego/sources/roi/legoroi.h index 1313d8b1..223a4672 100644 --- a/LEGO1/lego/sources/roi/legoroi.h +++ b/LEGO1/lego/sources/roi/legoroi.h @@ -63,7 +63,7 @@ class LegoROI : public ViewROI { void SetDisplayBB(int p_displayBB); static LegoResult CreateLocalTransform(LegoAnimNodeData* p_data, LegoTime p_time, Matrix4& p_matrix); - static void FUN_100a81b0(const LegoChar* p_error, ...); + static void ReportError(const LegoChar* p_error, ...); static void configureLegoROI(int p_roi); static void SetColorOverride(ColorOverride p_colorOverride); static LegoBool GetRGBAColor(const LegoChar* p_name, float& p_red, float& p_green, float& p_blue, float& p_alpha);