// 80246000 Entry point function @ 0x1000 in rom: zero initialize 8033A580 through 8036745F initialize stack pointer to 80200600 jump to 80246DF8 // 80246DF8 call 803237D0 call 802461CC call 80246338 // a0 = 8034A730, a1 = 1, a2 = 80246CF0, sp_x10 = 80200E00, sp_x14 = 0x64 call 80322DF0 // a0 = 0x8034A730 unused functions nearby entry point: 80246050, 80246170 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 802083C0 hud display list area 802D7174 () adjusts rotation of triangles on pause screen somehow 802D7070 (a0 ? 1, a1 float, a2 float, a3 ? 0) ?? 802D7280 (a0 ? 2, a1 float, a2 float, a3 float) ?? 80207D00 display list absolute starting point 8033B06C pointer display list buffer index inline void * dlist_inc(){ // lui t0, 0x8034 ; t registers and sp offset here are just examples u32 ret = *(u32*)0x8033B06C; // lw t0, 0xB06C (t0) *(u32*)(0x8033B06C) += 8; // addiu t1, t0, 0x08 return (void*)ret; // lui at, 0x8034 } // sw t0, 0xB06C (at) // sw t1, 0x20 (sp)