summaryrefslogtreecommitdiff
path: root/src/d/msg/d_msg_string.cpp
diff options
context:
space:
mode:
authorJulgodis <>2021-03-29 00:10:25 +0200
committerJulgodis <>2021-03-29 00:10:25 +0200
commit815c1a2039a8579d5dc81615250501b6942800d6 (patch)
treedd6cb473752f7e8ae6c60f254f2067f5791a50bb /src/d/msg/d_msg_string.cpp
parentc6c405e457377cc30f7b6ef2b3aa730af0bff845 (diff)
clang-format
Diffstat (limited to 'src/d/msg/d_msg_string.cpp')
-rw-r--r--src/d/msg/d_msg_string.cpp132
1 files changed, 64 insertions, 68 deletions
diff --git a/src/d/msg/d_msg_string.cpp b/src/d/msg/d_msg_string.cpp
index 71b1c5f4ac..3311c56dac 100644
--- a/src/d/msg/d_msg_string.cpp
+++ b/src/d/msg/d_msg_string.cpp
@@ -1,52 +1,50 @@
-//
+//
// Generated By: dol2asm
// Translation Unit: d/msg/d_msg_string
-//
+//
+#include "d/msg/d_msg_string.h"
#include "dol2asm.h"
#include "dolphin/types.h"
-#include "d/msg/d_msg_string.h"
-//
+//
// Types:
-//
+//
-struct J2DTextBox {
-};
+struct J2DTextBox {};
-struct JUTFont {
-};
+struct JUTFont {};
struct COutFont_c {
- /* 80225C94 */ COutFont_c(u8);
+ /* 80225C94 */ COutFont_c(u8);
};
struct dMsgString_c {
- /* 80191B6C */ void getString(u32, J2DTextBox*, J2DTextBox*, JUTFont*, COutFont_c*, u8);
- /* 801E1D10 */ void getStringPage(u32, u8, u8, J2DTextBox*, J2DTextBox*, JUTFont*, COutFont_c*, u8);
- /* 80249C20 */ dMsgString_c();
- /* 80249CA0 */ dMsgString_c(u8);
- /* 80249D28 */ ~dMsgString_c();
- /* 80249DB4 */ void resetStringLocal(J2DTextBox*);
- /* 80249DE4 */ void drawOutFontLocal(J2DTextBox*, f32);
- /* 80249ED0 */ void drawFontLocal(J2DTextBox*, u8, f32, f32, f32, f32, u32, u8);
+ /* 80191B6C */ void getString(u32, J2DTextBox*, J2DTextBox*, JUTFont*, COutFont_c*, u8);
+ /* 801E1D10 */ void getStringPage(u32, u8, u8, J2DTextBox*, J2DTextBox*, JUTFont*, COutFont_c*,
+ u8);
+ /* 80249C20 */ dMsgString_c();
+ /* 80249CA0 */ dMsgString_c(u8);
+ /* 80249D28 */ ~dMsgString_c();
+ /* 80249DB4 */ void resetStringLocal(J2DTextBox*);
+ /* 80249DE4 */ void drawOutFontLocal(J2DTextBox*, f32);
+ /* 80249ED0 */ void drawFontLocal(J2DTextBox*, u8, f32, f32, f32, f32, u32, u8);
};
struct dMsgStringBase_c {
- /* 802493B4 */ dMsgStringBase_c();
- /* 80249528 */ ~dMsgStringBase_c();
- /* 80249700 */ void getResource();
- /* 80249BF8 */ void getMessage(u32, char*);
+ /* 802493B4 */ dMsgStringBase_c();
+ /* 80249528 */ ~dMsgStringBase_c();
+ /* 80249700 */ void getResource();
+ /* 80249BF8 */ void getMessage(u32, char*);
};
struct J2DPane {
- /* 802F79A8 */ void getGlbVtx(u8) const;
+ /* 802F79A8 */ void getGlbVtx(u8) const;
};
-//
+//
// Forward References:
-//
-
+//
extern "C" void __ct__12dMsgString_cFv();
extern "C" void __ct__12dMsgString_cFUc();
@@ -55,15 +53,16 @@ extern "C" void resetStringLocal__12dMsgString_cFP10J2DTextBox();
extern "C" void drawOutFontLocal__12dMsgString_cFP10J2DTextBoxf();
extern "C" void drawFontLocal__12dMsgString_cFP10J2DTextBoxUcffffUlUc();
-//
+//
// External References:
-//
+//
void* operator new(u32);
void operator delete(void*);
extern "C" void getString__12dMsgString_cFUlP10J2DTextBoxP10J2DTextBoxP7JUTFontP10COutFont_cUc();
-extern "C" void getStringPage__12dMsgString_cFUlUcUcP10J2DTextBoxP10J2DTextBoxP7JUTFontP10COutFont_cUc();
+extern "C" void
+getStringPage__12dMsgString_cFUlUcUcP10J2DTextBoxP10J2DTextBoxP7JUTFontP10COutFont_cUc();
extern "C" void __ct__10COutFont_cFUc();
extern "C" void __ct__16dMsgStringBase_cFv();
extern "C" void __dt__16dMsgStringBase_cFv();
@@ -73,105 +72,102 @@ extern "C" void* __nw__FUl();
extern "C" void __dl__FPv();
extern "C" void getGlbVtx__7J2DPaneCFUc();
-//
+//
// Declarations:
-//
+//
/* ############################################################################################## */
-/* 803C1498-803C14B8 0020+00 s=3 e=0 z=0 None .data __vt__12dMsgString_c */
+/* 803C1498-803C14B8 0020+00 s=3 e=0 z=0 None .data __vt__12dMsgString_c */
SECTION_DATA static void* __vt__12dMsgString_c[8] = {
- (void*)NULL,
- (void*)NULL,
- (void*)getString__12dMsgString_cFUlP10J2DTextBoxP10J2DTextBoxP7JUTFontP10COutFont_cUc,
- (void*)getStringPage__12dMsgString_cFUlUcUcP10J2DTextBoxP10J2DTextBoxP7JUTFontP10COutFont_cUc,
- (void*)getMessage__16dMsgStringBase_cFUlPc,
- (void*)resetStringLocal__12dMsgString_cFP10J2DTextBox,
- (void*)drawOutFontLocal__12dMsgString_cFP10J2DTextBoxf,
- (void*)drawFontLocal__12dMsgString_cFP10J2DTextBoxUcffffUlUc,
+ (void*)NULL,
+ (void*)NULL,
+ (void*)getString__12dMsgString_cFUlP10J2DTextBoxP10J2DTextBoxP7JUTFontP10COutFont_cUc,
+ (void*)getStringPage__12dMsgString_cFUlUcUcP10J2DTextBoxP10J2DTextBoxP7JUTFontP10COutFont_cUc,
+ (void*)getMessage__16dMsgStringBase_cFUlPc,
+ (void*)resetStringLocal__12dMsgString_cFP10J2DTextBox,
+ (void*)drawOutFontLocal__12dMsgString_cFP10J2DTextBoxf,
+ (void*)drawFontLocal__12dMsgString_cFP10J2DTextBoxUcffffUlUc,
};
-/* 80249C20-80249CA0 0080+00 s=0 e=15 z=0 None .text __ct__12dMsgString_cFv */
+/* 80249C20-80249CA0 0080+00 s=0 e=15 z=0 None .text __ct__12dMsgString_cFv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm dMsgString_c::dMsgString_c() {
- nofralloc
+ nofralloc
#include "asm/d/msg/d_msg_string/__ct__12dMsgString_cFv.s"
}
#pragma pop
-
-/* 80249CA0-80249D28 0088+00 s=0 e=1 z=0 None .text __ct__12dMsgString_cFUc */
+/* 80249CA0-80249D28 0088+00 s=0 e=1 z=0 None .text __ct__12dMsgString_cFUc */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm dMsgString_c::dMsgString_c(u8 param_0) {
- nofralloc
+ nofralloc
#include "asm/d/msg/d_msg_string/__ct__12dMsgString_cFUc.s"
}
#pragma pop
-
-/* 80249D28-80249DB4 008C+00 s=0 e=17 z=0 None .text __dt__12dMsgString_cFv */
+/* 80249D28-80249DB4 008C+00 s=0 e=17 z=0 None .text __dt__12dMsgString_cFv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm dMsgString_c::~dMsgString_c() {
- nofralloc
+ nofralloc
#include "asm/d/msg/d_msg_string/__dt__12dMsgString_cFv.s"
}
#pragma pop
-
-/* 80249DB4-80249DE4 0030+00 s=1 e=0 z=0 None .text resetStringLocal__12dMsgString_cFP10J2DTextBox */
+/* 80249DB4-80249DE4 0030+00 s=1 e=0 z=0 None .text
+ * resetStringLocal__12dMsgString_cFP10J2DTextBox */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void dMsgString_c::resetStringLocal(J2DTextBox* param_0) {
- nofralloc
+ nofralloc
#include "asm/d/msg/d_msg_string/resetStringLocal__12dMsgString_cFP10J2DTextBox.s"
}
#pragma pop
-
/* ############################################################################################## */
-/* 80454D78-80454D7C 0004+00 s=1 e=0 z=0 None .sdata2 @3777 */
+/* 80454D78-80454D7C 0004+00 s=1 e=0 z=0 None .sdata2 @3777 */
SECTION_SDATA2 static u32 lit_3777 = 0x437F0000;
-/* 80454D7C-80454D80 0004+00 s=1 e=0 z=0 None .sdata2 @3778 */
+/* 80454D7C-80454D80 0004+00 s=1 e=0 z=0 None .sdata2 @3778 */
SECTION_SDATA2 static u32 lit_3778 = 0xBF800000;
-/* 80454D80-80454D88 0004+04 s=1 e=0 z=0 None .sdata2 @3779 */
+/* 80454D80-80454D88 0004+04 s=1 e=0 z=0 None .sdata2 @3779 */
SECTION_SDATA2 static f32 lit_3779[1 + 1 /* padding */] = {
- 1.0f,
- /* padding */
- 0.0f,
+ 1.0f,
+ /* padding */
+ 0.0f,
};
-/* 80454D88-80454D90 0008+00 s=1 e=0 z=0 None .sdata2 @3781 */
+/* 80454D88-80454D90 0008+00 s=1 e=0 z=0 None .sdata2 @3781 */
SECTION_SDATA2 static u8 lit_3781[8] = {
- 0x43, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x43, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
-/* 80249DE4-80249ED0 00EC+00 s=1 e=0 z=0 None .text drawOutFontLocal__12dMsgString_cFP10J2DTextBoxf */
+/* 80249DE4-80249ED0 00EC+00 s=1 e=0 z=0 None .text
+ * drawOutFontLocal__12dMsgString_cFP10J2DTextBoxf */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void dMsgString_c::drawOutFontLocal(J2DTextBox* param_0, f32 param_1) {
- nofralloc
+ nofralloc
#include "asm/d/msg/d_msg_string/drawOutFontLocal__12dMsgString_cFP10J2DTextBoxf.s"
}
#pragma pop
-
-/* 80249ED0-80249F00 0030+00 s=1 e=0 z=0 None .text drawFontLocal__12dMsgString_cFP10J2DTextBoxUcffffUlUc */
+/* 80249ED0-80249F00 0030+00 s=1 e=0 z=0 None .text
+ * drawFontLocal__12dMsgString_cFP10J2DTextBoxUcffffUlUc */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
-asm void dMsgString_c::drawFontLocal(J2DTextBox* param_0, u8 param_1, f32 param_2, f32 param_3, f32 param_4, f32 param_5, u32 param_6, u8 param_7) {
- nofralloc
+asm void dMsgString_c::drawFontLocal(J2DTextBox* param_0, u8 param_1, f32 param_2, f32 param_3,
+ f32 param_4, f32 param_5, u32 param_6, u8 param_7) {
+ nofralloc
#include "asm/d/msg/d_msg_string/drawFontLocal__12dMsgString_cFP10J2DTextBoxUcffffUlUc.s"
}
#pragma pop
-
-