Merge branch 'master' into in-progress

This commit is contained in:
Ethan Roseman 2020-10-14 16:02:26 -04:00
commit 3dc2c9fe67
127 changed files with 1912 additions and 832 deletions

View File

@ -7,7 +7,7 @@ SHELL=/bin/bash -o pipefail
# BUILD_DIR is location where all build artifacts are placed
BUILD_DIR = build
SRC_DIRS := src src/os
SRC_DIRS := src src/os src/os/nusys
ASM_DIRS := asm asm/os
INCLUDE_DIRS := include include/PR
DATA_DIRS := bin

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800355C4
/* 109C4 800355C4 03E00008 */ jr $ra
/* 109C8 800355C8 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800355CC
/* 109CC 800355CC 03E00008 */ jr $ra
/* 109D0 800355D0 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035D18
/* 11118 80035D18 03E00008 */ jr $ra
/* 1111C 80035D1C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E6194
/* 107A14 802E6194 03E00008 */ jr $ra
/* 107A18 802E6198 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80037960
/* 12D60 80037960 03E00008 */ jr $ra
/* 12D64 80037964 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243568
/* 1368A8 80243568 03E00008 */ jr $ra
/* 1368AC 8024356C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel pause_badges_scroll_offset_x
/* 13A5E8 802472A8 03E00008 */ jr $ra
/* 13A5EC 802472AC 0080102D */ daddu $v0, $a0, $zero

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003B1A8
/* 165A8 8003B1A8 03E00008 */ jr $ra
/* 165AC 8003B1AC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003C658
/* 17A58 8003C658 03E00008 */ jr $ra
/* 17A5C 8003C65C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003C660
/* 17A60 8003C660 03E00008 */ jr $ra
/* 17A64 8003C664 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003C8AC
/* 17CAC 8003C8AC 03E00008 */ jr $ra
/* 17CB0 8003C8B0 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003CFA0
/* 183A0 8003CFA0 03E00008 */ jr $ra
/* 183A4 8003CFA4 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003E50C
/* 1990C 8003E50C 03E00008 */ jr $ra
/* 19910 8003E510 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8003E670
/* 19A70 8003E670 03E00008 */ jr $ra
/* 19A74 8003E674 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80248160
/* 1689C0 80248160 03E00008 */ jr $ra
/* 1689C4 80248164 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80248168
/* 1689C8 80248168 03E00008 */ jr $ra
/* 1689CC 8024816C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80249324
/* 169B84 80249324 03E00008 */ jr $ra
/* 169B88 80249328 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8023E3FC
/* 16CCDC 8023E3FC 03E00008 */ jr $ra
/* 16CCE0 8023E400 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024201C
/* 1708FC 8024201C 03E00008 */ jr $ra
/* 170900 80242020 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242AC0
/* 1713A0 80242AC0 03E00008 */ jr $ra
/* 1713A4 80242AC4 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242BA8
/* 171488 80242BA8 03E00008 */ jr $ra
/* 17148C 80242BAC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242EF8
/* 1717D8 80242EF8 03E00008 */ jr $ra
/* 1717DC 80242EFC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242FD8
/* 1718B8 80242FD8 03E00008 */ jr $ra
/* 1718BC 80242FDC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243910
/* 1721F0 80243910 03E00008 */ jr $ra
/* 1721F4 80243914 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802439D0
/* 1722B0 802439D0 03E00008 */ jr $ra
/* 1722B4 802439D4 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243FD4
/* 1728B4 80243FD4 03E00008 */ jr $ra
/* 1728B8 80243FD8 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80244000
/* 1728E0 80244000 03E00008 */ jr $ra
/* 1728E4 80244004 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80244708
/* 172FE8 80244708 03E00008 */ jr $ra
/* 172FEC 8024470C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80244A48
/* 173328 80244A48 03E00008 */ jr $ra
/* 17332C 80244A4C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80244EF8
/* 1737D8 80244EF8 03E00008 */ jr $ra
/* 1737DC 80244EFC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80245438
/* 173D18 80245438 03E00008 */ jr $ra
/* 173D1C 8024543C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802456B0
/* 173F90 802456B0 03E00008 */ jr $ra
/* 173F94 802456B4 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80245AC8
/* 1743A8 80245AC8 03E00008 */ jr $ra
/* 1743AC 80245ACC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80246448
/* 174D28 80246448 03E00008 */ jr $ra
/* 174D2C 8024644C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80246B2C_code
/* 17540C 80246B2C 03E00008 */ jr $ra
/* 175410 80246B30 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80247214
/* 175AF4 80247214 03E00008 */ jr $ra
/* 175AF8 80247218 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802472A4
/* 175B84 802472A4 03E00008 */ jr $ra
/* 175B88 802472A8 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80247568
/* 175E48 80247568 03E00008 */ jr $ra
/* 175E4C 8024756C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80247AFC
/* 1763DC 80247AFC 03E00008 */ jr $ra
/* 1763E0 80247B00 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80255FD8
/* 1848B8 80255FD8 03E00008 */ jr $ra
/* 1848BC 80255FDC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8025D150
/* 18BA30 8025D150 03E00008 */ jr $ra
/* 18BA34 8025D154 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8025D158
/* 18BA38 8025D158 03E00008 */ jr $ra
/* 18BA3C 8025D15C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8025D3C4
/* 18BCA4 8025D3C4 03E00008 */ jr $ra
/* 18BCA8 8025D3C8 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8025DA60
/* 18C340 8025DA60 03E00008 */ jr $ra
/* 18C344 8025DA64 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8025DBC8
/* 18C4A8 8025DBC8 03E00008 */ jr $ra
/* 18C4AC 8025DBCC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004D31C
/* 2871C 8004D31C 03E00008 */ jr $ra
/* 28720 8004D320 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80050560
/* 2B960 80050560 03E00008 */ jr $ra
/* 2B964 80050564 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80059C80
/* 35080 80059C80 03E00008 */ jr $ra
/* 35084 80059C84 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80059D48
/* 35148 80059D48 03E00008 */ jr $ra
/* 3514C 80059D4C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8005AF84
/* 36384 8005AF84 03E00008 */ jr $ra
/* 36388 8005AF88 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8005AF8C
/* 3638C 8005AF8C 03E00008 */ jr $ra
/* 36390 8005AF90 00000000 */ nop

View File

