Trim trailing nops from functions and discover a few more file splits

This commit is contained in:
Ryan Dwyer 2021-03-16 19:02:49 +10:00
parent bb58648d65
commit 722693becb
175 changed files with 35561 additions and 35547 deletions

View File

@ -68,6 +68,7 @@
build/ROMID/game/game_01bea0.o (section); \
build/ROMID/game/weather/tick.o (section); \
build/ROMID/game/game_01d860.o (section); \
build/ROMID/game/game_01d8c0.o (section); \
build/ROMID/game/game_01d990.o (section); \
build/ROMID/game/casing/tick.o (section); \
build/ROMID/game/shards/tick.o (section); \
@ -102,6 +103,7 @@
build/ROMID/game/game_0b2150.o (section); \
build/ROMID/game/game_0b28d0.o (section); \
build/ROMID/game/game_0b3350.o (section); \
build/ROMID/game/game_0b4950.o (section); \
build/ROMID/game/game_0b63b0.o (section); \
build/ROMID/game/game_0b69d0.o (section); \
build/ROMID/game/game_0c33f0.o (section); \
@ -162,6 +164,7 @@
build/ROMID/game/game_165360.o (section); \
build/ROMID/game/game_1655c0.o (section); \
build/ROMID/game/game_165670.o (section); \
build/ROMID/game/game_1657c0.o (section); \
build/ROMID/game/game_1668e0.o (section); \
build/ROMID/game/file.o (section); \
build/ROMID/game/gfxmemory.o (section); \

View File

@ -54,9 +54,12 @@
build/ROMID/lib/gvars.o (section); \
build/ROMID/lib/lib_159b0.o (section); \
build/ROMID/lib/lib_16110.o (section); \
build/ROMID/lib/lib_184d0.o (section); \
build/ROMID/lib/model.o (section); \
build/ROMID/lib/lib_233c0.o (section); \
build/ROMID/lib/lib_24e40.o (section); \
build/ROMID/lib/lib_2f490.o (section); \
build/ROMID/lib/lib_2f8a0.o (section); \
build/ROMID/lib/lib_2fa00.o (section); \
build/ROMID/lib/lib_2faf0.o (section); \
build/ROMID/lib/lib_2fba0.o (section); \
@ -64,6 +67,7 @@
build/ROMID/lib/lib_30ce0.o (section); \
build/ROMID/lib/lib_317f0.o (section); \
build/ROMID/lib/lib_34030.o (section); \
build/ROMID/lib/lib_34240.o (section); \
build/ROMID/lib/lib_37650.o (section); \
build/ROMID/lib/lib_37b00.o (section); \
build/ROMID/lib/lib_38d10.o (section); \
@ -81,6 +85,7 @@
build/ROMID/lib/lib_3d280.o (section); \
build/ROMID/lib/lib_3e3e0.o (section); \
build/ROMID/lib/lib_3e730.o (section); \
build/ROMID/lib/lib_3e8c0.o (section); \
build/ROMID/lib/lib_43dd0.o (section); \
build/ROMID/lib/lib_446d0.o (section); \
build/ROMID/lib/lib_44bc0.o (section); \
@ -189,7 +194,10 @@
build/ROMID/lib/ultra/io/conteepread.o (section); \
build/ROMID/lib/ultra/io/conteeplongread.o (section); \
build/ROMID/lib/lib_50480.o (section); \
build/ROMID/lib/lib_508d0.o (section); \
build/ROMID/lib/lib_50a00.o (section); \
build/ROMID/lib/lib_50be0.o (section); \
build/ROMID/lib/lib_50d60.o (section); \
build/ROMID/lib/lib_50f20.o (section); \
build/ROMID/lib/lib_513b0.o (section); \
build/ROMID/lib/ultra/io/vimodepallan1.o (section); \

View File

@ -21,6 +21,7 @@
#include "lib/lib_09a80.h"
#include "lib/main.h"
#include "lib/lib_16110.h"
#include "lib/lib_184d0.h"
#include "data.h"
#include "types.h"
@ -4547,7 +4548,6 @@ glabel amRender
/* f102220: ac2ffac0 */ sw $t7,%lo(g_ScaleX)($at)
/* f102224: 03e00008 */ jr $ra
/* f102228: 27bd01d8 */ addiu $sp,$sp,0x1d8
/* f10222c: 00000000 */ nop
);
#endif

View File

@ -20,6 +20,7 @@
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -19,6 +19,7 @@
#include "lib/lib_0e9d0.h"
#include "lib/lib_16110.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"
@ -2283,8 +2284,6 @@ glabel var7f1adb00
/* f0d256c: 27bd00e8 */ addiu $sp,$sp,0xe8
/* f0d2570: 03e00008 */ jr $ra
/* f0d2574: 00000000 */ nop
/* f0d2578: 00000000 */ nop
/* f0d257c: 00000000 */ nop
);
#else
GLOBAL_ASM(

View File

@ -15,6 +15,7 @@
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -21,6 +21,7 @@
#include "lib/rng.h"
#include "lib/lib_16110.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -8260,6 +8260,4 @@ glabel func0f1507b4
/* f15080c: 27bd0018 */ addiu $sp,$sp,0x18
/* f150810: 03e00008 */ jr $ra
/* f150814: 00000000 */ nop
/* f150818: 00000000 */ nop
/* f15081c: 00000000 */ nop
);

View File

@ -552,8 +552,6 @@ glabel casingsTick
/* f01de1c: 8fb30020 */ lw $s3,0x20($sp)
/* f01de20: 03e00008 */ jr $ra
/* f01de24: 27bd0028 */ addiu $sp,$sp,0x28
/* f01de28: 00000000 */ nop
/* f01de2c: 00000000 */ nop
);
// Mismatch: g_Casings needs to be moved into this file.

View File

@ -42,6 +42,7 @@
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -18,6 +18,7 @@
#include "game/game_0b0fd0.h"
#include "game/game_0b28d0.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0b69d0.h"
#include "game/inventory/inventory.h"
#include "game/game_127910.h"
@ -26,6 +27,7 @@
#include "game/room.h"
#include "game/game_1655c0.h"
#include "game/game_165670.h"
#include "game/game_1657c0.h"
#include "game/core.h"
#include "game/game_190260.h"
#include "game/game_197600.h"
@ -44,7 +46,9 @@
#include "lib/rng.h"
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_184d0.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -5,7 +5,7 @@
#include "game/chr/chraicommands.h"
#include "bss.h"
#include "lib/rng.h"
#include "lib/lib_16110.h"
#include "lib/lib_184d0.h"
#include "data.h"
#include "types.h"

View File

@ -29,6 +29,7 @@
#include "game/room.h"
#include "game/game_1655c0.h"
#include "game/game_165670.h"
#include "game/game_1657c0.h"
#include "game/core.h"
#include "game/music.h"
#include "game/training/training.h"
@ -46,6 +47,7 @@
#include "lib/rng.h"
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_184d0.h"
#include "lib/lib_233c0.h"
#include "lib/lib_317f0.h"
#include "lib/libc/ll.h"

View File

@ -5050,5 +5050,4 @@ glabel func0f005bb0
/* f005fc0: 27bd0030 */ addiu $sp,$sp,0x30
/* f005fc4: 03e00008 */ jr $ra
/* f005fc8: 00000000 */ nop
/* f005fcc: 00000000 */ nop
);

View File

@ -7,6 +7,7 @@
#include "game/game_091e10.h"
#include "game/game_092610.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/explosions/explosions.h"
#include "game/smoke/smoke.h"
#include "game/room.h"

View File

@ -452,5 +452,4 @@ glabel func0f000648
/* f000830: 8fb60030 */ lw $s6,0x30($sp)
/* f000834: 03e00008 */ jr $ra
/* f000838: 27bd0038 */ addiu $sp,$sp,0x38
/* f00083c: 00000000 */ nop
);

View File

@ -33,7 +33,9 @@
#include "lib/rng.h"
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_184d0.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -197,6 +197,4 @@ glabel func0f012aa0
/* f012d3c: 8fbe0048 */ lw $s8,0x48($sp)
/* f012d40: 03e00008 */ jr $ra
/* f012d44: 27bd0130 */ addiu $sp,$sp,0x130
/* f012d48: 00000000 */ nop
/* f012d4c: 00000000 */ nop
);

View File

@ -10,7 +10,7 @@
#include "lib/memory.h"
#include "lib/model.h"
#include "lib/rng.h"
#include "lib/lib_16110.h"
#include "lib/lib_184d0.h"
#include "data.h"
#include "types.h"

View File

@ -57,7 +57,6 @@ glabel func0f01d860
/* f01d9d0: 27bd0018 */ addiu $sp,$sp,0x18
/* f01d9d4: 03e00008 */ jr $ra
/* f01d9d8: 00000000 */ nop
/* f01d9dc: 00000000 */ nop
);
#else
void func0f01d860(void)
@ -73,18 +72,3 @@ void func0f01d860(void)
}
}
#endif
void func0f01d8c0(void)
{
s32 i;
for (i = 0; i < var80082050; i++) {
if (var800a6668[i] >= 0) {
var800a6660[i]++;
if (var800a6660[i] > 1) {
func0f16696c(i);
}
}
}
}

21
src/game/game_01d8c0.c Normal file
View File

