Files
tp/libs/JSystem/JUtility/JUTDbPrint.cpp
T

173 lines
5.4 KiB
C++
Raw Normal View History

2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
// Generated By: dol2asm
// Translation Unit: JUTDbPrint
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
2021-04-01 02:07:58 +02:00
#include "JSystem/JUtility/JUTDbPrint.h"
2021-03-28 22:49:05 +02:00
#include "dol2asm.h"
#include "dolphin/types.h"
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
// Types:
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
2021-04-08 01:47:05 +02:00
struct JUTVideo {
static u8 sManager[4];
};
2021-03-28 22:49:05 +02:00
struct J2DOrthoGraph {
2021-04-01 02:07:58 +02:00
/* 802E96D0 */ J2DOrthoGraph(f32, f32, f32, f32, f32, f32);
/* 802E97B4 */ void setPort();
2021-03-28 22:49:05 +02:00
};
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
// Forward References:
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
extern "C" void __ct__10JUTDbPrintFP7JUTFontP7JKRHeap();
extern "C" void start__10JUTDbPrintFP7JUTFontP7JKRHeap();
extern "C" void changeFont__10JUTDbPrintFP7JUTFont();
extern "C" void enter__10JUTDbPrintFiiiPCci();
extern "C" void flush__10JUTDbPrintFv();
extern "C" void flush__10JUTDbPrintFiiii();
extern "C" void drawString__10JUTDbPrintFiiiPCUc();
extern "C" void JUTReport__FiiPCce();
extern "C" void JUTReport__FiiiPCce();
2021-04-08 01:47:05 +02:00
extern "C" u8 sDebugPrint__10JUTDbPrint[4 + 4 /* padding */];
2021-03-28 22:49:05 +02:00
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
// External References:
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
extern "C" void alloc__7JKRHeapFUliP7JKRHeap();
extern "C" void free__7JKRHeapFPvP7JKRHeap();
extern "C" void* __nw__FUl();
extern "C" void setCharColor__7JUTFontFQ28JUtility6TColor();
extern "C" void drawString_size_scale__7JUTFontFffffPCcUlb();
extern "C" void __ct__13J2DOrthoGraphFffffff();
extern "C" void setPort__13J2DOrthoGraphFv();
extern "C" void _savegpr_25();
extern "C" void _savegpr_27();
extern "C" void _savegpr_28();
extern "C" void _savegpr_29();
extern "C" void _restgpr_25();
extern "C" void _restgpr_27();
extern "C" void _restgpr_28();
extern "C" void _restgpr_29();
extern "C" void vsnprintf();
extern "C" void strcpy();
extern "C" extern void* __vt__14J2DGrafContext[10];
extern "C" extern void* __vt__13J2DOrthoGraph[10];
2021-04-08 01:47:05 +02:00
extern "C" u8 sCurrentHeap__7JKRHeap[4];
extern "C" u8 sManager__8JUTVideo[4];
2021-03-28 22:49:05 +02:00
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
// Declarations:
2021-04-01 02:07:58 +02:00
//
2021-03-28 22:49:05 +02:00
2021-04-06 18:00:35 +02:00
/* 802E0148-802E0190 2DAA88 0048+00 1/1 0/0 0/0 .text __ct__10JUTDbPrintFP7JUTFontP7JKRHeap */
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm JUTDbPrint::JUTDbPrint(JUTFont* param_0, JKRHeap* param_1) {
2021-04-01 02:07:58 +02:00
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/__ct__10JUTDbPrintFP7JUTFontP7JKRHeap.s"
}
#pragma pop
/* ############################################################################################## */
2021-04-06 18:00:35 +02:00
/* 804514C8-804514D0 0009C8 0004+04 3/3 6/6 0/0 .sbss sDebugPrint__10JUTDbPrint */
JUTDbPrint* JUTDbPrint::sDebugPrint;
2021-03-28 22:49:05 +02:00
2021-04-06 18:00:35 +02:00
/* 802E0190-802E0204 2DAAD0 0074+00 0/0 2/2 0/0 .text start__10JUTDbPrintFP7JUTFontP7JKRHeap */
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void JUTDbPrint::start(JUTFont* param_0, JKRHeap* param_1) {
2021-04-01 02:07:58 +02:00
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/start__10JUTDbPrintFP7JUTFontP7JKRHeap.s"
}
#pragma pop
2021-04-06 18:00:35 +02:00
/* 802E0204-802E021C 2DAB44 0018+00 0/0 1/1 0/0 .text changeFont__10JUTDbPrintFP7JUTFont
*/
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void JUTDbPrint::changeFont(JUTFont* param_0) {
2021-04-01 02:07:58 +02:00
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/changeFont__10JUTDbPrintFP7JUTFont.s"
}
#pragma pop
2021-04-06 18:00:35 +02:00
/* 802E021C-802E02A4 2DAB5C 0088+00 2/2 0/0 0/0 .text enter__10JUTDbPrintFiiiPCci */
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
2021-04-01 02:07:58 +02:00
asm void JUTDbPrint::enter(int param_0, int param_1, int param_2, char const* param_3,
int param_4) {
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/enter__10JUTDbPrintFiiiPCci.s"
}
#pragma pop
2021-04-06 18:00:35 +02:00
/* 802E02A4-802E02DC 2DABE4 0038+00 0/0 1/1 0/0 .text flush__10JUTDbPrintFv */
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void JUTDbPrint::flush() {
2021-04-01 02:07:58 +02:00
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/flush__10JUTDbPrintFv.s"
}
#pragma pop
/* ############################################################################################## */
2021-04-06 18:00:35 +02:00
/* 80456008-8045600C 004608 0004+00 1/1 0/0 0/0 .sdata2 @835 */
2021-03-30 01:58:08 +02:00
SECTION_SDATA2 static f32 lit_835 = -1.0f;
2021-03-28 22:49:05 +02:00
2021-04-06 18:00:35 +02:00
/* 8045600C-80456010 00460C 0004+00 1/1 0/0 0/0 .sdata2 @836 */
2021-03-30 01:58:08 +02:00
SECTION_SDATA2 static f32 lit_836 = 1.0f;
2021-03-28 22:49:05 +02:00
2021-04-06 18:00:35 +02:00
/* 80456010-80456018 004610 0008+00 2/2 0/0 0/0 .sdata2 @838 */
2021-03-30 01:58:08 +02:00
SECTION_SDATA2 static f64 lit_838 = 4503601774854144.0 /* cast s32 to float */;
2021-03-28 22:49:05 +02:00
2021-04-06 18:00:35 +02:00
/* 802E02DC-802E0440 2DAC1C 0164+00 1/1 0/0 0/0 .text flush__10JUTDbPrintFiiii */
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void JUTDbPrint::flush(int param_0, int param_1, int param_2, int param_3) {
2021-04-01 02:07:58 +02:00
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/flush__10JUTDbPrintFiiii.s"
}
#pragma pop
2021-04-06 18:00:35 +02:00
/* 802E0440-802E0530 2DAD80 00F0+00 1/1 0/0 0/0 .text drawString__10JUTDbPrintFiiiPCUc */
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void JUTDbPrint::drawString(int param_0, int param_1, int param_2, u8 const* param_3) {
2021-04-01 02:07:58 +02:00
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/drawString__10JUTDbPrintFiiiPCUc.s"
}
#pragma pop
2021-04-06 18:00:35 +02:00
/* 802E0530-802E0600 2DAE70 00D0+00 0/0 2/2 2/2 .text JUTReport__FiiPCce */
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void JUTReport(int param_0, int param_1, char const* param_2, ...) {
2021-04-01 02:07:58 +02:00
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/JUTReport__FiiPCce.s"
}
#pragma pop
2021-04-06 18:00:35 +02:00
/* 802E0600-802E06DC 2DAF40 00DC+00 0/0 1/1 0/0 .text JUTReport__FiiiPCce */
2021-03-28 22:49:05 +02:00
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void JUTReport(int param_0, int param_1, int param_2, char const* param_3, ...) {
2021-04-01 02:07:58 +02:00
nofralloc
2021-03-28 22:49:05 +02:00
#include "asm/JSystem/JUtility/JUTDbPrint/JUTReport__FiiiPCce.s"
}
#pragma pop