@ -1,19 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80028838
/* 3C38 80028838 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3C3C 8002883C AFBF0010 */ sw $ra, 0x10($sp)
/* 3C40 80028840 0C00A1FC */ jal func_800287F0
/* 3C44 80028844 00000000 */ nop
/* 3C48 80028848 8FBF0010 */ lw $ra, 0x10($sp)
/* 3C4C 8002884C 3C01800A */ lui $at, 0x800a
/* 3C50 80028850 A420A6A0 */ sh $zero, -0x5960($at)
/* 3C54 80028854 3C01800A */ lui $at, 0x800a
/* 3C58 80028858 A420A6A2 */ sh $zero, -0x595e($at)
/* 3C5C 8002885C 3C01800A */ lui $at, 0x800a
/* 3C60 80028860 A420A6A4 */ sh $zero, -0x595c($at)
/* 3C64 80028864 3C01800A */ lui $at, 0x800a
/* 3C68 80028868 A420A6A6 */ sh $zero, -0x595a($at)
/* 3C6C 8002886C 03E00008 */ jr $ra
/* 3C70 80028870 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800EA524
/* 839D4 800EA524 03E00008 */ jr $ra
/* 839D8 800EA528 24020001 */ addiu $v0, $zero, 1

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800EFD00
/* 891B0 800EFD00 03E00008 */ jr $ra
/* 891B4 800EFD04 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel NOP_state
/* A9290 80112B90 03E00008 */ jr $ra
/* A9294 80112B94 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80030450
/* B850 80030450 03E00008 */ jr $ra
/* B854 80030454 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_801356C4
/* CBDC4 801356C4 03E00008 */ jr $ra
/* CBDC8 801356C8 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_801356CC
/* CBDCC 801356CC 03E00008 */ jr $ra
/* CBDD0 801356D0 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_801356D4
/* CBDD4 801356D4 03E00008 */ jr $ra
/* CBDD8 801356D8 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel stub_dynamic_entity_delegate
/* B97B0 801230B0 03E00008 */ jr $ra
/* B97B4 801230B4 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80138198
/* CE898 80138198 03E00008 */ jr $ra
/* CE89C 8013819C 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800334E8
/* E8E8 800334E8 03E00008 */ jr $ra
/* E8EC 800334EC 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80034BF4
/* FFF4 80034BF4 03E00008 */ jr $ra
/* FFF8 80034BF8 00000000 */ nop

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802DDA84
/* 100B74 802DDA84 03E00008 */ jr $ra
/* 100B78 802DDA88 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,40 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel nuScAddClient
/* 3A230 8005EE30 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 3A234 8005EE34 AFB00010 */ sw $s0, 0x10($sp)
/* 3A238 8005EE38 0080802D */ daddu $s0, $a0, $zero
/* 3A23C 8005EE3C AFB20018 */ sw $s2, 0x18($sp)
/* 3A240 8005EE40 00A0902D */ daddu $s2, $a1, $zero
/* 3A244 8005EE44 AFB10014 */ sw $s1, 0x14($sp)
/* 3A248 8005EE48 00C0882D */ daddu $s1, $a2, $zero
/* 3A24C 8005EE4C AFBF001C */ sw $ra, 0x1c($sp)
/* 3A250 8005EE50 0C018250 */ jal osSetIntMask
/* 3A254 8005EE54 24040001 */ addiu $a0, $zero, 1
/* 3A258 8005EE58 3C05800E */ lui $a1, 0x800e
/* 3A25C 8005EE5C 24A5AAA8 */ addiu $a1, $a1, -0x5558
/* 3A260 8005EE60 AE120004 */ sw $s2, 4($s0)
/* 3A264 8005EE64 8CA30000 */ lw $v1, ($a1)
/* 3A268 8005EE68 A6110008 */ sh $s1, 8($s0)
/* 3A26C 8005EE6C 32310002 */ andi $s1, $s1, 2
/* 3A270 8005EE70 AE030000 */ sw $v1, ($s0)
/* 3A274 8005EE74 ACB00000 */ sw $s0, ($a1)
/* 3A278 8005EE78 12200008 */ beqz $s1, .L8005EE9C
/* 3A27C 8005EE7C 0040802D */ daddu $s0, $v0, $zero
/* 3A280 8005EE80 3C02800A */ lui $v0, 0x800a
/* 3A284 8005EE84 9042A5B0 */ lbu $v0, -0x5a50($v0)
/* 3A288 8005EE88 10400004 */ beqz $v0, .L8005EE9C
/* 3A28C 8005EE8C 0240202D */ daddu $a0, $s2, $zero
/* 3A290 8005EE90 24A5F99A */ addiu $a1, $a1, -0x666
/* 3A294 8005EE94 0C019608 */ jal osSendMesg
/* 3A298 8005EE98 0000302D */ daddu $a2, $zero, $zero
.L8005EE9C:
/* 3A29C 8005EE9C 0C018250 */ jal osSetIntMask
/* 3A2A0 8005EEA0 0200202D */ daddu $a0, $s0, $zero
/* 3A2A4 8005EEA4 8FBF001C */ lw $ra, 0x1c($sp)
/* 3A2A8 8005EEA8 8FB20018 */ lw $s2, 0x18($sp)
/* 3A2AC 8005EEAC 8FB10014 */ lw $s1, 0x14($sp)
/* 3A2B0 8005EEB0 8FB00010 */ lw $s0, 0x10($sp)
/* 3A2B4 8005EEB4 03E00008 */ jr $ra
/* 3A2B8 8005EEB8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,146 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel nuScCreateScheduler
/* 39DB0 8005E9B0 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 39DB4 8005E9B4 AFB40028 */ sw $s4, 0x28($sp)
/* 39DB8 8005E9B8 0080A02D */ daddu $s4, $a0, $zero
/* 39DBC 8005E9BC AFB30024 */ sw $s3, 0x24($sp)
/* 39DC0 8005E9C0 00A0982D */ daddu $s3, $a1, $zero
/* 39DC4 8005E9C4 3C04800E */ lui $a0, 0x800e
/* 39DC8 8005E9C8 2484AAAC */ addiu $a0, $a0, -0x5554
/* 39DCC 8005E9CC 24020001 */ addiu $v0, $zero, 1
/* 39DD0 8005E9D0 24030002 */ addiu $v1, $zero, 2
/* 39DD4 8005E9D4 AFBF002C */ sw $ra, 0x2c($sp)
/* 39DD8 8005E9D8 AFB20020 */ sw $s2, 0x20($sp)
/* 39DDC 8005E9DC AFB1001C */ sw $s1, 0x1c($sp)
/* 39DE0 8005E9E0 AFB00018 */ sw $s0, 0x18($sp)
/* 39DE4 8005E9E4 A482F994 */ sh $v0, -0x66c($a0)
/* 39DE8 8005E9E8 326200FF */ andi $v0, $s3, 0xff
/* 39DEC 8005E9EC AC82000C */ sw $v0, 0xc($a0)
/* 39DF0 8005E9F0 A0830011 */ sb $v1, 0x11($a0)
/* 39DF4 8005E9F4 3C028000 */ lui $v0, 0x8000
/* 39DF8 8005E9F8 8C420300 */ lw $v0, 0x300($v0)
/* 39DFC 8005E9FC A483F996 */ sh $v1, -0x66a($a0)
/* 39E00 8005EA00 2483F994 */ addiu $v1, $a0, -0x66c
/* 39E04 8005EA04 AC800000 */ sw $zero, ($a0)
/* 39E08 8005EA08 AC800004 */ sw $zero, 4($a0)
/* 39E0C 8005EA0C AC800008 */ sw $zero, 8($a0)
/* 39E10 8005EA10 14400004 */ bnez $v0, .L8005EA24
/* 39E14 8005EA14 AC80FFFC */ sw $zero, -4($a0)
/* 39E18 8005EA18 24020032 */ addiu $v0, $zero, 0x32
/* 39E1C 8005EA1C 08017A8B */ j .L8005EA2C
/* 39E20 8005EA20 A062067C */ sb $v0, 0x67c($v1)
.L8005EA24:
/* 39E24 8005EA24 2402003C */ addiu $v0, $zero, 0x3c
/* 39E28 8005EA28 A0820010 */ sb $v0, 0x10($a0)
.L8005EA2C:
/* 39E2C 8005EA2C 3C10800E */ lui $s0, 0x800e
/* 39E30 8005EA30 2610A4B4 */ addiu $s0, $s0, -0x5b4c
/* 39E34 8005EA34 0200202D */ daddu $a0, $s0, $zero
/* 39E38 8005EA38 26050018 */ addiu $a1, $s0, 0x18
/* 39E3C 8005EA3C 3C01800A */ lui $at, 0x800a
/* 39E40 8005EA40 A020A5B0 */ sb $zero, -0x5a50($at)
/* 39E44 8005EA44 0C019560 */ jal osCreateMesgQueue
/* 39E48 8005EA48 24060008 */ addiu $a2, $zero, 8
/* 39E4C 8005EA4C 26120038 */ addiu $s2, $s0, 0x38
/* 39E50 8005EA50 0240202D */ daddu $a0, $s2, $zero
/* 39E54 8005EA54 26050050 */ addiu $a1, $s0, 0x50
/* 39E58 8005EA58 0C019560 */ jal osCreateMesgQueue
/* 39E5C 8005EA5C 24060008 */ addiu $a2, $zero, 8
/* 39E60 8005EA60 26110070 */ addiu $s1, $s0, 0x70
/* 39E64 8005EA64 0220202D */ daddu $a0, $s1, $zero
/* 39E68 8005EA68 26050088 */ addiu $a1, $s0, 0x88
/* 39E6C 8005EA6C 0C019560 */ jal osCreateMesgQueue
/* 39E70 8005EA70 24060008 */ addiu $a2, $zero, 8
/* 39E74 8005EA74 2604FFC8 */ addiu $a0, $s0, -0x38
/* 39E78 8005EA78 2605FFE0 */ addiu $a1, $s0, -0x20
/* 39E7C 8005EA7C 0C019560 */ jal osCreateMesgQueue
/* 39E80 8005EA80 24060008 */ addiu $a2, $zero, 8
/* 39E84 8005EA84 2604FF90 */ addiu $a0, $s0, -0x70
/* 39E88 8005EA88 2605FFA8 */ addiu $a1, $s0, -0x58
/* 39E8C 8005EA8C 0C019560 */ jal osCreateMesgQueue
/* 39E90 8005EA90 24060008 */ addiu $a2, $zero, 8
/* 39E94 8005EA94 260400A8 */ addiu $a0, $s0, 0xa8
/* 39E98 8005EA98 260500C0 */ addiu $a1, $s0, 0xc0
/* 39E9C 8005EA9C 0C019560 */ jal osCreateMesgQueue
/* 39EA0 8005EAA0 24060008 */ addiu $a2, $zero, 8
/* 39EA4 8005EAA4 0C019A9C */ jal osCreateViManager
/* 39EA8 8005EAA8 240400FE */ addiu $a0, $zero, 0xfe
/* 39EAC 8005EAAC 328200FF */ andi $v0, $s4, 0xff
/* 39EB0 8005EAB0 00022080 */ sll $a0, $v0, 2
/* 39EB4 8005EAB4 00822021 */ addu $a0, $a0, $v0
/* 39EB8 8005EAB8 00042100 */ sll $a0, $a0, 4
/* 39EBC 8005EABC 3C028009 */ lui $v0, 0x8009
/* 39EC0 8005EAC0 244246A0 */ addiu $v0, $v0, 0x46a0
/* 39EC4 8005EAC4 0C019B84 */ jal osViSetMode
/* 39EC8 8005EAC8 00822021 */ addu $a0, $a0, $v0
/* 39ECC 8005EACC 0C019CE0 */ jal osViBlack
/* 39ED0 8005EAD0 24040001 */ addiu $a0, $zero, 1
/* 39ED4 8005EAD4 0200202D */ daddu $a0, $s0, $zero
/* 39ED8 8005EAD8 2405029A */ addiu $a1, $zero, 0x29a
/* 39EDC 8005EADC 0C019B6C */ jal osViSetEvent
/* 39EE0 8005EAE0 326600FF */ andi $a2, $s3, 0xff
/* 39EE4 8005EAE4 24040004 */ addiu $a0, $zero, 4
/* 39EE8 8005EAE8 0240282D */ daddu $a1, $s2, $zero
/* 39EEC 8005EAEC 0C019654 */ jal osSetEventMesg
/* 39EF0 8005EAF0 2406029B */ addiu $a2, $zero, 0x29b
/* 39EF4 8005EAF4 24040009 */ addiu $a0, $zero, 9
/* 39EF8 8005EAF8 0220282D */ daddu $a1, $s1, $zero
/* 39EFC 8005EAFC 0C019654 */ jal osSetEventMesg
/* 39F00 8005EB00 2406029C */ addiu $a2, $zero, 0x29c
/* 39F04 8005EB04 2404000E */ addiu $a0, $zero, 0xe
/* 39F08 8005EB08 0200282D */ daddu $a1, $s0, $zero
/* 39F0C 8005EB0C 0C019654 */ jal osSetEventMesg
/* 39F10 8005EB10 2406029D */ addiu $a2, $zero, 0x29d
/* 39F14 8005EB14 261200E4 */ addiu $s2, $s0, 0xe4
/* 39F18 8005EB18 0240202D */ daddu $a0, $s2, $zero
/* 39F1C 8005EB1C 24050013 */ addiu $a1, $zero, 0x13
/* 39F20 8005EB20 3C068006 */ lui $a2, 0x8006
/* 39F24 8005EB24 24C6EFA8 */ addiu $a2, $a2, -0x1058
/* 39F28 8005EB28 2611FF8C */ addiu $s1, $s0, -0x74
/* 39F2C 8005EB2C 0220382D */ daddu $a3, $s1, $zero
/* 39F30 8005EB30 3C02800B */ lui $v0, 0x800b
/* 39F34 8005EB34 244285D0 */ addiu $v0, $v0, -0x7a30
/* 39F38 8005EB38 AFA20010 */ sw $v0, 0x10($sp)
/* 39F3C 8005EB3C 24020078 */ addiu $v0, $zero, 0x78
/* 39F40 8005EB40 0C019798 */ jal osCreateThread
/* 39F44 8005EB44 AFA20014 */ sw $v0, 0x14($sp)
/* 39F48 8005EB48 0C019808 */ jal osStartThread
/* 39F4C 8005EB4C 0240202D */ daddu $a0, $s2, $zero
/* 39F50 8005EB50 26120294 */ addiu $s2, $s0, 0x294
/* 39F54 8005EB54 0240202D */ daddu $a0, $s2, $zero
/* 39F58 8005EB58 24050012 */ addiu $a1, $zero, 0x12
/* 39F5C 8005EB5C 3C068006 */ lui $a2, 0x8006
/* 39F60 8005EB60 24C6EBE0 */ addiu $a2, $a2, -0x1420
/* 39F64 8005EB64 0220382D */ daddu $a3, $s1, $zero
/* 39F68 8005EB68 3C02800B */ lui $v0, 0x800b
/* 39F6C 8005EB6C 2442A5D0 */ addiu $v0, $v0, -0x5a30
/* 39F70 8005EB70 AFA20010 */ sw $v0, 0x10($sp)
/* 39F74 8005EB74 2402006E */ addiu $v0, $zero, 0x6e
/* 39F78 8005EB78 0C019798 */ jal osCreateThread
/* 39F7C 8005EB7C AFA20014 */ sw $v0, 0x14($sp)
/* 39F80 8005EB80 0C019808 */ jal osStartThread
/* 39F84 8005EB84 0240202D */ daddu $a0, $s2, $zero
/* 39F88 8005EB88 26100444 */ addiu $s0, $s0, 0x444
/* 39F8C 8005EB8C 0200202D */ daddu $a0, $s0, $zero
/* 39F90 8005EB90 24050011 */ addiu $a1, $zero, 0x11
/* 39F94 8005EB94 3C068006 */ lui $a2, 0x8006
/* 39F98 8005EB98 24C6ED14 */ addiu $a2, $a2, -0x12ec
/* 39F9C 8005EB9C 0220382D */ daddu $a3, $s1, $zero
/* 39FA0 8005EBA0 3C02800B */ lui $v0, 0x800b
/* 39FA4 8005EBA4 2442C5D0 */ addiu $v0, $v0, -0x3a30
/* 39FA8 8005EBA8 AFA20010 */ sw $v0, 0x10($sp)
/* 39FAC 8005EBAC 24020064 */ addiu $v0, $zero, 0x64
/* 39FB0 8005EBB0 0C019798 */ jal osCreateThread
/* 39FB4 8005EBB4 AFA20014 */ sw $v0, 0x14($sp)
/* 39FB8 8005EBB8 0C019808 */ jal osStartThread
/* 39FBC 8005EBBC 0200202D */ daddu $a0, $s0, $zero
/* 39FC0 8005EBC0 8FBF002C */ lw $ra, 0x2c($sp)
/* 39FC4 8005EBC4 8FB40028 */ lw $s4, 0x28($sp)
/* 39FC8 8005EBC8 8FB30024 */ lw $s3, 0x24($sp)
/* 39FCC 8005EBCC 8FB20020 */ lw $s2, 0x20($sp)
/* 39FD0 8005EBD0 8FB1001C */ lw $s1, 0x1c($sp)
/* 39FD4 8005EBD4 8FB00018 */ lw $s0, 0x18($sp)
/* 39FD8 8005EBD8 03E00008 */ jr $ra
/* 39FDC 8005EBDC 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -84,77 +84,3 @@ glabel nuScExecuteAudio
/* 3A108 8005ED08 24060001 */ addiu $a2, $zero, 1
/* 3A10C 8005ED0C 08017B06 */ j .L8005EC18
/* 3A110 8005ED10 0280202D */ daddu $a0, $s4, $zero
/* 3A114 8005ED14 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3A118 8005ED18 AFB00018 */ sw $s0, 0x18($sp)
/* 3A11C 8005ED1C 3C10800E */ lui $s0, 0x800e
/* 3A120 8005ED20 2610A47C */ addiu $s0, $s0, -0x5b84
/* 3A124 8005ED24 AFB1001C */ sw $s1, 0x1c($sp)
/* 3A128 8005ED28 27B10014 */ addiu $s1, $sp, 0x14
/* 3A12C 8005ED2C AFBF0020 */ sw $ra, 0x20($sp)
/* 3A130 8005ED30 0200202D */ daddu $a0, $s0, $zero
.L8005ED34:
/* 3A134 8005ED34 27A50010 */ addiu $a1, $sp, 0x10
/* 3A138 8005ED38 0C0195BC */ jal osRecvMesg
/* 3A13C 8005ED3C 24060001 */ addiu $a2, $zero, 1
/* 3A140 8005ED40 3C02800A */ lui $v0, 0x800a
/* 3A144 8005ED44 9042A5B0 */ lbu $v0, -0x5a50($v0)
/* 3A148 8005ED48 30420002 */ andi $v0, $v0, 2
/* 3A14C 8005ED4C 14400032 */ bnez $v0, .L8005EE18
/* 3A150 8005ED50 00000000 */ nop
/* 3A154 8005ED54 0C017C48 */ jal nuScWaitTaskReady
/* 3A158 8005ED58 8FA40010 */ lw $a0, 0x10($sp)
/* 3A15C 8005ED5C 0C018250 */ jal osSetIntMask
/* 3A160 8005ED60 24040001 */ addiu $a0, $zero, 1
/* 3A164 8005ED64 8E030634 */ lw $v1, 0x634($s0)
/* 3A168 8005ED68 1060000C */ beqz $v1, .L8005ED9C
/* 3A16C 8005ED6C 0040202D */ daddu $a0, $v0, $zero
/* 3A170 8005ED70 8FA20010 */ lw $v0, 0x10($sp)
/* 3A174 8005ED74 0C018250 */ jal osSetIntMask
/* 3A178 8005ED78 AE020638 */ sw $v0, 0x638($s0)
/* 3A17C 8005ED7C 260400E0 */ addiu $a0, $s0, 0xe0
/* 3A180 8005ED80 27A50014 */ addiu $a1, $sp, 0x14
/* 3A184 8005ED84 0C0195BC */ jal osRecvMesg
/* 3A188 8005ED88 24060001 */ addiu $a2, $zero, 1
/* 3A18C 8005ED8C 0C018250 */ jal osSetIntMask
/* 3A190 8005ED90 24040001 */ addiu $a0, $zero, 1
/* 3A194 8005ED94 0040202D */ daddu $a0, $v0, $zero
/* 3A198 8005ED98 AE000638 */ sw $zero, 0x638($s0)
.L8005ED9C:
/* 3A19C 8005ED9C 0C018250 */ jal osSetIntMask
/* 3A1A0 8005EDA0 00000000 */ nop
/* 3A1A4 8005EDA4 0C018250 */ jal osSetIntMask
/* 3A1A8 8005EDA8 24040001 */ addiu $a0, $zero, 1
/* 3A1AC 8005EDAC 8FA30010 */ lw $v1, 0x10($sp)
/* 3A1B0 8005EDB0 0040202D */ daddu $a0, $v0, $zero
/* 3A1B4 8005EDB4 0C018250 */ jal osSetIntMask
/* 3A1B8 8005EDB8 AE030630 */ sw $v1, 0x630($s0)
/* 3A1BC 8005EDBC 8FA40010 */ lw $a0, 0x10($sp)
/* 3A1C0 8005EDC0 0C019684 */ jal osSpTaskLoad
/* 3A1C4 8005EDC4 24840010 */ addiu $a0, $a0, 0x10
/* 3A1C8 8005EDC8 8FA40010 */ lw $a0, 0x10($sp)
/* 3A1CC 8005EDCC 0C019707 */ jal osSpTaskStartGo
/* 3A1D0 8005EDD0 24840010 */ addiu $a0, $a0, 0x10
/* 3A1D4 8005EDD4 26040070 */ addiu $a0, $s0, 0x70
/* 3A1D8 8005EDD8 0220282D */ daddu $a1, $s1, $zero
/* 3A1DC 8005EDDC 0C0195BC */ jal osRecvMesg
/* 3A1E0 8005EDE0 24060001 */ addiu $a2, $zero, 1
/* 3A1E4 8005EDE4 0C018250 */ jal osSetIntMask
/* 3A1E8 8005EDE8 24040001 */ addiu $a0, $zero, 1
/* 3A1EC 8005EDEC 0040202D */ daddu $a0, $v0, $zero
/* 3A1F0 8005EDF0 0C018250 */ jal osSetIntMask
/* 3A1F4 8005EDF4 AE000630 */ sw $zero, 0x630($s0)
/* 3A1F8 8005EDF8 8FA20010 */ lw $v0, 0x10($sp)
/* 3A1FC 8005EDFC 8C420008 */ lw $v0, 8($v0)
/* 3A200 8005EE00 30420002 */ andi $v0, $v0, 2
/* 3A204 8005EE04 14400004 */ bnez $v0, .L8005EE18
/* 3A208 8005EE08 260400A8 */ addiu $a0, $s0, 0xa8
/* 3A20C 8005EE0C 0220282D */ daddu $a1, $s1, $zero
/* 3A210 8005EE10 0C0195BC */ jal osRecvMesg
/* 3A214 8005EE14 24060001 */ addiu $a2, $zero, 1
.L8005EE18:
/* 3A218 8005EE18 8FA50010 */ lw $a1, 0x10($sp)
/* 3A21C 8005EE1C 8CA40050 */ lw $a0, 0x50($a1)
/* 3A220 8005EE20 0C019608 */ jal osSendMesg
/* 3A224 8005EE24 24060001 */ addiu $a2, $zero, 1
/* 3A228 8005EE28 08017B4D */ j .L8005ED34
/* 3A22C 8005EE2C 0200202D */ daddu $a0, $s0, $zero