@ -0,0 +1,21 @@
#include <ultra64.h>
#include "constants.h"
#include "game/game_1668e0.h"
#include "bss.h"
#include "data.h"
#include "types.h"
void func0f01d8c0(void)
{
s32 i;
for (i = 0; i < var80082050; i++) {
if (var800a6668[i] >= 0) {
var800a6660[i]++;
if (var800a6660[i] > 1) {
func0f16696c(i);
}
}
}
}

View File

@ -17,7 +17,9 @@
#include "lib/lib_126b0.h"
#include "lib/rng.h"
#include "lib/lib_16110.h"
#include "lib/lib_184d0.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -289,6 +289,4 @@ glabel func0f096698
/* f0966ec: 8fb30020 */ lw $s3,0x20($sp)
/* f0966f0: 03e00008 */ jr $ra
/* f0966f4: 27bd0028 */ addiu $sp,$sp,0x28
/* f0966f8: 00000000 */ nop
/* f0966fc: 00000000 */ nop
);

View File

@ -87,6 +87,4 @@ glabel func0f096b70
/* f096c8c: 46065200 */ add.s $f8,$f10,$f6
/* f096c90: 03e00008 */ jr $ra
/* f096c94: e5c80008 */ swc1 $f8,0x8($t6)
/* f096c98: 00000000 */ nop
/* f096c9c: 00000000 */ nop
);

View File

@ -822,7 +822,4 @@ glabel func0f097738
/* f097878: 27bd0028 */ addiu $sp,$sp,0x28
/* f09787c: 03e00008 */ jr $ra
/* f097880: 00000000 */ nop
/* f097884: 00000000 */ nop
/* f097888: 00000000 */ nop
/* f09788c: 00000000 */ nop
);

View File

@ -18,6 +18,7 @@
#include "game/game_0b0fd0.h"
#include "game/game_0b28d0.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0b69d0.h"
#include "game/game_0c33f0.h"
#include "game/sight.h"

View File

@ -541,7 +541,4 @@ glabel func0f0b278c
/* f0b28b8: 27bd0038 */ addiu $sp,$sp,0x38
/* f0b28bc: 03e00008 */ jr $ra
/* f0b28c0: 00000000 */ nop
/* f0b28c4: 00000000 */ nop
/* f0b28c8: 00000000 */ nop
/* f0b28cc: 00000000 */ nop
);

File diff suppressed because it is too large Load Diff

1692
src/game/game_0b4950.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,7 @@
#include "game/game_0b0fd0.h"
#include "game/game_0b2150.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0b69d0.h"
#include "game/healthbar.h"
#include "game/hudmsg.h"

View File

@ -145,6 +145,4 @@ glabel func0f0c33f0
/* f0c360c: 24840040 */ addiu $a0,$a0,0x40
/* f0c3610: 03e00008 */ jr $ra
/* f0c3614: 00000000 */ nop
/* f0c3618: 00000000 */ nop
/* f0c361c: 00000000 */ nop
);

View File

@ -1491,6 +1491,4 @@ glabel func0f0d5a7c
/* f0d5a7c: 3c018007 */ lui $at,%hi(var80070f10)
/* f0d5a80: 03e00008 */ jr $ra
/* f0d5a84: ac200f10 */ sw $zero,%lo(var80070f10)($at)
/* f0d5a88: 00000000 */ nop
/* f0d5a8c: 00000000 */ nop
);

View File

@ -8,6 +8,7 @@
#include "game/game_096ca0.h"
#include "game/game_097ba0.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0b69d0.h"
#include "game/game_0d4690.h"
#include "game/game_0e0770.h"

View File

@ -1263,6 +1263,4 @@ glabel func0f111460
/* f1115ec: 27bd0038 */ addiu $sp,$sp,0x38
/* f1115f0: 03e00008 */ jr $ra
/* f1115f4: 00000000 */ nop
/* f1115f8: 00000000 */ nop
/* f1115fc: 00000000 */ nop
);

View File

@ -213,5 +213,4 @@ glabel func0f1291f8
/* f129200: fc24e3c0 */ sd $a0,%lo(var8007e3c0)($at)
/* f129204: 03e00008 */ jr $ra
/* f129208: 24040000 */ addiu $a0,$zero,0x0
/* f12920c: 00000000 */ nop
);

View File

@ -1098,7 +1098,4 @@ glabel func0f13c4f0
/* f13c4f8: 284e0000 */ slti $t6,$v0,0x0
/* f13c4fc: 03e00008 */ jr $ra
/* f13c500: 39c20001 */ xori $v0,$t6,0x1
/* f13c504: 00000000 */ nop
/* f13c508: 00000000 */ nop
/* f13c50c: 00000000 */ nop
);

View File

@ -1916,6 +1916,4 @@ glabel func0f13d568
/* f13e0cc: 8fbe0080 */ lw $s8,0x80($sp)
/* f13e0d0: 03e00008 */ jr $ra
/* f13e0d4: 27bd0160 */ addiu $sp,$sp,0x160
/* f13e0d8: 00000000 */ nop
/* f13e0dc: 00000000 */ nop
);

View File

@ -413,5 +413,4 @@ glabel func0f1579cc
/* f157da0: 27bd00b0 */ addiu $sp,$sp,0xb0
/* f157da4: 03e00008 */ jr $ra
/* f157da8: 00000000 */ nop
/* f157dac: 00000000 */ nop
);

View File

@ -169,5 +169,4 @@ glabel func0f165360
/* f1655b0: aca80000 */ sw $t0,0x0($a1)
/* f1655b4: 03e00008 */ jr $ra
/* f1655b8: 448fa000 */ mtc1 $t7,$f20
/* f1655bc: 00000000 */ nop
);

View File

@ -124,7 +124,4 @@ glabel stageGetIndex
/* f165658: 2402ffff */ addiu $v0,$zero,-1
/* f16565c: 03e00008 */ jr $ra
/* f165660: 00000000 */ nop
/* f165664: 00000000 */ nop
/* f165668: 00000000 */ nop
/* f16566c: 00000000 */ nop
);

File diff suppressed because it is too large Load Diff

1380
src/game/game_1657c0.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2830,7 +2830,4 @@ glabel func0f175ef4
.L0f175f3c:
/* f175f3c: 03e00008 */ jr $ra
/* f175f40: 00000000 */ nop
/* f175f44: 00000000 */ nop
/* f175f48: 00000000 */ nop
/* f175f4c: 00000000 */ nop
);

View File

@ -16,6 +16,7 @@
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -1558,5 +1558,4 @@ glabel healthbarRender
/* f0d7060: 27bd0428 */ addiu $sp,$sp,0x428
/* f0d7064: 03e00008 */ jr $ra
/* f0d7068: 00a01025 */ or $v0,$a1,$zero
/* f0d706c: 00000000 */ nop
);

View File

@ -32,6 +32,7 @@
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "data.h"
#include "types.h"

View File

@ -10,6 +10,7 @@
#include "game/game_095320.h"
#include "game/atan2f.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0d4690.h"
#include "game/room.h"
#include "game/file.h"

View File

@ -6,6 +6,7 @@
#include "game/game_091e10.h"
#include "game/game_095320.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/hudmsg.h"
#include "game/inventory/inventory.h"
#include "game/game_127910.h"

View File

@ -13,6 +13,7 @@
#include "game/game_097ba0.h"
#include "game/game_0b0fd0.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0b69d0.h"
#include "game/game_127910.h"
#include "game/explosions/explosions.h"

View File

@ -25,6 +25,7 @@
#include "game/game_0b0fd0.h"
#include "game/game_0b28d0.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0b69d0.h"
#include "game/game_0c33f0.h"
#include "game/hudmsg.h"
@ -66,6 +67,7 @@
#include "lib/lib_159b0.h"
#include "lib/lib_16110.h"
#include "lib/lib_233c0.h"
#include "lib/lib_24e40.h"
#include "lib/lib_317f0.h"
#include "data.h"
#include "types.h"

View File

@ -10,6 +10,7 @@
#include "game/ceil.h"
#include "game/game_097ba0.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0b69d0.h"
#include "game/game_11f000.h"
#include "game/sky.h"
@ -19,7 +20,7 @@
#include "game/room.h"
#include "game/game_165360.h"
#include "game/game_1655c0.h"
#include "game/game_165670.h"
#include "game/game_1657c0.h"
#include "game/game_1668e0.h"
#include "game/file.h"
#include "game/core.h"
@ -15321,5 +15322,4 @@ glabel func0f1650d0
/* f165350: 8fb00018 */ lw $s0,0x18($sp)
/* f165354: 03e00008 */ jr $ra
/* f165358: 27bd00b0 */ addiu $sp,$sp,0xb0
/* f16535c: 00000000 */ nop
);

View File

@ -6,6 +6,7 @@
#include "game/file.h"
#include "game/game_092610.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/gfxmemory.h"
#include "bss.h"
#include "lib/lib_159b0.h"

View File

@ -1369,6 +1369,4 @@ glabel var7f1b57bc
/* f13719c: 8fbe0068 */ lw $s8,0x68($sp)
/* f1371a0: 03e00008 */ jr $ra
/* f1371a4: 27bd01b0 */ addiu $sp,$sp,0x1b0
/* f1371a8: 00000000 */ nop
/* f1371ac: 00000000 */ nop
);

View File

