mirror of
https://github.com/zeldaret/tp
synced 2026-06-07 03:57:56 -04:00
159 lines
4.8 KiB
C++
159 lines
4.8 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: GXPerf
|
|
//
|
|
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
#include "dolphin/gx/GXPerf.h"
|
|
|
|
//
|
|
// Forward References:
|
|
//
|
|
|
|
|
|
// False False
|
|
extern "C" void GXSetGPMetric();
|
|
// False False
|
|
extern "C" void GXClearGPMetric();
|
|
// False False
|
|
extern "C" void GXReadXfRasMetric();
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
|
|
extern "C" extern u8 __cpReg[4];
|
|
extern "C" extern void* __GXData;
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* ############################################################################################## */
|
|
/* 803D2858-803D28B4 005C+00 s=1 e=0 z=0 None .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 0090+04 s=1 e=0 z=0 None .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 0848+00 s=2 e=1 z=0 None .text GXSetGPMetric */
|
|
// 8036067C: 80456580 (__GXData)
|
|
// 80360700: 80456580 (__GXData)
|
|
// 80360780: 80451924 (__cpReg)
|
|
// 8036078C: 80456580 (__GXData)
|
|
// 803607A0: 803D28B4 (lit_181)
|
|
// 803607A4: 803D28B4 (lit_181)
|
|
// 80360BB8: 80456580 (__GXData)
|
|
// 80360BCC: 803D2858 (lit_182)
|
|
// 80360BD0: 803D2858 (lit_182)
|
|
// 80360E78: 80451924 (__cpReg)
|
|
// 80360E88: 80451924 (__cpReg)
|
|
// 80360E98: 80451924 (__cpReg)
|
|
// 80360EA8: 80451924 (__cpReg)
|
|
// 80360EB4: 80456580 (__GXData)
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
// False False
|
|
extern "C" asm void GXSetGPMetric() {
|
|
nofralloc
|
|
#include "asm/dolphin/gx/GXPerf/GXSetGPMetric.s"
|
|
}
|
|
#pragma pop
|
|
|
|
|
|
/* 80360EC4-80360ED4 0010+00 s=0 e=1 z=0 None .text GXClearGPMetric */
|
|
// 80360EC4: 80451924 (__cpReg)
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
// False False
|
|
extern "C" asm void GXClearGPMetric() {
|
|
nofralloc
|
|
#include "asm/dolphin/gx/GXPerf/GXClearGPMetric.s"
|
|
}
|
|
#pragma pop
|
|
|
|
|
|
/* 80360ED4-80360F98 00C4+00 s=0 e=1 z=0 None .text GXReadXfRasMetric */
|
|
// 80360ED4: 80451924 (__cpReg)
|
|
// 80360F04: 80451924 (__cpReg)
|
|
// 80360F34: 80451924 (__cpReg)
|
|
// 80360F64: 80451924 (__cpReg)
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
// False False
|
|
extern "C" asm void GXReadXfRasMetric() {
|
|
nofralloc
|
|
#include "asm/dolphin/gx/GXPerf/GXReadXfRasMetric.s"
|
|
}
|
|
#pragma pop
|
|
|
|
|