View File

@ -0,0 +1,79 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel nuScExecuteGraphics
/* 3A114 8005ED14 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3A118 8005ED18 AFB00018 */ sw $s0, 0x18($sp)
/* 3A11C 8005ED1C 3C10800E */ lui $s0, 0x800e
/* 3A120 8005ED20 2610A47C */ addiu $s0, $s0, -0x5b84
/* 3A124 8005ED24 AFB1001C */ sw $s1, 0x1c($sp)
/* 3A128 8005ED28 27B10014 */ addiu $s1, $sp, 0x14
/* 3A12C 8005ED2C AFBF0020 */ sw $ra, 0x20($sp)
/* 3A130 8005ED30 0200202D */ daddu $a0, $s0, $zero
.L8005ED34:
/* 3A134 8005ED34 27A50010 */ addiu $a1, $sp, 0x10
/* 3A138 8005ED38 0C0195BC */ jal osRecvMesg
/* 3A13C 8005ED3C 24060001 */ addiu $a2, $zero, 1
/* 3A140 8005ED40 3C02800A */ lui $v0, 0x800a
/* 3A144 8005ED44 9042A5B0 */ lbu $v0, -0x5a50($v0)
/* 3A148 8005ED48 30420002 */ andi $v0, $v0, 2
/* 3A14C 8005ED4C 14400032 */ bnez $v0, .L8005EE18
/* 3A150 8005ED50 00000000 */ nop
/* 3A154 8005ED54 0C017C48 */ jal nuScWaitTaskReady
/* 3A158 8005ED58 8FA40010 */ lw $a0, 0x10($sp)
/* 3A15C 8005ED5C 0C018250 */ jal osSetIntMask
/* 3A160 8005ED60 24040001 */ addiu $a0, $zero, 1
/* 3A164 8005ED64 8E030634 */ lw $v1, 0x634($s0)
/* 3A168 8005ED68 1060000C */ beqz $v1, .L8005ED9C
/* 3A16C 8005ED6C 0040202D */ daddu $a0, $v0, $zero
/* 3A170 8005ED70 8FA20010 */ lw $v0, 0x10($sp)
/* 3A174 8005ED74 0C018250 */ jal osSetIntMask
/* 3A178 8005ED78 AE020638 */ sw $v0, 0x638($s0)
/* 3A17C 8005ED7C 260400E0 */ addiu $a0, $s0, 0xe0
/* 3A180 8005ED80 27A50014 */ addiu $a1, $sp, 0x14
/* 3A184 8005ED84 0C0195BC */ jal osRecvMesg
/* 3A188 8005ED88 24060001 */ addiu $a2, $zero, 1
/* 3A18C 8005ED8C 0C018250 */ jal osSetIntMask
/* 3A190 8005ED90 24040001 */ addiu $a0, $zero, 1
/* 3A194 8005ED94 0040202D */ daddu $a0, $v0, $zero
/* 3A198 8005ED98 AE000638 */ sw $zero, 0x638($s0)
.L8005ED9C:
/* 3A19C 8005ED9C 0C018250 */ jal osSetIntMask
/* 3A1A0 8005EDA0 00000000 */ nop
/* 3A1A4 8005EDA4 0C018250 */ jal osSetIntMask
/* 3A1A8 8005EDA8 24040001 */ addiu $a0, $zero, 1
/* 3A1AC 8005EDAC 8FA30010 */ lw $v1, 0x10($sp)
/* 3A1B0 8005EDB0 0040202D */ daddu $a0, $v0, $zero
/* 3A1B4 8005EDB4 0C018250 */ jal osSetIntMask
/* 3A1B8 8005EDB8 AE030630 */ sw $v1, 0x630($s0)
/* 3A1BC 8005EDBC 8FA40010 */ lw $a0, 0x10($sp)
/* 3A1C0 8005EDC0 0C019684 */ jal osSpTaskLoad
/* 3A1C4 8005EDC4 24840010 */ addiu $a0, $a0, 0x10
/* 3A1C8 8005EDC8 8FA40010 */ lw $a0, 0x10($sp)
/* 3A1CC 8005EDCC 0C019707 */ jal osSpTaskStartGo
/* 3A1D0 8005EDD0 24840010 */ addiu $a0, $a0, 0x10
/* 3A1D4 8005EDD4 26040070 */ addiu $a0, $s0, 0x70
/* 3A1D8 8005EDD8 0220282D */ daddu $a1, $s1, $zero
/* 3A1DC 8005EDDC 0C0195BC */ jal osRecvMesg
/* 3A1E0 8005EDE0 24060001 */ addiu $a2, $zero, 1
/* 3A1E4 8005EDE4 0C018250 */ jal osSetIntMask
/* 3A1E8 8005EDE8 24040001 */ addiu $a0, $zero, 1
/* 3A1EC 8005EDEC 0040202D */ daddu $a0, $v0, $zero
/* 3A1F0 8005EDF0 0C018250 */ jal osSetIntMask
/* 3A1F4 8005EDF4 AE000630 */ sw $zero, 0x630($s0)
/* 3A1F8 8005EDF8 8FA20010 */ lw $v0, 0x10($sp)
/* 3A1FC 8005EDFC 8C420008 */ lw $v0, 8($v0)
/* 3A200 8005EE00 30420002 */ andi $v0, $v0, 2
/* 3A204 8005EE04 14400004 */ bnez $v0, .L8005EE18
/* 3A208 8005EE08 260400A8 */ addiu $a0, $s0, 0xa8
/* 3A20C 8005EE0C 0220282D */ daddu $a1, $s1, $zero
/* 3A210 8005EE10 0C0195BC */ jal osRecvMesg
/* 3A214 8005EE14 24060001 */ addiu $a2, $zero, 1
.L8005EE18:
/* 3A218 8005EE18 8FA50010 */ lw $a1, 0x10($sp)
/* 3A21C 8005EE1C 8CA40050 */ lw $a0, 0x50($a1)
/* 3A220 8005EE20 0C019608 */ jal osSendMesg
/* 3A224 8005EE24 24060001 */ addiu $a2, $zero, 1
/* 3A228 8005EE28 08017B4D */ j .L8005ED34
/* 3A22C 8005EE2C 0200202D */ daddu $a0, $s0, $zero