@ -3,6 +3,7 @@
#include "game/dlights.h"
#include "game/prop.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/smoke/smoke.h"
#include "game/room.h"
#include "game/game_1668e0.h"

View File

@ -147,7 +147,6 @@ glabel sparksTick
/* f01e240: 8fb5001c */ lw $s5,0x1c($sp)
/* f01e244: 03e00008 */ jr $ra
/* f01e248: 27bd0020 */ addiu $sp,$sp,0x20
/* f01e24c: 00000000 */ nop
);
// Mismatch due to regalloc near group->startindex

View File

@ -6192,9 +6192,6 @@ glabel texturesLoadConfigs
/* f1739e8: 8fb20020 */ lw $s2,0x20($sp)
/* f1739ec: 03e00008 */ jr $ra
/* f1739f0: 27bd0028 */ addiu $sp,$sp,0x28
/* f1739f4: 00000000 */ nop
/* f1739f8: 00000000 */ nop
/* f1739fc: 00000000 */ nop
);
//extern u8 *_textureconfigSegmentRomStart;

View File

@ -904,6 +904,4 @@ glabel func0f177c8c
/* f177dec: 8fb30020 */ lw $s3,0x20($sp)
/* f177df0: 03e00008 */ jr $ra
/* f177df4: 27bd0038 */ addiu $sp,$sp,0x38
/* f177df8: 00000000 */ nop
/* f177dfc: 00000000 */ nop
);

View File

@ -5,6 +5,5 @@
#include "types.h"
void func0f01d860(void);
void func0f01d8c0(void);
#endif

View File

@ -0,0 +1,9 @@
#ifndef IN_GAME_GAME_01D8C0_H
#define IN_GAME_GAME_01D8C0_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
void func0f01d8c0(void);
#endif

View File

@ -12,45 +12,5 @@ u32 func0f0b3548(void);
u32 func0f0b35b8(void);
void func0f0b3988(struct textureconfig *config);
void func0f0b39c0(Gfx **gdl, struct textureconfig *arg1, u32 arg2, u32 arg3, u32 arg4, u32 arg5, u32 arg6);
void currentPlayerSetScreenSize(f32 width, f32 height);
void currentPlayerSetScreenPosition(f32 left, f32 top);
void currentPlayerSetPerspective(f32 near, f32 fovy, f32 aspect);
f32 func0f0b49b8(f32 arg0);
void currentPlayerSetCameraScale(void);
void func0f0b4c3c(f32 *crosspos, struct coord *arg1, f32 arg2);
void func0f0b4d04(struct coord *in, f32 *out);
void func0f0b4d68(struct coord *in, struct coord *out);
void func0f0b4dec(struct coord *in, struct coord *out);
void func0f0b4e68(struct coord *in, f32 divisor, struct coord *out);
void func0f0b4eb8(struct coord *arg0, f32 arg1[2], f32 zoom, f32 aspect);
void currentPlayerSetUnk1738(void *matrix);
void currentPlayerSetUnk173c(Mtx *matrix);
Mtx *currentPlayerGetUnk173c(void);
void currentPlayerSetUnk006c(Mtxf *matrix);
Mtxf *currentPlayerGetUnk006c(void);
void currentPlayerSetUnk1750(void *value);
void *currentPlayerGetUnk1750(void);
void currentPlayerSetUnk1758(Mtx *matrix);
Mtx *currentPlayerGetUnk1758(void);
void currentPlayerSetMatrix1740(Mtxf *value);
u32 func0f0b5050(void);
u32 func0f0b53a4(void);
Mtxf *currentPlayerGetMatrix1740(void);
void currentPlayerSetUnk1754(Mtxf *matrix);
Mtxf *currentPlayerGetUnk1754(void);
void currentPlayerSetUnk174c(Mtxf *matrix);
Mtxf *currentPlayerGetUnk174c(void);
void currentPlayerSetUnk175c(void *value);
void *currentPlayerGetUnk175c(void);
f32 currentPlayerGetLodScaleZ(void);
f32 currentPlayerGetScreenWidth(void);
f32 currentPlayerGetScreenHeight(void);
f32 currentPlayerGetScreenLeft(void);
f32 currentPlayerGetScreenTop(void);
f32 currentPlayerGetPerspAspect(void);
void func0f0b5838(void);
u32 func0f0b5b9c(void);
u32 func0f0b5d38(void);
u32 func0f0b6260(void);
#endif

View File

@ -0,0 +1,48 @@
#ifndef _IN_GAME_GAME_0B4950_H
#define _IN_GAME_GAME_0B4950_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
void currentPlayerSetScreenSize(f32 width, f32 height);
void currentPlayerSetScreenPosition(f32 left, f32 top);
void currentPlayerSetPerspective(f32 near, f32 fovy, f32 aspect);
f32 func0f0b49b8(f32 arg0);
void currentPlayerSetCameraScale(void);
void func0f0b4c3c(f32 *crosspos, struct coord *arg1, f32 arg2);
void func0f0b4d04(struct coord *in, f32 *out);
void func0f0b4d68(struct coord *in, struct coord *out);
void func0f0b4dec(struct coord *in, struct coord *out);
void func0f0b4e68(struct coord *in, f32 divisor, struct coord *out);
void func0f0b4eb8(struct coord *arg0, f32 arg1[2], f32 zoom, f32 aspect);
void currentPlayerSetUnk1738(void *matrix);
void currentPlayerSetUnk173c(Mtx *matrix);
Mtx *currentPlayerGetUnk173c(void);
void currentPlayerSetUnk006c(Mtxf *matrix);
Mtxf *currentPlayerGetUnk006c(void);
void currentPlayerSetUnk1750(void *value);
void *currentPlayerGetUnk1750(void);
void currentPlayerSetUnk1758(Mtx *matrix);
Mtx *currentPlayerGetUnk1758(void);
void currentPlayerSetMatrix1740(Mtxf *value);
u32 func0f0b5050(void);
u32 func0f0b53a4(void);
Mtxf *currentPlayerGetMatrix1740(void);
void currentPlayerSetUnk1754(Mtxf *matrix);
Mtxf *currentPlayerGetUnk1754(void);
void currentPlayerSetUnk174c(Mtxf *matrix);
Mtxf *currentPlayerGetUnk174c(void);
void currentPlayerSetUnk175c(void *value);
void *currentPlayerGetUnk175c(void);
f32 currentPlayerGetLodScaleZ(void);
f32 currentPlayerGetScreenWidth(void);
f32 currentPlayerGetScreenHeight(void);
f32 currentPlayerGetScreenLeft(void);
f32 currentPlayerGetScreenTop(void);
f32 currentPlayerGetPerspAspect(void);
void func0f0b5838(void);
u32 func0f0b5b9c(void);
u32 func0f0b5d38(void);
u32 func0f0b6260(void);
#endif

View File

@ -6,18 +6,5 @@
u32 func0f165670(void);
u32 func0f165728(void);
u32 func0f1657cc(void);
f32 func0f1657e4(void);
void func0f1657f8(void);
u32 func0f16598c(void);
u32 func0f165c4c(void);
void func0f165ee4(s32 stagenum);
void func0f165eec(s32 stagenum, s32 arg1);
void func0f1660a4(f32 arg0);
Gfx *func0f1664a0(Gfx *gdl, u32 arg1);
Gfx *gfxConsiderDisableFog(Gfx *gdl);
u32 func0f1666f8(void);
u32 func0f1667e8(void);
s32 func0f1667f4(struct prop *prop, f32 *arg1);
#endif

View File

@ -0,0 +1,21 @@
#ifndef IN_GAME_GAME_1657C0_H
#define IN_GAME_GAME_1657C0_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
u32 func0f1657cc(void);
f32 func0f1657e4(void);
void func0f1657f8(void);
u32 func0f16598c(void);
u32 func0f165c4c(void);
void func0f165ee4(s32 stagenum);
void func0f165eec(s32 stagenum, s32 arg1);
void func0f1660a4(f32 arg0);
Gfx *func0f1664a0(Gfx *gdl, u32 arg1);
Gfx *gfxConsiderDisableFog(Gfx *gdl);
u32 func0f1666f8(void);
u32 func0f1667e8(void);
s32 func0f1667f4(struct prop *prop, f32 *arg1);
#endif

View File

@ -4,7 +4,6 @@
#include "data.h"
#include "types.h"
u8 *ailistFindById(s32 ailistid);
void func00016110(f32 *matrix1, f32 *matrix2);
u32 func00016140(void);
void func000161b0(f32 *matrix, f32 src[3], f32 dest[3]);
@ -43,20 +42,5 @@ u32 func00017ce0(void);
u32 func00017dc4(void);
bool func00017e30(s32 portalnum, struct coord *arg1, struct coord *arg2);
u32 func00018148(void);
void func000185d0(struct defaultobj *obj, s32 arg1);
u32 func00018680(void);
u32 func00019634(void);
u32 func000198dc(void);
u32 func00019be0(void);
u32 func00019d1c(void);
u32 func00019ddc(void);
u32 func00019f2c(void);
u32 func00019f98(void);
u32 func0001a024(void);
u32 func0001a0ac(void);
u32 func0001a110(void);
u32 func0001a1c0(void);
u32 func0001a25c(void);
u32 func0001a2dc(void);
#endif

View File

