Files
dusklight/libs/dolphin/gx/GXPerf.c
T
Pheenoh bd670ab091 d_a_npc work
daBaseNpc_c::setBckAnm and J3DAnmTransform* daBaseNpc_c

daBaseNpc_c::setBtpAnm

daBaseNpc_c::attnSttsOn

daBaseNpc_c::orderEvent

daBaseNpc_c::setEnvTevColor

daBaseNpc_c::setRoomNo

daBaseNpc_c::checkEndAnm attempt

CheckCreateHeap

daNpcF_addIdx

daNpcF_subIdx

daNpcF_incIdx

daNpcF_decIdx

daNpcF_ActorMngr_c::initialize()

daNpcF_ActorMngr_c::entry

cleanup daNpcF_ActorMngr_c::entry

daNpcF_ActorMngr_c::remove

daNpcF_ActorMngr_c::getActorP

daNpcF_MatAnm_c::calc attempt

daNpcF_SPCurve_c::initialize

minor fixes

daNpcF_Path_c::initialize

daNpcF_Path_c::setPathInfo

daNpcF_Path_c::chkPassed

daNpcF_Path_c::reverse

daNpcF_Path_c::setNextIdx

daNpcF_Path_c::getNextIdx

daNpcF_Path_c::getBeforeIdx

daNpcF_Path_c::getBeforePos

daNpcF_Path_c::getNextPos

daNpcT_MatAnm_c::initialize

daNpcT_MatAnm_c::calc

daNpcT_addIdx

daNpcT_subIdx

daNpcT_decIdx

daNpcT_Path_c::hermite

daNpcT_Path_c::initialize

daNpcT_Path_c::setPathInfo attempt

daNpcT_Path_c::setNextPathInfo

daNpcT_Path_c::reverse

daNpcT_Path_c::setNextIdx

daNpcT_Path_c::getDstPos attempt

daNpcT_DmgStagger_c::setParam

Add FLOAT_LABEL where possible

fopEn_enemy / fix e_wb

move jasper's jsystem work over

d_attention / d_demo / d_lib work

remove asm

clean up dolphin files / work on some rels (#212)

* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop

* dolphin OS work / cleanup

* dolphin GX work / cleanup

* finish changing dolphin files to C

* more files into C

* match rest of MSL_C math functions

* more dolphin files converted to C

* remove asm

* d_bg_w work

* remove asm

* d_a_alink work / kytag14

initial changes to d_a_e_yc

checkpoint until virtual destructor issue is solved

daNpcF_Lookat_c::adjustMoveDisAngle

daBaseNpc_c::setMtx

daBaseNpc_moveBgActor_c::daBaseNpc_moveBgActor_c()

daNpcT_c::ctrlFaceMotion

daNpcT_c::ctrlMsgAnm attempt

daNpcT_c::initTalk

daNpcF_clearMessageTmpBit

daNpcF_getDistTableIdx

daNpcF_offTmpBit

daNpcF_onTmpBit

daNpcF_chkTmpBit

daNpcF_onEvtBit

daNpcF_chkEvtBit

daNpcF_c::getDistTableIdx

daNpcF_chkPointInArea

daNpcF_chkDoBtnEqSpeak

daNpcF_getPlayerInfoFromPlayerList attempt

daNpcF_pntVsLineSegmentLengthSquare2D

daNpcF_c::chkPointInArea

daNpcF_c::chkPointInArea

daNpcF_c::getAttentionPos

daNpcT_chkTmpBit

daNpcT_offTmpBit

daNpcT_onTmpBit

daNpcT_chkEvtBit

daNpcT_offEvtBit

daNpcT_onEvtBit

daNpcT_chkDoBtnIsSpeak

daNpcT_getDistTableIdx

daBaseNpc_acMngr_c::entry

daNpcF_c::initTalk

undo override
2022-12-20 16:28:41 -07:00

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:
//
void GXSetGPMetric();
void GXClearGPMetric();
void GXReadXfRasMetric();
//
// External References:
//
extern u8 __cpReg[4];
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(u32 perf0, u32 perf1) {
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(void) {
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(u32* param_0, u32* param_1, u32* param_2, u32* param_3) {
nofralloc
#include "asm/dolphin/gx/GXPerf/GXReadXfRasMetric.s"
}
#pragma pop