View File

@ -1,7 +1,7 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osMotorAccess
glabel __osMotorAccess
/* 43200 80067E00 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 43204 80067E04 AFB10014 */ sw $s1, 0x14($sp)
/* 43208 80067E08 00808821 */ addu $s1, $a0, $zero
@ -20,6 +20,7 @@ glabel osMotorAccess
/* 4323C 80067E3C 00449021 */ addu $s2, $v0, $a0
/* 43240 80067E40 08019FCA */ j .L80067F28
/* 43244 80067E44 24020005 */ addiu $v0, $zero, 5
.L80067E48:
/* 43248 80067E48 0C019771 */ jal osSiGetAccess
/* 4324C 80067E4C 00000000 */ nop

1052
include/nu/nusys.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -96,6 +96,10 @@ extern s16 D_800A0944;
extern s32 gGameState;
extern s32 D_8009A650[1];
extern u16 D_8009A6A0;
extern u16 D_8009A6A2;
extern u16 D_8009A6A4;
extern u16 D_8009A6A6;
// curtains
extern f32 D_8009BA90;
@ -115,6 +119,9 @@ extern UNK_TYPE D_80108558;
extern UNK_TYPE D_8010F250; // play_sound state struct?
extern s8 D_8010EBB0[];
//nusys
extern OSPiHandle* carthandle;
extern SaveData gCurrentSaveFile;
extern s32 D_802D9CA4;