@ -0,0 +1,24 @@
#ifndef _IN_LIB_LIB_184D0_H
#define _IN_LIB_LIB_184D0_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
u8 *ailistFindById(s32 ailistid);
void func000185d0(struct defaultobj *obj, s32 arg1);
u32 func00018680(void);
u32 func00019634(void);
u32 func000198dc(void);
u32 func00019be0(void);
u32 func00019d1c(void);
u32 func00019ddc(void);
u32 func00019f2c(void);
u32 func00019f98(void);
u32 func0001a024(void);
u32 func0001a0ac(void);
u32 func0001a110(void);
u32 func0001a1c0(void);
u32 func0001a25c(void);
u32 func0001a2dc(void);
#endif

View File

@ -23,113 +23,5 @@ void func00024050(s32 arg0, s32 arg1, struct modeltype *arg2, s32 animnum, u32 a
u32 func0002485c(void);
f32 func00024b64(u32 arg0, u32 arg1, struct modeltype *arg2, s32 animnum, u32 arg4, struct coord *coord, u32 arg6);
u32 func00024c14(void);
u32 func00024e40(void);
void func00024e4c(struct coord *arg0, struct coord *arg1, u32 line, char *file);
f32 func00024e98(void);
u32 func00024ea4(void);
struct prop *cdGetObstacle(void);
void cdGetPos(struct coord *pos, u32 line, char *file);
u32 func00024ee8(void);
u32 func00024f10(void);
void func00024f6c(void);
u32 func00024fb0(void);
u32 func00025038(void);
void func000250cc(struct coord *arg0, struct coord *arg1, f32 width);
void func00025168(u32 arg0);
u32 func000251ac(void);
u32 func00025254(void);
u32 func00025314(void);
u32 func00025364(void);
u32 func000253c4(void);
u32 func00025410(void);
u32 func000254d8(void);
u32 func00025654(void);
u32 func00025724(void);
u32 func00025774(void);
u32 func00025848(void);
u32 func00025928(void);
void tileGetFloorCol(struct tile *tile, u16 *floorcol);
void tileGetFloorType(struct tile *tile, u8 *floortype);
u32 func00025c74(void);
u32 func00025f90(void);
u32 func000260cc(void);
u32 func00026288(void);
u32 func000263e4(void);
u32 func00026520(void);
u32 func00026654(void);
u32 func000266a4(void);
void platformGetRidingProps(struct prop *platform, s16 *propnums, u32 len);
u32 func00026a04(void);
u32 func00026e7c(void);
s32 func0002709c(struct tiletype0 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
s32 func000272f8(struct tiletype1 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
s32 func000274e0(struct tiletype2 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
s32 func000276c8(struct tiletype3 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
void func00027738(struct coord *pos, f32 width, struct tile *start, struct tile *end, u16 flags, bool checkvertical, f32 arg6, f32 arg7, struct prop *prop, struct collisionthing *things, s32 maxthings, s32 *thingnum, s32 roomnum);
void func00027d1c(struct coord *pos, f32 width, s16 *rooms, u32 types, u16 arg4, u32 arg5, f32 arg6, f32 arg7, struct collisionthing *arg8, s32 arg9);
u32 func00027f78(void);
s32 func00028200(struct tiletype0 *tile, struct coord *pos, f32 width, f32 y1, f32 y2);
u32 func0002840c(void);
u32 func00028638(void);
u32 func0002885c(void);
s32 func00028914(struct tile *start, struct tile *end, struct coord *pos, f32 width, u16 flags, bool checkvertical, f32 arg6, f32 arg7, struct prop *prop, struct collisionthing *things, s32 maxthings, s32 *thingnum);
void func00028df0(struct coord *pos, f32 width, s16 *rooms, u32 types, u16 arg4, u32 arg5, f32 ymax, f32 ymin, struct collisionthing *arg8, s32 arg9);
void func0002901c(struct coord *pos, struct coord *dist, f32 width, struct collisionthing *arg3);
f32 func000296a0(struct collisionthing *arg0, struct coord *pos, struct tilething **arg2, f32 width);
bool func00029ffc(struct coord *pos, f32 width, f32 foreheadheight, f32 inversefeettoeyesheight, s16 *rooms, u32 arg5, struct coord *laddernormal);
u32 func0002a13c(void);
f32 cdFindGroundY(struct coord *pos, f32 width, s16 *rooms, u16 *floorcol, u8 *floortype, u16 *floorflags, s16 *floorroom, s32 *inlift, struct prop **lift);
f32 func0002a324(void);
f32 cdFindGroundYSimple(struct coord *pos, f32 width, s16 *rooms, u16 *floorcol, u8 *floortype);
f32 func0002a36c(struct coord *coord, s16 *rooms, u16 *floorcol, s32 arg3);
s32 func0002a400(struct coord *pos, s16 *rooms);
u32 func0002a440(void);
u32 func0002a4d0(void);
s32 func0002a564(struct coord *pos, s16 *rooms, f32 *arg2, u32 arg3, struct coord *arg4, bool *arg5);
u32 func0002a5e4(void);
s32 cdTestVolume(struct coord *pos, f32 width, s16 *rooms, s32 types, s32 arg4, f32 ymax, f32 ymin);
u32 func0002a6fc(void);
s32 cdTestAToB1(struct coord *origpos, struct coord *dstpos, f32 width, s16 *dstrooms, s32 types, s32 arg5, f32 ymax, f32 ymin);
u32 func0002aac0(void);
u32 func0002ab98(void);
u32 func0002ac70(void);
u32 func0002b128(void);
u32 func0002b560(void);
u32 func0002b954(void);
u32 func0002bd04(void);
u32 func0002c328(void);
u32 func0002c528(void);
u32 func0002c714(void);
s32 func0002d15c(struct coord *pos, struct coord *coord2, s16 *rooms, u32 types, s32 arg4, s32 arg5, s32 arg6, f32 arg7, f32 arg8);
s32 func0002d3b0(struct coord *arg0, struct coord *arg1, void *arg2, s32 types, s32 arg4, s32 arg5, s32 arg6, f32 ymax, f32 ymin);
bool func0002d6ac(struct coord *pos, s16 *rooms, struct coord *targetpos, u32 arg3, u32 arg4, f32 arg5, f32 arg6);
s32 cdTestAToB2(struct coord *pos, s16 *rooms, struct coord *coord2, s16 *rooms2, u32 types, s32 arg5, f32 arg6, f32 arg7);
bool func0002d7c0(struct coord *pos, s16 *rooms, struct coord *arg2, u32 arg3, u32 arg4, f32 arg5, f32 arg6);
u32 func0002d840(void);
u32 func0002d8b8(void);
s32 cdTestAToB3(struct coord *arg0, s16 *arg1, struct coord *arg2, s16 *arg3, f32 arg4, s32 types, s32 arg6, f32 ymax, f32 ymin);
u32 func0002da50(void);
u32 func0002dac8(void);
bool func0002db98(struct coord *viewpos, s16 *rooms, struct coord *targetpos, s32 arg3, u32 arg4);
u32 func0002dc18(struct coord *coord, s16 *room, struct coord *coord2, s32 arg3);
bool hasLineOfSight(struct coord *coord, s16 *room, struct coord *coord2, s16 *room2, s32 arg4, s32 arg5);
bool func0002dcd0(struct coord *arg0, s16 *rooms1, struct coord *arg2, s16 *rooms2, u32 arg4);
bool func0002dcfc(struct coord *pos, s16 *rooms, struct coord *pos2, s16 *rooms2, s16 *rooms3, u32 arg5, u32 arg6);
s32 cdTestAToB4(struct coord *pos, s16 *rooms, struct coord *pos2, u32 types, u32 arg4);
u32 func0002de10(void);
u32 func0002de34(void);
u32 func0002deac(void);
u32 func0002ded8(void);
u32 func0002dffc(void);
u32 func0002e278(void);
bool func0002e4c4(struct tiletype3 *geo, s16 *rooms, u32 arg2);
u32 func0002e680(void);
u32 func0002e82c(void);
u32 func0002e9d8(void);
u32 func0002eb84(void);
u32 func0002ed30(void);
u32 func0002f02c(void);
bool func0002f308(struct coord *viewpos, s16 *rooms, struct coord *targetpos, f32 distance, s32 arg4, u16 arg5);
bool func0002f450(struct coord *viewpos, s16 *rooms, struct coord *targetpos, f32 distance, s32 arg4);
#endif

116
src/include/lib/lib_24e40.h Normal file
View File

@ -0,0 +1,116 @@
#ifndef _IN_LIB_LIB_24E40_H
#define _IN_LIB_LIB_24E40_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
u32 func00024e40(void);
void func00024e4c(struct coord *arg0, struct coord *arg1, u32 line, char *file);
f32 func00024e98(void);
u32 func00024ea4(void);
struct prop *cdGetObstacle(void);
void cdGetPos(struct coord *pos, u32 line, char *file);
u32 func00024ee8(void);
u32 func00024f10(void);
void func00024f6c(void);
u32 func00024fb0(void);
u32 func00025038(void);
void func000250cc(struct coord *arg0, struct coord *arg1, f32 width);
void func00025168(u32 arg0);
u32 func000251ac(void);
u32 func00025254(void);
u32 func00025314(void);
u32 func00025364(void);
u32 func000253c4(void);
u32 func00025410(void);
u32 func000254d8(void);
u32 func00025654(void);
u32 func00025724(void);
u32 func00025774(void);
u32 func00025848(void);
u32 func00025928(void);
void tileGetFloorCol(struct tile *tile, u16 *floorcol);
void tileGetFloorType(struct tile *tile, u8 *floortype);
u32 func00025c74(void);
u32 func00025f90(void);
u32 func000260cc(void);
u32 func00026288(void);
u32 func000263e4(void);
u32 func00026520(void);
u32 func00026654(void);
u32 func000266a4(void);
void platformGetRidingProps(struct prop *platform, s16 *propnums, u32 len);
u32 func00026a04(void);
u32 func00026e7c(void);
s32 func0002709c(struct tiletype0 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
s32 func000272f8(struct tiletype1 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
s32 func000274e0(struct tiletype2 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
s32 func000276c8(struct tiletype3 *tile, f32 x, f32 z, f32 width, struct prop *prop, struct collisionthing *thing);
void func00027738(struct coord *pos, f32 width, struct tile *start, struct tile *end, u16 flags, bool checkvertical, f32 arg6, f32 arg7, struct prop *prop, struct collisionthing *things, s32 maxthings, s32 *thingnum, s32 roomnum);
void func00027d1c(struct coord *pos, f32 width, s16 *rooms, u32 types, u16 arg4, u32 arg5, f32 arg6, f32 arg7, struct collisionthing *arg8, s32 arg9);
u32 func00027f78(void);
s32 func00028200(struct tiletype0 *tile, struct coord *pos, f32 width, f32 y1, f32 y2);
u32 func0002840c(void);
u32 func00028638(void);
u32 func0002885c(void);
s32 func00028914(struct tile *start, struct tile *end, struct coord *pos, f32 width, u16 flags, bool checkvertical, f32 arg6, f32 arg7, struct prop *prop, struct collisionthing *things, s32 maxthings, s32 *thingnum);
void func00028df0(struct coord *pos, f32 width, s16 *rooms, u32 types, u16 arg4, u32 arg5, f32 ymax, f32 ymin, struct collisionthing *arg8, s32 arg9);
void func0002901c(struct coord *pos, struct coord *dist, f32 width, struct collisionthing *arg3);
f32 func000296a0(struct collisionthing *arg0, struct coord *pos, struct tilething **arg2, f32 width);
bool func00029ffc(struct coord *pos, f32 width, f32 foreheadheight, f32 inversefeettoeyesheight, s16 *rooms, u32 arg5, struct coord *laddernormal);
u32 func0002a13c(void);
f32 cdFindGroundY(struct coord *pos, f32 width, s16 *rooms, u16 *floorcol, u8 *floortype, u16 *floorflags, s16 *floorroom, s32 *inlift, struct prop **lift);
f32 func0002a324(void);
f32 cdFindGroundYSimple(struct coord *pos, f32 width, s16 *rooms, u16 *floorcol, u8 *floortype);
f32 func0002a36c(struct coord *coord, s16 *rooms, u16 *floorcol, s32 arg3);
s32 func0002a400(struct coord *pos, s16 *rooms);
u32 func0002a440(void);
u32 func0002a4d0(void);
s32 func0002a564(struct coord *pos, s16 *rooms, f32 *arg2, u32 arg3, struct coord *arg4, bool *arg5);
u32 func0002a5e4(void);
s32 cdTestVolume(struct coord *pos, f32 width, s16 *rooms, s32 types, s32 arg4, f32 ymax, f32 ymin);
u32 func0002a6fc(void);
s32 cdTestAToB1(struct coord *origpos, struct coord *dstpos, f32 width, s16 *dstrooms, s32 types, s32 arg5, f32 ymax, f32 ymin);
u32 func0002aac0(void);
u32 func0002ab98(void);
u32 func0002ac70(void);
u32 func0002b128(void);
u32 func0002b560(void);
u32 func0002b954(void);
u32 func0002bd04(void);
u32 func0002c328(void);
u32 func0002c528(void);
u32 func0002c714(void);
s32 func0002d15c(struct coord *pos, struct coord *coord2, s16 *rooms, u32 types, s32 arg4, s32 arg5, s32 arg6, f32 arg7, f32 arg8);
s32 func0002d3b0(struct coord *arg0, struct coord *arg1, void *arg2, s32 types, s32 arg4, s32 arg5, s32 arg6, f32 ymax, f32 ymin);
bool func0002d6ac(struct coord *pos, s16 *rooms, struct coord *targetpos, u32 arg3, u32 arg4, f32 arg5, f32 arg6);
s32 cdTestAToB2(struct coord *pos, s16 *rooms, struct coord *coord2, s16 *rooms2, u32 types, s32 arg5, f32 arg6, f32 arg7);
bool func0002d7c0(struct coord *pos, s16 *rooms, struct coord *arg2, u32 arg3, u32 arg4, f32 arg5, f32 arg6);
u32 func0002d840(void);
u32 func0002d8b8(void);
s32 cdTestAToB3(struct coord *arg0, s16 *arg1, struct coord *arg2, s16 *arg3, f32 arg4, s32 types, s32 arg6, f32 ymax, f32 ymin);
u32 func0002da50(void);
u32 func0002dac8(void);
bool func0002db98(struct coord *viewpos, s16 *rooms, struct coord *targetpos, s32 arg3, u32 arg4);
u32 func0002dc18(struct coord *coord, s16 *room, struct coord *coord2, s32 arg3);
bool hasLineOfSight(struct coord *coord, s16 *room, struct coord *coord2, s16 *room2, s32 arg4, s32 arg5);
bool func0002dcd0(struct coord *arg0, s16 *rooms1, struct coord *arg2, s16 *rooms2, u32 arg4);
bool func0002dcfc(struct coord *pos, s16 *rooms, struct coord *pos2, s16 *rooms2, s16 *rooms3, u32 arg5, u32 arg6);
s32 cdTestAToB4(struct coord *pos, s16 *rooms, struct coord *pos2, u32 types, u32 arg4);
u32 func0002de10(void);
u32 func0002de34(void);
u32 func0002deac(void);
u32 func0002ded8(void);
u32 func0002dffc(void);
u32 func0002e278(void);
bool func0002e4c4(struct tiletype3 *geo, s16 *rooms, u32 arg2);
u32 func0002e680(void);
u32 func0002e82c(void);
u32 func0002e9d8(void);
u32 func0002eb84(void);
u32 func0002ed30(void);
u32 func0002f02c(void);
bool func0002f308(struct coord *viewpos, s16 *rooms, struct coord *targetpos, f32 distance, s32 arg4, u16 arg5);
bool func0002f450(struct coord *viewpos, s16 *rooms, struct coord *targetpos, f32 distance, s32 arg4);
#endif

View File

@ -6,7 +6,5 @@
u32 func0002f490(void);
u32 func0002f560(void);
u32 func0002f8a0(void);
void func0002f8f4(Gfx *gdlstart, Gfx *gdlend, u32 arg2, void *arg3);
#endif

View File

@ -0,0 +1,10 @@
#ifndef _IN_LIB_LIB_2F8A0_H
#define _IN_LIB_LIB_2F8A0_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
u32 func0002f8a0(void);
void func0002f8f4(Gfx *gdlstart, Gfx *gdlend, u32 arg2, void *arg3);
#endif

View File

@ -6,14 +6,5 @@
u32 func00034030(void);
u32 func00034104(void);
u32 func00034240(void);
u32 func00034df8(void);
u32 func00034f0c(void);
u32 func00034fb8(void);
u32 func00035110(void);
u32 func00037220(void);
u32 func00037460(void);
u32 func00037554(void);
u32 func0003759c(void);
#endif

View File

@ -0,0 +1,17 @@
#ifndef _IN_LIB_LIB_34240_H
#define _IN_LIB_LIB_34240_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
u32 func00034240(void);
u32 func00034df8(void);
u32 func00034f0c(void);
u32 func00034fb8(void);
u32 func00035110(void);
u32 func00037220(void);
u32 func00037460(void);
u32 func00037554(void);
u32 func0003759c(void);
#endif

View File

@ -4,53 +4,7 @@
#include "data.h"
#include "types.h"
extern const u32 var70054b40[];
extern const u32 var70054b68[];
extern const u32 var70054bb8[];
extern const u32 var70054c08[];
extern const u32 var70054c08[];
extern const u32 var70054c90[];
extern const u32 var70054d18[];
extern const u32 var70054e40[];
extern const u32 var70054f68[];
extern const u32 var70055090[];
extern const u32 var70055298[];
extern const u32 var700554a0[];
extern const u32 var700556a8[];
extern const u32 var70055eb0[];
extern const u32 var70055eb0[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var700576c8[];
extern const u32 var70057750[];
u32 func0003e730(void);
u32 func0003e7e0(void);
u32 func0003e8c0(void);
u32 func0003f1e4(void);
u32 func0003f328(void);
u32 func0003f60c(void);
u32 func0003f81c(void);
u32 func0003f8a0(void);
u32 func00040164(void);
u32 func00040dac(void);
u32 func00041600(void);
u32 func00042238(void);
u32 func000427d8(void);
u32 func00042990(void);
#endif

View File

@ -0,0 +1,54 @@
#ifndef _IN_LIB_LIB_3E8C0_H
#define _IN_LIB_LIB_3E8C0_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
extern const u32 var70054b40[];
extern const u32 var70054b68[];
extern const u32 var70054bb8[];
extern const u32 var70054c08[];
extern const u32 var70054c08[];
extern const u32 var70054c90[];
extern const u32 var70054d18[];
extern const u32 var70054e40[];
extern const u32 var70054f68[];
extern const u32 var70055090[];
extern const u32 var70055298[];
extern const u32 var700554a0[];
extern const u32 var700556a8[];
extern const u32 var70055eb0[];
extern const u32 var70055eb0[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var700566b8[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var70056ec0[];
extern const u32 var700576c8[];
extern const u32 var70057750[];
u32 func0003e8c0(void);
u32 func0003f1e4(void);
u32 func0003f328(void);
u32 func0003f60c(void);
u32 func0003f81c(void);
u32 func0003f8a0(void);
u32 func00040164(void);
u32 func00040dac(void);
u32 func00041600(void);
u32 func00042238(void);
u32 func000427d8(void);
u32 func00042990(void);
#endif

View File

@ -6,6 +6,5 @@
u32 func00050480(void);
s32 func00050554(s32 arg0, s32 arg1, u8 operation, u32 address, u32 len, u8 *buffer);
s32 func000508d0(s32 arg0, s32 *arg1, s32 *arg2);
#endif

View File

@ -0,0 +1,9 @@
#ifndef _IN_LIB_LIB_508D0_H
#define _IN_LIB_LIB_508D0_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
s32 func000508d0(s32 arg0, s32 *arg1, s32 *arg2);
#endif

View File

@ -5,7 +5,5 @@
#include "types.h"
s32 func00050a00(s32 arg0, s32 arg1, OSPfsState *note);
u32 func00050be0(void);
s32 func00050d60(struct var800a3180 *arg0, char *arg1, u8 *arg2);
#endif

View File

@ -0,0 +1,9 @@
#ifndef _IN_LIB_LIB_50BE0_H
#define _IN_LIB_LIB_50BE0_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
u32 func00050be0(void);
#endif

View File

@ -0,0 +1,9 @@
#ifndef _IN_LIB_LIB_50D60_H
#define _IN_LIB_LIB_50D60_H
#include <ultra64.h>
#include "data.h"
#include "types.h"
s32 func00050d60(struct var800a3180 *arg0, char *arg1, u8 *arg2);
#endif

View File

@ -1232,6 +1232,5 @@ glabel func000016acnb
/* 16c0: 25080010 */ addiu $t0,$t0,0x10
/* 16c4: 03e00008 */ jr $ra
/* 16c8: 00000000 */ nop
/* 16cc: 00000000 */ nop
);
#endif

View File

@ -872,8 +872,5 @@ glabel func00001bf4nb
/* 1cc8: 8fbe0038 */ lw $s8,0x38($sp)
/* 1ccc: 03e00008 */ jr $ra
/* 1cd0: 27bd00d8 */ addiu $sp,$sp,0xd8
/* 1cd4: 00000000 */ nop
/* 1cd8: 00000000 */ nop
/* 1cdc: 00000000 */ nop
);
#endif

View File

@ -175,7 +175,4 @@ glabel func00006100
/* 6318: 27bd0058 */ addiu $sp,$sp,0x58
/* 631c: 03e00008 */ jr $ra
/* 6320: 00000000 */ nop
/* 6324: 00000000 */ nop
/* 6328: 00000000 */ nop
/* 632c: 00000000 */ nop
);

View File

@ -75,7 +75,4 @@ glabel func00006330
/* 6428: 27bd0060 */ addiu $sp,$sp,0x60
/* 642c: 03e00008 */ jr $ra
/* 6430: 00601025 */ or $v0,$v1,$zero
/* 6434: 00000000 */ nop
/* 6438: 00000000 */ nop
/* 643c: 00000000 */ nop
);
);

View File

@ -847,7 +847,4 @@ glabel func00007084
.L000070bc:
/* 70bc: 03e00008 */ jr $ra
/* 70c0: 27bd0038 */ addiu $sp,$sp,0x38
/* 70c4: 00000000 */ nop
/* 70c8: 00000000 */ nop
/* 70cc: 00000000 */ nop
);
);

View File

@ -300,7 +300,4 @@ glabel func000070d0
/* 74d8: 8fb70038 */ lw $s7,0x38($sp)
/* 74dc: 03e00008 */ jr $ra
/* 74e0: 27bd14a8 */ addiu $sp,$sp,0x14a8
/* 74e4: 00000000 */ nop
/* 74e8: 00000000 */ nop
/* 74ec: 00000000 */ nop
);

View File

@ -1595,6 +1595,4 @@ glabel func00008a08
/* 8a0c: 24421558 */ addiu $v0,$v0,%lo(var80091558)
/* 8a10: 03e00008 */ jr $ra
/* 8a14: 8c420000 */ lw $v0,0x0($v0)
/* 8a18: 00000000 */ nop
/* 8a1c: 00000000 */ nop
);

View File

@ -1,6 +1,7 @@
#include <ultra64.h>
#include "constants.h"
#include "game/game_0b3350.h"
#include "game/game_0b4950.h"
#include "game/game_0b69d0.h"
#include "game/file.h"
#include "game/game_176080.h"

View File

@ -567,7 +567,4 @@ glabel func00012d48
/* 12da8: 3c02800a */ lui $v0,%hi(var80099474)
/* 12dac: 03e00008 */ jr $ra
/* 12db0: 8c429474 */ lw $v0,%lo(var80099474)($v0)
/* 12db4: 00000000 */ nop
/* 12db8: 00000000 */ nop
/* 12dbc: 00000000 */ nop
);

View File

@ -69,7 +69,4 @@ glabel func00013820
/* 138e8: afa60008 */ sw $a2,0x8($sp)
/* 138ec: 03e00008 */ jr $ra
/* 138f0: 00001025 */ or $v0,$zero,$zero
/* 138f4: 00000000 */ nop
/* 138f8: 00000000 */ nop
/* 138fc: 00000000 */ nop
);

