// // Generated By: dol2asm // Translation Unit: J2DOrthoGraph // #include "dol2asm.h" #include "dolphin/types.h" #include "JSystem/J2DGraph/J2DOrthoGraph.h" // // Types: // struct JUtility { struct TColor { }; }; struct JGeometry { template struct TBox2 { }; /* TBox2 */ struct TBox2__template0 { }; template struct TVec2 { }; /* TVec2 */ struct TVec2__template1 { }; }; struct J2DOrthoGraph { /* 8000B118 */ // False False ~J2DOrthoGraph(); /* 802E9670 */ // False False J2DOrthoGraph(); /* 802E96D0 */ // False False // f32 False // f32 False // f32 False // f32 False // f32 False // f32 False J2DOrthoGraph(f32, f32, f32, f32, f32, f32); /* 802E97B4 */ // False False void setPort(); /* 802E980C */ // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // f32 False // f32 False void setOrtho(JGeometry::TBox2 const&, f32, f32); /* 802E9840 */ // True False void setLookat(); /* 802E987C */ // False True // JGeometry::TBox2* False // JGeometry::TBox2 True // f32 False // JGeometry::TBox2 const* False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False void scissorBounds(JGeometry::TBox2*, JGeometry::TBox2 const*); /* 802E9C88 */ // True False // bool False bool getGrafType() const; }; struct J2DGrafContext { /* 802E8B08 */ // False False // f32 False // f32 False // f32 False // f32 False J2DGrafContext(f32, f32, f32, f32); /* 802E8BB4 */ // False False void setPort(); /* 802E8C44 */ // False False void setup2D(); /* 802E8E20 */ // False False void setScissor(); /* 802E90E4 */ // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False void place(JGeometry::TBox2 const&); /* 802E961C */ // False False // f32 False // f32 False // f32 False // f32 False void place(f32, f32, f32, f32); /* 802E9118 */ // False False // JUtility::TColor False // JUtility::TColor False // JUtility::TColor False // JUtility::TColor False void setColor(JUtility::TColor, JUtility::TColor, JUtility::TColor, JUtility::TColor); /* 802E9234 */ // False False // u8 False void setLineWidth(u8); /* 802E9260 */ // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False void fillBox(JGeometry::TBox2 const&); /* 802E9368 */ // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False void drawFrame(JGeometry::TBox2 const&); /* 802E9564 */ // False True // JGeometry::TVec2 True // f32 False void lineTo(JGeometry::TVec2); }; // // Forward References: // // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False // int False void J2DDrawLine(f32, f32, f32, f32, JUtility::TColor, int); // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False void J2DFillBox(f32, f32, f32, f32, JUtility::TColor); // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // JUtility::TColor False void J2DFillBox(JGeometry::TBox2__template0 const&, JUtility::TColor); // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False // u8 False void J2DDrawFrame(f32, f32, f32, f32, JUtility::TColor, u8); // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // JUtility::TColor False // u8 False void J2DDrawFrame(JGeometry::TBox2__template0 const&, JUtility::TColor, u8); // False False extern "C" void __ct__13J2DOrthoGraphFv(); // False False // f32 False // f32 False // f32 False // f32 False // f32 False // f32 False extern "C" void __ct__13J2DOrthoGraphFffffff(); // False False extern "C" void setPort__13J2DOrthoGraphFv(); // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // f32 False // f32 False extern "C" void func_802E980C(); // True False extern "C" void setLookat__13J2DOrthoGraphFv(); // False True // JGeometry::TBox2* False // JGeometry::TBox2 True // f32 False // JGeometry::TBox2 const* False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False extern "C" void func_802E987C(); // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False // int False extern "C" void J2DDrawLine__FffffQ28JUtility6TColori(); // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False extern "C" void J2DFillBox__FffffQ28JUtility6TColor(); // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // JUtility::TColor False extern "C" void func_802E9B0C(); // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False // u8 False extern "C" void J2DDrawFrame__FffffQ28JUtility6TColorUc(); // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // JUtility::TColor False // u8 False extern "C" void func_802E9BE8(); // True False // bool False extern "C" bool getGrafType__13J2DOrthoGraphCFv(); extern "C" extern void* __vt__13J2DOrthoGraph[10]; // // External References: // // False False extern "C" void __dt__13J2DOrthoGraphFv(); // False False // f32 False // f32 False // f32 False // f32 False extern "C" void __ct__14J2DGrafContextFffff(); // False False extern "C" void setPort__14J2DGrafContextFv(); // False False extern "C" void setup2D__14J2DGrafContextFv(); // False False extern "C" void setScissor__14J2DGrafContextFv(); // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False extern "C" void func_802E90E4(); // False False // JUtility::TColor False // JUtility::TColor False // JUtility::TColor False // JUtility::TColor False extern "C" void setColor__14J2DGrafContextFQ28JUtility6TColorQ28JUtility6TColorQ28JUtility6TColorQ28JUtility6TColor(); // False False // u8 False extern "C" void setLineWidth__14J2DGrafContextFUc(); // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False extern "C" void func_802E9260(); // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False extern "C" void func_802E9368(); // False True // JGeometry::TVec2 True // f32 False extern "C" void func_802E9564(); // False False // f32 False // f32 False // f32 False // f32 False extern "C" void place__14J2DGrafContextFffff(); // False False extern "C" void PSMTXIdentity(); // False False extern "C" void C_MTXOrtho(); // False False extern "C" void GXSetProjection(); // False False extern "C" void GXLoadPosMtxImm(); // False False extern "C" void _savegpr_29(); // False False extern "C" void _restgpr_29(); extern "C" extern void* __vt__14J2DGrafContext[10]; // // Declarations: // /* ############################################################################################## */ /* 803CC9E0-803CCA08 0028+00 s=5 e=9 z=0 None .data __vt__13J2DOrthoGraph */ SECTION_DATA void* __vt__13J2DOrthoGraph[10] = { (void*)NULL /* RTTI */, (void*)NULL, (void*)__dt__13J2DOrthoGraphFv, (void*)func_802E90E4, (void*)place__14J2DGrafContextFffff, (void*)setPort__13J2DOrthoGraphFv, (void*)setup2D__14J2DGrafContextFv, (void*)setScissor__14J2DGrafContextFv, (void*)getGrafType__13J2DOrthoGraphCFv, (void*)setLookat__13J2DOrthoGraphFv, }; /* 80456160-80456168 0004+04 s=3 e=0 z=0 None .sdata2 @522 */ SECTION_SDATA2 static f32 lit_522[1 + 1 /* padding */] = { 0.0f, /* padding */ 0.0f, }; /* 802E9670-802E96D0 0060+00 s=3 e=1 z=0 None .text __ct__13J2DOrthoGraphFv */ // 802E9684: 80456160 (lit_522) // 802E9694: 802E8B08 (__ct__14J2DGrafContextFffff) // 802E9698: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E969C: 803CC9E0 (__vt__13J2DOrthoGraph) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False False asm J2DOrthoGraph::J2DOrthoGraph() { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/__ct__13J2DOrthoGraphFv.s" } #pragma pop /* 802E96D0-802E97B4 00E4+00 s=0 e=7 z=0 None .text __ct__13J2DOrthoGraphFffffff */ // 802E9714: 802E8B08 (__ct__14J2DGrafContextFffff) // 802E9718: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E971C: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E9724: 80456160 (lit_522) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False False // f32 False // f32 False // f32 False // f32 False // f32 False // f32 False asm J2DOrthoGraph::J2DOrthoGraph(f32 param_0, f32 param_1, f32 param_2, f32 param_3, f32 param_4, f32 param_5) { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/__ct__13J2DOrthoGraphFffffff.s" } #pragma pop /* 802E97B4-802E980C 0058+00 s=1 e=6 z=0 None .text setPort__13J2DOrthoGraphFv */ // 802E97C8: 802E8BB4 (setPort__14J2DGrafContextFv) // 802E97E8: 80346FF8 (C_MTXOrtho) // 802E97F4: 803600D4 (GXSetProjection) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False False asm void J2DOrthoGraph::setPort() { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/setPort__13J2DOrthoGraphFv.s" } #pragma pop /* 802E980C-802E9840 0034+00 s=0 e=5 z=0 None .text setOrtho__13J2DOrthoGraphFRCQ29JGeometry8TBox2ff */ #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // f32 False // f32 False asm void J2DOrthoGraph::setOrtho(JGeometry::TBox2 const& param_0, f32 param_1, f32 param_2) { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/func_802E980C.s" } #pragma pop /* 802E9840-802E987C 003C+00 s=1 e=0 z=0 None .text setLookat__13J2DOrthoGraphFv */ // 802E9858: 80346484 (PSMTXIdentity) // 802E9864: 8036024C (GXLoadPosMtxImm) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // True False asm void J2DOrthoGraph::setLookat() { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/setLookat__13J2DOrthoGraphFv.s" } #pragma pop /* 802E987C-802E9998 011C+00 s=0 e=1 z=0 None .text scissorBounds__13J2DOrthoGraphFPQ29JGeometry8TBox2PCQ29JGeometry8TBox2 */ // 802E98B4: 80456160 (lit_522) // 802E98CC: 80456160 (lit_522) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False True // JGeometry::TBox2* False // JGeometry::TBox2 True // f32 False // JGeometry::TBox2 const* False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False asm void J2DOrthoGraph::scissorBounds(JGeometry::TBox2* param_0, JGeometry::TBox2 const* param_1) { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/func_802E987C.s" } #pragma pop /* 802E9998-802E9AC4 012C+00 s=0 e=6 z=0 None .text J2DDrawLine__FffffQ28JUtility6TColori */ // 802E99E8: 802E9670 (__ct__13J2DOrthoGraphFv) // 802E99F4: 802E9234 (setLineWidth__14J2DGrafContextFUc) // 802E9A24: 802E9118 (setColor__14J2DGrafContextFQ28JUtility6TColorQ28JUtility6TColorQ28JUtility6TColorQ28JUtility6TColor) // 802E9A70: 802E9564 (func_802E9564) // 802E9A74: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E9A78: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E9A80: 803CC9B8 (__vt__14J2DGrafContext) // 802E9A84: 803CC9B8 (__vt__14J2DGrafContext) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False // int False asm void J2DDrawLine(f32 param_0, f32 param_1, f32 param_2, f32 param_3, JUtility::TColor param_4, int param_5) { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/J2DDrawLine__FffffQ28JUtility6TColori.s" } #pragma pop /* 802E9AC4-802E9B0C 0048+00 s=0 e=10 z=0 None .text J2DFillBox__FffffQ28JUtility6TColor */ // 802E9AF8: 802E9B0C (func_802E9B0C) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False asm void J2DFillBox(f32 param_0, f32 param_1, f32 param_2, f32 param_3, JUtility::TColor param_4) { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/J2DFillBox__FffffQ28JUtility6TColor.s" } #pragma pop /* 802E9B0C-802E9B9C 0090+00 s=1 e=0 z=0 None .text J2DFillBox__FRCQ29JGeometry8TBox2Q28JUtility6TColor */ // 802E9B2C: 802E9670 (__ct__13J2DOrthoGraphFv) // 802E9B5C: 802E9118 (setColor__14J2DGrafContextFQ28JUtility6TColorQ28JUtility6TColorQ28JUtility6TColorQ28JUtility6TColor) // 802E9B68: 802E9260 (func_802E9260) // 802E9B6C: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E9B70: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E9B78: 803CC9B8 (__vt__14J2DGrafContext) // 802E9B7C: 803CC9B8 (__vt__14J2DGrafContext) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // JUtility::TColor False asm void J2DFillBox(JGeometry::TBox2 const& param_0, JUtility::TColor param_1) { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/func_802E9B0C.s" } #pragma pop /* 802E9B9C-802E9BE8 004C+00 s=0 e=5 z=0 None .text J2DDrawFrame__FffffQ28JUtility6TColorUc */ // 802E9BD4: 802E9BE8 (func_802E9BE8) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False False // f32 False // f32 False // f32 False // f32 False // JUtility::TColor False // u8 False asm void J2DDrawFrame(f32 param_0, f32 param_1, f32 param_2, f32 param_3, JUtility::TColor param_4, u8 param_5) { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/J2DDrawFrame__FffffQ28JUtility6TColorUc.s" } #pragma pop /* 802E9BE8-802E9C88 00A0+00 s=1 e=0 z=0 None .text J2DDrawFrame__FRCQ29JGeometry8TBox2Q28JUtility6TColorUc */ // 802E9BF8: 803621DC (_savegpr_29) // 802E9C0C: 802E9670 (__ct__13J2DOrthoGraphFv) // 802E9C3C: 802E9118 (setColor__14J2DGrafContextFQ28JUtility6TColorQ28JUtility6TColorQ28JUtility6TColorQ28JUtility6TColor) // 802E9C48: 802E9234 (setLineWidth__14J2DGrafContextFUc) // 802E9C54: 802E9368 (func_802E9368) // 802E9C58: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E9C5C: 803CC9E0 (__vt__13J2DOrthoGraph) // 802E9C64: 803CC9B8 (__vt__14J2DGrafContext) // 802E9C68: 803CC9B8 (__vt__14J2DGrafContext) // 802E9C74: 80362228 (_restgpr_29) #pragma push #pragma optimization_level 0 #pragma optimizewithasm off // False True // JGeometry::TBox2 const& False // JGeometry::TBox2 const False // JGeometry::TBox2 True // f32 False // JUtility::TColor False // u8 False asm void J2DDrawFrame(JGeometry::TBox2 const& param_0, JUtility::TColor param_1, u8 param_2) { nofralloc #include "asm/JSystem/J2DGraph/J2DOrthoGraph/func_802E9BE8.s" } #pragma pop /* 802E9C88-802E9C90 0008+00 s=1 e=0 z=0 None .text getGrafType__13J2DOrthoGraphCFv */ // True False // bool False bool J2DOrthoGraph::getGrafType() const { return true; }