View File

@ -8,9 +8,11 @@ INCLUDE_ASM(s32, "code_10400_len_d30", func_800351C8);
INCLUDE_ASM(s32, "code_10400_len_d30", func_800354EC);
INCLUDE_ASM(s32, "code_10400_len_d30", func_800355C4);
void func_800355C4(void) {
}
INCLUDE_ASM(s32, "code_10400_len_d30", func_800355CC);
void func_800355CC(void) {
}
INCLUDE_ASM(s32, "code_10400_len_d30", func_800355D4);
@ -20,6 +22,7 @@ INCLUDE_ASM(s32, "code_10400_len_d30", func_80035704);
INCLUDE_ASM(s32, "code_10400_len_d30", func_80035B40);
INCLUDE_ASM(s32, "code_10400_len_d30", func_80035D18);
void func_80035D18(void) {
}
INCLUDE_ASM(s32, "code_10400_len_d30", func_80035D20);

View File

@ -8,7 +8,8 @@ INCLUDE_ASM(s32, "code_107830_len_e70", func_802E6118);
INCLUDE_ASM(s32, "code_107830_len_e70", func_802E6178);
INCLUDE_ASM(s32, "code_107830_len_e70", func_802E6194);
void func_802E6194(void) {
}
INCLUDE_ASM(s32, "code_107830_len_e70", func_802E619C);