View File

@ -575,7 +575,4 @@ glabel func00016054
/* 160f8: 24a50008 */ addiu $a1,$a1,0x8
/* 160fc: 03e00008 */ jr $ra
/* 16100: 00000000 */ nop
/* 16104: 00000000 */ nop
/* 16108: 00000000 */ nop
/* 1610c: 00000000 */ nop
);

File diff suppressed because it is too large Load Diff

2352
src/lib/lib_184d0.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

10913
src/lib/lib_24e40.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5,60 +5,6 @@
#include "bss.h"
#include "lib/memory.h"
u8 var8009ad70[0xb00];
u16 *var8005f040 = NULL;
u16 *var8005f044 = NULL;
u32 var8005f048 = 0x00000000;
u32 var8005f04c = 0x00000000;
u32 var8005f050 = 0x00000000;
u32 var8005f054 = 0x00000000;
u32 var8005f058 = 0x00000001;
u32 var8005f05c = 0x00000002;
u32 var8005f060 = 0x00000000;
u32 var8005f064 = 0x00000000;
u32 var8005f068 = 0x00000000;
u32 var8005f06c = 0x00001000;
u32 var8005f070 = 0x00000000;
u32 var8005f074 = 0x00000800;
u32 var8005f078 = (u32) &var8009a970;
u32 var8005f07c = 0x00000400;
u32 var8005f080 = 0x00000000;
u32 var8005f084 = 0x00000000;
u32 var8005f088 = 0x00000000;
u32 var8005f08c = 0x00000000;
u32 var8005f090 = 0x00000000;
u32 var8005f094 = 0x00000000;
u32 var8005f098 = 0x00000000;
u32 var8005f09c = 0x00000000;
u32 var8005f0a0 = 0x00000000;
u32 var8005f0a4 = 0x00000000;
u32 var8005f0a8 = 0x00000000;
u32 var8005f0ac = 0x00000000;
u32 var8005f0b0 = 0x00000000;
u32 var8005f0b4 = 0x00000000;
u32 var8005f0b8 = 0x00000001;
u32 var8005f0bc = 0x00000002;
u32 var8005f0c0 = 0x00000000;
u32 var8005f0c4 = 0x00000000;
u32 var8005f0c8 = 0x00000000;
u32 var8005f0cc = 0x00001000;
u32 var8005f0d0 = 0x00000000;
u32 var8005f0d4 = 0x00000800;
u32 var8005f0d8 = (u32) &var8009a970;
u32 var8005f0dc = 0x00000400;
u32 var8005f0e0 = 0x00000000;
u32 var8005f0e4 = 0x00000000;
u32 var8005f0e8 = 0x00000000;
u32 var8005f0ec = 0x00000000;
u32 var8005f0f0 = 0x00000000;
u32 var8005f0f4 = 0x00000000;
u32 var8005f0f8 = 0x00000000;
u32 var8005f0fc = 0x00000000;
u32 var8005f100 = 0x00000000;
u32 var8005f104 = 0x00000000;
u32 var8005f108 = (u32) &var8005f048;
GLOBAL_ASM(
glabel func0002f490
/* 2f490: 8fa80010 */ lw $t0,0x10($sp)
@ -340,102 +286,4 @@ glabel func0002f5d8
/* 2f890: 4499f800 */ mtc1 $t9,$f31
/* 2f894: 03e00008 */ jr $ra
/* 2f898: 27bd0020 */ addiu $sp,$sp,0x20
/* 2f89c: 00000000 */ nop
);
GLOBAL_ASM(
glabel func0002f8a0
/* 2f8a0: 3c0e8009 */ lui $t6,%hi(g_Is4Mb)
/* 2f8a4: 91ce0af0 */ lbu $t6,%lo(g_Is4Mb)($t6)
/* 2f8a8: 27bdffe0 */ addiu $sp,$sp,-32
/* 2f8ac: 24010001 */ addiu $at,$zero,0x1
/* 2f8b0: afbf0014 */ sw $ra,0x14($sp)
/* 2f8b4: 15c10002 */ bne $t6,$at,.L0002f8c0
/* 2f8b8: 3c040001 */ lui $a0,0x1
/* 2f8bc: 34048000 */ dli $a0,0x8000
.L0002f8c0:
/* 2f8c0: 24050006 */ addiu $a1,$zero,0x6
/* 2f8c4: 0c0048f2 */ jal malloc
/* 2f8c8: afa4001c */ sw $a0,0x1c($sp)
/* 2f8cc: 8fa4001c */ lw $a0,0x1c($sp)
/* 2f8d0: 8fbf0014 */ lw $ra,0x14($sp)
/* 2f8d4: 3c038006 */ lui $v1,%hi(var8005f044)
/* 2f8d8: 2463f044 */ addiu $v1,$v1,%lo(var8005f044)
/* 2f8dc: ac620000 */ sw $v0,0x0($v1)
/* 2f8e0: 3c018006 */ lui $at,%hi(var8005f040)
/* 2f8e4: 0044c021 */ addu $t8,$v0,$a0
/* 2f8e8: ac38f040 */ sw $t8,%lo(var8005f040)($at)
/* 2f8ec: 03e00008 */ jr $ra
/* 2f8f0: 27bd0020 */ addiu $sp,$sp,0x20
);
GLOBAL_ASM(
glabel func0002f8f4
/* 2f8f4: 27bdffe0 */ addiu $sp,$sp,-32
/* 2f8f8: 3c038006 */ lui $v1,%hi(var8005f108)
/* 2f8fc: 2463f108 */ addiu $v1,$v1,%lo(var8005f108)
/* 2f900: afa60028 */ sw $a2,0x28($sp)
/* 2f904: 8c660000 */ lw $a2,0x0($v1)
/* 2f908: 3c028006 */ lui $v0,%hi(rspbootTextStart)
/* 2f90c: 3c0e8006 */ lui $t6,%hi(rspbootTextEnd)
/* 2f910: 24429fe0 */ addiu $v0,$v0,%lo(rspbootTextStart)
/* 2f914: 25cea0b0 */ addiu $t6,$t6,%lo(rspbootTextEnd)
/* 2f918: afbf0014 */ sw $ra,0x14($sp)
/* 2f91c: 01c27823 */ subu $t7,$t6,$v0
/* 2f920: acc20018 */ sw $v0,0x18($a2)
/* 2f924: 3c188006 */ lui $t8,%hi(gspTextStart)
/* 2f928: 3c198009 */ lui $t9,%hi(gspDataStart)
/* 2f92c: accf001c */ sw $t7,0x1c($a2)
/* 2f930: 24c20010 */ addiu $v0,$a2,0x10
/* 2f934: 2718a0b0 */ addiu $t8,$t8,%lo(gspTextStart)
/* 2f938: 27399ad0 */ addiu $t9,$t9,%lo(gspDataStart)
/* 2f93c: ac580010 */ sw $t8,0x10($v0)
/* 2f940: ac590018 */ sw $t9,0x18($v0)
/* 2f944: 3c088006 */ lui $t0,%hi(var8005f044)
/* 2f948: 8d08f044 */ lw $t0,%lo(var8005f044)($t0)
/* 2f94c: 3c098006 */ lui $t1,%hi(var8005f040)
/* 2f950: 00a45023 */ subu $t2,$a1,$a0
/* 2f954: ac480028 */ sw $t0,0x28($v0)
/* 2f958: 8d29f040 */ lw $t1,%lo(var8005f040)($t1)
/* 2f95c: 000a58c3 */ sra $t3,$t2,0x3
/* 2f960: 3c0d800a */ lui $t5,%hi(var8009ad70)
/* 2f964: 000b60c0 */ sll $t4,$t3,0x3
/* 2f968: 25adad70 */ addiu $t5,$t5,%lo(var8009ad70)
/* 2f96c: 240e0b00 */ addiu $t6,$zero,0xb00
/* 2f970: ac440030 */ sw $a0,0x30($v0)
/* 2f974: ac4c0034 */ sw $t4,0x34($v0)
/* 2f978: ac4d0038 */ sw $t5,0x38($v0)
/* 2f97c: ac4e003c */ sw $t6,0x3c($v0)
/* 2f980: ac49002c */ sw $t1,0x2c($v0)
/* 2f984: 3c188009 */ lui $t8,%hi(var8008db30)
/* 2f988: 240f0063 */ addiu $t7,$zero,0x63
/* 2f98c: 2718db30 */ addiu $t8,$t8,%lo(var8008db30)
/* 2f990: acc00000 */ sw $zero,0x0($a2)
/* 2f994: accf0008 */ sw $t7,0x8($a2)
/* 2f998: acd80050 */ sw $t8,0x50($a2)
/* 2f99c: acc70054 */ sw $a3,0x54($a2)
/* 2f9a0: 8c790000 */ lw $t9,0x0($v1)
/* 2f9a4: 8f280058 */ lw $t0,0x58($t9)
/* 2f9a8: acc8000c */ sw $t0,0xc($a2)
/* 2f9ac: 0c012048 */ jal osWritebackDCacheAll
/* 2f9b0: afa6001c */ sw $a2,0x1c($sp)
/* 2f9b4: 3c048009 */ lui $a0,%hi(g_SchedThread)
/* 2f9b8: 8fa5001c */ lw $a1,0x1c($sp)
/* 2f9bc: 0c0007ea */ jal __scHandleRetraceViaPri
/* 2f9c0: 2484dbd0 */ addiu $a0,$a0,%lo(g_SchedThread)
/* 2f9c4: 3c028006 */ lui $v0,%hi(var8005f108)
/* 2f9c8: 2442f108 */ addiu $v0,$v0,%lo(var8005f108)
/* 2f9cc: 8c490000 */ lw $t1,0x0($v0)
/* 2f9d0: 3c0a8006 */ lui $t2,%hi(var8005f048)
/* 2f9d4: 8fbf0014 */ lw $ra,0x14($sp)
/* 2f9d8: 254af048 */ addiu $t2,$t2,%lo(var8005f048)
/* 2f9dc: 3c0c8006 */ lui $t4,%hi(var8005f0a8)
/* 2f9e0: 258cf0a8 */ addiu $t4,$t4,%lo(var8005f0a8)
/* 2f9e4: 012a5826 */ xor $t3,$t1,$t2
/* 2f9e8: 016c6826 */ xor $t5,$t3,$t4
/* 2f9ec: ac4d0000 */ sw $t5,0x0($v0)
/* 2f9f0: 03e00008 */ jr $ra
/* 2f9f4: 27bd0020 */ addiu $sp,$sp,0x20
/* 2f9f8: 00000000 */ nop
/* 2f9fc: 00000000 */ nop
);

