From 14350660c851181ddb5b6c512876901f4b71f105 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Wed, 25 Oct 2023 06:39:25 -0400 Subject: [PATCH] Format --- LEGO1/mxregionlist.cpp | 19 ++++++++++--------- LEGO1/mxregionlist.h | 18 ++++++------------ 2 files changed, 16 insertions(+), 21 deletions(-) diff --git a/LEGO1/mxregionlist.cpp b/LEGO1/mxregionlist.cpp index 92e9a010..a33d78b7 100644 --- a/LEGO1/mxregionlist.cpp +++ b/LEGO1/mxregionlist.cpp @@ -1,18 +1,19 @@ #include "mxregionlist.h" + #include "mxregion.h" // OFFSET: LEGO1 0x100c33e0 -void MxRegionListParent::Destroy(MxRegionTopBottom *p_topBottom) +void MxRegionListParent::Destroy(MxRegionTopBottom* p_topBottom) { - if (p_topBottom) { - if (p_topBottom->m_leftRightList) - delete p_topBottom->m_leftRightList; - delete p_topBottom; - } + if (p_topBottom) { + if (p_topBottom->m_leftRightList) + delete p_topBottom->m_leftRightList; + delete p_topBottom; + } } // OFFSET: LEGO1 0x100c4e80 -void MxRegionLeftRightListParent::Destroy(MxRegionLeftRight *p_leftRight) +void MxRegionLeftRightListParent::Destroy(MxRegionLeftRight* p_leftRight) { - delete p_leftRight; -} \ No newline at end of file + delete p_leftRight; +} diff --git a/LEGO1/mxregionlist.h b/LEGO1/mxregionlist.h index 911f4b12..52336d38 100644 --- a/LEGO1/mxregionlist.h +++ b/LEGO1/mxregionlist.h @@ -8,14 +8,11 @@ struct MxRegionLeftRight; // VTABLE 0x100dcb40 // SIZE 0x18 -class MxRegionListParent : public MxList -{ +class MxRegionListParent : public MxList { public: - static void Destroy(MxRegionTopBottom *p_topBottom); + static void Destroy(MxRegionTopBottom* p_topBottom); - MxRegionListParent() { - m_customDestructor = Destroy; - } + MxRegionListParent() { m_customDestructor = Destroy; } }; // VTABLE 0x100dcb58 @@ -33,14 +30,11 @@ typedef MxListCursorChildChild MxRegionListCursor; // VTABLE 0x100dcc70 // SIZE 0x18 -class MxRegionLeftRightListParent : public MxList -{ +class MxRegionLeftRightListParent : public MxList { public: - static void Destroy(MxRegionLeftRight *p_leftRight); + static void Destroy(MxRegionLeftRight* p_leftRight); - MxRegionLeftRightListParent() { - m_customDestructor = Destroy; - } + MxRegionLeftRightListParent() { m_customDestructor = Destroy; } }; // VTABLE 0x100dcc88