View File

@ -8,7 +8,8 @@ INCLUDE_ASM(s32, "code_121f0_len_1290", func_800375A4);
INCLUDE_ASM(s32, "code_121f0_len_1290", func_80037638);
INCLUDE_ASM(s32, "code_121f0_len_1290", func_80037960);
void func_80037960(void) {
}
INCLUDE_ASM(s32, "code_121f0_len_1290", func_80037968);

View File

@ -34,7 +34,8 @@ INCLUDE_ASM(s32, "code_135EE0", pause_interp_vertical_scroll);
INCLUDE_ASM(s32, "code_135EE0", pause_update_cursor);
INCLUDE_ASM(s32, "code_135EE0", func_80243568);
void func_80243568(void) {
}
INCLUDE_ASM(s32, "code_135EE0", pause_textbox_draw_contents);
@ -103,7 +104,9 @@ INCLUDE_ASM(s32, "code_135EE0", pause_badges_is_visible);
INCLUDE_ASM(s32, "code_135EE0", pause_badges_scroll_offset_y);
INCLUDE_ASM(s32, "code_135EE0", pause_badges_scroll_offset_x);
s32 pause_badges_scroll_offset_x(s32 x) {
return x;
}
INCLUDE_ASM(s32, "code_135EE0", pause_badges_try_remove);

View File