155
src/lib/lib_2f8a0.c Normal file
View File

@ -0,0 +1,155 @@
#include <ultra64.h>
#include "constants.h"
#include "types.h"
#include "data.h"
#include "bss.h"
#include "lib/memory.h"
u8 var8009ad70[0xb00];
u16 *var8005f040 = NULL;
u16 *var8005f044 = NULL;
u32 var8005f048 = 0x00000000;
u32 var8005f04c = 0x00000000;
u32 var8005f050 = 0x00000000;
u32 var8005f054 = 0x00000000;
u32 var8005f058 = 0x00000001;
u32 var8005f05c = 0x00000002;
u32 var8005f060 = 0x00000000;
u32 var8005f064 = 0x00000000;
u32 var8005f068 = 0x00000000;
u32 var8005f06c = 0x00001000;
u32 var8005f070 = 0x00000000;
u32 var8005f074 = 0x00000800;
u32 var8005f078 = (u32) &var8009a970;
u32 var8005f07c = 0x00000400;
u32 var8005f080 = 0x00000000;
u32 var8005f084 = 0x00000000;
u32 var8005f088 = 0x00000000;
u32 var8005f08c = 0x00000000;
u32 var8005f090 = 0x00000000;
u32 var8005f094 = 0x00000000;
u32 var8005f098 = 0x00000000;
u32 var8005f09c = 0x00000000;
u32 var8005f0a0 = 0x00000000;
u32 var8005f0a4 = 0x00000000;
u32 var8005f0a8 = 0x00000000;
u32 var8005f0ac = 0x00000000;
u32 var8005f0b0 = 0x00000000;
u32 var8005f0b4 = 0x00000000;
u32 var8005f0b8 = 0x00000001;
u32 var8005f0bc = 0x00000002;
u32 var8005f0c0 = 0x00000000;
u32 var8005f0c4 = 0x00000000;
u32 var8005f0c8 = 0x00000000;
u32 var8005f0cc = 0x00001000;
u32 var8005f0d0 = 0x00000000;
u32 var8005f0d4 = 0x00000800;
u32 var8005f0d8 = (u32) &var8009a970;
u32 var8005f0dc = 0x00000400;
u32 var8005f0e0 = 0x00000000;
u32 var8005f0e4 = 0x00000000;
u32 var8005f0e8 = 0x00000000;
u32 var8005f0ec = 0x00000000;
u32 var8005f0f0 = 0x00000000;
u32 var8005f0f4 = 0x00000000;
u32 var8005f0f8 = 0x00000000;
u32 var8005f0fc = 0x00000000;
u32 var8005f100 = 0x00000000;
u32 var8005f104 = 0x00000000;
u32 var8005f108 = (u32) &var8005f048;
GLOBAL_ASM(
glabel func0002f8a0
/* 2f8a0: 3c0e8009 */ lui $t6,%hi(g_Is4Mb)
/* 2f8a4: 91ce0af0 */ lbu $t6,%lo(g_Is4Mb)($t6)
/* 2f8a8: 27bdffe0 */ addiu $sp,$sp,-32
/* 2f8ac: 24010001 */ addiu $at,$zero,0x1
/* 2f8b0: afbf0014 */ sw $ra,0x14($sp)
/* 2f8b4: 15c10002 */ bne $t6,$at,.L0002f8c0
/* 2f8b8: 3c040001 */ lui $a0,0x1
/* 2f8bc: 34048000 */ dli $a0,0x8000
.L0002f8c0:
/* 2f8c0: 24050006 */ addiu $a1,$zero,0x6
/* 2f8c4: 0c0048f2 */ jal malloc
/* 2f8c8: afa4001c */ sw $a0,0x1c($sp)
/* 2f8cc: 8fa4001c */ lw $a0,0x1c($sp)
/* 2f8d0: 8fbf0014 */ lw $ra,0x14($sp)
/* 2f8d4: 3c038006 */ lui $v1,%hi(var8005f044)
/* 2f8d8: 2463f044 */ addiu $v1,$v1,%lo(var8005f044)
/* 2f8dc: ac620000 */ sw $v0,0x0($v1)
/* 2f8e0: 3c018006 */ lui $at,%hi(var8005f040)
/* 2f8e4: 0044c021 */ addu $t8,$v0,$a0
/* 2f8e8: ac38f040 */ sw $t8,%lo(var8005f040)($at)
/* 2f8ec: 03e00008 */ jr $ra
/* 2f8f0: 27bd0020 */ addiu $sp,$sp,0x20
);
GLOBAL_ASM(
glabel func0002f8f4
/* 2f8f4: 27bdffe0 */ addiu $sp,$sp,-32
/* 2f8f8: 3c038006 */ lui $v1,%hi(var8005f108)
/* 2f8fc: 2463f108 */ addiu $v1,$v1,%lo(var8005f108)
/* 2f900: afa60028 */ sw $a2,0x28($sp)
/* 2f904: 8c660000 */ lw $a2,0x0($v1)
/* 2f908: 3c028006 */ lui $v0,%hi(rspbootTextStart)
/* 2f90c: 3c0e8006 */ lui $t6,%hi(rspbootTextEnd)
/* 2f910: 24429fe0 */ addiu $v0,$v0,%lo(rspbootTextStart)
/* 2f914: 25cea0b0 */ addiu $t6,$t6,%lo(rspbootTextEnd)
/* 2f918: afbf0014 */ sw $ra,0x14($sp)
/* 2f91c: 01c27823 */ subu $t7,$t6,$v0
/* 2f920: acc20018 */ sw $v0,0x18($a2)
/* 2f924: 3c188006 */ lui $t8,%hi(gspTextStart)
/* 2f928: 3c198009 */ lui $t9,%hi(gspDataStart)
/* 2f92c: accf001c */ sw $t7,0x1c($a2)
/* 2f930: 24c20010 */ addiu $v0,$a2,0x10
/* 2f934: 2718a0b0 */ addiu $t8,$t8,%lo(gspTextStart)
/* 2f938: 27399ad0 */ addiu $t9,$t9,%lo(gspDataStart)
/* 2f93c: ac580010 */ sw $t8,0x10($v0)
/* 2f940: ac590018 */ sw $t9,0x18($v0)
/* 2f944: 3c088006 */ lui $t0,%hi(var8005f044)
/* 2f948: 8d08f044 */ lw $t0,%lo(var8005f044)($t0)
/* 2f94c: 3c098006 */ lui $t1,%hi(var8005f040)
/* 2f950: 00a45023 */ subu $t2,$a1,$a0
/* 2f954: ac480028 */ sw $t0,0x28($v0)
/* 2f958: 8d29f040 */ lw $t1,%lo(var8005f040)($t1)
/* 2f95c: 000a58c3 */ sra $t3,$t2,0x3
/* 2f960: 3c0d800a */ lui $t5,%hi(var8009ad70)
/* 2f964: 000b60c0 */ sll $t4,$t3,0x3
/* 2f968: 25adad70 */ addiu $t5,$t5,%lo(var8009ad70)
/* 2f96c: 240e0b00 */ addiu $t6,$zero,0xb00
/* 2f970: ac440030 */ sw $a0,0x30($v0)
/* 2f974: ac4c0034 */ sw $t4,0x34($v0)
/* 2f978: ac4d0038 */ sw $t5,0x38($v0)
/* 2f97c: ac4e003c */ sw $t6,0x3c($v0)
/* 2f980: ac49002c */ sw $t1,0x2c($v0)
/* 2f984: 3c188009 */ lui $t8,%hi(var8008db30)
/* 2f988: 240f0063 */ addiu $t7,$zero,0x63
/* 2f98c: 2718db30 */ addiu $t8,$t8,%lo(var8008db30)
/* 2f990: acc00000 */ sw $zero,0x0($a2)
/* 2f994: accf0008 */ sw $t7,0x8($a2)
/* 2f998: acd80050 */ sw $t8,0x50($a2)
/* 2f99c: acc70054 */ sw $a3,0x54($a2)
/* 2f9a0: 8c790000 */ lw $t9,0x0($v1)
/* 2f9a4: 8f280058 */ lw $t0,0x58($t9)
/* 2f9a8: acc8000c */ sw $t0,0xc($a2)
/* 2f9ac: 0c012048 */ jal osWritebackDCacheAll
/* 2f9b0: afa6001c */ sw $a2,0x1c($sp)
/* 2f9b4: 3c048009 */ lui $a0,%hi(g_SchedThread)
/* 2f9b8: 8fa5001c */ lw $a1,0x1c($sp)
/* 2f9bc: 0c0007ea */ jal __scHandleRetraceViaPri
/* 2f9c0: 2484dbd0 */ addiu $a0,$a0,%lo(g_SchedThread)
/* 2f9c4: 3c028006 */ lui $v0,%hi(var8005f108)
/* 2f9c8: 2442f108 */ addiu $v0,$v0,%lo(var8005f108)
/* 2f9cc: 8c490000 */ lw $t1,0x0($v0)
/* 2f9d0: 3c0a8006 */ lui $t2,%hi(var8005f048)
/* 2f9d4: 8fbf0014 */ lw $ra,0x14($sp)
/* 2f9d8: 254af048 */ addiu $t2,$t2,%lo(var8005f048)
/* 2f9dc: 3c0c8006 */ lui $t4,%hi(var8005f0a8)
/* 2f9e0: 258cf0a8 */ addiu $t4,$t4,%lo(var8005f0a8)
/* 2f9e4: 012a5826 */ xor $t3,$t1,$t2
/* 2f9e8: 016c6826 */ xor $t5,$t3,$t4
/* 2f9ec: ac4d0000 */ sw $t5,0x0($v0)
/* 2f9f0: 03e00008 */ jr $ra
/* 2f9f4: 27bd0020 */ addiu $sp,$sp,0x20
);

