tp/libs/dolphin/gx/GXPerf.cpp

117 lines
4.1 KiB
C++

//
// Generated By: dol2asm
// Translation Unit: GXPerf
//
#include "dolphin/gx/GXPerf.h"
#include "dol2asm.h"
#include "dolphin/types.h"
//
// Forward References:
//
extern "C" void GXSetGPMetric();
extern "C" void GXClearGPMetric();
extern "C" void GXReadXfRasMetric();
//
// External References:
//
extern "C" extern u8 __cpReg[4];
extern "C" extern void* __GXData;
//
// Declarations:
//
/* ############################################################################################## */
/* 803D2858-803D28B4 -00001 005C+00 1/1 0/0 0/0 .data @182 */
SECTION_DATA static void* lit_182[23] = {
(void*)(((char*)GXSetGPMetric) + 0x568), (void*)(((char*)GXSetGPMetric) + 0x584),
(void*)(((char*)GXSetGPMetric) + 0x5A0), (void*)(((char*)GXSetGPMetric) + 0x5BC),
(void*)(((char*)GXSetGPMetric) + 0x610), (void*)(((char*)GXSetGPMetric) + 0x62C),
(void*)(((char*)GXSetGPMetric) + 0x648), (void*)(((char*)GXSetGPMetric) + 0x664),
(void*)(((char*)GXSetGPMetric) + 0x5D8), (void*)(((char*)GXSetGPMetric) + 0x680),
(void*)(((char*)GXSetGPMetric) + 0x6B0), (void*)(((char*)GXSetGPMetric) + 0x6E0),
(void*)(((char*)GXSetGPMetric) + 0x710), (void*)(((char*)GXSetGPMetric) + 0x740),
(void*)(((char*)GXSetGPMetric) + 0x770), (void*)(((char*)GXSetGPMetric) + 0x7A0),
(void*)(((char*)GXSetGPMetric) + 0x7D0), (void*)(((char*)GXSetGPMetric) + 0x7FC),
(void*)(((char*)GXSetGPMetric) + 0x80C), (void*)(((char*)GXSetGPMetric) + 0x81C),
(void*)(((char*)GXSetGPMetric) + 0x82C), (void*)(((char*)GXSetGPMetric) + 0x5F4),
(void*)(((char*)GXSetGPMetric) + 0x838),
};
/* 803D28B4-803D2948 -00001 0090+04 1/1 0/0 0/0 .data @181 */
SECTION_DATA static void* lit_181[36 + 1 /* padding */] = {
(void*)(((char*)GXSetGPMetric) + 0x13C),
(void*)(((char*)GXSetGPMetric) + 0x15C),
(void*)(((char*)GXSetGPMetric) + 0x17C),
(void*)(((char*)GXSetGPMetric) + 0x19C),
(void*)(((char*)GXSetGPMetric) + 0x1BC),
(void*)(((char*)GXSetGPMetric) + 0x1DC),
(void*)(((char*)GXSetGPMetric) + 0x1FC),
(void*)(((char*)GXSetGPMetric) + 0x21C),
(void*)(((char*)GXSetGPMetric) + 0x23C),
(void*)(((char*)GXSetGPMetric) + 0x25C),
(void*)(((char*)GXSetGPMetric) + 0x29C),
(void*)(((char*)GXSetGPMetric) + 0x2BC),
(void*)(((char*)GXSetGPMetric) + 0x2D8),
(void*)(((char*)GXSetGPMetric) + 0x2F4),
(void*)(((char*)GXSetGPMetric) + 0x310),
(void*)(((char*)GXSetGPMetric) + 0x32C),
(void*)(((char*)GXSetGPMetric) + 0x348),
(void*)(((char*)GXSetGPMetric) + 0x364),
(void*)(((char*)GXSetGPMetric) + 0x380),
(void*)(((char*)GXSetGPMetric) + 0x39C),
(void*)(((char*)GXSetGPMetric) + 0x3B8),
(void*)(((char*)GXSetGPMetric) + 0x3D4),
(void*)(((char*)GXSetGPMetric) + 0x3F0),
(void*)(((char*)GXSetGPMetric) + 0x40C),
(void*)(((char*)GXSetGPMetric) + 0x428),
(void*)(((char*)GXSetGPMetric) + 0x444),
(void*)(((char*)GXSetGPMetric) + 0x460),
(void*)(((char*)GXSetGPMetric) + 0x47C),
(void*)(((char*)GXSetGPMetric) + 0x498),
(void*)(((char*)GXSetGPMetric) + 0x4B4),
(void*)(((char*)GXSetGPMetric) + 0x4D0),
(void*)(((char*)GXSetGPMetric) + 0x4EC),
(void*)(((char*)GXSetGPMetric) + 0x508),
(void*)(((char*)GXSetGPMetric) + 0x524),
(void*)(((char*)GXSetGPMetric) + 0x27C),
(void*)(((char*)GXSetGPMetric) + 0x53C),
/* padding */
NULL,
};
/* 8036067C-80360EC4 35AFBC 0848+00 2/0 1/1 0/0 .text GXSetGPMetric */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void GXSetGPMetric() {
nofralloc
#include "asm/dolphin/gx/GXPerf/GXSetGPMetric.s"
}
#pragma pop
/* 80360EC4-80360ED4 35B804 0010+00 0/0 1/1 0/0 .text GXClearGPMetric */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void GXClearGPMetric() {
nofralloc
#include "asm/dolphin/gx/GXPerf/GXClearGPMetric.s"
}
#pragma pop
/* 80360ED4-80360F98 35B814 00C4+00 0/0 1/1 0/0 .text GXReadXfRasMetric */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void GXReadXfRasMetric() {
nofralloc
#include "asm/dolphin/gx/GXPerf/GXReadXfRasMetric.s"
}
#pragma pop