@ -95,7 +95,8 @@ INCLUDE_ASM(s32, "code_13870_len_6980", func_8003B184);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003B198);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003B1A8);
void func_8003B1A8(void) {
}
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003B1B0);
@ -133,9 +134,11 @@ INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C53C);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C61C);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C658);
void func_8003C658(void) {
}
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C660);
void func_8003C660(void) {
}
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C668);
@ -143,7 +146,8 @@ INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C78C);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C7A8);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C8AC);
void func_8003C8AC(void) {
}
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003C8B4);
@ -159,7 +163,8 @@ INCLUDE_ASM(s32, "code_13870_len_6980", func_8003CC8C);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003CCB0);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003CFA0);
void func_8003CFA0(void) {
}
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003CFA8);
@ -195,7 +200,8 @@ INCLUDE_ASM(s32, "code_13870_len_6980", func_8003E338);
INCLUDE_ASM(s32, "code_13870_len_6980", clear_encounter_status);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003E50C);
void func_8003E50C(void) {
}
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003E514);
@ -205,7 +211,8 @@ INCLUDE_ASM(s32, "code_13870_len_6980", func_8003E5B0);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003E63C);
INCLUDE_ASM(s32, "code_13870_len_6980", func_8003E670);
void func_8003E670(void) {
}
INCLUDE_ASM(s32, "code_13870_len_6980", make_npcs);

View File

@ -6,9 +6,11 @@ INCLUDE_ASM(s32, "code_168590", func_80247FD0);
INCLUDE_ASM(s32, "code_168590", func_80248024);
INCLUDE_ASM(s32, "code_168590", func_80248160);
void func_80248160(void) {
}
INCLUDE_ASM(s32, "code_168590", func_80248168);
void func_80248168(void) {
}
INCLUDE_ASM(s32, "code_168590", func_80248170);
@ -20,6 +22,7 @@ INCLUDE_ASM(s32, "code_168590", func_80248A80);
INCLUDE_ASM(s32, "code_168590", func_80248BF4);
INCLUDE_ASM(s32, "code_168590", func_80249324);
void func_80249324(void) {
}
INCLUDE_ASM(s32, "code_168590", func_8024932C);

View File

@ -8,7 +8,8 @@ INCLUDE_ASM(s32, "code_16c8e0", func_8023E11C);
INCLUDE_ASM(s32, "code_16c8e0", initialize_battle);
INCLUDE_ASM(s32, "code_16c8e0", func_8023E3FC);
void func_8023E3FC(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_actor_shadows);
@ -48,47 +49,58 @@ INCLUDE_ASM(s32, "code_16c8e0", func_80241AB8);
INCLUDE_ASM(s32, "code_16c8e0", func_80241B14);
INCLUDE_ASM(s32, "code_16c8e0", func_8024201C);
void func_8024201C(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_heroes_start_turn);
INCLUDE_ASM(s32, "code_16c8e0", func_80242AC0);
void func_80242AC0(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", switch_to_player);
INCLUDE_ASM(s32, "code_16c8e0", func_80242BA8);
void func_80242BA8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_end_player_turn);
INCLUDE_ASM(s32, "code_16c8e0", func_80242EF8);
void func_80242EF8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", switch_to_partner);
INCLUDE_ASM(s32, "code_16c8e0", func_80242FD8);
void func_80242FD8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80242FE0);
INCLUDE_ASM(s32, "code_16c8e0", func_80243910);
void func_80243910(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", switch_order);
INCLUDE_ASM(s32, "code_16c8e0", func_802439D0);
void func_802439D0(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_802439D8);
INCLUDE_ASM(s32, "code_16c8e0", func_80243FD4);
void func_80243FD4(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80243FDC);
INCLUDE_ASM(s32, "code_16c8e0", func_80244000);
void func_80244000(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80244008);
INCLUDE_ASM(s32, "code_16c8e0", func_80244708);
void func_80244708(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80244710);
INCLUDE_ASM(s32, "code_16c8e0", func_80244A48);
void func_80244A48(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", end_battle);
@ -96,15 +108,18 @@ INCLUDE_ASM(s32, "code_16c8e0", func_80244D90);
INCLUDE_ASM(s32, "code_16c8e0", func_80244E38);
INCLUDE_ASM(s32, "code_16c8e0", func_80244EF8);
void func_80244EF8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_run_away);
INCLUDE_ASM(s32, "code_16c8e0", func_80245438);
void func_80245438(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80245440);
INCLUDE_ASM(s32, "code_16c8e0", func_802456B0);
void func_802456B0(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", EnablePartnerBlur);
@ -112,31 +127,38 @@ INCLUDE_ASM(s32, "code_16c8e0", DisablePartnerBlur);
INCLUDE_ASM(s32, "code_16c8e0", update_swap_partner);
INCLUDE_ASM(s32, "code_16c8e0", func_80245AC8);
void func_80245AC8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_player_action);
INCLUDE_ASM(s32, "code_16c8e0", func_80246448);
void func_80246448(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_player_change_turn);
INCLUDE_ASM(s32, "code_16c8e0", func_80246B2C_code);
void func_80246B2C_code(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_partner_action);
INCLUDE_ASM(s32, "code_16c8e0", func_80247214);
void func_80247214(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8024721C);
INCLUDE_ASM(s32, "code_16c8e0", func_802472A4);
void func_802472A4(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_enemy_change_turn);
INCLUDE_ASM(s32, "code_16c8e0", func_80247568);
void func_80247568(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", update_enemy_action);
INCLUDE_ASM(s32, "code_16c8e0", func_80247AFC);
void func_80247AFC(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80247B04);
@ -432,7 +454,8 @@ INCLUDE_ASM(s32, "code_16c8e0", update_enemy_shadows);
INCLUDE_ASM(s32, "code_16c8e0", update_hero_shadows);
INCLUDE_ASM(s32, "code_16c8e0", func_80255FD8);
void func_80255FD8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_80255FE0);
@ -504,9 +527,11 @@ INCLUDE_ASM(s32, "code_16c8e0", func_8025CEC8);
INCLUDE_ASM(s32, "code_16c8e0", _remove_part_decoration);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D150);
void func_8025D150(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025D158);
void func_8025D158(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025D160);
@ -514,7 +539,8 @@ INCLUDE_ASM(s32, "code_16c8e0", func_8025D290);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D2B0);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D3C4);
void func_8025D3C4(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025D3CC);
@ -538,11 +564,13 @@ INCLUDE_ASM(s32, "code_16c8e0", func_8025D8EC);
INCLUDE_ASM(s32, "code_16c8e0", func_8025D90C);
INCLUDE_ASM(s32, "code_16c8e0", func_8025DA60);
void func_8025DA60(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025DA68);
INCLUDE_ASM(s32, "code_16c8e0", func_8025DBC8);
void func_8025DBC8(void) {
}
INCLUDE_ASM(s32, "code_16c8e0", func_8025DBD0);

View File

@ -76,7 +76,8 @@ INCLUDE_ASM(s32, "code_26840_len_20d0", func_8004D2E4);
INCLUDE_ASM(s32, "code_26840_len_20d0", func_8004D310);
INCLUDE_ASM(s32, "code_26840_len_20d0", func_8004D31C);
void func_8004D31C(void) {
}
INCLUDE_ASM(s32, "code_26840_len_20d0", func_8004D324);

View File

