mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-29 07:32:16 -04:00
Decompile crashRender
This commit is contained in:
+15
-11
@@ -23,21 +23,25 @@ typedef s32 OSId;
|
||||
|
||||
typedef union
|
||||
{
|
||||
struct {f32 f_odd; f32 f_even;} f;
|
||||
struct {
|
||||
f32 f_odd2;
|
||||
f32 f_odd;
|
||||
f32 f_even2;
|
||||
f32 f_even;
|
||||
} f;
|
||||
} __OSfp;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* registers */
|
||||
/*0x20*/ u64 at, v0, v1, a0, a1, a2, a3;
|
||||
/*0x58*/ u64 t0, t1, t2, t3, t4, t5, t6, t7;
|
||||
/*0x98*/ u64 s0, s1, s2, s3, s4, s5, s6, s7;
|
||||
/*0xD8*/ u64 t8, t9, gp, sp, s8, ra;
|
||||
/*0x108*/ u64 lo, hi;
|
||||
/*0x118*/ u32 sr, pc, cause, badvaddr, rcp;
|
||||
/*0x12C*/ u32 fpcsr;
|
||||
__OSfp fp0, fp2, fp4, fp6, fp8, fp10, fp12, fp14;
|
||||
__OSfp fp16, fp18, fp20, fp22, fp24, fp26, fp28, fp30;
|
||||
u64 at, v0, v1, a0, a1, a2, a3;
|
||||
u64 t0, t1, t2, t3, t4, t5, t6, t7;
|
||||
u64 s0, s1, s2, s3, s4, s5, s6, s7;
|
||||
u64 t8, t9, gp, sp, s8, ra;
|
||||
u64 lo, hi;
|
||||
u32 sr, pc, cause, badvaddr, rcp;
|
||||
u32 fpcsr;
|
||||
__OSfp fp0, fp2, fp4, fp6, fp8, fp10, fp12, fp14;
|
||||
__OSfp fp16, fp18, fp20, fp22, fp24, fp26, fp28, fp30;
|
||||
} __OSThreadContext;
|
||||
|
||||
typedef struct
|
||||
|
||||
@@ -88,15 +88,15 @@ extern const char var700529a8[];
|
||||
extern const char var700529ac[];
|
||||
|
||||
void faultCreateThread2(void);
|
||||
u32 func0000c118(void);
|
||||
bool crashIsInstrTwoAfterJalInLib(u32 *instruction);
|
||||
u32 func0000c2b8(u32 arg0, s32 tid);
|
||||
u32 func0000c334(u32 arg0, s32 tid);
|
||||
bool rmonIsDouble(f32 value);
|
||||
s32 func0000c118(u32 ptr, void *arg1, u32 sp, u32 *arg3);
|
||||
bool crashIsReturnAddress(u32 *instruction);
|
||||
u32 crashGetStackEnd(u32 sp, s32 tid);
|
||||
u32 crashGetStackStart(u32 arg0, s32 tid);
|
||||
bool crashIsDouble(f32 value);
|
||||
void rmonPrintFloat(s32 index, f32 arg1);
|
||||
void rmonPrint2Floats(s32 index, f32 value1, f32 value2);
|
||||
void rmonPrint3Floats(s32 index, f32 value1, f32 value2, f32 value3);
|
||||
u32 func0000cae4(void);
|
||||
void func0000cae4(u32 arg0, char *arg1, void *arg2);
|
||||
u32 func0000cba0(void);
|
||||
u32 func0000cc34(void);
|
||||
u32 func0000cd4c(void);
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
|
||||
void rmonproc();
|
||||
bool rmonIsDisabled(void);
|
||||
void rmonPrint(char *format, ...);
|
||||
void crashPrint(char *format, ...);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user