View File

@ -54,6 +54,4 @@ glabel func0002fb14
.L0002fb90:
/* 2fb90: 03e00008 */ jr $ra
/* 2fb94: 27bd0008 */ addiu $sp,$sp,0x8
/* 2fb98: 00000000 */ nop
/* 2fb9c: 00000000 */ nop
);
);

View File

@ -67,6 +67,4 @@ glabel alClose
/* 2fc4c: 27bd0018 */ addiu $sp,$sp,0x18
/* 2fc50: 03e00008 */ jr $ra
/* 2fc54: 00000000 */ nop
/* 2fc58: 00000000 */ nop
/* 2fc5c: 00000000 */ nop
);

View File

@ -1776,7 +1776,4 @@ glabel func00030c98
/* 30cc8: 00000000 */ nop
/* 30ccc: 03e00008 */ jr $ra
/* 30cd0: 00000000 */ nop
/* 30cd4: 00000000 */ nop
/* 30cd8: 00000000 */ nop
/* 30cdc: 00000000 */ nop
);

View File

@ -798,7 +798,4 @@ glabel alUnlink
/* 317d8: 00000000 */ nop
/* 317dc: 03e00008 */ jr $ra
/* 317e0: 00000000 */ nop
/* 317e4: 00000000 */ nop
/* 317e8: 00000000 */ nop
/* 317ec: 00000000 */ nop
);
);

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More