This commit is contained in:
lepelog
2021-04-01 00:15:05 +02:00
parent 0b09be34fb
commit 87bc0e711b
6 changed files with 45 additions and 56 deletions
+7 -39
View File
@@ -4,57 +4,25 @@
//
#include "SSystem/SComponent/c_API_graphic.h"
#include "SSystem/SComponent/c_API.h"
#include "dol2asm.h"
#include "dolphin/types.h"
//
// Forward References:
//
void cAPIGph_Painter();
void cAPIGph_BeforeOfDraw();
void cAPIGph_AfterOfDraw();
extern "C" void cAPIGph_Painter__Fv();
extern "C" void cAPIGph_BeforeOfDraw__Fv();
extern "C" void cAPIGph_AfterOfDraw__Fv();
//
// External References:
//
extern "C" extern void* g_cAPI_Interface[6];
//
// Declarations:
//
/* 802632C8-802632F8 0030+00 s=0 e=1 z=0 None .text cAPIGph_Painter__Fv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void cAPIGph_Painter() {
nofralloc
#include "asm/SSystem/SComponent/c_API_graphic/cAPIGph_Painter__Fv.s"
void cAPIGph_Painter(void) {
g_cAPI_Interface[3]();
}
#pragma pop
/* 802632F8-80263328 0030+00 s=0 e=1 z=0 None .text cAPIGph_BeforeOfDraw__Fv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void cAPIGph_BeforeOfDraw() {
nofralloc
#include "asm/SSystem/SComponent/c_API_graphic/cAPIGph_BeforeOfDraw__Fv.s"
void cAPIGph_BeforeOfDraw(void) {
g_cAPI_Interface[1]();
}
#pragma pop
/* 80263328-80263358 0030+00 s=0 e=1 z=0 None .text cAPIGph_AfterOfDraw__Fv */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void cAPIGph_AfterOfDraw() {
nofralloc
#include "asm/SSystem/SComponent/c_API_graphic/cAPIGph_AfterOfDraw__Fv.s"
void cAPIGph_AfterOfDraw(void) {
g_cAPI_Interface[2]();
}
#pragma pop