@ -110,7 +110,8 @@ INCLUDE_ASM(s32, "code_28910_len_5090", func_800501A8);
INCLUDE_ASM(s32, "code_28910_len_5090", func_800502F0);
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050560);
void func_80050560(void) {
}
INCLUDE_ASM(s32, "code_28910_len_5090", func_80050568);

View File

@ -18,13 +18,15 @@ INCLUDE_ASM(s32, "code_341d0_len_20d0", func_80059AB8);
INCLUDE_ASM(s32, "code_341d0_len_20d0", func_80059BD4);
INCLUDE_ASM(s32, "code_341d0_len_20d0", func_80059C80);
void func_80059C80(void) {
}
INCLUDE_ASM(s32, "code_341d0_len_20d0", func_80059C88);
INCLUDE_ASM(s32, "code_341d0_len_20d0", func_80059C9C);
INCLUDE_ASM(s32, "code_341d0_len_20d0", func_80059D48);
void func_80059D48(void) {
}
INCLUDE_ASM(s32, "code_341d0_len_20d0", func_80059D50);

View File

@ -2,9 +2,11 @@
INCLUDE_ASM(s32, "code_362a0_len_2f70", allocate_hit_tables);
INCLUDE_ASM(s32, "code_362a0_len_2f70", func_8005AF84);
void func_8005AF84(void) {
}
INCLUDE_ASM(s32, "code_362a0_len_2f70", func_8005AF8C);
void func_8005AF8C(void) {
}
INCLUDE_ASM(s32, "code_362a0_len_2f70", initialize_collision);

View File

@ -24,6 +24,12 @@ void func_800287F0(void) {
}
}
INCLUDE_ASM(s32, "code_3bf0_len_6f0", func_80028838);
void func_80028838(void) {
func_800287F0();
D_8009A6A0 = 0;
D_8009A6A2 = 0;
D_8009A6A4 = 0;
D_8009A6A6 = 0;
}
INCLUDE_ASM(s32, "code_3bf0_len_6f0", update_input);

View File

@ -11,7 +11,9 @@ INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA4B0);
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA514);
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA524);
s32 func_800EA524(void) {
return 1;
}
INCLUDE_ASM(s32, "code_838b0_len_5900", func_800EA52C);

View File

@ -1,6 +1,7 @@
#include "common.h"
INCLUDE_ASM(s32, "code_891b0_len_fb0", func_800EFD00);
void func_800EFD00(void) {
}
INCLUDE_ASM(s32, "code_891b0_len_fb0", func_800EFD08);

View File

@ -151,7 +151,8 @@ INCLUDE_ASM(s32, "code_a5dd0_len_114e0", set_peach_shadow_scale);
INCLUDE_ASM(s32, "code_a5dd0_len_114e0", func_80112B20);
INCLUDE_ASM(s32, "code_a5dd0_len_114e0", NOP_state);
void NOP_state(void) {
}
INCLUDE_ASM(s32, "code_a5dd0_len_114e0", func_80112B98);

View File

@ -10,7 +10,8 @@ INCLUDE_ASM(s32, "code_ad90_len_2880", func_80030210);
INCLUDE_ASM(s32, "code_ad90_len_2880", func_8003034C);
INCLUDE_ASM(s32, "code_ad90_len_2880", func_80030450);
void func_80030450(void) {
}
INCLUDE_ASM(s32, "code_ad90_len_2880", test_ray_zone_aabb);

View File

@ -58,7 +58,8 @@ INCLUDE_ASM(s32, "code_b72b0_len_15ed0", get_entity_fog_distance);
INCLUDE_ASM(s32, "code_b72b0_len_15ed0", get_entity_fog_color);
INCLUDE_ASM(s32, "code_b72b0_len_15ed0", stub_dynamic_entity_delegate);
void stub_dynamic_entity_delegate(void) {
}
INCLUDE_ASM(s32, "code_b72b0_len_15ed0", clear_dynamic_entity_list);
@ -250,11 +251,14 @@ INCLUDE_ASM(s32, "code_b72b0_len_15ed0", func_8013559C);
INCLUDE_ASM(s32, "code_b72b0_len_15ed0", update_item_entity_static);
INCLUDE_ASM(s32, "code_b72b0_len_15ed0", func_801356C4);
void func_801356C4(void) {
}
INCLUDE_ASM(s32, "code_b72b0_len_15ed0", func_801356CC);
void func_801356CC(void) {
}
INCLUDE_ASM(s32, "code_b72b0_len_15ed0", func_801356D4);
void func_801356D4(void) {
}
INCLUDE_ASM(s32, "code_b72b0_len_15ed0", update_item_entity_temp);

View File

@ -20,7 +20,8 @@ INCLUDE_ASM(s32, "code_cd180_len_38f0", func_80138108);
INCLUDE_ASM(s32, "code_cd180_len_38f0", func_80138188);
INCLUDE_ASM(s32, "code_cd180_len_38f0", func_80138198);
void func_80138198(void) {
}
INCLUDE_ASM(s32, "code_cd180_len_38f0", func_801381A0);

View File

@ -14,7 +14,8 @@ INCLUDE_ASM(s32, "code_d610_len_1330", func_80032C64);
INCLUDE_ASM(s32, "code_d610_len_1330", func_80033394);
INCLUDE_ASM(s32, "code_d610_len_1330", func_800334E8);
void func_800334E8(void) {
}
INCLUDE_ASM(s32, "code_d610_len_1330", set_game_mode);

View File

@ -12,7 +12,8 @@ INCLUDE_ASM(s32, "code_f270_len_1190", begin_state_pause_menu);
INCLUDE_ASM(s32, "code_f270_len_1190", step_pause_menu);
INCLUDE_ASM(s32, "code_f270_len_1190", func_80034BF4);
void func_80034BF4(void) {
}
INCLUDE_ASM(s32, "code_f270_len_1190", func_80034BFC);

View File

@ -56,7 +56,9 @@ INCLUDE_ASM(s32, "code_fee30_len_2d60", func_802DD8F8);
INCLUDE_ASM(s32, "code_fee30_len_2d60", func_802DDA60);
INCLUDE_ASM(s32, "code_fee30_len_2d60", func_802DDA84);
s32 func_802DDA84(void) {
return 0;
}
INCLUDE_ASM(s32, "code_fee30_len_2d60", func_802DDA8C);

View File

@ -1,25 +0,0 @@
#include "common.h"
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScCreateScheduler);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScExecuteAudio);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScAddClient);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScRemoveClient);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScResetClientMesgType);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScGetGfxMQ);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScGetAudioMQ);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScSetFrameBufferNum);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScGetFrameRate);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScEventHandler);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScEventBroadcast);
INCLUDE_ASM(s32, "os/code_39db0_len_8a0", nuScWaitTaskReady);

View File

@ -1,3 +0,0 @@
#include "common.h"
INCLUDE_ASM(s32, "os/code_3a650_len_40", nuGfxFuncSet);

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