mirror of https://github.com/zeldaret/tp.git
173 lines
5.4 KiB
C++
173 lines
5.4 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: JUTDbPrint
|
|
//
|
|
|
|
#include "JSystem/JUtility/JUTDbPrint.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// Types:
|
|
//
|
|
|
|
struct JUTVideo {
|
|
static u8 sManager[4];
|
|
};
|
|
|
|
struct J2DOrthoGraph {
|
|
/* 802E96D0 */ J2DOrthoGraph(f32, f32, f32, f32, f32, f32);
|
|
/* 802E97B4 */ void setPort();
|
|
};
|
|
|
|
//
|
|
// Forward References:
|
|
//
|
|
|
|
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();
|
|
extern "C" u8 sDebugPrint__10JUTDbPrint[4 + 4 /* padding */];
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
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];
|
|
extern "C" u8 sCurrentHeap__7JKRHeap[4];
|
|
extern "C" u8 sManager__8JUTVideo[4];
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* 802E0148-802E0190 2DAA88 0048+00 1/1 0/0 0/0 .text __ct__10JUTDbPrintFP7JUTFontP7JKRHeap */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm JUTDbPrint::JUTDbPrint(JUTFont* param_0, JKRHeap* param_1) {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/__ct__10JUTDbPrintFP7JUTFontP7JKRHeap.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 804514C8-804514D0 0009C8 0004+04 3/3 6/6 0/0 .sbss sDebugPrint__10JUTDbPrint */
|
|
JUTDbPrint* JUTDbPrint::sDebugPrint;
|
|
|
|
/* 802E0190-802E0204 2DAAD0 0074+00 0/0 2/2 0/0 .text start__10JUTDbPrintFP7JUTFontP7JKRHeap */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void JUTDbPrint::start(JUTFont* param_0, JKRHeap* param_1) {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/start__10JUTDbPrintFP7JUTFontP7JKRHeap.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 802E0204-802E021C 2DAB44 0018+00 0/0 1/1 0/0 .text changeFont__10JUTDbPrintFP7JUTFont
|
|
*/
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void JUTDbPrint::changeFont(JUTFont* param_0) {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/changeFont__10JUTDbPrintFP7JUTFont.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 802E021C-802E02A4 2DAB5C 0088+00 2/2 0/0 0/0 .text enter__10JUTDbPrintFiiiPCci */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void JUTDbPrint::enter(int param_0, int param_1, int param_2, char const* param_3,
|
|
int param_4) {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/enter__10JUTDbPrintFiiiPCci.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 802E02A4-802E02DC 2DABE4 0038+00 0/0 1/1 0/0 .text flush__10JUTDbPrintFv */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void JUTDbPrint::flush() {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/flush__10JUTDbPrintFv.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* ############################################################################################## */
|
|
/* 80456008-8045600C 004608 0004+00 1/1 0/0 0/0 .sdata2 @835 */
|
|
SECTION_SDATA2 static f32 lit_835 = -1.0f;
|
|
|
|
/* 8045600C-80456010 00460C 0004+00 1/1 0/0 0/0 .sdata2 @836 */
|
|
SECTION_SDATA2 static f32 lit_836 = 1.0f;
|
|
|
|
/* 80456010-80456018 004610 0008+00 2/2 0/0 0/0 .sdata2 @838 */
|
|
SECTION_SDATA2 static f64 lit_838 = 4503601774854144.0 /* cast s32 to float */;
|
|
|
|
/* 802E02DC-802E0440 2DAC1C 0164+00 1/1 0/0 0/0 .text flush__10JUTDbPrintFiiii */
|
|
#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) {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/flush__10JUTDbPrintFiiii.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 802E0440-802E0530 2DAD80 00F0+00 1/1 0/0 0/0 .text drawString__10JUTDbPrintFiiiPCUc */
|
|
#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) {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/drawString__10JUTDbPrintFiiiPCUc.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 802E0530-802E0600 2DAE70 00D0+00 0/0 2/2 2/2 .text JUTReport__FiiPCce */
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
asm void JUTReport(int param_0, int param_1, char const* param_2, ...) {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/JUTReport__FiiPCce.s"
|
|
}
|
|
#pragma pop
|
|
|
|
/* 802E0600-802E06DC 2DAF40 00DC+00 0/0 1/1 0/0 .text JUTReport__FiiiPCce */
|
|
#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, ...) {
|
|
nofralloc
|
|
#include "asm/JSystem/JUtility/JUTDbPrint/JUTReport__FiiiPCce.s"
|
|
}
|
|
#pragma pop
|