Odds and Ends (#189)

* fixing segment

* redoing subtree

* git subrepo clone https://github.com/ethteck/splat.git tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "99cf514297"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "99cf514297"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* fix symbol_addrs

* sweet victory

* reformat collision_main_lateral.s

* Lots of matches, fixed diff.py issue, improved coverage.py

* some more

* update symbol_addrs

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "c46026725a"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "c46026725a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* update symbol_addrs

* fix disasm

* 2 mo

* Jenkinsfile

* PR comments

* check_input_status_menu, removing some macros

* a few funcs

* assist updates

* UnkAlphaFunc

* UnkPartnerPosFuncs

* Deleting stuff

* oopz

* dead_syms.txt, UnkNpcAIFunc14

* update symbol_addrs

* cleanup

* symbol_addrs

* cleanup
This commit is contained in:
Ethan Roseman 2021-02-20 09:41:30 -05:00 committed by GitHub
parent ee7f09bb2b
commit 6d66d5fedb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
323 changed files with 855 additions and 6529 deletions

View File

@ -40,6 +40,7 @@
"string_view": "c",
"initializer_list": "c",
"ranges": "c",
"regex": "c"
"regex": "c",
"variant": "c"
},
}

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219F5C_6A115C
/* 6A115C 80219F5C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6A1160 80219F60 AFB20018 */ sw $s2, 0x18($sp)
/* 6A1164 80219F64 0080902D */ daddu $s2, $a0, $zero
/* 6A1168 80219F68 AFBF001C */ sw $ra, 0x1c($sp)
/* 6A116C 80219F6C AFB10014 */ sw $s1, 0x14($sp)
/* 6A1170 80219F70 AFB00010 */ sw $s0, 0x10($sp)
/* 6A1174 80219F74 8E50000C */ lw $s0, 0xc($s2)
/* 6A1178 80219F78 8E050000 */ lw $a1, ($s0)
/* 6A117C 80219F7C 0C0B1EAF */ jal get_variable
/* 6A1180 80219F80 26100004 */ addiu $s0, $s0, 4
/* 6A1184 80219F84 0C04C3D6 */ jal get_item_entity
/* 6A1188 80219F88 0040202D */ daddu $a0, $v0, $zero
/* 6A118C 80219F8C 8E050000 */ lw $a1, ($s0)
/* 6A1190 80219F90 26100004 */ addiu $s0, $s0, 4
/* 6A1194 80219F94 0040882D */ daddu $s1, $v0, $zero
/* 6A1198 80219F98 C6200008 */ lwc1 $f0, 8($s1)
/* 6A119C 80219F9C 4600008D */ trunc.w.s $f2, $f0
/* 6A11A0 80219FA0 44061000 */ mfc1 $a2, $f2
/* 6A11A4 80219FA4 0C0B2026 */ jal set_variable
/* 6A11A8 80219FA8 0240202D */ daddu $a0, $s2, $zero
/* 6A11AC 80219FAC 8E050000 */ lw $a1, ($s0)
/* 6A11B0 80219FB0 26100004 */ addiu $s0, $s0, 4
/* 6A11B4 80219FB4 C620000C */ lwc1 $f0, 0xc($s1)
/* 6A11B8 80219FB8 4600008D */ trunc.w.s $f2, $f0
/* 6A11BC 80219FBC 44061000 */ mfc1 $a2, $f2
/* 6A11C0 80219FC0 0C0B2026 */ jal set_variable
/* 6A11C4 80219FC4 0240202D */ daddu $a0, $s2, $zero
/* 6A11C8 80219FC8 C6200010 */ lwc1 $f0, 0x10($s1)
/* 6A11CC 80219FCC 8E050000 */ lw $a1, ($s0)
/* 6A11D0 80219FD0 4600008D */ trunc.w.s $f2, $f0
/* 6A11D4 80219FD4 44061000 */ mfc1 $a2, $f2
/* 6A11D8 80219FD8 0C0B2026 */ jal set_variable
/* 6A11DC 80219FDC 0240202D */ daddu $a0, $s2, $zero
/* 6A11E0 80219FE0 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A11E4 80219FE4 8FB20018 */ lw $s2, 0x18($sp)
/* 6A11E8 80219FE8 8FB10014 */ lw $s1, 0x14($sp)
/* 6A11EC 80219FEC 8FB00010 */ lw $s0, 0x10($sp)
/* 6A11F0 80219FF0 24020002 */ addiu $v0, $zero, 2
/* 6A11F4 80219FF4 03E00008 */ jr $ra
/* 6A11F8 80219FF8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021B314_6A2514
/* 6A2514 8021B314 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6A2518 8021B318 AFB20018 */ sw $s2, 0x18($sp)
/* 6A251C 8021B31C 0080902D */ daddu $s2, $a0, $zero
/* 6A2520 8021B320 AFBF001C */ sw $ra, 0x1c($sp)
/* 6A2524 8021B324 AFB10014 */ sw $s1, 0x14($sp)
/* 6A2528 8021B328 AFB00010 */ sw $s0, 0x10($sp)
/* 6A252C 8021B32C 8E50000C */ lw $s0, 0xc($s2)
/* 6A2530 8021B330 8E050000 */ lw $a1, ($s0)
/* 6A2534 8021B334 0C0B1EAF */ jal get_variable
/* 6A2538 8021B338 26100004 */ addiu $s0, $s0, 4
/* 6A253C 8021B33C 0C04C3D6 */ jal get_item_entity
/* 6A2540 8021B340 0040202D */ daddu $a0, $v0, $zero
/* 6A2544 8021B344 8E050000 */ lw $a1, ($s0)
/* 6A2548 8021B348 26100004 */ addiu $s0, $s0, 4
/* 6A254C 8021B34C 0040882D */ daddu $s1, $v0, $zero
/* 6A2550 8021B350 C6200008 */ lwc1 $f0, 8($s1)
/* 6A2554 8021B354 4600008D */ trunc.w.s $f2, $f0
/* 6A2558 8021B358 44061000 */ mfc1 $a2, $f2
/* 6A255C 8021B35C 0C0B2026 */ jal set_variable
/* 6A2560 8021B360 0240202D */ daddu $a0, $s2, $zero
/* 6A2564 8021B364 8E050000 */ lw $a1, ($s0)
/* 6A2568 8021B368 26100004 */ addiu $s0, $s0, 4
/* 6A256C 8021B36C C620000C */ lwc1 $f0, 0xc($s1)
/* 6A2570 8021B370 4600008D */ trunc.w.s $f2, $f0
/* 6A2574 8021B374 44061000 */ mfc1 $a2, $f2
/* 6A2578 8021B378 0C0B2026 */ jal set_variable
/* 6A257C 8021B37C 0240202D */ daddu $a0, $s2, $zero
/* 6A2580 8021B380 C6200010 */ lwc1 $f0, 0x10($s1)
/* 6A2584 8021B384 8E050000 */ lw $a1, ($s0)
/* 6A2588 8021B388 4600008D */ trunc.w.s $f2, $f0
/* 6A258C 8021B38C 44061000 */ mfc1 $a2, $f2
/* 6A2590 8021B390 0C0B2026 */ jal set_variable
/* 6A2594 8021B394 0240202D */ daddu $a0, $s2, $zero
/* 6A2598 8021B398 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A259C 8021B39C 8FB20018 */ lw $s2, 0x18($sp)
/* 6A25A0 8021B3A0 8FB10014 */ lw $s1, 0x14($sp)
/* 6A25A4 8021B3A4 8FB00010 */ lw $s0, 0x10($sp)
/* 6A25A8 8021B3A8 24020002 */ addiu $v0, $zero, 2
/* 6A25AC 8021B3AC 03E00008 */ jr $ra
/* 6A25B0 8021B3B0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A98_513068
/* 513068 80218A98 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 51306C 80218A9C AFB20018 */ sw $s2, 0x18($sp)
/* 513070 80218AA0 0080902D */ daddu $s2, $a0, $zero
/* 513074 80218AA4 AFBF001C */ sw $ra, 0x1c($sp)
/* 513078 80218AA8 AFB10014 */ sw $s1, 0x14($sp)
/* 51307C 80218AAC AFB00010 */ sw $s0, 0x10($sp)
/* 513080 80218AB0 8E50000C */ lw $s0, 0xc($s2)
/* 513084 80218AB4 8E050000 */ lw $a1, ($s0)
/* 513088 80218AB8 0C0B1EAF */ jal get_variable
/* 51308C 80218ABC 26100004 */ addiu $s0, $s0, 4
/* 513090 80218AC0 0C04C3D6 */ jal get_item_entity
/* 513094 80218AC4 0040202D */ daddu $a0, $v0, $zero
/* 513098 80218AC8 8E050000 */ lw $a1, ($s0)
/* 51309C 80218ACC 26100004 */ addiu $s0, $s0, 4
/* 5130A0 80218AD0 0040882D */ daddu $s1, $v0, $zero
/* 5130A4 80218AD4 C6200008 */ lwc1 $f0, 8($s1)
/* 5130A8 80218AD8 4600008D */ trunc.w.s $f2, $f0
/* 5130AC 80218ADC 44061000 */ mfc1 $a2, $f2
/* 5130B0 80218AE0 0C0B2026 */ jal set_variable
/* 5130B4 80218AE4 0240202D */ daddu $a0, $s2, $zero
/* 5130B8 80218AE8 8E050000 */ lw $a1, ($s0)
/* 5130BC 80218AEC 26100004 */ addiu $s0, $s0, 4
/* 5130C0 80218AF0 C620000C */ lwc1 $f0, 0xc($s1)
/* 5130C4 80218AF4 4600008D */ trunc.w.s $f2, $f0
/* 5130C8 80218AF8 44061000 */ mfc1 $a2, $f2
/* 5130CC 80218AFC 0C0B2026 */ jal set_variable
/* 5130D0 80218B00 0240202D */ daddu $a0, $s2, $zero
/* 5130D4 80218B04 C6200010 */ lwc1 $f0, 0x10($s1)
/* 5130D8 80218B08 8E050000 */ lw $a1, ($s0)
/* 5130DC 80218B0C 4600008D */ trunc.w.s $f2, $f0
/* 5130E0 80218B10 44061000 */ mfc1 $a2, $f2
/* 5130E4 80218B14 0C0B2026 */ jal set_variable
/* 5130E8 80218B18 0240202D */ daddu $a0, $s2, $zero
/* 5130EC 80218B1C 8FBF001C */ lw $ra, 0x1c($sp)
/* 5130F0 80218B20 8FB20018 */ lw $s2, 0x18($sp)
/* 5130F4 80218B24 8FB10014 */ lw $s1, 0x14($sp)
/* 5130F8 80218B28 8FB00010 */ lw $s0, 0x10($sp)
/* 5130FC 80218B2C 24020002 */ addiu $v0, $zero, 2
/* 513100 80218B30 03E00008 */ jr $ra
/* 513104 80218B34 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,78 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel check_input_status_menu
/* 8073C 800E728C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 80740 800E7290 0000202D */ daddu $a0, $zero, $zero
/* 80744 800E7294 3C05F5DE */ lui $a1, 0xf5de
/* 80748 800E7298 34A50180 */ ori $a1, $a1, 0x180
/* 8074C 800E729C AFBF0018 */ sw $ra, 0x18($sp)
/* 80750 800E72A0 AFB10014 */ sw $s1, 0x14($sp)
/* 80754 800E72A4 0C0B1EAF */ jal get_variable
/* 80758 800E72A8 AFB00010 */ sw $s0, 0x10($sp)
/* 8075C 800E72AC 3C118011 */ lui $s1, %hi(gPlayerStatus)
/* 80760 800E72B0 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
/* 80764 800E72B4 28420060 */ slti $v0, $v0, 0x60
/* 80768 800E72B8 10400031 */ beqz $v0, .L800E7380
/* 8076C 800E72BC 24020021 */ addiu $v0, $zero, 0x21
/* 80770 800E72C0 822300B4 */ lb $v1, 0xb4($s1)
/* 80774 800E72C4 10620003 */ beq $v1, $v0, .L800E72D4
/* 80778 800E72C8 00000000 */ nop
/* 8077C 800E72CC 08039CB8 */ j .L800E72E0
/* 80780 800E72D0 8E3000E0 */ lw $s0, 0xe0($s1)
.L800E72D4:
/* 80784 800E72D4 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 80788 800E72D8 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 8078C 800E72DC 8C500010 */ lw $s0, 0x10($v0)
.L800E72E0:
/* 80790 800E72E0 0C03A644 */ jal is_status_menu_visible
/* 80794 800E72E4 00000000 */ nop
/* 80798 800E72E8 14400013 */ bnez $v0, .L800E7338
/* 8079C 800E72EC 00000000 */ nop
/* 807A0 800E72F0 8E2200DC */ lw $v0, 0xdc($s1)
/* 807A4 800E72F4 30422010 */ andi $v0, $v0, 0x2010
/* 807A8 800E72F8 14400021 */ bnez $v0, .L800E7380
/* 807AC 800E72FC 32020008 */ andi $v0, $s0, 8
/* 807B0 800E7300 1040001F */ beqz $v0, .L800E7380
/* 807B4 800E7304 00000000 */ nop
/* 807B8 800E7308 0C03A618 */ jal func_800E9860
/* 807BC 800E730C 00000000 */ nop
/* 807C0 800E7310 1040001B */ beqz $v0, .L800E7380
/* 807C4 800E7314 00000000 */ nop
/* 807C8 800E7318 0C03A5D8 */ jal open_status_menu_long
/* 807CC 800E731C 00000000 */ nop
/* 807D0 800E7320 0C04D07A */ jal is_picking_up_item
/* 807D4 800E7324 00000000 */ nop
/* 807D8 800E7328 14400015 */ bnez $v0, .L800E7380
/* 807DC 800E732C 24040003 */ addiu $a0, $zero, 3
/* 807E0 800E7330 08039CDE */ j .L800E7378
/* 807E4 800E7334 00000000 */ nop
.L800E7338:
/* 807E8 800E7338 8E2200DC */ lw $v0, 0xdc($s1)
/* 807EC 800E733C 30422010 */ andi $v0, $v0, 0x2010
/* 807F0 800E7340 1440000F */ bnez $v0, .L800E7380
/* 807F4 800E7344 32020008 */ andi $v0, $s0, 8
/* 807F8 800E7348 1040000D */ beqz $v0, .L800E7380
/* 807FC 800E734C 00000000 */ nop
/* 80800 800E7350 0C03A618 */ jal func_800E9860
/* 80804 800E7354 00000000 */ nop
/* 80808 800E7358 10400009 */ beqz $v0, .L800E7380
/* 8080C 800E735C 00000000 */ nop
/* 80810 800E7360 0C03A5EE */ jal close_status_menu
/* 80814 800E7364 00000000 */ nop
/* 80818 800E7368 0C04D07A */ jal is_picking_up_item
/* 8081C 800E736C 00000000 */ nop
/* 80820 800E7370 14400003 */ bnez $v0, .L800E7380
/* 80824 800E7374 24040004 */ addiu $a0, $zero, 4
.L800E7378:
/* 80828 800E7378 0C05272D */ jal play_sound
/* 8082C 800E737C 00000000 */ nop
.L800E7380:
/* 80830 800E7380 8FBF0018 */ lw $ra, 0x18($sp)
/* 80834 800E7384 8FB10014 */ lw $s1, 0x14($sp)
/* 80838 800E7388 8FB00010 */ lw $s0, 0x10($sp)
/* 8083C 800E738C 03E00008 */ jr $ra
/* 80840 800E7390 27BD0020 */ addiu $sp, $sp, 0x20
/* 80844 800E7394 00000000 */ nop
/* 80848 800E7398 00000000 */ nop
/* 8084C 800E739C 00000000 */ nop

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240C78_ECA978
/* ECA978 80240C78 27BDFFE0 */ addiu $sp, $sp, -0x20
/* ECA97C 80240C7C AFBF0018 */ sw $ra, 0x18($sp)
/* ECA980 80240C80 0C00F94D */ jal func_8003E534
/* ECA984 80240C84 2404FFFC */ addiu $a0, $zero, -4
/* ECA988 80240C88 3C0141F0 */ lui $at, 0x41f0
/* ECA98C 80240C8C 44810000 */ mtc1 $at, $f0
/* ECA990 80240C90 C442003C */ lwc1 $f2, 0x3c($v0)
/* ECA994 80240C94 46001080 */ add.s $f2, $f2, $f0
/* ECA998 80240C98 E7A00010 */ swc1 $f0, 0x10($sp)
/* ECA99C 80240C9C 8C450038 */ lw $a1, 0x38($v0)
/* ECA9A0 80240CA0 8C470040 */ lw $a3, 0x40($v0)
/* ECA9A4 80240CA4 44061000 */ mfc1 $a2, $f2
/* ECA9A8 80240CA8 0C01D45C */ jal func_80075170
/* ECA9AC 80240CAC 24040002 */ addiu $a0, $zero, 2
/* ECA9B0 80240CB0 8FBF0018 */ lw $ra, 0x18($sp)
/* ECA9B4 80240CB4 24020002 */ addiu $v0, $zero, 2
/* ECA9B8 80240CB8 03E00008 */ jr $ra
/* ECA9BC 80240CBC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240CC0_ECA9C0
/* ECA9C0 80240CC0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* ECA9C4 80240CC4 AFBF0018 */ sw $ra, 0x18($sp)
/* ECA9C8 80240CC8 0C00F94D */ jal func_8003E534
/* ECA9CC 80240CCC 2404FFFC */ addiu $a0, $zero, -4
/* ECA9D0 80240CD0 3C0141F0 */ lui $at, 0x41f0
/* ECA9D4 80240CD4 44810000 */ mtc1 $at, $f0
/* ECA9D8 80240CD8 C442003C */ lwc1 $f2, 0x3c($v0)
/* ECA9DC 80240CDC 46001080 */ add.s $f2, $f2, $f0
/* ECA9E0 80240CE0 E7A00010 */ swc1 $f0, 0x10($sp)
/* ECA9E4 80240CE4 8C450038 */ lw $a1, 0x38($v0)
/* ECA9E8 80240CE8 8C470040 */ lw $a3, 0x40($v0)
/* ECA9EC 80240CEC 44061000 */ mfc1 $a2, $f2
/* ECA9F0 80240CF0 0C01D45C */ jal func_80075170
/* ECA9F4 80240CF4 24040004 */ addiu $a0, $zero, 4
/* ECA9F8 80240CF8 8FBF0018 */ lw $ra, 0x18($sp)
/* ECA9FC 80240CFC 24020002 */ addiu $v0, $zero, 2
/* ECAA00 80240D00 03E00008 */ jr $ra
/* ECAA04 80240D04 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240FE0_ED0FD0
/* ED0FD0 80240FE0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* ED0FD4 80240FE4 AFB3001C */ sw $s3, 0x1c($sp)
/* ED0FD8 80240FE8 0080982D */ daddu $s3, $a0, $zero
/* ED0FDC 80240FEC AFBF0020 */ sw $ra, 0x20($sp)
/* ED0FE0 80240FF0 AFB20018 */ sw $s2, 0x18($sp)
/* ED0FE4 80240FF4 AFB10014 */ sw $s1, 0x14($sp)
/* ED0FE8 80240FF8 AFB00010 */ sw $s0, 0x10($sp)
/* ED0FEC 80240FFC 8E720148 */ lw $s2, 0x148($s3)
/* ED0FF0 80241000 86440008 */ lh $a0, 8($s2)
/* ED0FF4 80241004 0C00F92F */ jal func_8003E4BC
/* ED0FF8 80241008 00A0802D */ daddu $s0, $a1, $zero
/* ED0FFC 8024100C 0040882D */ daddu $s1, $v0, $zero
/* ED1000 80241010 C6420080 */ lwc1 $f2, 0x80($s2)
/* ED1004 80241014 468010A0 */ cvt.s.w $f2, $f2
/* ED1008 80241018 460010A1 */ cvt.d.s $f2, $f2
/* ED100C 8024101C C6400084 */ lwc1 $f0, 0x84($s2)
/* ED1010 80241020 46800020 */ cvt.s.w $f0, $f0
/* ED1014 80241024 46000021 */ cvt.d.s $f0, $f0
/* ED1018 80241028 3C014059 */ lui $at, 0x4059
/* ED101C 8024102C 44812800 */ mtc1 $at, $f5
/* ED1020 80241030 44802000 */ mtc1 $zero, $f4
/* ED1024 80241034 8E4200CC */ lw $v0, 0xcc($s2)
/* ED1028 80241038 C62C0038 */ lwc1 $f12, 0x38($s1)
/* ED102C 8024103C C62E0040 */ lwc1 $f14, 0x40($s1)
/* ED1030 80241040 46241083 */ div.d $f2, $f2, $f4
/* ED1034 80241044 462010A0 */ cvt.s.d $f2, $f2
/* ED1038 80241048 46240003 */ div.d $f0, $f0, $f4
/* ED103C 8024104C 8C420020 */ lw $v0, 0x20($v0)
/* ED1040 80241050 46200020 */ cvt.s.d $f0, $f0
/* ED1044 80241054 E622001C */ swc1 $f2, 0x1c($s1)
/* ED1048 80241058 E6200014 */ swc1 $f0, 0x14($s1)
/* ED104C 8024105C AE220028 */ sw $v0, 0x28($s1)
/* ED1050 80241060 C6000018 */ lwc1 $f0, 0x18($s0)
/* ED1054 80241064 3C028010 */ lui $v0, %hi(D_800FFC90)
/* ED1058 80241068 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0)
/* ED105C 8024106C E6200018 */ swc1 $f0, 0x18($s1)
/* ED1060 80241070 8C460028 */ lw $a2, 0x28($v0)
/* ED1064 80241074 0C00ABDC */ jal fio_validate_header_checksums
/* ED1068 80241078 8C470030 */ lw $a3, 0x30($v0)
/* ED106C 8024107C E620000C */ swc1 $f0, 0xc($s1)
/* ED1070 80241080 8E420018 */ lw $v0, 0x18($s2)
/* ED1074 80241084 AE400074 */ sw $zero, 0x74($s2)
/* ED1078 80241088 9442002A */ lhu $v0, 0x2a($v0)
/* ED107C 8024108C 30420002 */ andi $v0, $v0, 2
/* ED1080 80241090 10400005 */ beqz $v0, .L802410A8
/* ED1084 80241094 24020003 */ addiu $v0, $zero, 3
/* ED1088 80241098 A622008E */ sh $v0, 0x8e($s1)
/* ED108C 8024109C 2402000D */ addiu $v0, $zero, 0xd
/* ED1090 802410A0 0809043E */ j .L802410F8
/* ED1094 802410A4 AE620070 */ sw $v0, 0x70($s3)
.L802410A8:
/* ED1098 802410A8 24030001 */ addiu $v1, $zero, 1
/* ED109C 802410AC 2402000E */ addiu $v0, $zero, 0xe
/* ED10A0 802410B0 A623008E */ sh $v1, 0x8e($s1)
/* ED10A4 802410B4 AE620070 */ sw $v0, 0x70($s3)
/* ED10A8 802410B8 C6200038 */ lwc1 $f0, 0x38($s1)
/* ED10AC 802410BC 4600018D */ trunc.w.s $f6, $f0
/* ED10B0 802410C0 44023000 */ mfc1 $v0, $f6
/* ED10B4 802410C4 00000000 */ nop
/* ED10B8 802410C8 A6420010 */ sh $v0, 0x10($s2)
/* ED10BC 802410CC C620003C */ lwc1 $f0, 0x3c($s1)
/* ED10C0 802410D0 4600018D */ trunc.w.s $f6, $f0
/* ED10C4 802410D4 44023000 */ mfc1 $v0, $f6
/* ED10C8 802410D8 00000000 */ nop
/* ED10CC 802410DC A6420012 */ sh $v0, 0x12($s2)
/* ED10D0 802410E0 C6200040 */ lwc1 $f0, 0x40($s1)
/* ED10D4 802410E4 A2430007 */ sb $v1, 7($s2)
/* ED10D8 802410E8 4600018D */ trunc.w.s $f6, $f0
/* ED10DC 802410EC 44023000 */ mfc1 $v0, $f6
/* ED10E0 802410F0 00000000 */ nop
/* ED10E4 802410F4 A6420014 */ sh $v0, 0x14($s2)
.L802410F8:
/* ED10E8 802410F8 8FBF0020 */ lw $ra, 0x20($sp)
/* ED10EC 802410FC 8FB3001C */ lw $s3, 0x1c($sp)
/* ED10F0 80241100 8FB20018 */ lw $s2, 0x18($sp)
/* ED10F4 80241104 8FB10014 */ lw $s1, 0x14($sp)
/* ED10F8 80241108 8FB00010 */ lw $s0, 0x10($sp)
/* ED10FC 8024110C 03E00008 */ jr $ra
/* ED1100 80241110 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -121,7 +121,7 @@ glabel L802417C4_ED17B4
glabel L802417DC_ED17CC
/* ED17CC 802417DC 02A0202D */ daddu $a0, $s5, $zero
/* ED17D0 802417E0 0200282D */ daddu $a1, $s0, $zero
/* ED17D4 802417E4 0C0903F8 */ jal func_80240FE0_ED0FD0
/* ED17D4 802417E4 0C0903F8 */ jal code_ED0310_DeadUnkNpcAIFunc14
/* ED17D8 802417E8 0260302D */ daddu $a2, $s3, $zero
/* ED17DC 802417EC 08090608 */ j .L80241820
/* ED17E0 802417F0 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240E84_EDF844
/* EDF844 80240E84 27BDFFD8 */ addiu $sp, $sp, -0x28
/* EDF848 80240E88 AFB3001C */ sw $s3, 0x1c($sp)
/* EDF84C 80240E8C 0080982D */ daddu $s3, $a0, $zero
/* EDF850 80240E90 AFBF0020 */ sw $ra, 0x20($sp)
/* EDF854 80240E94 AFB20018 */ sw $s2, 0x18($sp)
/* EDF858 80240E98 AFB10014 */ sw $s1, 0x14($sp)
/* EDF85C 80240E9C AFB00010 */ sw $s0, 0x10($sp)
/* EDF860 80240EA0 8E720148 */ lw $s2, 0x148($s3)
/* EDF864 80240EA4 86440008 */ lh $a0, 8($s2)
/* EDF868 80240EA8 0C00F92F */ jal func_8003E4BC
/* EDF86C 80240EAC 00A0802D */ daddu $s0, $a1, $zero
/* EDF870 80240EB0 0040882D */ daddu $s1, $v0, $zero
/* EDF874 80240EB4 C6420080 */ lwc1 $f2, 0x80($s2)
/* EDF878 80240EB8 468010A0 */ cvt.s.w $f2, $f2
/* EDF87C 80240EBC 460010A1 */ cvt.d.s $f2, $f2
/* EDF880 80240EC0 C6400084 */ lwc1 $f0, 0x84($s2)
/* EDF884 80240EC4 46800020 */ cvt.s.w $f0, $f0
/* EDF888 80240EC8 46000021 */ cvt.d.s $f0, $f0
/* EDF88C 80240ECC 3C014059 */ lui $at, 0x4059
/* EDF890 80240ED0 44812800 */ mtc1 $at, $f5
/* EDF894 80240ED4 44802000 */ mtc1 $zero, $f4
/* EDF898 80240ED8 8E4200CC */ lw $v0, 0xcc($s2)
/* EDF89C 80240EDC C62C0038 */ lwc1 $f12, 0x38($s1)
/* EDF8A0 80240EE0 C62E0040 */ lwc1 $f14, 0x40($s1)
/* EDF8A4 80240EE4 46241083 */ div.d $f2, $f2, $f4
/* EDF8A8 80240EE8 462010A0 */ cvt.s.d $f2, $f2
/* EDF8AC 80240EEC 46240003 */ div.d $f0, $f0, $f4
/* EDF8B0 80240EF0 8C420020 */ lw $v0, 0x20($v0)
/* EDF8B4 80240EF4 46200020 */ cvt.s.d $f0, $f0
/* EDF8B8 80240EF8 E622001C */ swc1 $f2, 0x1c($s1)
/* EDF8BC 80240EFC E6200014 */ swc1 $f0, 0x14($s1)
/* EDF8C0 80240F00 AE220028 */ sw $v0, 0x28($s1)
/* EDF8C4 80240F04 C6000018 */ lwc1 $f0, 0x18($s0)
/* EDF8C8 80240F08 3C028010 */ lui $v0, %hi(D_800FFC90)
/* EDF8CC 80240F0C 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0)
/* EDF8D0 80240F10 E6200018 */ swc1 $f0, 0x18($s1)
/* EDF8D4 80240F14 8C460028 */ lw $a2, 0x28($v0)
/* EDF8D8 80240F18 0C00ABDC */ jal fio_validate_header_checksums
/* EDF8DC 80240F1C 8C470030 */ lw $a3, 0x30($v0)
/* EDF8E0 80240F20 E620000C */ swc1 $f0, 0xc($s1)
/* EDF8E4 80240F24 8E420018 */ lw $v0, 0x18($s2)
/* EDF8E8 80240F28 AE400074 */ sw $zero, 0x74($s2)
/* EDF8EC 80240F2C 9442002A */ lhu $v0, 0x2a($v0)
/* EDF8F0 80240F30 30420002 */ andi $v0, $v0, 2
/* EDF8F4 80240F34 10400005 */ beqz $v0, .L80240F4C
/* EDF8F8 80240F38 24020003 */ addiu $v0, $zero, 3
/* EDF8FC 80240F3C A622008E */ sh $v0, 0x8e($s1)
/* EDF900 80240F40 2402000D */ addiu $v0, $zero, 0xd
/* EDF904 80240F44 080903E7 */ j .L80240F9C
/* EDF908 80240F48 AE620070 */ sw $v0, 0x70($s3)
.L80240F4C:
/* EDF90C 80240F4C 24030001 */ addiu $v1, $zero, 1
/* EDF910 80240F50 2402000E */ addiu $v0, $zero, 0xe
/* EDF914 80240F54 A623008E */ sh $v1, 0x8e($s1)
/* EDF918 80240F58 AE620070 */ sw $v0, 0x70($s3)
/* EDF91C 80240F5C C6200038 */ lwc1 $f0, 0x38($s1)
/* EDF920 80240F60 4600018D */ trunc.w.s $f6, $f0
/* EDF924 80240F64 44023000 */ mfc1 $v0, $f6
/* EDF928 80240F68 00000000 */ nop
/* EDF92C 80240F6C A6420010 */ sh $v0, 0x10($s2)
/* EDF930 80240F70 C620003C */ lwc1 $f0, 0x3c($s1)
/* EDF934 80240F74 4600018D */ trunc.w.s $f6, $f0
/* EDF938 80240F78 44023000 */ mfc1 $v0, $f6
/* EDF93C 80240F7C 00000000 */ nop
/* EDF940 80240F80 A6420012 */ sh $v0, 0x12($s2)
/* EDF944 80240F84 C6200040 */ lwc1 $f0, 0x40($s1)
/* EDF948 80240F88 A2430007 */ sb $v1, 7($s2)
/* EDF94C 80240F8C 4600018D */ trunc.w.s $f6, $f0
/* EDF950 80240F90 44023000 */ mfc1 $v0, $f6
/* EDF954 80240F94 00000000 */ nop
/* EDF958 80240F98 A6420014 */ sh $v0, 0x14($s2)
.L80240F9C:
/* EDF95C 80240F9C 8FBF0020 */ lw $ra, 0x20($sp)
/* EDF960 80240FA0 8FB3001C */ lw $s3, 0x1c($sp)
/* EDF964 80240FA4 8FB20018 */ lw $s2, 0x18($sp)
/* EDF968 80240FA8 8FB10014 */ lw $s1, 0x14($sp)
/* EDF96C 80240FAC 8FB00010 */ lw $s0, 0x10($sp)
/* EDF970 80240FB0 03E00008 */ jr $ra
/* EDF974 80240FB4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -121,7 +121,7 @@ glabel L80241668_EE0028
glabel L80241680_EE0040
/* EE0040 80241680 02A0202D */ daddu $a0, $s5, $zero
/* EE0044 80241684 0200282D */ daddu $a1, $s0, $zero
/* EE0048 80241688 0C0903A1 */ jal func_80240E84_EDF844
/* EE0048 80241688 0C0903A1 */ jal code_EDEA00_DeadUnkNpcAIFunc14
/* EE004C 8024168C 0260302D */ daddu $a2, $s3, $zero
/* EE0050 80241690 080905B1 */ j .L802416C4
/* EE0054 80241694 0000102D */ daddu $v0, $zero, $zero

View File

@ -166,7 +166,7 @@ glabel func_80241DE4_EE07A4
.L8024203C:
/* EE09FC 8024203C 0280202D */ daddu $a0, $s4, $zero
/* EE0A00 80242040 02C0282D */ daddu $a1, $s6, $zero
/* EE0A04 80242044 0C0903A1 */ jal func_80240E84_EDF844
/* EE0A04 80242044 0C0903A1 */ jal code_EDEA00_DeadUnkNpcAIFunc14
/* EE0A08 80242048 02A0302D */ daddu $a2, $s5, $zero
.L8024204C:
/* EE0A0C 8024204C 0280202D */ daddu $a0, $s4, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802417D0_EE7D80
/* EE7D80 802417D0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* EE7D84 802417D4 AFB3001C */ sw $s3, 0x1c($sp)
/* EE7D88 802417D8 0080982D */ daddu $s3, $a0, $zero
/* EE7D8C 802417DC AFBF0020 */ sw $ra, 0x20($sp)
/* EE7D90 802417E0 AFB20018 */ sw $s2, 0x18($sp)
/* EE7D94 802417E4 AFB10014 */ sw $s1, 0x14($sp)
/* EE7D98 802417E8 AFB00010 */ sw $s0, 0x10($sp)
/* EE7D9C 802417EC 8E720148 */ lw $s2, 0x148($s3)
/* EE7DA0 802417F0 86440008 */ lh $a0, 8($s2)
/* EE7DA4 802417F4 0C00F92F */ jal func_8003E4BC
/* EE7DA8 802417F8 00A0802D */ daddu $s0, $a1, $zero
/* EE7DAC 802417FC 0040882D */ daddu $s1, $v0, $zero
/* EE7DB0 80241800 C6420080 */ lwc1 $f2, 0x80($s2)
/* EE7DB4 80241804 468010A0 */ cvt.s.w $f2, $f2
/* EE7DB8 80241808 460010A1 */ cvt.d.s $f2, $f2
/* EE7DBC 8024180C C6400084 */ lwc1 $f0, 0x84($s2)
/* EE7DC0 80241810 46800020 */ cvt.s.w $f0, $f0
/* EE7DC4 80241814 46000021 */ cvt.d.s $f0, $f0
/* EE7DC8 80241818 3C014059 */ lui $at, 0x4059
/* EE7DCC 8024181C 44812800 */ mtc1 $at, $f5
/* EE7DD0 80241820 44802000 */ mtc1 $zero, $f4
/* EE7DD4 80241824 8E4200CC */ lw $v0, 0xcc($s2)
/* EE7DD8 80241828 C62C0038 */ lwc1 $f12, 0x38($s1)
/* EE7DDC 8024182C C62E0040 */ lwc1 $f14, 0x40($s1)
/* EE7DE0 80241830 46241083 */ div.d $f2, $f2, $f4
/* EE7DE4 80241834 462010A0 */ cvt.s.d $f2, $f2
/* EE7DE8 80241838 46240003 */ div.d $f0, $f0, $f4
/* EE7DEC 8024183C 8C420020 */ lw $v0, 0x20($v0)
/* EE7DF0 80241840 46200020 */ cvt.s.d $f0, $f0
/* EE7DF4 80241844 E622001C */ swc1 $f2, 0x1c($s1)
/* EE7DF8 80241848 E6200014 */ swc1 $f0, 0x14($s1)
/* EE7DFC 8024184C AE220028 */ sw $v0, 0x28($s1)
/* EE7E00 80241850 C6000018 */ lwc1 $f0, 0x18($s0)
/* EE7E04 80241854 3C028010 */ lui $v0, %hi(D_800FFC90)
/* EE7E08 80241858 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0)
/* EE7E0C 8024185C E6200018 */ swc1 $f0, 0x18($s1)
/* EE7E10 80241860 8C460028 */ lw $a2, 0x28($v0)
/* EE7E14 80241864 0C00ABDC */ jal fio_validate_header_checksums
/* EE7E18 80241868 8C470030 */ lw $a3, 0x30($v0)
/* EE7E1C 8024186C E620000C */ swc1 $f0, 0xc($s1)
/* EE7E20 80241870 8E420018 */ lw $v0, 0x18($s2)
/* EE7E24 80241874 AE400074 */ sw $zero, 0x74($s2)
/* EE7E28 80241878 9442002A */ lhu $v0, 0x2a($v0)
/* EE7E2C 8024187C 30420002 */ andi $v0, $v0, 2
/* EE7E30 80241880 10400005 */ beqz $v0, .L80241898
/* EE7E34 80241884 24020003 */ addiu $v0, $zero, 3
/* EE7E38 80241888 A622008E */ sh $v0, 0x8e($s1)
/* EE7E3C 8024188C 2402000D */ addiu $v0, $zero, 0xd
/* EE7E40 80241890 0809063A */ j .L802418E8
/* EE7E44 80241894 AE620070 */ sw $v0, 0x70($s3)
.L80241898:
/* EE7E48 80241898 24030001 */ addiu $v1, $zero, 1
/* EE7E4C 8024189C 2402000E */ addiu $v0, $zero, 0xe
/* EE7E50 802418A0 A623008E */ sh $v1, 0x8e($s1)
/* EE7E54 802418A4 AE620070 */ sw $v0, 0x70($s3)
/* EE7E58 802418A8 C6200038 */ lwc1 $f0, 0x38($s1)
/* EE7E5C 802418AC 4600018D */ trunc.w.s $f6, $f0
/* EE7E60 802418B0 44023000 */ mfc1 $v0, $f6
/* EE7E64 802418B4 00000000 */ nop
/* EE7E68 802418B8 A6420010 */ sh $v0, 0x10($s2)
/* EE7E6C 802418BC C620003C */ lwc1 $f0, 0x3c($s1)
/* EE7E70 802418C0 4600018D */ trunc.w.s $f6, $f0
/* EE7E74 802418C4 44023000 */ mfc1 $v0, $f6
/* EE7E78 802418C8 00000000 */ nop
/* EE7E7C 802418CC A6420012 */ sh $v0, 0x12($s2)
/* EE7E80 802418D0 C6200040 */ lwc1 $f0, 0x40($s1)
/* EE7E84 802418D4 A2430007 */ sb $v1, 7($s2)
/* EE7E88 802418D8 4600018D */ trunc.w.s $f6, $f0
/* EE7E8C 802418DC 44023000 */ mfc1 $v0, $f6
/* EE7E90 802418E0 00000000 */ nop
/* EE7E94 802418E4 A6420014 */ sh $v0, 0x14($s2)
.L802418E8:
/* EE7E98 802418E8 8FBF0020 */ lw $ra, 0x20($sp)
/* EE7E9C 802418EC 8FB3001C */ lw $s3, 0x1c($sp)
/* EE7EA0 802418F0 8FB20018 */ lw $s2, 0x18($sp)
/* EE7EA4 802418F4 8FB10014 */ lw $s1, 0x14($sp)
/* EE7EA8 802418F8 8FB00010 */ lw $s0, 0x10($sp)
/* EE7EAC 802418FC 03E00008 */ jr $ra
/* EE7EB0 80241900 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -121,7 +121,7 @@ glabel L80241FB4_EE8564
glabel L80241FCC_EE857C
/* EE857C 80241FCC 02A0202D */ daddu $a0, $s5, $zero
/* EE8580 80241FD0 0200282D */ daddu $a1, $s0, $zero
/* EE8584 80241FD4 0C0905F4 */ jal func_802417D0_EE7D80
/* EE8584 80241FD4 0C0905F4 */ jal code_EE70C0_DeadUnkNpcAIFunc14
/* EE8588 80241FD8 0260302D */ daddu $a2, $s3, $zero
/* EE858C 80241FDC 08090804 */ j .L80242010
/* EE8590 80241FE0 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240D58_EEDE58
/* EEDE58 80240D58 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EEDE5C 80240D5C AFBF0018 */ sw $ra, 0x18($sp)
/* EEDE60 80240D60 0C00F94D */ jal func_8003E534
/* EEDE64 80240D64 2404FFFC */ addiu $a0, $zero, -4
/* EEDE68 80240D68 3C0141F0 */ lui $at, 0x41f0
/* EEDE6C 80240D6C 44810000 */ mtc1 $at, $f0
/* EEDE70 80240D70 C442003C */ lwc1 $f2, 0x3c($v0)
/* EEDE74 80240D74 46001080 */ add.s $f2, $f2, $f0
/* EEDE78 80240D78 E7A00010 */ swc1 $f0, 0x10($sp)
/* EEDE7C 80240D7C 8C450038 */ lw $a1, 0x38($v0)
/* EEDE80 80240D80 8C470040 */ lw $a3, 0x40($v0)
/* EEDE84 80240D84 44061000 */ mfc1 $a2, $f2
/* EEDE88 80240D88 0C01D45C */ jal func_80075170
/* EEDE8C 80240D8C 24040002 */ addiu $a0, $zero, 2
/* EEDE90 80240D90 8FBF0018 */ lw $ra, 0x18($sp)
/* EEDE94 80240D94 24020002 */ addiu $v0, $zero, 2
/* EEDE98 80240D98 03E00008 */ jr $ra
/* EEDE9C 80240D9C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240DA0_EEDEA0
/* EEDEA0 80240DA0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EEDEA4 80240DA4 AFBF0018 */ sw $ra, 0x18($sp)
/* EEDEA8 80240DA8 0C00F94D */ jal func_8003E534
/* EEDEAC 80240DAC 2404FFFC */ addiu $a0, $zero, -4
/* EEDEB0 80240DB0 3C0141F0 */ lui $at, 0x41f0
/* EEDEB4 80240DB4 44810000 */ mtc1 $at, $f0
/* EEDEB8 80240DB8 C442003C */ lwc1 $f2, 0x3c($v0)
/* EEDEBC 80240DBC 46001080 */ add.s $f2, $f2, $f0
/* EEDEC0 80240DC0 E7A00010 */ swc1 $f0, 0x10($sp)
/* EEDEC4 80240DC4 8C450038 */ lw $a1, 0x38($v0)
/* EEDEC8 80240DC8 8C470040 */ lw $a3, 0x40($v0)
/* EEDECC 80240DCC 44061000 */ mfc1 $a2, $f2
/* EEDED0 80240DD0 0C01D45C */ jal func_80075170
/* EEDED4 80240DD4 24040004 */ addiu $a0, $zero, 4
/* EEDED8 80240DD8 8FBF0018 */ lw $ra, 0x18($sp)
/* EEDEDC 80240DDC 24020002 */ addiu $v0, $zero, 2
/* EEDEE0 80240DE0 03E00008 */ jr $ra
/* EEDEE4 80240DE4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241B10_EEEC10
/* EEEC10 80241B10 27BDFFD8 */ addiu $sp, $sp, -0x28
/* EEEC14 80241B14 AFB3001C */ sw $s3, 0x1c($sp)
/* EEEC18 80241B18 0080982D */ daddu $s3, $a0, $zero
/* EEEC1C 80241B1C AFBF0020 */ sw $ra, 0x20($sp)
/* EEEC20 80241B20 AFB20018 */ sw $s2, 0x18($sp)
/* EEEC24 80241B24 AFB10014 */ sw $s1, 0x14($sp)
/* EEEC28 80241B28 AFB00010 */ sw $s0, 0x10($sp)
/* EEEC2C 80241B2C 8E720148 */ lw $s2, 0x148($s3)
/* EEEC30 80241B30 86440008 */ lh $a0, 8($s2)
/* EEEC34 80241B34 0C00F92F */ jal func_8003E4BC
/* EEEC38 80241B38 00A0802D */ daddu $s0, $a1, $zero
/* EEEC3C 80241B3C 0040882D */ daddu $s1, $v0, $zero
/* EEEC40 80241B40 C6420080 */ lwc1 $f2, 0x80($s2)
/* EEEC44 80241B44 468010A0 */ cvt.s.w $f2, $f2
/* EEEC48 80241B48 460010A1 */ cvt.d.s $f2, $f2
/* EEEC4C 80241B4C C6400084 */ lwc1 $f0, 0x84($s2)
/* EEEC50 80241B50 46800020 */ cvt.s.w $f0, $f0
/* EEEC54 80241B54 46000021 */ cvt.d.s $f0, $f0
/* EEEC58 80241B58 3C014059 */ lui $at, 0x4059
/* EEEC5C 80241B5C 44812800 */ mtc1 $at, $f5
/* EEEC60 80241B60 44802000 */ mtc1 $zero, $f4
/* EEEC64 80241B64 8E4200CC */ lw $v0, 0xcc($s2)
/* EEEC68 80241B68 C62C0038 */ lwc1 $f12, 0x38($s1)
/* EEEC6C 80241B6C C62E0040 */ lwc1 $f14, 0x40($s1)
/* EEEC70 80241B70 46241083 */ div.d $f2, $f2, $f4
/* EEEC74 80241B74 462010A0 */ cvt.s.d $f2, $f2
/* EEEC78 80241B78 46240003 */ div.d $f0, $f0, $f4
/* EEEC7C 80241B7C 8C420020 */ lw $v0, 0x20($v0)
/* EEEC80 80241B80 46200020 */ cvt.s.d $f0, $f0
/* EEEC84 80241B84 E622001C */ swc1 $f2, 0x1c($s1)
/* EEEC88 80241B88 E6200014 */ swc1 $f0, 0x14($s1)
/* EEEC8C 80241B8C AE220028 */ sw $v0, 0x28($s1)
/* EEEC90 80241B90 C6000018 */ lwc1 $f0, 0x18($s0)
/* EEEC94 80241B94 3C028010 */ lui $v0, %hi(D_800FFC90)
/* EEEC98 80241B98 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0)
/* EEEC9C 80241B9C E6200018 */ swc1 $f0, 0x18($s1)
/* EEECA0 80241BA0 8C460028 */ lw $a2, 0x28($v0)
/* EEECA4 80241BA4 0C00ABDC */ jal fio_validate_header_checksums
/* EEECA8 80241BA8 8C470030 */ lw $a3, 0x30($v0)
/* EEECAC 80241BAC E620000C */ swc1 $f0, 0xc($s1)
/* EEECB0 80241BB0 8E420018 */ lw $v0, 0x18($s2)
/* EEECB4 80241BB4 AE400074 */ sw $zero, 0x74($s2)
/* EEECB8 80241BB8 9442002A */ lhu $v0, 0x2a($v0)
/* EEECBC 80241BBC 30420002 */ andi $v0, $v0, 2
/* EEECC0 80241BC0 10400005 */ beqz $v0, .L80241BD8
/* EEECC4 80241BC4 24020003 */ addiu $v0, $zero, 3
/* EEECC8 80241BC8 A622008E */ sh $v0, 0x8e($s1)
/* EEECCC 80241BCC 2402000D */ addiu $v0, $zero, 0xd
/* EEECD0 80241BD0 0809070A */ j .L80241C28
/* EEECD4 80241BD4 AE620070 */ sw $v0, 0x70($s3)
.L80241BD8:
/* EEECD8 80241BD8 24030001 */ addiu $v1, $zero, 1
/* EEECDC 80241BDC 2402000E */ addiu $v0, $zero, 0xe
/* EEECE0 80241BE0 A623008E */ sh $v1, 0x8e($s1)
/* EEECE4 80241BE4 AE620070 */ sw $v0, 0x70($s3)
/* EEECE8 80241BE8 C6200038 */ lwc1 $f0, 0x38($s1)
/* EEECEC 80241BEC 4600018D */ trunc.w.s $f6, $f0
/* EEECF0 80241BF0 44023000 */ mfc1 $v0, $f6
/* EEECF4 80241BF4 00000000 */ nop
/* EEECF8 80241BF8 A6420010 */ sh $v0, 0x10($s2)
/* EEECFC 80241BFC C620003C */ lwc1 $f0, 0x3c($s1)
/* EEED00 80241C00 4600018D */ trunc.w.s $f6, $f0
/* EEED04 80241C04 44023000 */ mfc1 $v0, $f6
/* EEED08 80241C08 00000000 */ nop
/* EEED0C 80241C0C A6420012 */ sh $v0, 0x12($s2)
/* EEED10 80241C10 C6200040 */ lwc1 $f0, 0x40($s1)
/* EEED14 80241C14 A2430007 */ sb $v1, 7($s2)
/* EEED18 80241C18 4600018D */ trunc.w.s $f6, $f0
/* EEED1C 80241C1C 44023000 */ mfc1 $v0, $f6
/* EEED20 80241C20 00000000 */ nop
/* EEED24 80241C24 A6420014 */ sh $v0, 0x14($s2)
.L80241C28:
/* EEED28 80241C28 8FBF0020 */ lw $ra, 0x20($sp)
/* EEED2C 80241C2C 8FB3001C */ lw $s3, 0x1c($sp)
/* EEED30 80241C30 8FB20018 */ lw $s2, 0x18($sp)
/* EEED34 80241C34 8FB10014 */ lw $s1, 0x14($sp)
/* EEED38 80241C38 8FB00010 */ lw $s0, 0x10($sp)
/* EEED3C 80241C3C 03E00008 */ jr $ra
/* EEED40 80241C40 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -121,7 +121,7 @@ glabel L802422F4_EEF3F4
glabel L8024230C_EEF40C
/* EEF40C 8024230C 02A0202D */ daddu $a0, $s5, $zero
/* EEF410 80242310 0200282D */ daddu $a1, $s0, $zero
/* EEF414 80242314 0C0906C4 */ jal func_80241B10_EEEC10
/* EEF414 80242314 0C0906C4 */ jal code_EEDF50_DeadUnkNpcAIFunc14
/* EEF418 80242318 0260302D */ daddu $a2, $s3, $zero
/* EEF41C 8024231C 080908D4 */ j .L80242350
/* EEF420 80242320 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240D30_EF3340
/* EF3340 80240D30 27BDFFD8 */ addiu $sp, $sp, -0x28
/* EF3344 80240D34 AFB3001C */ sw $s3, 0x1c($sp)
/* EF3348 80240D38 0080982D */ daddu $s3, $a0, $zero
/* EF334C 80240D3C AFBF0020 */ sw $ra, 0x20($sp)
/* EF3350 80240D40 AFB20018 */ sw $s2, 0x18($sp)
/* EF3354 80240D44 AFB10014 */ sw $s1, 0x14($sp)
/* EF3358 80240D48 AFB00010 */ sw $s0, 0x10($sp)
/* EF335C 80240D4C 8E720148 */ lw $s2, 0x148($s3)
/* EF3360 80240D50 86440008 */ lh $a0, 8($s2)
/* EF3364 80240D54 0C00F92F */ jal func_8003E4BC
/* EF3368 80240D58 00A0802D */ daddu $s0, $a1, $zero
/* EF336C 80240D5C 0040882D */ daddu $s1, $v0, $zero
/* EF3370 80240D60 C6420080 */ lwc1 $f2, 0x80($s2)
/* EF3374 80240D64 468010A0 */ cvt.s.w $f2, $f2
/* EF3378 80240D68 460010A1 */ cvt.d.s $f2, $f2
/* EF337C 80240D6C C6400084 */ lwc1 $f0, 0x84($s2)
/* EF3380 80240D70 46800020 */ cvt.s.w $f0, $f0
/* EF3384 80240D74 46000021 */ cvt.d.s $f0, $f0
/* EF3388 80240D78 3C014059 */ lui $at, 0x4059
/* EF338C 80240D7C 44812800 */ mtc1 $at, $f5
/* EF3390 80240D80 44802000 */ mtc1 $zero, $f4
/* EF3394 80240D84 8E4200CC */ lw $v0, 0xcc($s2)
/* EF3398 80240D88 C62C0038 */ lwc1 $f12, 0x38($s1)
/* EF339C 80240D8C C62E0040 */ lwc1 $f14, 0x40($s1)
/* EF33A0 80240D90 46241083 */ div.d $f2, $f2, $f4
/* EF33A4 80240D94 462010A0 */ cvt.s.d $f2, $f2
/* EF33A8 80240D98 46240003 */ div.d $f0, $f0, $f4
/* EF33AC 80240D9C 8C420020 */ lw $v0, 0x20($v0)
/* EF33B0 80240DA0 46200020 */ cvt.s.d $f0, $f0
/* EF33B4 80240DA4 E622001C */ swc1 $f2, 0x1c($s1)
/* EF33B8 80240DA8 E6200014 */ swc1 $f0, 0x14($s1)
/* EF33BC 80240DAC AE220028 */ sw $v0, 0x28($s1)
/* EF33C0 80240DB0 C6000018 */ lwc1 $f0, 0x18($s0)
/* EF33C4 80240DB4 3C028010 */ lui $v0, %hi(D_800FFC90)
/* EF33C8 80240DB8 8C42FC90 */ lw $v0, %lo(D_800FFC90)($v0)
/* EF33CC 80240DBC E6200018 */ swc1 $f0, 0x18($s1)
/* EF33D0 80240DC0 8C460028 */ lw $a2, 0x28($v0)
/* EF33D4 80240DC4 0C00ABDC */ jal fio_validate_header_checksums
/* EF33D8 80240DC8 8C470030 */ lw $a3, 0x30($v0)
/* EF33DC 80240DCC E620000C */ swc1 $f0, 0xc($s1)
/* EF33E0 80240DD0 8E420018 */ lw $v0, 0x18($s2)
/* EF33E4 80240DD4 AE400074 */ sw $zero, 0x74($s2)
/* EF33E8 80240DD8 9442002A */ lhu $v0, 0x2a($v0)
/* EF33EC 80240DDC 30420002 */ andi $v0, $v0, 2
/* EF33F0 80240DE0 10400005 */ beqz $v0, .L80240DF8
/* EF33F4 80240DE4 24020003 */ addiu $v0, $zero, 3
/* EF33F8 80240DE8 A622008E */ sh $v0, 0x8e($s1)
/* EF33FC 80240DEC 2402000D */ addiu $v0, $zero, 0xd
/* EF3400 80240DF0 08090392 */ j .L80240E48
/* EF3404 80240DF4 AE620070 */ sw $v0, 0x70($s3)
.L80240DF8:
/* EF3408 80240DF8 24030001 */ addiu $v1, $zero, 1
/* EF340C 80240DFC 2402000E */ addiu $v0, $zero, 0xe
/* EF3410 80240E00 A623008E */ sh $v1, 0x8e($s1)
/* EF3414 80240E04 AE620070 */ sw $v0, 0x70($s3)
/* EF3418 80240E08 C6200038 */ lwc1 $f0, 0x38($s1)
/* EF341C 80240E0C 4600018D */ trunc.w.s $f6, $f0
/* EF3420 80240E10 44023000 */ mfc1 $v0, $f6
/* EF3424 80240E14 00000000 */ nop
/* EF3428 80240E18 A6420010 */ sh $v0, 0x10($s2)
/* EF342C 80240E1C C620003C */ lwc1 $f0, 0x3c($s1)
/* EF3430 80240E20 4600018D */ trunc.w.s $f6, $f0
/* EF3434 80240E24 44023000 */ mfc1 $v0, $f6
/* EF3438 80240E28 00000000 */ nop
/* EF343C 80240E2C A6420012 */ sh $v0, 0x12($s2)
/* EF3440 80240E30 C6200040 */ lwc1 $f0, 0x40($s1)
/* EF3444 80240E34 A2430007 */ sb $v1, 7($s2)
/* EF3448 80240E38 4600018D */ trunc.w.s $f6, $f0
/* EF344C 80240E3C 44023000 */ mfc1 $v0, $f6
/* EF3450 80240E40 00000000 */ nop
/* EF3454 80240E44 A6420014 */ sh $v0, 0x14($s2)
.L80240E48:
/* EF3458 80240E48 8FBF0020 */ lw $ra, 0x20($sp)
/* EF345C 80240E4C 8FB3001C */ lw $s3, 0x1c($sp)
/* EF3460 80240E50 8FB20018 */ lw $s2, 0x18($sp)
/* EF3464 80240E54 8FB10014 */ lw $s1, 0x14($sp)
/* EF3468 80240E58 8FB00010 */ lw $s0, 0x10($sp)
/* EF346C 80240E5C 03E00008 */ jr $ra
/* EF3470 80240E60 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -121,7 +121,7 @@ glabel L80241514_EF3B24
glabel L8024152C_EF3B3C
/* EF3B3C 8024152C 02A0202D */ daddu $a0, $s5, $zero
/* EF3B40 80241530 0200282D */ daddu $a1, $s0, $zero
/* EF3B44 80241534 0C09034C */ jal func_80240D30_EF3340
/* EF3B44 80241534 0C09034C */ jal code_EF2680_DeadUnkNpcAIFunc14
/* EF3B48 80241538 0260302D */ daddu $a2, $s3, $zero
/* EF3B4C 8024153C 0809055C */ j .L80241570
/* EF3B50 80241540 0000102D */ daddu $v0, $zero, $zero

View File

@ -166,7 +166,7 @@ glabel func_80241C90_EF42A0
.L80241EE8:
/* EF44F8 80241EE8 0280202D */ daddu $a0, $s4, $zero
/* EF44FC 80241EEC 02C0282D */ daddu $a1, $s6, $zero
/* EF4500 80241EF0 0C09034C */ jal func_80240D30_EF3340
/* EF4500 80241EF0 0C09034C */ jal code_EF2680_DeadUnkNpcAIFunc14
/* EF4504 80241EF4 02A0302D */ daddu $a2, $s5, $zero
.L80241EF8:
/* EF4508 80241EF8 0280202D */ daddu $a0, $s4, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241B50_BE5300
/* BE5300 80241B50 27BDFFD8 */ addiu $sp, $sp, -0x28
/* BE5304 80241B54 AFB3001C */ sw $s3, 0x1c($sp)
/* BE5308 80241B58 0080982D */ daddu $s3, $a0, $zero
/* BE530C 80241B5C AFBF0020 */ sw $ra, 0x20($sp)
/* BE5310 80241B60 AFB20018 */ sw $s2, 0x18($sp)
/* BE5314 80241B64 AFB10014 */ sw $s1, 0x14($sp)
/* BE5318 80241B68 AFB00010 */ sw $s0, 0x10($sp)
/* BE531C 80241B6C 8E720148 */ lw $s2, 0x148($s3)
/* BE5320 80241B70 86440008 */ lh $a0, 8($s2)
/* BE5324 80241B74 0C00EABB */ jal get_npc_unsafe
/* BE5328 80241B78 00A0802D */ daddu $s0, $a1, $zero
/* BE532C 80241B7C 0040882D */ daddu $s1, $v0, $zero
/* BE5330 80241B80 C6420080 */ lwc1 $f2, 0x80($s2)
/* BE5334 80241B84 468010A0 */ cvt.s.w $f2, $f2
/* BE5338 80241B88 460010A1 */ cvt.d.s $f2, $f2
/* BE533C 80241B8C C6400084 */ lwc1 $f0, 0x84($s2)
/* BE5340 80241B90 46800020 */ cvt.s.w $f0, $f0
/* BE5344 80241B94 46000021 */ cvt.d.s $f0, $f0
/* BE5348 80241B98 3C014059 */ lui $at, 0x4059
/* BE534C 80241B9C 44812800 */ mtc1 $at, $f5
/* BE5350 80241BA0 44802000 */ mtc1 $zero, $f4
/* BE5354 80241BA4 8E4200CC */ lw $v0, 0xcc($s2)
/* BE5358 80241BA8 C62C0038 */ lwc1 $f12, 0x38($s1)
/* BE535C 80241BAC C62E0040 */ lwc1 $f14, 0x40($s1)
/* BE5360 80241BB0 46241083 */ div.d $f2, $f2, $f4
/* BE5364 80241BB4 462010A0 */ cvt.s.d $f2, $f2
/* BE5368 80241BB8 46240003 */ div.d $f0, $f0, $f4
/* BE536C 80241BBC 8C420020 */ lw $v0, 0x20($v0)
/* BE5370 80241BC0 46200020 */ cvt.s.d $f0, $f0
/* BE5374 80241BC4 E622001C */ swc1 $f2, 0x1c($s1)
/* BE5378 80241BC8 E6200014 */ swc1 $f0, 0x14($s1)
/* BE537C 80241BCC AE220028 */ sw $v0, 0x28($s1)
/* BE5380 80241BD0 C6000018 */ lwc1 $f0, 0x18($s0)
/* BE5384 80241BD4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* BE5388 80241BD8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* BE538C 80241BDC E6200018 */ swc1 $f0, 0x18($s1)
/* BE5390 80241BE0 8C460028 */ lw $a2, 0x28($v0)
/* BE5394 80241BE4 0C00A720 */ jal atan2
/* BE5398 80241BE8 8C470030 */ lw $a3, 0x30($v0)
/* BE539C 80241BEC E620000C */ swc1 $f0, 0xc($s1)
/* BE53A0 80241BF0 8E420018 */ lw $v0, 0x18($s2)
/* BE53A4 80241BF4 AE400074 */ sw $zero, 0x74($s2)
/* BE53A8 80241BF8 9442002A */ lhu $v0, 0x2a($v0)
/* BE53AC 80241BFC 30420002 */ andi $v0, $v0, 2
/* BE53B0 80241C00 10400005 */ beqz $v0, .L80241C18
/* BE53B4 80241C04 24020003 */ addiu $v0, $zero, 3
/* BE53B8 80241C08 A622008E */ sh $v0, 0x8e($s1)
/* BE53BC 80241C0C 2402000D */ addiu $v0, $zero, 0xd
/* BE53C0 80241C10 0809071A */ j .L80241C68
/* BE53C4 80241C14 AE620070 */ sw $v0, 0x70($s3)
.L80241C18:
/* BE53C8 80241C18 24030001 */ addiu $v1, $zero, 1
/* BE53CC 80241C1C 2402000E */ addiu $v0, $zero, 0xe
/* BE53D0 80241C20 A623008E */ sh $v1, 0x8e($s1)
/* BE53D4 80241C24 AE620070 */ sw $v0, 0x70($s3)
/* BE53D8 80241C28 C6200038 */ lwc1 $f0, 0x38($s1)
/* BE53DC 80241C2C 4600018D */ trunc.w.s $f6, $f0
/* BE53E0 80241C30 44023000 */ mfc1 $v0, $f6
/* BE53E4 80241C34 00000000 */ nop
/* BE53E8 80241C38 A6420010 */ sh $v0, 0x10($s2)
/* BE53EC 80241C3C C620003C */ lwc1 $f0, 0x3c($s1)
/* BE53F0 80241C40 4600018D */ trunc.w.s $f6, $f0
/* BE53F4 80241C44 44023000 */ mfc1 $v0, $f6
/* BE53F8 80241C48 00000000 */ nop
/* BE53FC 80241C4C A6420012 */ sh $v0, 0x12($s2)
/* BE5400 80241C50 C6200040 */ lwc1 $f0, 0x40($s1)
/* BE5404 80241C54 A2430007 */ sb $v1, 7($s2)
/* BE5408 80241C58 4600018D */ trunc.w.s $f6, $f0
/* BE540C 80241C5C 44023000 */ mfc1 $v0, $f6
/* BE5410 80241C60 00000000 */ nop
/* BE5414 80241C64 A6420014 */ sh $v0, 0x14($s2)
.L80241C68:
/* BE5418 80241C68 8FBF0020 */ lw $ra, 0x20($sp)
/* BE541C 80241C6C 8FB3001C */ lw $s3, 0x1c($sp)
/* BE5420 80241C70 8FB20018 */ lw $s2, 0x18($sp)
/* BE5424 80241C74 8FB10014 */ lw $s1, 0x14($sp)
/* BE5428 80241C78 8FB00010 */ lw $s0, 0x10($sp)
/* BE542C 80241C7C 03E00008 */ jr $ra
/* BE5430 80241C80 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80242308_BE5AB8
glabel L80242320_BE5AD0
/* BE5AD0 80242320 0280202D */ daddu $a0, $s4, $zero
/* BE5AD4 80242324 0200282D */ daddu $a1, $s0, $zero
/* BE5AD8 80242328 0C0906D4 */ jal func_80241B50_BE5300
/* BE5AD8 80242328 0C0906D4 */ jal arn_04_UnkNpcAIFunc14
/* BE5ADC 8024232C 0260302D */ daddu $a2, $s3, $zero
/* BE5AE0 80242330 080908D9 */ j .L80242364
/* BE5AE4 80242334 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241610_BEE400
/* BEE400 80241610 27BDFFD8 */ addiu $sp, $sp, -0x28
/* BEE404 80241614 AFB3001C */ sw $s3, 0x1c($sp)
/* BEE408 80241618 0080982D */ daddu $s3, $a0, $zero
/* BEE40C 8024161C AFBF0020 */ sw $ra, 0x20($sp)
/* BEE410 80241620 AFB20018 */ sw $s2, 0x18($sp)
/* BEE414 80241624 AFB10014 */ sw $s1, 0x14($sp)
/* BEE418 80241628 AFB00010 */ sw $s0, 0x10($sp)
/* BEE41C 8024162C 8E720148 */ lw $s2, 0x148($s3)
/* BEE420 80241630 86440008 */ lh $a0, 8($s2)
/* BEE424 80241634 0C00EABB */ jal get_npc_unsafe
/* BEE428 80241638 00A0802D */ daddu $s0, $a1, $zero
/* BEE42C 8024163C 0040882D */ daddu $s1, $v0, $zero
/* BEE430 80241640 C6420080 */ lwc1 $f2, 0x80($s2)
/* BEE434 80241644 468010A0 */ cvt.s.w $f2, $f2
/* BEE438 80241648 460010A1 */ cvt.d.s $f2, $f2
/* BEE43C 8024164C C6400084 */ lwc1 $f0, 0x84($s2)
/* BEE440 80241650 46800020 */ cvt.s.w $f0, $f0
/* BEE444 80241654 46000021 */ cvt.d.s $f0, $f0
/* BEE448 80241658 3C014059 */ lui $at, 0x4059
/* BEE44C 8024165C 44812800 */ mtc1 $at, $f5
/* BEE450 80241660 44802000 */ mtc1 $zero, $f4
/* BEE454 80241664 8E4200CC */ lw $v0, 0xcc($s2)
/* BEE458 80241668 C62C0038 */ lwc1 $f12, 0x38($s1)
/* BEE45C 8024166C C62E0040 */ lwc1 $f14, 0x40($s1)
/* BEE460 80241670 46241083 */ div.d $f2, $f2, $f4
/* BEE464 80241674 462010A0 */ cvt.s.d $f2, $f2
/* BEE468 80241678 46240003 */ div.d $f0, $f0, $f4
/* BEE46C 8024167C 8C420020 */ lw $v0, 0x20($v0)
/* BEE470 80241680 46200020 */ cvt.s.d $f0, $f0
/* BEE474 80241684 E622001C */ swc1 $f2, 0x1c($s1)
/* BEE478 80241688 E6200014 */ swc1 $f0, 0x14($s1)
/* BEE47C 8024168C AE220028 */ sw $v0, 0x28($s1)
/* BEE480 80241690 C6000018 */ lwc1 $f0, 0x18($s0)
/* BEE484 80241694 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* BEE488 80241698 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* BEE48C 8024169C E6200018 */ swc1 $f0, 0x18($s1)
/* BEE490 802416A0 8C460028 */ lw $a2, 0x28($v0)
/* BEE494 802416A4 0C00A720 */ jal atan2
/* BEE498 802416A8 8C470030 */ lw $a3, 0x30($v0)
/* BEE49C 802416AC E620000C */ swc1 $f0, 0xc($s1)
/* BEE4A0 802416B0 8E420018 */ lw $v0, 0x18($s2)
/* BEE4A4 802416B4 AE400074 */ sw $zero, 0x74($s2)
/* BEE4A8 802416B8 9442002A */ lhu $v0, 0x2a($v0)
/* BEE4AC 802416BC 30420002 */ andi $v0, $v0, 2
/* BEE4B0 802416C0 10400005 */ beqz $v0, .L802416D8
/* BEE4B4 802416C4 24020003 */ addiu $v0, $zero, 3
/* BEE4B8 802416C8 A622008E */ sh $v0, 0x8e($s1)
/* BEE4BC 802416CC 2402000D */ addiu $v0, $zero, 0xd
/* BEE4C0 802416D0 080905CA */ j .L80241728
/* BEE4C4 802416D4 AE620070 */ sw $v0, 0x70($s3)
.L802416D8:
/* BEE4C8 802416D8 24030001 */ addiu $v1, $zero, 1
/* BEE4CC 802416DC 2402000E */ addiu $v0, $zero, 0xe
/* BEE4D0 802416E0 A623008E */ sh $v1, 0x8e($s1)
/* BEE4D4 802416E4 AE620070 */ sw $v0, 0x70($s3)
/* BEE4D8 802416E8 C6200038 */ lwc1 $f0, 0x38($s1)
/* BEE4DC 802416EC 4600018D */ trunc.w.s $f6, $f0
/* BEE4E0 802416F0 44023000 */ mfc1 $v0, $f6
/* BEE4E4 802416F4 00000000 */ nop
/* BEE4E8 802416F8 A6420010 */ sh $v0, 0x10($s2)
/* BEE4EC 802416FC C620003C */ lwc1 $f0, 0x3c($s1)
/* BEE4F0 80241700 4600018D */ trunc.w.s $f6, $f0
/* BEE4F4 80241704 44023000 */ mfc1 $v0, $f6
/* BEE4F8 80241708 00000000 */ nop
/* BEE4FC 8024170C A6420012 */ sh $v0, 0x12($s2)
/* BEE500 80241710 C6200040 */ lwc1 $f0, 0x40($s1)
/* BEE504 80241714 A2430007 */ sb $v1, 7($s2)
/* BEE508 80241718 4600018D */ trunc.w.s $f6, $f0
/* BEE50C 8024171C 44023000 */ mfc1 $v0, $f6
/* BEE510 80241720 00000000 */ nop
/* BEE514 80241724 A6420014 */ sh $v0, 0x14($s2)
.L80241728:
/* BEE518 80241728 8FBF0020 */ lw $ra, 0x20($sp)
/* BEE51C 8024172C 8FB3001C */ lw $s3, 0x1c($sp)
/* BEE520 80241730 8FB20018 */ lw $s2, 0x18($sp)
/* BEE524 80241734 8FB10014 */ lw $s1, 0x14($sp)
/* BEE528 80241738 8FB00010 */ lw $s0, 0x10($sp)
/* BEE52C 8024173C 03E00008 */ jr $ra
/* BEE530 80241740 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241DC8_BEEBB8
glabel L80241DE0_BEEBD0
/* BEEBD0 80241DE0 0280202D */ daddu $a0, $s4, $zero
/* BEEBD4 80241DE4 0200282D */ daddu $a1, $s0, $zero
/* BEEBD8 80241DE8 0C090584 */ jal func_80241610_BEE400
/* BEEBD8 80241DE8 0C090584 */ jal arn_07_UnkNpcAIFunc14
/* BEEBDC 80241DEC 0260302D */ daddu $a2, $s3, $zero
/* BEEBE0 80241DF0 08090789 */ j .L80241E24
/* BEEBE4 80241DF4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240DE0_BFE660
/* BFE660 80240DE0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* BFE664 80240DE4 AFB3001C */ sw $s3, 0x1c($sp)
/* BFE668 80240DE8 0080982D */ daddu $s3, $a0, $zero
/* BFE66C 80240DEC AFBF0020 */ sw $ra, 0x20($sp)
/* BFE670 80240DF0 AFB20018 */ sw $s2, 0x18($sp)
/* BFE674 80240DF4 AFB10014 */ sw $s1, 0x14($sp)
/* BFE678 80240DF8 AFB00010 */ sw $s0, 0x10($sp)
/* BFE67C 80240DFC 8E720148 */ lw $s2, 0x148($s3)
/* BFE680 80240E00 86440008 */ lh $a0, 8($s2)
/* BFE684 80240E04 0C00EABB */ jal get_npc_unsafe
/* BFE688 80240E08 00A0802D */ daddu $s0, $a1, $zero
/* BFE68C 80240E0C 0040882D */ daddu $s1, $v0, $zero
/* BFE690 80240E10 C6420080 */ lwc1 $f2, 0x80($s2)
/* BFE694 80240E14 468010A0 */ cvt.s.w $f2, $f2
/* BFE698 80240E18 460010A1 */ cvt.d.s $f2, $f2
/* BFE69C 80240E1C C6400084 */ lwc1 $f0, 0x84($s2)
/* BFE6A0 80240E20 46800020 */ cvt.s.w $f0, $f0
/* BFE6A4 80240E24 46000021 */ cvt.d.s $f0, $f0
/* BFE6A8 80240E28 3C014059 */ lui $at, 0x4059
/* BFE6AC 80240E2C 44812800 */ mtc1 $at, $f5
/* BFE6B0 80240E30 44802000 */ mtc1 $zero, $f4
/* BFE6B4 80240E34 8E4200CC */ lw $v0, 0xcc($s2)
/* BFE6B8 80240E38 C62C0038 */ lwc1 $f12, 0x38($s1)
/* BFE6BC 80240E3C C62E0040 */ lwc1 $f14, 0x40($s1)
/* BFE6C0 80240E40 46241083 */ div.d $f2, $f2, $f4
/* BFE6C4 80240E44 462010A0 */ cvt.s.d $f2, $f2
/* BFE6C8 80240E48 46240003 */ div.d $f0, $f0, $f4
/* BFE6CC 80240E4C 8C420020 */ lw $v0, 0x20($v0)
/* BFE6D0 80240E50 46200020 */ cvt.s.d $f0, $f0
/* BFE6D4 80240E54 E622001C */ swc1 $f2, 0x1c($s1)
/* BFE6D8 80240E58 E6200014 */ swc1 $f0, 0x14($s1)
/* BFE6DC 80240E5C AE220028 */ sw $v0, 0x28($s1)
/* BFE6E0 80240E60 C6000018 */ lwc1 $f0, 0x18($s0)
/* BFE6E4 80240E64 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* BFE6E8 80240E68 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* BFE6EC 80240E6C E6200018 */ swc1 $f0, 0x18($s1)
/* BFE6F0 80240E70 8C460028 */ lw $a2, 0x28($v0)
/* BFE6F4 80240E74 0C00A720 */ jal atan2
/* BFE6F8 80240E78 8C470030 */ lw $a3, 0x30($v0)
/* BFE6FC 80240E7C E620000C */ swc1 $f0, 0xc($s1)
/* BFE700 80240E80 8E420018 */ lw $v0, 0x18($s2)
/* BFE704 80240E84 AE400074 */ sw $zero, 0x74($s2)
/* BFE708 80240E88 9442002A */ lhu $v0, 0x2a($v0)
/* BFE70C 80240E8C 30420002 */ andi $v0, $v0, 2
/* BFE710 80240E90 10400005 */ beqz $v0, .L80240EA8
/* BFE714 80240E94 24020003 */ addiu $v0, $zero, 3
/* BFE718 80240E98 A622008E */ sh $v0, 0x8e($s1)
/* BFE71C 80240E9C 2402000D */ addiu $v0, $zero, 0xd
/* BFE720 80240EA0 080903BE */ j .L80240EF8
/* BFE724 80240EA4 AE620070 */ sw $v0, 0x70($s3)
.L80240EA8:
/* BFE728 80240EA8 24030001 */ addiu $v1, $zero, 1
/* BFE72C 80240EAC 2402000E */ addiu $v0, $zero, 0xe
/* BFE730 80240EB0 A623008E */ sh $v1, 0x8e($s1)
/* BFE734 80240EB4 AE620070 */ sw $v0, 0x70($s3)
/* BFE738 80240EB8 C6200038 */ lwc1 $f0, 0x38($s1)
/* BFE73C 80240EBC 4600018D */ trunc.w.s $f6, $f0
/* BFE740 80240EC0 44023000 */ mfc1 $v0, $f6
/* BFE744 80240EC4 00000000 */ nop
/* BFE748 80240EC8 A6420010 */ sh $v0, 0x10($s2)
/* BFE74C 80240ECC C620003C */ lwc1 $f0, 0x3c($s1)
/* BFE750 80240ED0 4600018D */ trunc.w.s $f6, $f0
/* BFE754 80240ED4 44023000 */ mfc1 $v0, $f6
/* BFE758 80240ED8 00000000 */ nop
/* BFE75C 80240EDC A6420012 */ sh $v0, 0x12($s2)
/* BFE760 80240EE0 C6200040 */ lwc1 $f0, 0x40($s1)
/* BFE764 80240EE4 A2430007 */ sb $v1, 7($s2)
/* BFE768 80240EE8 4600018D */ trunc.w.s $f6, $f0
/* BFE76C 80240EEC 44023000 */ mfc1 $v0, $f6
/* BFE770 80240EF0 00000000 */ nop
/* BFE774 80240EF4 A6420014 */ sh $v0, 0x14($s2)
.L80240EF8:
/* BFE778 80240EF8 8FBF0020 */ lw $ra, 0x20($sp)
/* BFE77C 80240EFC 8FB3001C */ lw $s3, 0x1c($sp)
/* BFE780 80240F00 8FB20018 */ lw $s2, 0x18($sp)
/* BFE784 80240F04 8FB10014 */ lw $s1, 0x14($sp)
/* BFE788 80240F08 8FB00010 */ lw $s0, 0x10($sp)
/* BFE78C 80240F0C 03E00008 */ jr $ra
/* BFE790 80240F10 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241598_BFEE18
glabel L802415B0_BFEE30
/* BFEE30 802415B0 0280202D */ daddu $a0, $s4, $zero
/* BFEE34 802415B4 0200282D */ daddu $a1, $s0, $zero
/* BFEE38 802415B8 0C090378 */ jal func_80240DE0_BFE660
/* BFEE38 802415B8 0C090378 */ jal dgb_01_UnkNpcAIFunc14
/* BFEE3C 802415BC 0260302D */ daddu $a2, $s3, $zero
/* BFEE40 802415C0 0809057D */ j .L802415F4
/* BFEE44 802415C4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240CC0_C371F0
/* C371F0 80240CC0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C371F4 80240CC4 AFB3001C */ sw $s3, 0x1c($sp)
/* C371F8 80240CC8 0080982D */ daddu $s3, $a0, $zero
/* C371FC 80240CCC AFBF0020 */ sw $ra, 0x20($sp)
/* C37200 80240CD0 AFB20018 */ sw $s2, 0x18($sp)
/* C37204 80240CD4 AFB10014 */ sw $s1, 0x14($sp)
/* C37208 80240CD8 AFB00010 */ sw $s0, 0x10($sp)
/* C3720C 80240CDC 8E720148 */ lw $s2, 0x148($s3)
/* C37210 80240CE0 86440008 */ lh $a0, 8($s2)
/* C37214 80240CE4 0C00EABB */ jal get_npc_unsafe
/* C37218 80240CE8 00A0802D */ daddu $s0, $a1, $zero
/* C3721C 80240CEC 0040882D */ daddu $s1, $v0, $zero
/* C37220 80240CF0 C6420080 */ lwc1 $f2, 0x80($s2)
/* C37224 80240CF4 468010A0 */ cvt.s.w $f2, $f2
/* C37228 80240CF8 460010A1 */ cvt.d.s $f2, $f2
/* C3722C 80240CFC C6400084 */ lwc1 $f0, 0x84($s2)
/* C37230 80240D00 46800020 */ cvt.s.w $f0, $f0
/* C37234 80240D04 46000021 */ cvt.d.s $f0, $f0
/* C37238 80240D08 3C014059 */ lui $at, 0x4059
/* C3723C 80240D0C 44812800 */ mtc1 $at, $f5
/* C37240 80240D10 44802000 */ mtc1 $zero, $f4
/* C37244 80240D14 8E4200CC */ lw $v0, 0xcc($s2)
/* C37248 80240D18 C62C0038 */ lwc1 $f12, 0x38($s1)
/* C3724C 80240D1C C62E0040 */ lwc1 $f14, 0x40($s1)
/* C37250 80240D20 46241083 */ div.d $f2, $f2, $f4
/* C37254 80240D24 462010A0 */ cvt.s.d $f2, $f2
/* C37258 80240D28 46240003 */ div.d $f0, $f0, $f4
/* C3725C 80240D2C 8C420020 */ lw $v0, 0x20($v0)
/* C37260 80240D30 46200020 */ cvt.s.d $f0, $f0
/* C37264 80240D34 E622001C */ swc1 $f2, 0x1c($s1)
/* C37268 80240D38 E6200014 */ swc1 $f0, 0x14($s1)
/* C3726C 80240D3C AE220028 */ sw $v0, 0x28($s1)
/* C37270 80240D40 C6000018 */ lwc1 $f0, 0x18($s0)
/* C37274 80240D44 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* C37278 80240D48 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* C3727C 80240D4C E6200018 */ swc1 $f0, 0x18($s1)
/* C37280 80240D50 8C460028 */ lw $a2, 0x28($v0)
/* C37284 80240D54 0C00A720 */ jal atan2
/* C37288 80240D58 8C470030 */ lw $a3, 0x30($v0)
/* C3728C 80240D5C E620000C */ swc1 $f0, 0xc($s1)
/* C37290 80240D60 8E420018 */ lw $v0, 0x18($s2)
/* C37294 80240D64 AE400074 */ sw $zero, 0x74($s2)
/* C37298 80240D68 9442002A */ lhu $v0, 0x2a($v0)
/* C3729C 80240D6C 30420002 */ andi $v0, $v0, 2
/* C372A0 80240D70 10400005 */ beqz $v0, .L80240D88
/* C372A4 80240D74 24020003 */ addiu $v0, $zero, 3
/* C372A8 80240D78 A622008E */ sh $v0, 0x8e($s1)
/* C372AC 80240D7C 2402000D */ addiu $v0, $zero, 0xd
/* C372B0 80240D80 08090376 */ j .L80240DD8
/* C372B4 80240D84 AE620070 */ sw $v0, 0x70($s3)
.L80240D88:
/* C372B8 80240D88 24030001 */ addiu $v1, $zero, 1
/* C372BC 80240D8C 2402000E */ addiu $v0, $zero, 0xe
/* C372C0 80240D90 A623008E */ sh $v1, 0x8e($s1)
/* C372C4 80240D94 AE620070 */ sw $v0, 0x70($s3)
/* C372C8 80240D98 C6200038 */ lwc1 $f0, 0x38($s1)
/* C372CC 80240D9C 4600018D */ trunc.w.s $f6, $f0
/* C372D0 80240DA0 44023000 */ mfc1 $v0, $f6
/* C372D4 80240DA4 00000000 */ nop
/* C372D8 80240DA8 A6420010 */ sh $v0, 0x10($s2)
/* C372DC 80240DAC C620003C */ lwc1 $f0, 0x3c($s1)
/* C372E0 80240DB0 4600018D */ trunc.w.s $f6, $f0
/* C372E4 80240DB4 44023000 */ mfc1 $v0, $f6
/* C372E8 80240DB8 00000000 */ nop
/* C372EC 80240DBC A6420012 */ sh $v0, 0x12($s2)
/* C372F0 80240DC0 C6200040 */ lwc1 $f0, 0x40($s1)
/* C372F4 80240DC4 A2430007 */ sb $v1, 7($s2)
/* C372F8 80240DC8 4600018D */ trunc.w.s $f6, $f0
/* C372FC 80240DCC 44023000 */ mfc1 $v0, $f6
/* C37300 80240DD0 00000000 */ nop
/* C37304 80240DD4 A6420014 */ sh $v0, 0x14($s2)
.L80240DD8:
/* C37308 80240DD8 8FBF0020 */ lw $ra, 0x20($sp)
/* C3730C 80240DDC 8FB3001C */ lw $s3, 0x1c($sp)
/* C37310 80240DE0 8FB20018 */ lw $s2, 0x18($sp)
/* C37314 80240DE4 8FB10014 */ lw $s1, 0x14($sp)
/* C37318 80240DE8 8FB00010 */ lw $s0, 0x10($sp)
/* C3731C 80240DEC 03E00008 */ jr $ra
/* C37320 80240DF0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241478_C379A8
glabel L80241490_C379C0
/* C379C0 80241490 0280202D */ daddu $a0, $s4, $zero
/* C379C4 80241494 0200282D */ daddu $a1, $s0, $zero
/* C379C8 80241498 0C090330 */ jal func_80240CC0_C371F0
/* C379C8 80241498 0C090330 */ jal dgb_04_UnkNpcAIFunc14
/* C379CC 8024149C 0260302D */ daddu $a2, $s3, $zero
/* C379D0 802414A0 08090535 */ j .L802414D4
/* C379D4 802414A4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243048_C39578
/* C39578 80243048 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C3957C 8024304C AFBF0018 */ sw $ra, 0x18($sp)
/* C39580 80243050 0C00EAD2 */ jal get_npc_safe
/* C39584 80243054 2404FFFC */ addiu $a0, $zero, -4
/* C39588 80243058 3C0141F0 */ lui $at, 0x41f0
/* C3958C 8024305C 44810000 */ mtc1 $at, $f0
/* C39590 80243060 C442003C */ lwc1 $f2, 0x3c($v0)
/* C39594 80243064 46001080 */ add.s $f2, $f2, $f0
/* C39598 80243068 E7A00010 */ swc1 $f0, 0x10($sp)
/* C3959C 8024306C 8C450038 */ lw $a1, 0x38($v0)
/* C395A0 80243070 8C470040 */ lw $a3, 0x40($v0)
/* C395A4 80243074 44061000 */ mfc1 $a2, $f2
/* C395A8 80243078 0C01BFBC */ jal func_8006FEF0
/* C395AC 8024307C 24040002 */ addiu $a0, $zero, 2
/* C395B0 80243080 8FBF0018 */ lw $ra, 0x18($sp)
/* C395B4 80243084 24020002 */ addiu $v0, $zero, 2
/* C395B8 80243088 03E00008 */ jr $ra
/* C395BC 8024308C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243090_C395C0
/* C395C0 80243090 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C395C4 80243094 AFBF0018 */ sw $ra, 0x18($sp)
/* C395C8 80243098 0C00EAD2 */ jal get_npc_safe
/* C395CC 8024309C 2404FFFC */ addiu $a0, $zero, -4
/* C395D0 802430A0 3C0141F0 */ lui $at, 0x41f0
/* C395D4 802430A4 44810000 */ mtc1 $at, $f0
/* C395D8 802430A8 C442003C */ lwc1 $f2, 0x3c($v0)
/* C395DC 802430AC 46001080 */ add.s $f2, $f2, $f0
/* C395E0 802430B0 E7A00010 */ swc1 $f0, 0x10($sp)
/* C395E4 802430B4 8C450038 */ lw $a1, 0x38($v0)
/* C395E8 802430B8 8C470040 */ lw $a3, 0x40($v0)
/* C395EC 802430BC 44061000 */ mfc1 $a2, $f2
/* C395F0 802430C0 0C01BFBC */ jal func_8006FEF0
/* C395F4 802430C4 24040004 */ addiu $a0, $zero, 4
/* C395F8 802430C8 8FBF0018 */ lw $ra, 0x18($sp)
/* C395FC 802430CC 24020002 */ addiu $v0, $zero, 2
/* C39600 802430D0 03E00008 */ jr $ra
/* C39604 802430D4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242420_C421D0
/* C421D0 80242420 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C421D4 80242424 AFB3001C */ sw $s3, 0x1c($sp)
/* C421D8 80242428 0080982D */ daddu $s3, $a0, $zero
/* C421DC 8024242C AFBF0020 */ sw $ra, 0x20($sp)
/* C421E0 80242430 AFB20018 */ sw $s2, 0x18($sp)
/* C421E4 80242434 AFB10014 */ sw $s1, 0x14($sp)
/* C421E8 80242438 AFB00010 */ sw $s0, 0x10($sp)
/* C421EC 8024243C 8E720148 */ lw $s2, 0x148($s3)
/* C421F0 80242440 86440008 */ lh $a0, 8($s2)
/* C421F4 80242444 0C00EABB */ jal get_npc_unsafe
/* C421F8 80242448 00A0802D */ daddu $s0, $a1, $zero
/* C421FC 8024244C 0040882D */ daddu $s1, $v0, $zero
/* C42200 80242450 C6420080 */ lwc1 $f2, 0x80($s2)
/* C42204 80242454 468010A0 */ cvt.s.w $f2, $f2
/* C42208 80242458 460010A1 */ cvt.d.s $f2, $f2
/* C4220C 8024245C C6400084 */ lwc1 $f0, 0x84($s2)
/* C42210 80242460 46800020 */ cvt.s.w $f0, $f0
/* C42214 80242464 46000021 */ cvt.d.s $f0, $f0
/* C42218 80242468 3C014059 */ lui $at, 0x4059
/* C4221C 8024246C 44812800 */ mtc1 $at, $f5
/* C42220 80242470 44802000 */ mtc1 $zero, $f4
/* C42224 80242474 8E4200CC */ lw $v0, 0xcc($s2)
/* C42228 80242478 C62C0038 */ lwc1 $f12, 0x38($s1)
/* C4222C 8024247C C62E0040 */ lwc1 $f14, 0x40($s1)
/* C42230 80242480 46241083 */ div.d $f2, $f2, $f4
/* C42234 80242484 462010A0 */ cvt.s.d $f2, $f2
/* C42238 80242488 46240003 */ div.d $f0, $f0, $f4
/* C4223C 8024248C 8C420020 */ lw $v0, 0x20($v0)
/* C42240 80242490 46200020 */ cvt.s.d $f0, $f0
/* C42244 80242494 E622001C */ swc1 $f2, 0x1c($s1)
/* C42248 80242498 E6200014 */ swc1 $f0, 0x14($s1)
/* C4224C 8024249C AE220028 */ sw $v0, 0x28($s1)
/* C42250 802424A0 C6000018 */ lwc1 $f0, 0x18($s0)
/* C42254 802424A4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* C42258 802424A8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* C4225C 802424AC E6200018 */ swc1 $f0, 0x18($s1)
/* C42260 802424B0 8C460028 */ lw $a2, 0x28($v0)
/* C42264 802424B4 0C00A720 */ jal atan2
/* C42268 802424B8 8C470030 */ lw $a3, 0x30($v0)
/* C4226C 802424BC E620000C */ swc1 $f0, 0xc($s1)
/* C42270 802424C0 8E420018 */ lw $v0, 0x18($s2)
/* C42274 802424C4 AE400074 */ sw $zero, 0x74($s2)
/* C42278 802424C8 9442002A */ lhu $v0, 0x2a($v0)
/* C4227C 802424CC 30420002 */ andi $v0, $v0, 2
/* C42280 802424D0 10400005 */ beqz $v0, .L802424E8
/* C42284 802424D4 24020003 */ addiu $v0, $zero, 3
/* C42288 802424D8 A622008E */ sh $v0, 0x8e($s1)
/* C4228C 802424DC 2402000D */ addiu $v0, $zero, 0xd
/* C42290 802424E0 0809094E */ j .L80242538
/* C42294 802424E4 AE620070 */ sw $v0, 0x70($s3)
.L802424E8:
/* C42298 802424E8 24030001 */ addiu $v1, $zero, 1
/* C4229C 802424EC 2402000E */ addiu $v0, $zero, 0xe
/* C422A0 802424F0 A623008E */ sh $v1, 0x8e($s1)
/* C422A4 802424F4 AE620070 */ sw $v0, 0x70($s3)
/* C422A8 802424F8 C6200038 */ lwc1 $f0, 0x38($s1)
/* C422AC 802424FC 4600018D */ trunc.w.s $f6, $f0
/* C422B0 80242500 44023000 */ mfc1 $v0, $f6
/* C422B4 80242504 00000000 */ nop
/* C422B8 80242508 A6420010 */ sh $v0, 0x10($s2)
/* C422BC 8024250C C620003C */ lwc1 $f0, 0x3c($s1)
/* C422C0 80242510 4600018D */ trunc.w.s $f6, $f0
/* C422C4 80242514 44023000 */ mfc1 $v0, $f6
/* C422C8 80242518 00000000 */ nop
/* C422CC 8024251C A6420012 */ sh $v0, 0x12($s2)
/* C422D0 80242520 C6200040 */ lwc1 $f0, 0x40($s1)
/* C422D4 80242524 A2430007 */ sb $v1, 7($s2)
/* C422D8 80242528 4600018D */ trunc.w.s $f6, $f0
/* C422DC 8024252C 44023000 */ mfc1 $v0, $f6
/* C422E0 80242530 00000000 */ nop
/* C422E4 80242534 A6420014 */ sh $v0, 0x14($s2)
.L80242538:
/* C422E8 80242538 8FBF0020 */ lw $ra, 0x20($sp)
/* C422EC 8024253C 8FB3001C */ lw $s3, 0x1c($sp)
/* C422F0 80242540 8FB20018 */ lw $s2, 0x18($sp)
/* C422F4 80242544 8FB10014 */ lw $s1, 0x14($sp)
/* C422F8 80242548 8FB00010 */ lw $s0, 0x10($sp)
/* C422FC 8024254C 03E00008 */ jr $ra
/* C42300 80242550 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80242BD8_C42988
glabel L80242BF0_C429A0
/* C429A0 80242BF0 0280202D */ daddu $a0, $s4, $zero
/* C429A4 80242BF4 0200282D */ daddu $a1, $s0, $zero
/* C429A8 80242BF8 0C090908 */ jal func_80242420_C421D0
/* C429A8 80242BF8 0C090908 */ jal dgb_08_UnkNpcAIFunc14
/* C429AC 80242BFC 0260302D */ daddu $a2, $s3, $zero
/* C429B0 80242C00 08090B0D */ j .L80242C34
/* C429B4 80242C04 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802420E4_C48CC4
/* C48CC4 802420E4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C48CC8 802420E8 AFB3001C */ sw $s3, 0x1c($sp)
/* C48CCC 802420EC 0080982D */ daddu $s3, $a0, $zero
/* C48CD0 802420F0 AFBF0020 */ sw $ra, 0x20($sp)
/* C48CD4 802420F4 AFB20018 */ sw $s2, 0x18($sp)
/* C48CD8 802420F8 AFB10014 */ sw $s1, 0x14($sp)
/* C48CDC 802420FC AFB00010 */ sw $s0, 0x10($sp)
/* C48CE0 80242100 8E720148 */ lw $s2, 0x148($s3)
/* C48CE4 80242104 86440008 */ lh $a0, 8($s2)
/* C48CE8 80242108 0C00EABB */ jal get_npc_unsafe
/* C48CEC 8024210C 00A0802D */ daddu $s0, $a1, $zero
/* C48CF0 80242110 0040882D */ daddu $s1, $v0, $zero
/* C48CF4 80242114 C6420080 */ lwc1 $f2, 0x80($s2)
/* C48CF8 80242118 468010A0 */ cvt.s.w $f2, $f2
/* C48CFC 8024211C 460010A1 */ cvt.d.s $f2, $f2
/* C48D00 80242120 C6400084 */ lwc1 $f0, 0x84($s2)
/* C48D04 80242124 46800020 */ cvt.s.w $f0, $f0
/* C48D08 80242128 46000021 */ cvt.d.s $f0, $f0
/* C48D0C 8024212C 3C014059 */ lui $at, 0x4059
/* C48D10 80242130 44812800 */ mtc1 $at, $f5
/* C48D14 80242134 44802000 */ mtc1 $zero, $f4
/* C48D18 80242138 8E4200CC */ lw $v0, 0xcc($s2)
/* C48D1C 8024213C C62C0038 */ lwc1 $f12, 0x38($s1)
/* C48D20 80242140 C62E0040 */ lwc1 $f14, 0x40($s1)
/* C48D24 80242144 46241083 */ div.d $f2, $f2, $f4
/* C48D28 80242148 462010A0 */ cvt.s.d $f2, $f2
/* C48D2C 8024214C 46240003 */ div.d $f0, $f0, $f4
/* C48D30 80242150 8C420020 */ lw $v0, 0x20($v0)
/* C48D34 80242154 46200020 */ cvt.s.d $f0, $f0
/* C48D38 80242158 E622001C */ swc1 $f2, 0x1c($s1)
/* C48D3C 8024215C E6200014 */ swc1 $f0, 0x14($s1)
/* C48D40 80242160 AE220028 */ sw $v0, 0x28($s1)
/* C48D44 80242164 C6000018 */ lwc1 $f0, 0x18($s0)
/* C48D48 80242168 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* C48D4C 8024216C 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* C48D50 80242170 E6200018 */ swc1 $f0, 0x18($s1)
/* C48D54 80242174 8C460028 */ lw $a2, 0x28($v0)
/* C48D58 80242178 0C00A720 */ jal atan2
/* C48D5C 8024217C 8C470030 */ lw $a3, 0x30($v0)
/* C48D60 80242180 E620000C */ swc1 $f0, 0xc($s1)
/* C48D64 80242184 8E420018 */ lw $v0, 0x18($s2)
/* C48D68 80242188 AE400074 */ sw $zero, 0x74($s2)
/* C48D6C 8024218C 9442002A */ lhu $v0, 0x2a($v0)
/* C48D70 80242190 30420002 */ andi $v0, $v0, 2
/* C48D74 80242194 10400005 */ beqz $v0, .L802421AC
/* C48D78 80242198 24020003 */ addiu $v0, $zero, 3
/* C48D7C 8024219C A622008E */ sh $v0, 0x8e($s1)
/* C48D80 802421A0 2402000D */ addiu $v0, $zero, 0xd
/* C48D84 802421A4 0809087F */ j .L802421FC
/* C48D88 802421A8 AE620070 */ sw $v0, 0x70($s3)
.L802421AC:
/* C48D8C 802421AC 24030001 */ addiu $v1, $zero, 1
/* C48D90 802421B0 2402000E */ addiu $v0, $zero, 0xe
/* C48D94 802421B4 A623008E */ sh $v1, 0x8e($s1)
/* C48D98 802421B8 AE620070 */ sw $v0, 0x70($s3)
/* C48D9C 802421BC C6200038 */ lwc1 $f0, 0x38($s1)
/* C48DA0 802421C0 4600018D */ trunc.w.s $f6, $f0
/* C48DA4 802421C4 44023000 */ mfc1 $v0, $f6
/* C48DA8 802421C8 00000000 */ nop
/* C48DAC 802421CC A6420010 */ sh $v0, 0x10($s2)
/* C48DB0 802421D0 C620003C */ lwc1 $f0, 0x3c($s1)
/* C48DB4 802421D4 4600018D */ trunc.w.s $f6, $f0
/* C48DB8 802421D8 44023000 */ mfc1 $v0, $f6
/* C48DBC 802421DC 00000000 */ nop
/* C48DC0 802421E0 A6420012 */ sh $v0, 0x12($s2)
/* C48DC4 802421E4 C6200040 */ lwc1 $f0, 0x40($s1)
/* C48DC8 802421E8 A2430007 */ sb $v1, 7($s2)
/* C48DCC 802421EC 4600018D */ trunc.w.s $f6, $f0
/* C48DD0 802421F0 44023000 */ mfc1 $v0, $f6
/* C48DD4 802421F4 00000000 */ nop
/* C48DD8 802421F8 A6420014 */ sh $v0, 0x14($s2)
.L802421FC:
/* C48DDC 802421FC 8FBF0020 */ lw $ra, 0x20($sp)
/* C48DE0 80242200 8FB3001C */ lw $s3, 0x1c($sp)
/* C48DE4 80242204 8FB20018 */ lw $s2, 0x18($sp)
/* C48DE8 80242208 8FB10014 */ lw $s1, 0x14($sp)
/* C48DEC 8024220C 8FB00010 */ lw $s0, 0x10($sp)
/* C48DF0 80242210 03E00008 */ jr $ra
/* C48DF4 80242214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L8024289C_C4947C
glabel L802428B4_C49494
/* C49494 802428B4 0280202D */ daddu $a0, $s4, $zero
/* C49498 802428B8 0200282D */ daddu $a1, $s0, $zero
/* C4949C 802428BC 0C090839 */ jal func_802420E4_C48CC4
/* C4949C 802428BC 0C090839 */ jal dgb_09_UnkNpcAIFunc14
/* C494A0 802428C0 0260302D */ daddu $a2, $s3, $zero
/* C494A4 802428C4 08090A3E */ j .L802428F8
/* C494A8 802428C8 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024189C_95CA9C
/* 95CA9C 8024189C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 95CAA0 802418A0 AFB10014 */ sw $s1, 0x14($sp)
/* 95CAA4 802418A4 0080882D */ daddu $s1, $a0, $zero
/* 95CAA8 802418A8 AFBF0024 */ sw $ra, 0x24($sp)
/* 95CAAC 802418AC AFB40020 */ sw $s4, 0x20($sp)
/* 95CAB0 802418B0 AFB3001C */ sw $s3, 0x1c($sp)
/* 95CAB4 802418B4 AFB20018 */ sw $s2, 0x18($sp)
/* 95CAB8 802418B8 10A00033 */ beqz $a1, .L80241988
/* 95CABC 802418BC AFB00010 */ sw $s0, 0x10($sp)
/* 95CAC0 802418C0 0C04760B */ jal func_8011D82C
/* 95CAC4 802418C4 24040001 */ addiu $a0, $zero, 1
/* 95CAC8 802418C8 0000202D */ daddu $a0, $zero, $zero
/* 95CACC 802418CC 0080282D */ daddu $a1, $a0, $zero
/* 95CAD0 802418D0 0080302D */ daddu $a2, $a0, $zero
/* 95CAD4 802418D4 0080382D */ daddu $a3, $a0, $zero
/* 95CAD8 802418D8 0080802D */ daddu $s0, $a0, $zero
/* 95CADC 802418DC 2414FFFC */ addiu $s4, $zero, -4
/* 95CAE0 802418E0 2413000A */ addiu $s3, $zero, 0xa
/* 95CAE4 802418E4 3C120080 */ lui $s2, 0x80
/* 95CAE8 802418E8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 95CAEC 802418EC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 95CAF0 802418F0 24020001 */ addiu $v0, $zero, 1
/* 95CAF4 802418F4 0C046F97 */ jal set_background_color_blend
/* 95CAF8 802418F8 A0620000 */ sb $v0, ($v1)
.L802418FC:
/* 95CAFC 802418FC 0C00E2B7 */ jal get_npc_by_index
/* 95CB00 80241900 0200202D */ daddu $a0, $s0, $zero
/* 95CB04 80241904 0040202D */ daddu $a0, $v0, $zero
/* 95CB08 80241908 5080000B */ beql $a0, $zero, .L80241938
/* 95CB0C 8024190C 26100001 */ addiu $s0, $s0, 1
/* 95CB10 80241910 8C820000 */ lw $v0, ($a0)
/* 95CB14 80241914 50400008 */ beql $v0, $zero, .L80241938
/* 95CB18 80241918 26100001 */ addiu $s0, $s0, 1
/* 95CB1C 8024191C 808300A4 */ lb $v1, 0xa4($a0)
/* 95CB20 80241920 10740005 */ beq $v1, $s4, .L80241938
/* 95CB24 80241924 26100001 */ addiu $s0, $s0, 1
/* 95CB28 80241928 10730003 */ beq $v1, $s3, .L80241938
/* 95CB2C 8024192C 00000000 */ nop
/* 95CB30 80241930 00521025 */ or $v0, $v0, $s2
/* 95CB34 80241934 AC820000 */ sw $v0, ($a0)
.L80241938:
/* 95CB38 80241938 2A020040 */ slti $v0, $s0, 0x40
/* 95CB3C 8024193C 1440FFEF */ bnez $v0, .L802418FC
/* 95CB40 80241940 00000000 */ nop
/* 95CB44 80241944 0000802D */ daddu $s0, $zero, $zero
/* 95CB48 80241948 3C120800 */ lui $s2, 0x800
.L8024194C:
/* 95CB4C 8024194C 0C04C3D6 */ jal get_item_entity
/* 95CB50 80241950 0200202D */ daddu $a0, $s0, $zero
/* 95CB54 80241954 0040182D */ daddu $v1, $v0, $zero
/* 95CB58 80241958 10600007 */ beqz $v1, .L80241978
/* 95CB5C 8024195C 26100001 */ addiu $s0, $s0, 1
/* 95CB60 80241960 8C640000 */ lw $a0, ($v1)
/* 95CB64 80241964 30820010 */ andi $v0, $a0, 0x10
/* 95CB68 80241968 10400003 */ beqz $v0, .L80241978
/* 95CB6C 8024196C 00000000 */ nop
/* 95CB70 80241970 00921025 */ or $v0, $a0, $s2
/* 95CB74 80241974 AC620000 */ sw $v0, ($v1)
.L80241978:
/* 95CB78 80241978 2A020100 */ slti $v0, $s0, 0x100
/* 95CB7C 8024197C 1440FFF3 */ bnez $v0, .L8024194C
/* 95CB80 80241980 00000000 */ nop
/* 95CB84 80241984 AE200070 */ sw $zero, 0x70($s1)
.L80241988:
/* 95CB88 80241988 8E220070 */ lw $v0, 0x70($s1)
/* 95CB8C 8024198C 24420008 */ addiu $v0, $v0, 8
/* 95CB90 80241990 AE220070 */ sw $v0, 0x70($s1)
/* 95CB94 80241994 28420100 */ slti $v0, $v0, 0x100
/* 95CB98 80241998 14400003 */ bnez $v0, .L802419A8
/* 95CB9C 8024199C 0000202D */ daddu $a0, $zero, $zero
/* 95CBA0 802419A0 240200FF */ addiu $v0, $zero, 0xff
/* 95CBA4 802419A4 AE220070 */ sw $v0, 0x70($s1)
.L802419A8:
/* 95CBA8 802419A8 0080282D */ daddu $a1, $a0, $zero
/* 95CBAC 802419AC 92270073 */ lbu $a3, 0x73($s1)
/* 95CBB0 802419B0 0C046F97 */ jal set_background_color_blend
/* 95CBB4 802419B4 0080302D */ daddu $a2, $a0, $zero
/* 95CBB8 802419B8 8E220070 */ lw $v0, 0x70($s1)
/* 95CBBC 802419BC 8FBF0024 */ lw $ra, 0x24($sp)
/* 95CBC0 802419C0 8FB40020 */ lw $s4, 0x20($sp)
/* 95CBC4 802419C4 8FB3001C */ lw $s3, 0x1c($sp)
/* 95CBC8 802419C8 8FB20018 */ lw $s2, 0x18($sp)
/* 95CBCC 802419CC 8FB10014 */ lw $s1, 0x14($sp)
/* 95CBD0 802419D0 8FB00010 */ lw $s0, 0x10($sp)
/* 95CBD4 802419D4 384200FF */ xori $v0, $v0, 0xff
/* 95CBD8 802419D8 2C420001 */ sltiu $v0, $v0, 1
/* 95CBDC 802419DC 00021040 */ sll $v0, $v0, 1
/* 95CBE0 802419E0 03E00008 */ jr $ra
/* 95CBE4 802419E4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024072C_9698EC
/* 9698EC 8024072C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 9698F0 80240730 AFB10014 */ sw $s1, 0x14($sp)
/* 9698F4 80240734 0080882D */ daddu $s1, $a0, $zero
/* 9698F8 80240738 AFBF0024 */ sw $ra, 0x24($sp)
/* 9698FC 8024073C AFB40020 */ sw $s4, 0x20($sp)
/* 969900 80240740 AFB3001C */ sw $s3, 0x1c($sp)
/* 969904 80240744 AFB20018 */ sw $s2, 0x18($sp)
/* 969908 80240748 10A00033 */ beqz $a1, .L80240818
/* 96990C 8024074C AFB00010 */ sw $s0, 0x10($sp)
/* 969910 80240750 0C04760B */ jal func_8011D82C
/* 969914 80240754 24040001 */ addiu $a0, $zero, 1
/* 969918 80240758 0000202D */ daddu $a0, $zero, $zero
/* 96991C 8024075C 0080282D */ daddu $a1, $a0, $zero
/* 969920 80240760 0080302D */ daddu $a2, $a0, $zero
/* 969924 80240764 0080382D */ daddu $a3, $a0, $zero
/* 969928 80240768 0080802D */ daddu $s0, $a0, $zero
/* 96992C 8024076C 2414FFFC */ addiu $s4, $zero, -4
/* 969930 80240770 2413000A */ addiu $s3, $zero, 0xa
/* 969934 80240774 3C120080 */ lui $s2, 0x80
/* 969938 80240778 3C038015 */ lui $v1, %hi(D_801512F0)
/* 96993C 8024077C 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 969940 80240780 24020001 */ addiu $v0, $zero, 1
/* 969944 80240784 0C046F97 */ jal set_background_color_blend
/* 969948 80240788 A0620000 */ sb $v0, ($v1)
.L8024078C:
/* 96994C 8024078C 0C00E2B7 */ jal get_npc_by_index
/* 969950 80240790 0200202D */ daddu $a0, $s0, $zero
/* 969954 80240794 0040202D */ daddu $a0, $v0, $zero
/* 969958 80240798 5080000B */ beql $a0, $zero, .L802407C8
/* 96995C 8024079C 26100001 */ addiu $s0, $s0, 1
/* 969960 802407A0 8C820000 */ lw $v0, ($a0)
/* 969964 802407A4 50400008 */ beql $v0, $zero, .L802407C8
/* 969968 802407A8 26100001 */ addiu $s0, $s0, 1
/* 96996C 802407AC 808300A4 */ lb $v1, 0xa4($a0)
/* 969970 802407B0 10740005 */ beq $v1, $s4, .L802407C8
/* 969974 802407B4 26100001 */ addiu $s0, $s0, 1
/* 969978 802407B8 10730003 */ beq $v1, $s3, .L802407C8
/* 96997C 802407BC 00000000 */ nop
/* 969980 802407C0 00521025 */ or $v0, $v0, $s2
/* 969984 802407C4 AC820000 */ sw $v0, ($a0)
.L802407C8:
/* 969988 802407C8 2A020040 */ slti $v0, $s0, 0x40
/* 96998C 802407CC 1440FFEF */ bnez $v0, .L8024078C
/* 969990 802407D0 00000000 */ nop
/* 969994 802407D4 0000802D */ daddu $s0, $zero, $zero
/* 969998 802407D8 3C120800 */ lui $s2, 0x800
.L802407DC:
/* 96999C 802407DC 0C04C3D6 */ jal get_item_entity
/* 9699A0 802407E0 0200202D */ daddu $a0, $s0, $zero
/* 9699A4 802407E4 0040182D */ daddu $v1, $v0, $zero
/* 9699A8 802407E8 10600007 */ beqz $v1, .L80240808
/* 9699AC 802407EC 26100001 */ addiu $s0, $s0, 1
/* 9699B0 802407F0 8C640000 */ lw $a0, ($v1)
/* 9699B4 802407F4 30820010 */ andi $v0, $a0, 0x10
/* 9699B8 802407F8 10400003 */ beqz $v0, .L80240808
/* 9699BC 802407FC 00000000 */ nop
/* 9699C0 80240800 00921025 */ or $v0, $a0, $s2
/* 9699C4 80240804 AC620000 */ sw $v0, ($v1)
.L80240808:
/* 9699C8 80240808 2A020100 */ slti $v0, $s0, 0x100
/* 9699CC 8024080C 1440FFF3 */ bnez $v0, .L802407DC
/* 9699D0 80240810 00000000 */ nop
/* 9699D4 80240814 AE200070 */ sw $zero, 0x70($s1)
.L80240818:
/* 9699D8 80240818 8E220070 */ lw $v0, 0x70($s1)
/* 9699DC 8024081C 24420008 */ addiu $v0, $v0, 8
/* 9699E0 80240820 AE220070 */ sw $v0, 0x70($s1)
/* 9699E4 80240824 28420100 */ slti $v0, $v0, 0x100
/* 9699E8 80240828 14400003 */ bnez $v0, .L80240838
/* 9699EC 8024082C 0000202D */ daddu $a0, $zero, $zero
/* 9699F0 80240830 240200FF */ addiu $v0, $zero, 0xff
/* 9699F4 80240834 AE220070 */ sw $v0, 0x70($s1)
.L80240838:
/* 9699F8 80240838 0080282D */ daddu $a1, $a0, $zero
/* 9699FC 8024083C 92270073 */ lbu $a3, 0x73($s1)
/* 969A00 80240840 0C046F97 */ jal set_background_color_blend
/* 969A04 80240844 0080302D */ daddu $a2, $a0, $zero
/* 969A08 80240848 8E220070 */ lw $v0, 0x70($s1)
/* 969A0C 8024084C 8FBF0024 */ lw $ra, 0x24($sp)
/* 969A10 80240850 8FB40020 */ lw $s4, 0x20($sp)
/* 969A14 80240854 8FB3001C */ lw $s3, 0x1c($sp)
/* 969A18 80240858 8FB20018 */ lw $s2, 0x18($sp)
/* 969A1C 8024085C 8FB10014 */ lw $s1, 0x14($sp)
/* 969A20 80240860 8FB00010 */ lw $s0, 0x10($sp)
/* 969A24 80240864 384200FF */ xori $v0, $v0, 0xff
/* 969A28 80240868 2C420001 */ sltiu $v0, $v0, 1
/* 969A2C 8024086C 00021040 */ sll $v0, $v0, 1
/* 969A30 80240870 03E00008 */ jr $ra
/* 969A34 80240874 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240C78_CAF9B8
/* CAF9B8 80240C78 27BDFFE0 */ addiu $sp, $sp, -0x20
/* CAF9BC 80240C7C AFBF0018 */ sw $ra, 0x18($sp)
/* CAF9C0 80240C80 0C00EAD2 */ jal get_npc_safe
/* CAF9C4 80240C84 2404FFFC */ addiu $a0, $zero, -4
/* CAF9C8 80240C88 3C0141F0 */ lui $at, 0x41f0
/* CAF9CC 80240C8C 44810000 */ mtc1 $at, $f0
/* CAF9D0 80240C90 C442003C */ lwc1 $f2, 0x3c($v0)
/* CAF9D4 80240C94 46001080 */ add.s $f2, $f2, $f0
/* CAF9D8 80240C98 E7A00010 */ swc1 $f0, 0x10($sp)
/* CAF9DC 80240C9C 8C450038 */ lw $a1, 0x38($v0)
/* CAF9E0 80240CA0 8C470040 */ lw $a3, 0x40($v0)
/* CAF9E4 80240CA4 44061000 */ mfc1 $a2, $f2
/* CAF9E8 80240CA8 0C01BFBC */ jal func_8006FEF0
/* CAF9EC 80240CAC 24040002 */ addiu $a0, $zero, 2
/* CAF9F0 80240CB0 8FBF0018 */ lw $ra, 0x18($sp)
/* CAF9F4 80240CB4 24020002 */ addiu $v0, $zero, 2
/* CAF9F8 80240CB8 03E00008 */ jr $ra
/* CAF9FC 80240CBC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240CC0_CAFA00
/* CAFA00 80240CC0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* CAFA04 80240CC4 AFBF0018 */ sw $ra, 0x18($sp)
/* CAFA08 80240CC8 0C00EAD2 */ jal get_npc_safe
/* CAFA0C 80240CCC 2404FFFC */ addiu $a0, $zero, -4
/* CAFA10 80240CD0 3C0141F0 */ lui $at, 0x41f0
/* CAFA14 80240CD4 44810000 */ mtc1 $at, $f0
/* CAFA18 80240CD8 C442003C */ lwc1 $f2, 0x3c($v0)
/* CAFA1C 80240CDC 46001080 */ add.s $f2, $f2, $f0
/* CAFA20 80240CE0 E7A00010 */ swc1 $f0, 0x10($sp)
/* CAFA24 80240CE4 8C450038 */ lw $a1, 0x38($v0)
/* CAFA28 80240CE8 8C470040 */ lw $a3, 0x40($v0)
/* CAFA2C 80240CEC 44061000 */ mfc1 $a2, $f2
/* CAFA30 80240CF0 0C01BFBC */ jal func_8006FEF0
/* CAFA34 80240CF4 24040004 */ addiu $a0, $zero, 4
/* CAFA38 80240CF8 8FBF0018 */ lw $ra, 0x18($sp)
/* CAFA3C 80240CFC 24020002 */ addiu $v0, $zero, 2
/* CAFA40 80240D00 03E00008 */ jr $ra
/* CAFA44 80240D04 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240FE0_CB5FE0
/* CB5FE0 80240FE0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* CB5FE4 80240FE4 AFB3001C */ sw $s3, 0x1c($sp)
/* CB5FE8 80240FE8 0080982D */ daddu $s3, $a0, $zero
/* CB5FEC 80240FEC AFBF0020 */ sw $ra, 0x20($sp)
/* CB5FF0 80240FF0 AFB20018 */ sw $s2, 0x18($sp)
/* CB5FF4 80240FF4 AFB10014 */ sw $s1, 0x14($sp)
/* CB5FF8 80240FF8 AFB00010 */ sw $s0, 0x10($sp)
/* CB5FFC 80240FFC 8E720148 */ lw $s2, 0x148($s3)
/* CB6000 80241000 86440008 */ lh $a0, 8($s2)
/* CB6004 80241004 0C00EABB */ jal get_npc_unsafe
/* CB6008 80241008 00A0802D */ daddu $s0, $a1, $zero
/* CB600C 8024100C 0040882D */ daddu $s1, $v0, $zero
/* CB6010 80241010 C6420080 */ lwc1 $f2, 0x80($s2)
/* CB6014 80241014 468010A0 */ cvt.s.w $f2, $f2
/* CB6018 80241018 460010A1 */ cvt.d.s $f2, $f2
/* CB601C 8024101C C6400084 */ lwc1 $f0, 0x84($s2)
/* CB6020 80241020 46800020 */ cvt.s.w $f0, $f0
/* CB6024 80241024 46000021 */ cvt.d.s $f0, $f0
/* CB6028 80241028 3C014059 */ lui $at, 0x4059
/* CB602C 8024102C 44812800 */ mtc1 $at, $f5
/* CB6030 80241030 44802000 */ mtc1 $zero, $f4
/* CB6034 80241034 8E4200CC */ lw $v0, 0xcc($s2)
/* CB6038 80241038 C62C0038 */ lwc1 $f12, 0x38($s1)
/* CB603C 8024103C C62E0040 */ lwc1 $f14, 0x40($s1)
/* CB6040 80241040 46241083 */ div.d $f2, $f2, $f4
/* CB6044 80241044 462010A0 */ cvt.s.d $f2, $f2
/* CB6048 80241048 46240003 */ div.d $f0, $f0, $f4
/* CB604C 8024104C 8C420020 */ lw $v0, 0x20($v0)
/* CB6050 80241050 46200020 */ cvt.s.d $f0, $f0
/* CB6054 80241054 E622001C */ swc1 $f2, 0x1c($s1)
/* CB6058 80241058 E6200014 */ swc1 $f0, 0x14($s1)
/* CB605C 8024105C AE220028 */ sw $v0, 0x28($s1)
/* CB6060 80241060 C6000018 */ lwc1 $f0, 0x18($s0)
/* CB6064 80241064 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* CB6068 80241068 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* CB606C 8024106C E6200018 */ swc1 $f0, 0x18($s1)
/* CB6070 80241070 8C460028 */ lw $a2, 0x28($v0)
/* CB6074 80241074 0C00A720 */ jal atan2
/* CB6078 80241078 8C470030 */ lw $a3, 0x30($v0)
/* CB607C 8024107C E620000C */ swc1 $f0, 0xc($s1)
/* CB6080 80241080 8E420018 */ lw $v0, 0x18($s2)
/* CB6084 80241084 AE400074 */ sw $zero, 0x74($s2)
/* CB6088 80241088 9442002A */ lhu $v0, 0x2a($v0)
/* CB608C 8024108C 30420002 */ andi $v0, $v0, 2
/* CB6090 80241090 10400005 */ beqz $v0, .L802410A8
/* CB6094 80241094 24020003 */ addiu $v0, $zero, 3
/* CB6098 80241098 A622008E */ sh $v0, 0x8e($s1)
/* CB609C 8024109C 2402000D */ addiu $v0, $zero, 0xd
/* CB60A0 802410A0 0809043E */ j .L802410F8
/* CB60A4 802410A4 AE620070 */ sw $v0, 0x70($s3)
.L802410A8:
/* CB60A8 802410A8 24030001 */ addiu $v1, $zero, 1
/* CB60AC 802410AC 2402000E */ addiu $v0, $zero, 0xe
/* CB60B0 802410B0 A623008E */ sh $v1, 0x8e($s1)
/* CB60B4 802410B4 AE620070 */ sw $v0, 0x70($s3)
/* CB60B8 802410B8 C6200038 */ lwc1 $f0, 0x38($s1)
/* CB60BC 802410BC 4600018D */ trunc.w.s $f6, $f0
/* CB60C0 802410C0 44023000 */ mfc1 $v0, $f6
/* CB60C4 802410C4 00000000 */ nop
/* CB60C8 802410C8 A6420010 */ sh $v0, 0x10($s2)
/* CB60CC 802410CC C620003C */ lwc1 $f0, 0x3c($s1)
/* CB60D0 802410D0 4600018D */ trunc.w.s $f6, $f0
/* CB60D4 802410D4 44023000 */ mfc1 $v0, $f6
/* CB60D8 802410D8 00000000 */ nop
/* CB60DC 802410DC A6420012 */ sh $v0, 0x12($s2)
/* CB60E0 802410E0 C6200040 */ lwc1 $f0, 0x40($s1)
/* CB60E4 802410E4 A2430007 */ sb $v1, 7($s2)
/* CB60E8 802410E8 4600018D */ trunc.w.s $f6, $f0
/* CB60EC 802410EC 44023000 */ mfc1 $v0, $f6
/* CB60F0 802410F0 00000000 */ nop
/* CB60F4 802410F4 A6420014 */ sh $v0, 0x14($s2)
.L802410F8:
/* CB60F8 802410F8 8FBF0020 */ lw $ra, 0x20($sp)
/* CB60FC 802410FC 8FB3001C */ lw $s3, 0x1c($sp)
/* CB6100 80241100 8FB20018 */ lw $s2, 0x18($sp)
/* CB6104 80241104 8FB10014 */ lw $s1, 0x14($sp)
/* CB6108 80241108 8FB00010 */ lw $s0, 0x10($sp)
/* CB610C 8024110C 03E00008 */ jr $ra
/* CB6110 80241110 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241798_CB6798
glabel L802417B0_CB67B0
/* CB67B0 802417B0 0280202D */ daddu $a0, $s4, $zero
/* CB67B4 802417B4 0200282D */ daddu $a1, $s0, $zero
/* CB67B8 802417B8 0C0903F8 */ jal func_80240FE0_CB5FE0
/* CB67B8 802417B8 0C0903F8 */ jal flo_09_UnkNpcAIFunc14
/* CB67BC 802417BC 0260302D */ daddu $a2, $s3, $zero
/* CB67C0 802417C0 080905FD */ j .L802417F4
/* CB67C4 802417C4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240E84_CC4694
/* CC4694 80240E84 27BDFFD8 */ addiu $sp, $sp, -0x28
/* CC4698 80240E88 AFB3001C */ sw $s3, 0x1c($sp)
/* CC469C 80240E8C 0080982D */ daddu $s3, $a0, $zero
/* CC46A0 80240E90 AFBF0020 */ sw $ra, 0x20($sp)
/* CC46A4 80240E94 AFB20018 */ sw $s2, 0x18($sp)
/* CC46A8 80240E98 AFB10014 */ sw $s1, 0x14($sp)
/* CC46AC 80240E9C AFB00010 */ sw $s0, 0x10($sp)
/* CC46B0 80240EA0 8E720148 */ lw $s2, 0x148($s3)
/* CC46B4 80240EA4 86440008 */ lh $a0, 8($s2)
/* CC46B8 80240EA8 0C00EABB */ jal get_npc_unsafe
/* CC46BC 80240EAC 00A0802D */ daddu $s0, $a1, $zero
/* CC46C0 80240EB0 0040882D */ daddu $s1, $v0, $zero
/* CC46C4 80240EB4 C6420080 */ lwc1 $f2, 0x80($s2)
/* CC46C8 80240EB8 468010A0 */ cvt.s.w $f2, $f2
/* CC46CC 80240EBC 460010A1 */ cvt.d.s $f2, $f2
/* CC46D0 80240EC0 C6400084 */ lwc1 $f0, 0x84($s2)
/* CC46D4 80240EC4 46800020 */ cvt.s.w $f0, $f0
/* CC46D8 80240EC8 46000021 */ cvt.d.s $f0, $f0
/* CC46DC 80240ECC 3C014059 */ lui $at, 0x4059
/* CC46E0 80240ED0 44812800 */ mtc1 $at, $f5
/* CC46E4 80240ED4 44802000 */ mtc1 $zero, $f4
/* CC46E8 80240ED8 8E4200CC */ lw $v0, 0xcc($s2)
/* CC46EC 80240EDC C62C0038 */ lwc1 $f12, 0x38($s1)
/* CC46F0 80240EE0 C62E0040 */ lwc1 $f14, 0x40($s1)
/* CC46F4 80240EE4 46241083 */ div.d $f2, $f2, $f4
/* CC46F8 80240EE8 462010A0 */ cvt.s.d $f2, $f2
/* CC46FC 80240EEC 46240003 */ div.d $f0, $f0, $f4
/* CC4700 80240EF0 8C420020 */ lw $v0, 0x20($v0)
/* CC4704 80240EF4 46200020 */ cvt.s.d $f0, $f0
/* CC4708 80240EF8 E622001C */ swc1 $f2, 0x1c($s1)
/* CC470C 80240EFC E6200014 */ swc1 $f0, 0x14($s1)
/* CC4710 80240F00 AE220028 */ sw $v0, 0x28($s1)
/* CC4714 80240F04 C6000018 */ lwc1 $f0, 0x18($s0)
/* CC4718 80240F08 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* CC471C 80240F0C 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* CC4720 80240F10 E6200018 */ swc1 $f0, 0x18($s1)
/* CC4724 80240F14 8C460028 */ lw $a2, 0x28($v0)
/* CC4728 80240F18 0C00A720 */ jal atan2
/* CC472C 80240F1C 8C470030 */ lw $a3, 0x30($v0)
/* CC4730 80240F20 E620000C */ swc1 $f0, 0xc($s1)
/* CC4734 80240F24 8E420018 */ lw $v0, 0x18($s2)
/* CC4738 80240F28 AE400074 */ sw $zero, 0x74($s2)
/* CC473C 80240F2C 9442002A */ lhu $v0, 0x2a($v0)
/* CC4740 80240F30 30420002 */ andi $v0, $v0, 2
/* CC4744 80240F34 10400005 */ beqz $v0, .L80240F4C
/* CC4748 80240F38 24020003 */ addiu $v0, $zero, 3
/* CC474C 80240F3C A622008E */ sh $v0, 0x8e($s1)
/* CC4750 80240F40 2402000D */ addiu $v0, $zero, 0xd
/* CC4754 80240F44 080903E7 */ j .L80240F9C
/* CC4758 80240F48 AE620070 */ sw $v0, 0x70($s3)
.L80240F4C:
/* CC475C 80240F4C 24030001 */ addiu $v1, $zero, 1
/* CC4760 80240F50 2402000E */ addiu $v0, $zero, 0xe
/* CC4764 80240F54 A623008E */ sh $v1, 0x8e($s1)
/* CC4768 80240F58 AE620070 */ sw $v0, 0x70($s3)
/* CC476C 80240F5C C6200038 */ lwc1 $f0, 0x38($s1)
/* CC4770 80240F60 4600018D */ trunc.w.s $f6, $f0
/* CC4774 80240F64 44023000 */ mfc1 $v0, $f6
/* CC4778 80240F68 00000000 */ nop
/* CC477C 80240F6C A6420010 */ sh $v0, 0x10($s2)
/* CC4780 80240F70 C620003C */ lwc1 $f0, 0x3c($s1)
/* CC4784 80240F74 4600018D */ trunc.w.s $f6, $f0
/* CC4788 80240F78 44023000 */ mfc1 $v0, $f6
/* CC478C 80240F7C 00000000 */ nop
/* CC4790 80240F80 A6420012 */ sh $v0, 0x12($s2)
/* CC4794 80240F84 C6200040 */ lwc1 $f0, 0x40($s1)
/* CC4798 80240F88 A2430007 */ sb $v1, 7($s2)
/* CC479C 80240F8C 4600018D */ trunc.w.s $f6, $f0
/* CC47A0 80240F90 44023000 */ mfc1 $v0, $f6
/* CC47A4 80240F94 00000000 */ nop
/* CC47A8 80240F98 A6420014 */ sh $v0, 0x14($s2)
.L80240F9C:
/* CC47AC 80240F9C 8FBF0020 */ lw $ra, 0x20($sp)
/* CC47B0 80240FA0 8FB3001C */ lw $s3, 0x1c($sp)
/* CC47B4 80240FA4 8FB20018 */ lw $s2, 0x18($sp)
/* CC47B8 80240FA8 8FB10014 */ lw $s1, 0x14($sp)
/* CC47BC 80240FAC 8FB00010 */ lw $s0, 0x10($sp)
/* CC47C0 80240FB0 03E00008 */ jr $ra
/* CC47C4 80240FB4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L8024163C_CC4E4C
glabel L80241654_CC4E64
/* CC4E64 80241654 0280202D */ daddu $a0, $s4, $zero
/* CC4E68 80241658 0200282D */ daddu $a1, $s0, $zero
/* CC4E6C 8024165C 0C0903A1 */ jal func_80240E84_CC4694
/* CC4E6C 8024165C 0C0903A1 */ jal flo_13_UnkNpcAIFunc14
/* CC4E70 80241660 0260302D */ daddu $a2, $s3, $zero
/* CC4E74 80241664 080905A6 */ j .L80241698
/* CC4E78 80241668 0000102D */ daddu $v0, $zero, $zero

View File

@ -155,7 +155,7 @@ glabel func_80241DB8_CC55C8
.L80241FE4:
/* CC57F4 80241FE4 0280202D */ daddu $a0, $s4, $zero
/* CC57F8 80241FE8 02C0282D */ daddu $a1, $s6, $zero
/* CC57FC 80241FEC 0C0903A1 */ jal func_80240E84_CC4694
/* CC57FC 80241FEC 0C0903A1 */ jal flo_13_UnkNpcAIFunc14
/* CC5800 80241FF0 02A0302D */ daddu $a2, $s5, $zero
.L80241FF4:
/* CC5804 80241FF4 0280202D */ daddu $a0, $s4, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802417D0_CCCAE0
/* CCCAE0 802417D0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* CCCAE4 802417D4 AFB3001C */ sw $s3, 0x1c($sp)
/* CCCAE8 802417D8 0080982D */ daddu $s3, $a0, $zero
/* CCCAEC 802417DC AFBF0020 */ sw $ra, 0x20($sp)
/* CCCAF0 802417E0 AFB20018 */ sw $s2, 0x18($sp)
/* CCCAF4 802417E4 AFB10014 */ sw $s1, 0x14($sp)
/* CCCAF8 802417E8 AFB00010 */ sw $s0, 0x10($sp)
/* CCCAFC 802417EC 8E720148 */ lw $s2, 0x148($s3)
/* CCCB00 802417F0 86440008 */ lh $a0, 8($s2)
/* CCCB04 802417F4 0C00EABB */ jal get_npc_unsafe
/* CCCB08 802417F8 00A0802D */ daddu $s0, $a1, $zero
/* CCCB0C 802417FC 0040882D */ daddu $s1, $v0, $zero
/* CCCB10 80241800 C6420080 */ lwc1 $f2, 0x80($s2)
/* CCCB14 80241804 468010A0 */ cvt.s.w $f2, $f2
/* CCCB18 80241808 460010A1 */ cvt.d.s $f2, $f2
/* CCCB1C 8024180C C6400084 */ lwc1 $f0, 0x84($s2)
/* CCCB20 80241810 46800020 */ cvt.s.w $f0, $f0
/* CCCB24 80241814 46000021 */ cvt.d.s $f0, $f0
/* CCCB28 80241818 3C014059 */ lui $at, 0x4059
/* CCCB2C 8024181C 44812800 */ mtc1 $at, $f5
/* CCCB30 80241820 44802000 */ mtc1 $zero, $f4
/* CCCB34 80241824 8E4200CC */ lw $v0, 0xcc($s2)
/* CCCB38 80241828 C62C0038 */ lwc1 $f12, 0x38($s1)
/* CCCB3C 8024182C C62E0040 */ lwc1 $f14, 0x40($s1)
/* CCCB40 80241830 46241083 */ div.d $f2, $f2, $f4
/* CCCB44 80241834 462010A0 */ cvt.s.d $f2, $f2
/* CCCB48 80241838 46240003 */ div.d $f0, $f0, $f4
/* CCCB4C 8024183C 8C420020 */ lw $v0, 0x20($v0)
/* CCCB50 80241840 46200020 */ cvt.s.d $f0, $f0
/* CCCB54 80241844 E622001C */ swc1 $f2, 0x1c($s1)
/* CCCB58 80241848 E6200014 */ swc1 $f0, 0x14($s1)
/* CCCB5C 8024184C AE220028 */ sw $v0, 0x28($s1)
/* CCCB60 80241850 C6000018 */ lwc1 $f0, 0x18($s0)
/* CCCB64 80241854 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* CCCB68 80241858 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* CCCB6C 8024185C E6200018 */ swc1 $f0, 0x18($s1)
/* CCCB70 80241860 8C460028 */ lw $a2, 0x28($v0)
/* CCCB74 80241864 0C00A720 */ jal atan2
/* CCCB78 80241868 8C470030 */ lw $a3, 0x30($v0)
/* CCCB7C 8024186C E620000C */ swc1 $f0, 0xc($s1)
/* CCCB80 80241870 8E420018 */ lw $v0, 0x18($s2)
/* CCCB84 80241874 AE400074 */ sw $zero, 0x74($s2)
/* CCCB88 80241878 9442002A */ lhu $v0, 0x2a($v0)
/* CCCB8C 8024187C 30420002 */ andi $v0, $v0, 2
/* CCCB90 80241880 10400005 */ beqz $v0, .L80241898
/* CCCB94 80241884 24020003 */ addiu $v0, $zero, 3
/* CCCB98 80241888 A622008E */ sh $v0, 0x8e($s1)
/* CCCB9C 8024188C 2402000D */ addiu $v0, $zero, 0xd
/* CCCBA0 80241890 0809063A */ j .L802418E8
/* CCCBA4 80241894 AE620070 */ sw $v0, 0x70($s3)
.L80241898:
/* CCCBA8 80241898 24030001 */ addiu $v1, $zero, 1
/* CCCBAC 8024189C 2402000E */ addiu $v0, $zero, 0xe
/* CCCBB0 802418A0 A623008E */ sh $v1, 0x8e($s1)
/* CCCBB4 802418A4 AE620070 */ sw $v0, 0x70($s3)
/* CCCBB8 802418A8 C6200038 */ lwc1 $f0, 0x38($s1)
/* CCCBBC 802418AC 4600018D */ trunc.w.s $f6, $f0
/* CCCBC0 802418B0 44023000 */ mfc1 $v0, $f6
/* CCCBC4 802418B4 00000000 */ nop
/* CCCBC8 802418B8 A6420010 */ sh $v0, 0x10($s2)
/* CCCBCC 802418BC C620003C */ lwc1 $f0, 0x3c($s1)
/* CCCBD0 802418C0 4600018D */ trunc.w.s $f6, $f0
/* CCCBD4 802418C4 44023000 */ mfc1 $v0, $f6
/* CCCBD8 802418C8 00000000 */ nop
/* CCCBDC 802418CC A6420012 */ sh $v0, 0x12($s2)
/* CCCBE0 802418D0 C6200040 */ lwc1 $f0, 0x40($s1)
/* CCCBE4 802418D4 A2430007 */ sb $v1, 7($s2)
/* CCCBE8 802418D8 4600018D */ trunc.w.s $f6, $f0
/* CCCBEC 802418DC 44023000 */ mfc1 $v0, $f6
/* CCCBF0 802418E0 00000000 */ nop
/* CCCBF4 802418E4 A6420014 */ sh $v0, 0x14($s2)
.L802418E8:
/* CCCBF8 802418E8 8FBF0020 */ lw $ra, 0x20($sp)
/* CCCBFC 802418EC 8FB3001C */ lw $s3, 0x1c($sp)
/* CCCC00 802418F0 8FB20018 */ lw $s2, 0x18($sp)
/* CCCC04 802418F4 8FB10014 */ lw $s1, 0x14($sp)
/* CCCC08 802418F8 8FB00010 */ lw $s0, 0x10($sp)
/* CCCC0C 802418FC 03E00008 */ jr $ra
/* CCCC10 80241900 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241F88_CCD298
glabel L80241FA0_CCD2B0
/* CCD2B0 80241FA0 0280202D */ daddu $a0, $s4, $zero
/* CCD2B4 80241FA4 0200282D */ daddu $a1, $s0, $zero
/* CCD2B8 80241FA8 0C0905F4 */ jal func_802417D0_CCCAE0
/* CCD2B8 80241FA8 0C0905F4 */ jal flo_14_UnkNpcAIFunc14
/* CCD2BC 80241FAC 0260302D */ daddu $a2, $s3, $zero
/* CCD2C0 80241FB0 080907F9 */ j .L80241FE4
/* CCD2C4 80241FB4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240D58_CD2B88
/* CD2B88 80240D58 27BDFFE0 */ addiu $sp, $sp, -0x20
/* CD2B8C 80240D5C AFBF0018 */ sw $ra, 0x18($sp)
/* CD2B90 80240D60 0C00EAD2 */ jal get_npc_safe
/* CD2B94 80240D64 2404FFFC */ addiu $a0, $zero, -4
/* CD2B98 80240D68 3C0141F0 */ lui $at, 0x41f0
/* CD2B9C 80240D6C 44810000 */ mtc1 $at, $f0
/* CD2BA0 80240D70 C442003C */ lwc1 $f2, 0x3c($v0)
/* CD2BA4 80240D74 46001080 */ add.s $f2, $f2, $f0
/* CD2BA8 80240D78 E7A00010 */ swc1 $f0, 0x10($sp)
/* CD2BAC 80240D7C 8C450038 */ lw $a1, 0x38($v0)
/* CD2BB0 80240D80 8C470040 */ lw $a3, 0x40($v0)
/* CD2BB4 80240D84 44061000 */ mfc1 $a2, $f2
/* CD2BB8 80240D88 0C01BFBC */ jal func_8006FEF0
/* CD2BBC 80240D8C 24040002 */ addiu $a0, $zero, 2
/* CD2BC0 80240D90 8FBF0018 */ lw $ra, 0x18($sp)
/* CD2BC4 80240D94 24020002 */ addiu $v0, $zero, 2
/* CD2BC8 80240D98 03E00008 */ jr $ra
/* CD2BCC 80240D9C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240DA0_CD2BD0
/* CD2BD0 80240DA0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* CD2BD4 80240DA4 AFBF0018 */ sw $ra, 0x18($sp)
/* CD2BD8 80240DA8 0C00EAD2 */ jal get_npc_safe
/* CD2BDC 80240DAC 2404FFFC */ addiu $a0, $zero, -4
/* CD2BE0 80240DB0 3C0141F0 */ lui $at, 0x41f0
/* CD2BE4 80240DB4 44810000 */ mtc1 $at, $f0
/* CD2BE8 80240DB8 C442003C */ lwc1 $f2, 0x3c($v0)
/* CD2BEC 80240DBC 46001080 */ add.s $f2, $f2, $f0
/* CD2BF0 80240DC0 E7A00010 */ swc1 $f0, 0x10($sp)
/* CD2BF4 80240DC4 8C450038 */ lw $a1, 0x38($v0)
/* CD2BF8 80240DC8 8C470040 */ lw $a3, 0x40($v0)
/* CD2BFC 80240DCC 44061000 */ mfc1 $a2, $f2
/* CD2C00 80240DD0 0C01BFBC */ jal func_8006FEF0
/* CD2C04 80240DD4 24040004 */ addiu $a0, $zero, 4
/* CD2C08 80240DD8 8FBF0018 */ lw $ra, 0x18($sp)
/* CD2C0C 80240DDC 24020002 */ addiu $v0, $zero, 2
/* CD2C10 80240DE0 03E00008 */ jr $ra
/* CD2C14 80240DE4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241B10_CD3940
/* CD3940 80241B10 27BDFFD8 */ addiu $sp, $sp, -0x28
/* CD3944 80241B14 AFB3001C */ sw $s3, 0x1c($sp)
/* CD3948 80241B18 0080982D */ daddu $s3, $a0, $zero
/* CD394C 80241B1C AFBF0020 */ sw $ra, 0x20($sp)
/* CD3950 80241B20 AFB20018 */ sw $s2, 0x18($sp)
/* CD3954 80241B24 AFB10014 */ sw $s1, 0x14($sp)
/* CD3958 80241B28 AFB00010 */ sw $s0, 0x10($sp)
/* CD395C 80241B2C 8E720148 */ lw $s2, 0x148($s3)
/* CD3960 80241B30 86440008 */ lh $a0, 8($s2)
/* CD3964 80241B34 0C00EABB */ jal get_npc_unsafe
/* CD3968 80241B38 00A0802D */ daddu $s0, $a1, $zero
/* CD396C 80241B3C 0040882D */ daddu $s1, $v0, $zero
/* CD3970 80241B40 C6420080 */ lwc1 $f2, 0x80($s2)
/* CD3974 80241B44 468010A0 */ cvt.s.w $f2, $f2
/* CD3978 80241B48 460010A1 */ cvt.d.s $f2, $f2
/* CD397C 80241B4C C6400084 */ lwc1 $f0, 0x84($s2)
/* CD3980 80241B50 46800020 */ cvt.s.w $f0, $f0
/* CD3984 80241B54 46000021 */ cvt.d.s $f0, $f0
/* CD3988 80241B58 3C014059 */ lui $at, 0x4059
/* CD398C 80241B5C 44812800 */ mtc1 $at, $f5
/* CD3990 80241B60 44802000 */ mtc1 $zero, $f4
/* CD3994 80241B64 8E4200CC */ lw $v0, 0xcc($s2)
/* CD3998 80241B68 C62C0038 */ lwc1 $f12, 0x38($s1)
/* CD399C 80241B6C C62E0040 */ lwc1 $f14, 0x40($s1)
/* CD39A0 80241B70 46241083 */ div.d $f2, $f2, $f4
/* CD39A4 80241B74 462010A0 */ cvt.s.d $f2, $f2
/* CD39A8 80241B78 46240003 */ div.d $f0, $f0, $f4
/* CD39AC 80241B7C 8C420020 */ lw $v0, 0x20($v0)
/* CD39B0 80241B80 46200020 */ cvt.s.d $f0, $f0
/* CD39B4 80241B84 E622001C */ swc1 $f2, 0x1c($s1)
/* CD39B8 80241B88 E6200014 */ swc1 $f0, 0x14($s1)
/* CD39BC 80241B8C AE220028 */ sw $v0, 0x28($s1)
/* CD39C0 80241B90 C6000018 */ lwc1 $f0, 0x18($s0)
/* CD39C4 80241B94 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* CD39C8 80241B98 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* CD39CC 80241B9C E6200018 */ swc1 $f0, 0x18($s1)
/* CD39D0 80241BA0 8C460028 */ lw $a2, 0x28($v0)
/* CD39D4 80241BA4 0C00A720 */ jal atan2
/* CD39D8 80241BA8 8C470030 */ lw $a3, 0x30($v0)
/* CD39DC 80241BAC E620000C */ swc1 $f0, 0xc($s1)
/* CD39E0 80241BB0 8E420018 */ lw $v0, 0x18($s2)
/* CD39E4 80241BB4 AE400074 */ sw $zero, 0x74($s2)
/* CD39E8 80241BB8 9442002A */ lhu $v0, 0x2a($v0)
/* CD39EC 80241BBC 30420002 */ andi $v0, $v0, 2
/* CD39F0 80241BC0 10400005 */ beqz $v0, .L80241BD8
/* CD39F4 80241BC4 24020003 */ addiu $v0, $zero, 3
/* CD39F8 80241BC8 A622008E */ sh $v0, 0x8e($s1)
/* CD39FC 80241BCC 2402000D */ addiu $v0, $zero, 0xd
/* CD3A00 80241BD0 0809070A */ j .L80241C28
/* CD3A04 80241BD4 AE620070 */ sw $v0, 0x70($s3)
.L80241BD8:
/* CD3A08 80241BD8 24030001 */ addiu $v1, $zero, 1
/* CD3A0C 80241BDC 2402000E */ addiu $v0, $zero, 0xe
/* CD3A10 80241BE0 A623008E */ sh $v1, 0x8e($s1)
/* CD3A14 80241BE4 AE620070 */ sw $v0, 0x70($s3)
/* CD3A18 80241BE8 C6200038 */ lwc1 $f0, 0x38($s1)
/* CD3A1C 80241BEC 4600018D */ trunc.w.s $f6, $f0
/* CD3A20 80241BF0 44023000 */ mfc1 $v0, $f6
/* CD3A24 80241BF4 00000000 */ nop
/* CD3A28 80241BF8 A6420010 */ sh $v0, 0x10($s2)
/* CD3A2C 80241BFC C620003C */ lwc1 $f0, 0x3c($s1)
/* CD3A30 80241C00 4600018D */ trunc.w.s $f6, $f0
/* CD3A34 80241C04 44023000 */ mfc1 $v0, $f6
/* CD3A38 80241C08 00000000 */ nop
/* CD3A3C 80241C0C A6420012 */ sh $v0, 0x12($s2)
/* CD3A40 80241C10 C6200040 */ lwc1 $f0, 0x40($s1)
/* CD3A44 80241C14 A2430007 */ sb $v1, 7($s2)
/* CD3A48 80241C18 4600018D */ trunc.w.s $f6, $f0
/* CD3A4C 80241C1C 44023000 */ mfc1 $v0, $f6
/* CD3A50 80241C20 00000000 */ nop
/* CD3A54 80241C24 A6420014 */ sh $v0, 0x14($s2)
.L80241C28:
/* CD3A58 80241C28 8FBF0020 */ lw $ra, 0x20($sp)
/* CD3A5C 80241C2C 8FB3001C */ lw $s3, 0x1c($sp)
/* CD3A60 80241C30 8FB20018 */ lw $s2, 0x18($sp)
/* CD3A64 80241C34 8FB10014 */ lw $s1, 0x14($sp)
/* CD3A68 80241C38 8FB00010 */ lw $s0, 0x10($sp)
/* CD3A6C 80241C3C 03E00008 */ jr $ra
/* CD3A70 80241C40 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L802422C8_CD40F8
glabel L802422E0_CD4110
/* CD4110 802422E0 0280202D */ daddu $a0, $s4, $zero
/* CD4114 802422E4 0200282D */ daddu $a1, $s0, $zero
/* CD4118 802422E8 0C0906C4 */ jal func_80241B10_CD3940
/* CD4118 802422E8 0C0906C4 */ jal flo_16_UnkNpcAIFunc14
/* CD411C 802422EC 0260302D */ daddu $a2, $s3, $zero
/* CD4120 802422F0 080908C9 */ j .L80242324
/* CD4124 802422F4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240D30_CD8010
/* CD8010 80240D30 27BDFFD8 */ addiu $sp, $sp, -0x28
/* CD8014 80240D34 AFB3001C */ sw $s3, 0x1c($sp)
/* CD8018 80240D38 0080982D */ daddu $s3, $a0, $zero
/* CD801C 80240D3C AFBF0020 */ sw $ra, 0x20($sp)
/* CD8020 80240D40 AFB20018 */ sw $s2, 0x18($sp)
/* CD8024 80240D44 AFB10014 */ sw $s1, 0x14($sp)
/* CD8028 80240D48 AFB00010 */ sw $s0, 0x10($sp)
/* CD802C 80240D4C 8E720148 */ lw $s2, 0x148($s3)
/* CD8030 80240D50 86440008 */ lh $a0, 8($s2)
/* CD8034 80240D54 0C00EABB */ jal get_npc_unsafe
/* CD8038 80240D58 00A0802D */ daddu $s0, $a1, $zero
/* CD803C 80240D5C 0040882D */ daddu $s1, $v0, $zero
/* CD8040 80240D60 C6420080 */ lwc1 $f2, 0x80($s2)
/* CD8044 80240D64 468010A0 */ cvt.s.w $f2, $f2
/* CD8048 80240D68 460010A1 */ cvt.d.s $f2, $f2
/* CD804C 80240D6C C6400084 */ lwc1 $f0, 0x84($s2)
/* CD8050 80240D70 46800020 */ cvt.s.w $f0, $f0
/* CD8054 80240D74 46000021 */ cvt.d.s $f0, $f0
/* CD8058 80240D78 3C014059 */ lui $at, 0x4059
/* CD805C 80240D7C 44812800 */ mtc1 $at, $f5
/* CD8060 80240D80 44802000 */ mtc1 $zero, $f4
/* CD8064 80240D84 8E4200CC */ lw $v0, 0xcc($s2)
/* CD8068 80240D88 C62C0038 */ lwc1 $f12, 0x38($s1)
/* CD806C 80240D8C C62E0040 */ lwc1 $f14, 0x40($s1)
/* CD8070 80240D90 46241083 */ div.d $f2, $f2, $f4
/* CD8074 80240D94 462010A0 */ cvt.s.d $f2, $f2
/* CD8078 80240D98 46240003 */ div.d $f0, $f0, $f4
/* CD807C 80240D9C 8C420020 */ lw $v0, 0x20($v0)
/* CD8080 80240DA0 46200020 */ cvt.s.d $f0, $f0
/* CD8084 80240DA4 E622001C */ swc1 $f2, 0x1c($s1)
/* CD8088 80240DA8 E6200014 */ swc1 $f0, 0x14($s1)
/* CD808C 80240DAC AE220028 */ sw $v0, 0x28($s1)
/* CD8090 80240DB0 C6000018 */ lwc1 $f0, 0x18($s0)
/* CD8094 80240DB4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* CD8098 80240DB8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* CD809C 80240DBC E6200018 */ swc1 $f0, 0x18($s1)
/* CD80A0 80240DC0 8C460028 */ lw $a2, 0x28($v0)
/* CD80A4 80240DC4 0C00A720 */ jal atan2
/* CD80A8 80240DC8 8C470030 */ lw $a3, 0x30($v0)
/* CD80AC 80240DCC E620000C */ swc1 $f0, 0xc($s1)
/* CD80B0 80240DD0 8E420018 */ lw $v0, 0x18($s2)
/* CD80B4 80240DD4 AE400074 */ sw $zero, 0x74($s2)
/* CD80B8 80240DD8 9442002A */ lhu $v0, 0x2a($v0)
/* CD80BC 80240DDC 30420002 */ andi $v0, $v0, 2
/* CD80C0 80240DE0 10400005 */ beqz $v0, .L80240DF8
/* CD80C4 80240DE4 24020003 */ addiu $v0, $zero, 3
/* CD80C8 80240DE8 A622008E */ sh $v0, 0x8e($s1)
/* CD80CC 80240DEC 2402000D */ addiu $v0, $zero, 0xd
/* CD80D0 80240DF0 08090392 */ j .L80240E48
/* CD80D4 80240DF4 AE620070 */ sw $v0, 0x70($s3)
.L80240DF8:
/* CD80D8 80240DF8 24030001 */ addiu $v1, $zero, 1
/* CD80DC 80240DFC 2402000E */ addiu $v0, $zero, 0xe
/* CD80E0 80240E00 A623008E */ sh $v1, 0x8e($s1)
/* CD80E4 80240E04 AE620070 */ sw $v0, 0x70($s3)
/* CD80E8 80240E08 C6200038 */ lwc1 $f0, 0x38($s1)
/* CD80EC 80240E0C 4600018D */ trunc.w.s $f6, $f0
/* CD80F0 80240E10 44023000 */ mfc1 $v0, $f6
/* CD80F4 80240E14 00000000 */ nop
/* CD80F8 80240E18 A6420010 */ sh $v0, 0x10($s2)
/* CD80FC 80240E1C C620003C */ lwc1 $f0, 0x3c($s1)
/* CD8100 80240E20 4600018D */ trunc.w.s $f6, $f0
/* CD8104 80240E24 44023000 */ mfc1 $v0, $f6
/* CD8108 80240E28 00000000 */ nop
/* CD810C 80240E2C A6420012 */ sh $v0, 0x12($s2)
/* CD8110 80240E30 C6200040 */ lwc1 $f0, 0x40($s1)
/* CD8114 80240E34 A2430007 */ sb $v1, 7($s2)
/* CD8118 80240E38 4600018D */ trunc.w.s $f6, $f0
/* CD811C 80240E3C 44023000 */ mfc1 $v0, $f6
/* CD8120 80240E40 00000000 */ nop
/* CD8124 80240E44 A6420014 */ sh $v0, 0x14($s2)
.L80240E48:
/* CD8128 80240E48 8FBF0020 */ lw $ra, 0x20($sp)
/* CD812C 80240E4C 8FB3001C */ lw $s3, 0x1c($sp)
/* CD8130 80240E50 8FB20018 */ lw $s2, 0x18($sp)
/* CD8134 80240E54 8FB10014 */ lw $s1, 0x14($sp)
/* CD8138 80240E58 8FB00010 */ lw $s0, 0x10($sp)
/* CD813C 80240E5C 03E00008 */ jr $ra
/* CD8140 80240E60 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L802414E8_CD87C8
glabel L80241500_CD87E0
/* CD87E0 80241500 0280202D */ daddu $a0, $s4, $zero
/* CD87E4 80241504 0200282D */ daddu $a1, $s0, $zero
/* CD87E8 80241508 0C09034C */ jal func_80240D30_CD8010
/* CD87E8 80241508 0C09034C */ jal flo_17_UnkNpcAIFunc14
/* CD87EC 8024150C 0260302D */ daddu $a2, $s3, $zero
/* CD87F0 80241510 08090551 */ j .L80241544
/* CD87F4 80241514 0000102D */ daddu $v0, $zero, $zero

View File

@ -155,7 +155,7 @@ glabel func_80241C64_CD8F44
.L80241E90:
/* CD9170 80241E90 0280202D */ daddu $a0, $s4, $zero
/* CD9174 80241E94 02C0282D */ daddu $a1, $s6, $zero
/* CD9178 80241E98 0C09034C */ jal func_80240D30_CD8010
/* CD9178 80241E98 0C09034C */ jal flo_17_UnkNpcAIFunc14
/* CD917C 80241E9C 02A0302D */ daddu $a2, $s5, $zero
.L80241EA0:
/* CD9180 80241EA0 0280202D */ daddu $a0, $s4, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240D00_CF38D0
/* CF38D0 80240D00 27BDFFD8 */ addiu $sp, $sp, -0x28
/* CF38D4 80240D04 AFB3001C */ sw $s3, 0x1c($sp)
/* CF38D8 80240D08 0080982D */ daddu $s3, $a0, $zero
/* CF38DC 80240D0C AFBF0020 */ sw $ra, 0x20($sp)
/* CF38E0 80240D10 AFB20018 */ sw $s2, 0x18($sp)
/* CF38E4 80240D14 AFB10014 */ sw $s1, 0x14($sp)
/* CF38E8 80240D18 AFB00010 */ sw $s0, 0x10($sp)
/* CF38EC 80240D1C 8E720148 */ lw $s2, 0x148($s3)
/* CF38F0 80240D20 86440008 */ lh $a0, 8($s2)
/* CF38F4 80240D24 0C00EABB */ jal get_npc_unsafe
/* CF38F8 80240D28 00A0802D */ daddu $s0, $a1, $zero
/* CF38FC 80240D2C 0040882D */ daddu $s1, $v0, $zero
/* CF3900 80240D30 C6420080 */ lwc1 $f2, 0x80($s2)
/* CF3904 80240D34 468010A0 */ cvt.s.w $f2, $f2
/* CF3908 80240D38 460010A1 */ cvt.d.s $f2, $f2
/* CF390C 80240D3C C6400084 */ lwc1 $f0, 0x84($s2)
/* CF3910 80240D40 46800020 */ cvt.s.w $f0, $f0
/* CF3914 80240D44 46000021 */ cvt.d.s $f0, $f0
/* CF3918 80240D48 3C014059 */ lui $at, 0x4059
/* CF391C 80240D4C 44812800 */ mtc1 $at, $f5
/* CF3920 80240D50 44802000 */ mtc1 $zero, $f4
/* CF3924 80240D54 8E4200CC */ lw $v0, 0xcc($s2)
/* CF3928 80240D58 C62C0038 */ lwc1 $f12, 0x38($s1)
/* CF392C 80240D5C C62E0040 */ lwc1 $f14, 0x40($s1)
/* CF3930 80240D60 46241083 */ div.d $f2, $f2, $f4
/* CF3934 80240D64 462010A0 */ cvt.s.d $f2, $f2
/* CF3938 80240D68 46240003 */ div.d $f0, $f0, $f4
/* CF393C 80240D6C 8C420020 */ lw $v0, 0x20($v0)
/* CF3940 80240D70 46200020 */ cvt.s.d $f0, $f0
/* CF3944 80240D74 E622001C */ swc1 $f2, 0x1c($s1)
/* CF3948 80240D78 E6200014 */ swc1 $f0, 0x14($s1)
/* CF394C 80240D7C AE220028 */ sw $v0, 0x28($s1)
/* CF3950 80240D80 C6000018 */ lwc1 $f0, 0x18($s0)
/* CF3954 80240D84 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* CF3958 80240D88 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* CF395C 80240D8C E6200018 */ swc1 $f0, 0x18($s1)
/* CF3960 80240D90 8C460028 */ lw $a2, 0x28($v0)
/* CF3964 80240D94 0C00A720 */ jal atan2
/* CF3968 80240D98 8C470030 */ lw $a3, 0x30($v0)
/* CF396C 80240D9C E620000C */ swc1 $f0, 0xc($s1)
/* CF3970 80240DA0 8E420018 */ lw $v0, 0x18($s2)
/* CF3974 80240DA4 AE400074 */ sw $zero, 0x74($s2)
/* CF3978 80240DA8 9442002A */ lhu $v0, 0x2a($v0)
/* CF397C 80240DAC 30420002 */ andi $v0, $v0, 2
/* CF3980 80240DB0 10400005 */ beqz $v0, .L80240DC8
/* CF3984 80240DB4 24020003 */ addiu $v0, $zero, 3
/* CF3988 80240DB8 A622008E */ sh $v0, 0x8e($s1)
/* CF398C 80240DBC 2402000D */ addiu $v0, $zero, 0xd
/* CF3990 80240DC0 08090386 */ j .L80240E18
/* CF3994 80240DC4 AE620070 */ sw $v0, 0x70($s3)
.L80240DC8:
/* CF3998 80240DC8 24030001 */ addiu $v1, $zero, 1
/* CF399C 80240DCC 2402000E */ addiu $v0, $zero, 0xe
/* CF39A0 80240DD0 A623008E */ sh $v1, 0x8e($s1)
/* CF39A4 80240DD4 AE620070 */ sw $v0, 0x70($s3)
/* CF39A8 80240DD8 C6200038 */ lwc1 $f0, 0x38($s1)
/* CF39AC 80240DDC 4600018D */ trunc.w.s $f6, $f0
/* CF39B0 80240DE0 44023000 */ mfc1 $v0, $f6
/* CF39B4 80240DE4 00000000 */ nop
/* CF39B8 80240DE8 A6420010 */ sh $v0, 0x10($s2)
/* CF39BC 80240DEC C620003C */ lwc1 $f0, 0x3c($s1)
/* CF39C0 80240DF0 4600018D */ trunc.w.s $f6, $f0
/* CF39C4 80240DF4 44023000 */ mfc1 $v0, $f6
/* CF39C8 80240DF8 00000000 */ nop
/* CF39CC 80240DFC A6420012 */ sh $v0, 0x12($s2)
/* CF39D0 80240E00 C6200040 */ lwc1 $f0, 0x40($s1)
/* CF39D4 80240E04 A2430007 */ sb $v1, 7($s2)
/* CF39D8 80240E08 4600018D */ trunc.w.s $f6, $f0
/* CF39DC 80240E0C 44023000 */ mfc1 $v0, $f6
/* CF39E0 80240E10 00000000 */ nop
/* CF39E4 80240E14 A6420014 */ sh $v0, 0x14($s2)
.L80240E18:
/* CF39E8 80240E18 8FBF0020 */ lw $ra, 0x20($sp)
/* CF39EC 80240E1C 8FB3001C */ lw $s3, 0x1c($sp)
/* CF39F0 80240E20 8FB20018 */ lw $s2, 0x18($sp)
/* CF39F4 80240E24 8FB10014 */ lw $s1, 0x14($sp)
/* CF39F8 80240E28 8FB00010 */ lw $s0, 0x10($sp)
/* CF39FC 80240E2C 03E00008 */ jr $ra
/* CF3A00 80240E30 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L802414B8_CF4088
glabel L802414D0_CF40A0
/* CF40A0 802414D0 0280202D */ daddu $a0, $s4, $zero
/* CF40A4 802414D4 0200282D */ daddu $a1, $s0, $zero
/* CF40A8 802414D8 0C090340 */ jal func_80240D00_CF38D0
/* CF40A8 802414D8 0C090340 */ jal flo_25_UnkNpcAIFunc14
/* CF40AC 802414DC 0260302D */ daddu $a2, $s3, $zero
/* CF40B0 802414E0 08090545 */ j .L80241514
/* CF40B4 802414E4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241CB0_A17ED0
/* A17ED0 80241CB0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* A17ED4 80241CB4 AFB3001C */ sw $s3, 0x1c($sp)
/* A17ED8 80241CB8 0080982D */ daddu $s3, $a0, $zero
/* A17EDC 80241CBC AFBF0020 */ sw $ra, 0x20($sp)
/* A17EE0 80241CC0 AFB20018 */ sw $s2, 0x18($sp)
/* A17EE4 80241CC4 AFB10014 */ sw $s1, 0x14($sp)
/* A17EE8 80241CC8 AFB00010 */ sw $s0, 0x10($sp)
/* A17EEC 80241CCC 8E720148 */ lw $s2, 0x148($s3)
/* A17EF0 80241CD0 86440008 */ lh $a0, 8($s2)
/* A17EF4 80241CD4 0C00EABB */ jal get_npc_unsafe
/* A17EF8 80241CD8 00A0802D */ daddu $s0, $a1, $zero
/* A17EFC 80241CDC 0040882D */ daddu $s1, $v0, $zero
/* A17F00 80241CE0 C6420080 */ lwc1 $f2, 0x80($s2)
/* A17F04 80241CE4 468010A0 */ cvt.s.w $f2, $f2
/* A17F08 80241CE8 460010A1 */ cvt.d.s $f2, $f2
/* A17F0C 80241CEC C6400084 */ lwc1 $f0, 0x84($s2)
/* A17F10 80241CF0 46800020 */ cvt.s.w $f0, $f0
/* A17F14 80241CF4 46000021 */ cvt.d.s $f0, $f0
/* A17F18 80241CF8 3C014059 */ lui $at, 0x4059
/* A17F1C 80241CFC 44812800 */ mtc1 $at, $f5
/* A17F20 80241D00 44802000 */ mtc1 $zero, $f4
/* A17F24 80241D04 8E4200CC */ lw $v0, 0xcc($s2)
/* A17F28 80241D08 C62C0038 */ lwc1 $f12, 0x38($s1)
/* A17F2C 80241D0C C62E0040 */ lwc1 $f14, 0x40($s1)
/* A17F30 80241D10 46241083 */ div.d $f2, $f2, $f4
/* A17F34 80241D14 462010A0 */ cvt.s.d $f2, $f2
/* A17F38 80241D18 46240003 */ div.d $f0, $f0, $f4
/* A17F3C 80241D1C 8C420020 */ lw $v0, 0x20($v0)
/* A17F40 80241D20 46200020 */ cvt.s.d $f0, $f0
/* A17F44 80241D24 E622001C */ swc1 $f2, 0x1c($s1)
/* A17F48 80241D28 E6200014 */ swc1 $f0, 0x14($s1)
/* A17F4C 80241D2C AE220028 */ sw $v0, 0x28($s1)
/* A17F50 80241D30 C6000018 */ lwc1 $f0, 0x18($s0)
/* A17F54 80241D34 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* A17F58 80241D38 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* A17F5C 80241D3C E6200018 */ swc1 $f0, 0x18($s1)
/* A17F60 80241D40 8C460028 */ lw $a2, 0x28($v0)
/* A17F64 80241D44 0C00A720 */ jal atan2
/* A17F68 80241D48 8C470030 */ lw $a3, 0x30($v0)
/* A17F6C 80241D4C E620000C */ swc1 $f0, 0xc($s1)
/* A17F70 80241D50 8E420018 */ lw $v0, 0x18($s2)
/* A17F74 80241D54 AE400074 */ sw $zero, 0x74($s2)
/* A17F78 80241D58 9442002A */ lhu $v0, 0x2a($v0)
/* A17F7C 80241D5C 30420002 */ andi $v0, $v0, 2
/* A17F80 80241D60 10400005 */ beqz $v0, .L80241D78
/* A17F84 80241D64 24020003 */ addiu $v0, $zero, 3
/* A17F88 80241D68 A622008E */ sh $v0, 0x8e($s1)
/* A17F8C 80241D6C 2402000D */ addiu $v0, $zero, 0xd
/* A17F90 80241D70 08090772 */ j .L80241DC8
/* A17F94 80241D74 AE620070 */ sw $v0, 0x70($s3)
.L80241D78:
/* A17F98 80241D78 24030001 */ addiu $v1, $zero, 1
/* A17F9C 80241D7C 2402000E */ addiu $v0, $zero, 0xe
/* A17FA0 80241D80 A623008E */ sh $v1, 0x8e($s1)
/* A17FA4 80241D84 AE620070 */ sw $v0, 0x70($s3)
/* A17FA8 80241D88 C6200038 */ lwc1 $f0, 0x38($s1)
/* A17FAC 80241D8C 4600018D */ trunc.w.s $f6, $f0
/* A17FB0 80241D90 44023000 */ mfc1 $v0, $f6
/* A17FB4 80241D94 00000000 */ nop
/* A17FB8 80241D98 A6420010 */ sh $v0, 0x10($s2)
/* A17FBC 80241D9C C620003C */ lwc1 $f0, 0x3c($s1)
/* A17FC0 80241DA0 4600018D */ trunc.w.s $f6, $f0
/* A17FC4 80241DA4 44023000 */ mfc1 $v0, $f6
/* A17FC8 80241DA8 00000000 */ nop
/* A17FCC 80241DAC A6420012 */ sh $v0, 0x12($s2)
/* A17FD0 80241DB0 C6200040 */ lwc1 $f0, 0x40($s1)
/* A17FD4 80241DB4 A2430007 */ sb $v1, 7($s2)
/* A17FD8 80241DB8 4600018D */ trunc.w.s $f6, $f0
/* A17FDC 80241DBC 44023000 */ mfc1 $v0, $f6
/* A17FE0 80241DC0 00000000 */ nop
/* A17FE4 80241DC4 A6420014 */ sh $v0, 0x14($s2)
.L80241DC8:
/* A17FE8 80241DC8 8FBF0020 */ lw $ra, 0x20($sp)
/* A17FEC 80241DCC 8FB3001C */ lw $s3, 0x1c($sp)
/* A17FF0 80241DD0 8FB20018 */ lw $s2, 0x18($sp)
/* A17FF4 80241DD4 8FB10014 */ lw $s1, 0x14($sp)
/* A17FF8 80241DD8 8FB00010 */ lw $s0, 0x10($sp)
/* A17FFC 80241DDC 03E00008 */ jr $ra
/* A18000 80241DE0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80242468_A18688
glabel L80242480_A186A0
/* A186A0 80242480 0280202D */ daddu $a0, $s4, $zero
/* A186A4 80242484 0200282D */ daddu $a1, $s0, $zero
/* A186A8 80242488 0C09072C */ jal func_80241CB0_A17ED0
/* A186A8 80242488 0C09072C */ jal hos_02_UnkNpcAIFunc14
/* A186AC 8024248C 0260302D */ daddu $a2, $s3, $zero
/* A186B0 80242490 08090931 */ j .L802424C4
/* A186B4 80242494 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241970_A1CA70
/* A1CA70 80241970 27BDFFD8 */ addiu $sp, $sp, -0x28
/* A1CA74 80241974 AFB3001C */ sw $s3, 0x1c($sp)
/* A1CA78 80241978 0080982D */ daddu $s3, $a0, $zero
/* A1CA7C 8024197C AFBF0020 */ sw $ra, 0x20($sp)
/* A1CA80 80241980 AFB20018 */ sw $s2, 0x18($sp)
/* A1CA84 80241984 AFB10014 */ sw $s1, 0x14($sp)
/* A1CA88 80241988 AFB00010 */ sw $s0, 0x10($sp)
/* A1CA8C 8024198C 8E720148 */ lw $s2, 0x148($s3)
/* A1CA90 80241990 86440008 */ lh $a0, 8($s2)
/* A1CA94 80241994 0C00EABB */ jal get_npc_unsafe
/* A1CA98 80241998 00A0802D */ daddu $s0, $a1, $zero
/* A1CA9C 8024199C 0040882D */ daddu $s1, $v0, $zero
/* A1CAA0 802419A0 C6420080 */ lwc1 $f2, 0x80($s2)
/* A1CAA4 802419A4 468010A0 */ cvt.s.w $f2, $f2
/* A1CAA8 802419A8 460010A1 */ cvt.d.s $f2, $f2
/* A1CAAC 802419AC C6400084 */ lwc1 $f0, 0x84($s2)
/* A1CAB0 802419B0 46800020 */ cvt.s.w $f0, $f0
/* A1CAB4 802419B4 46000021 */ cvt.d.s $f0, $f0
/* A1CAB8 802419B8 3C014059 */ lui $at, 0x4059
/* A1CABC 802419BC 44812800 */ mtc1 $at, $f5
/* A1CAC0 802419C0 44802000 */ mtc1 $zero, $f4
/* A1CAC4 802419C4 8E4200CC */ lw $v0, 0xcc($s2)
/* A1CAC8 802419C8 C62C0038 */ lwc1 $f12, 0x38($s1)
/* A1CACC 802419CC C62E0040 */ lwc1 $f14, 0x40($s1)
/* A1CAD0 802419D0 46241083 */ div.d $f2, $f2, $f4
/* A1CAD4 802419D4 462010A0 */ cvt.s.d $f2, $f2
/* A1CAD8 802419D8 46240003 */ div.d $f0, $f0, $f4
/* A1CADC 802419DC 8C420020 */ lw $v0, 0x20($v0)
/* A1CAE0 802419E0 46200020 */ cvt.s.d $f0, $f0
/* A1CAE4 802419E4 E622001C */ swc1 $f2, 0x1c($s1)
/* A1CAE8 802419E8 E6200014 */ swc1 $f0, 0x14($s1)
/* A1CAEC 802419EC AE220028 */ sw $v0, 0x28($s1)
/* A1CAF0 802419F0 C6000018 */ lwc1 $f0, 0x18($s0)
/* A1CAF4 802419F4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* A1CAF8 802419F8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* A1CAFC 802419FC E6200018 */ swc1 $f0, 0x18($s1)
/* A1CB00 80241A00 8C460028 */ lw $a2, 0x28($v0)
/* A1CB04 80241A04 0C00A720 */ jal atan2
/* A1CB08 80241A08 8C470030 */ lw $a3, 0x30($v0)
/* A1CB0C 80241A0C E620000C */ swc1 $f0, 0xc($s1)
/* A1CB10 80241A10 8E420018 */ lw $v0, 0x18($s2)
/* A1CB14 80241A14 AE400074 */ sw $zero, 0x74($s2)
/* A1CB18 80241A18 9442002A */ lhu $v0, 0x2a($v0)
/* A1CB1C 80241A1C 30420002 */ andi $v0, $v0, 2
/* A1CB20 80241A20 10400005 */ beqz $v0, .L80241A38
/* A1CB24 80241A24 24020003 */ addiu $v0, $zero, 3
/* A1CB28 80241A28 A622008E */ sh $v0, 0x8e($s1)
/* A1CB2C 80241A2C 2402000D */ addiu $v0, $zero, 0xd
/* A1CB30 80241A30 080906A2 */ j .L80241A88
/* A1CB34 80241A34 AE620070 */ sw $v0, 0x70($s3)
.L80241A38:
/* A1CB38 80241A38 24030001 */ addiu $v1, $zero, 1
/* A1CB3C 80241A3C 2402000E */ addiu $v0, $zero, 0xe
/* A1CB40 80241A40 A623008E */ sh $v1, 0x8e($s1)
/* A1CB44 80241A44 AE620070 */ sw $v0, 0x70($s3)
/* A1CB48 80241A48 C6200038 */ lwc1 $f0, 0x38($s1)
/* A1CB4C 80241A4C 4600018D */ trunc.w.s $f6, $f0
/* A1CB50 80241A50 44023000 */ mfc1 $v0, $f6
/* A1CB54 80241A54 00000000 */ nop
/* A1CB58 80241A58 A6420010 */ sh $v0, 0x10($s2)
/* A1CB5C 80241A5C C620003C */ lwc1 $f0, 0x3c($s1)
/* A1CB60 80241A60 4600018D */ trunc.w.s $f6, $f0
/* A1CB64 80241A64 44023000 */ mfc1 $v0, $f6
/* A1CB68 80241A68 00000000 */ nop
/* A1CB6C 80241A6C A6420012 */ sh $v0, 0x12($s2)
/* A1CB70 80241A70 C6200040 */ lwc1 $f0, 0x40($s1)
/* A1CB74 80241A74 A2430007 */ sb $v1, 7($s2)
/* A1CB78 80241A78 4600018D */ trunc.w.s $f6, $f0
/* A1CB7C 80241A7C 44023000 */ mfc1 $v0, $f6
/* A1CB80 80241A80 00000000 */ nop
/* A1CB84 80241A84 A6420014 */ sh $v0, 0x14($s2)
.L80241A88:
/* A1CB88 80241A88 8FBF0020 */ lw $ra, 0x20($sp)
/* A1CB8C 80241A8C 8FB3001C */ lw $s3, 0x1c($sp)
/* A1CB90 80241A90 8FB20018 */ lw $s2, 0x18($sp)
/* A1CB94 80241A94 8FB10014 */ lw $s1, 0x14($sp)
/* A1CB98 80241A98 8FB00010 */ lw $s0, 0x10($sp)
/* A1CB9C 80241A9C 03E00008 */ jr $ra
/* A1CBA0 80241AA0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80242128_A1D228
glabel L80242140_A1D240
/* A1D240 80242140 0280202D */ daddu $a0, $s4, $zero
/* A1D244 80242144 0200282D */ daddu $a1, $s0, $zero
/* A1D248 80242148 0C09065C */ jal func_80241970_A1CA70
/* A1D248 80242148 0C09065C */ jal hos_03_UnkNpcAIFunc14
/* A1D24C 8024214C 0260302D */ daddu $a2, $s3, $zero
/* A1D250 80242150 08090861 */ j .L80242184
/* A1D254 80242154 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802428D0_A1D9D0
/* A1D9D0 802428D0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* A1D9D4 802428D4 AFB10014 */ sw $s1, 0x14($sp)
/* A1D9D8 802428D8 0080882D */ daddu $s1, $a0, $zero
/* A1D9DC 802428DC AFBF0024 */ sw $ra, 0x24($sp)
/* A1D9E0 802428E0 AFB40020 */ sw $s4, 0x20($sp)
/* A1D9E4 802428E4 AFB3001C */ sw $s3, 0x1c($sp)
/* A1D9E8 802428E8 AFB20018 */ sw $s2, 0x18($sp)
/* A1D9EC 802428EC 10A00033 */ beqz $a1, .L802429BC
/* A1D9F0 802428F0 AFB00010 */ sw $s0, 0x10($sp)
/* A1D9F4 802428F4 0C04760B */ jal func_8011D82C
/* A1D9F8 802428F8 24040001 */ addiu $a0, $zero, 1
/* A1D9FC 802428FC 0000202D */ daddu $a0, $zero, $zero
/* A1DA00 80242900 0080282D */ daddu $a1, $a0, $zero
/* A1DA04 80242904 0080302D */ daddu $a2, $a0, $zero
/* A1DA08 80242908 0080382D */ daddu $a3, $a0, $zero
/* A1DA0C 8024290C 0080802D */ daddu $s0, $a0, $zero
/* A1DA10 80242910 2414FFFC */ addiu $s4, $zero, -4
/* A1DA14 80242914 24130007 */ addiu $s3, $zero, 7
/* A1DA18 80242918 3C120080 */ lui $s2, 0x80
/* A1DA1C 8024291C 3C038015 */ lui $v1, %hi(D_801512F0)
/* A1DA20 80242920 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* A1DA24 80242924 24020001 */ addiu $v0, $zero, 1
/* A1DA28 80242928 0C046F97 */ jal set_background_color_blend
/* A1DA2C 8024292C A0620000 */ sb $v0, ($v1)
.L80242930:
/* A1DA30 80242930 0C00E2B7 */ jal get_npc_by_index
/* A1DA34 80242934 0200202D */ daddu $a0, $s0, $zero
/* A1DA38 80242938 0040202D */ daddu $a0, $v0, $zero
/* A1DA3C 8024293C 5080000B */ beql $a0, $zero, .L8024296C
/* A1DA40 80242940 26100001 */ addiu $s0, $s0, 1
/* A1DA44 80242944 8C820000 */ lw $v0, ($a0)
/* A1DA48 80242948 50400008 */ beql $v0, $zero, .L8024296C
/* A1DA4C 8024294C 26100001 */ addiu $s0, $s0, 1
/* A1DA50 80242950 808300A4 */ lb $v1, 0xa4($a0)
/* A1DA54 80242954 10740005 */ beq $v1, $s4, .L8024296C
/* A1DA58 80242958 26100001 */ addiu $s0, $s0, 1
/* A1DA5C 8024295C 10730003 */ beq $v1, $s3, .L8024296C
/* A1DA60 80242960 00000000 */ nop
/* A1DA64 80242964 00521025 */ or $v0, $v0, $s2
/* A1DA68 80242968 AC820000 */ sw $v0, ($a0)
.L8024296C:
/* A1DA6C 8024296C 2A020040 */ slti $v0, $s0, 0x40
/* A1DA70 80242970 1440FFEF */ bnez $v0, .L80242930
/* A1DA74 80242974 00000000 */ nop
/* A1DA78 80242978 0000802D */ daddu $s0, $zero, $zero
/* A1DA7C 8024297C 3C120800 */ lui $s2, 0x800
.L80242980:
/* A1DA80 80242980 0C04C3D6 */ jal get_item_entity
/* A1DA84 80242984 0200202D */ daddu $a0, $s0, $zero
/* A1DA88 80242988 0040182D */ daddu $v1, $v0, $zero
/* A1DA8C 8024298C 10600007 */ beqz $v1, .L802429AC
/* A1DA90 80242990 26100001 */ addiu $s0, $s0, 1
/* A1DA94 80242994 8C640000 */ lw $a0, ($v1)
/* A1DA98 80242998 30820010 */ andi $v0, $a0, 0x10
/* A1DA9C 8024299C 10400003 */ beqz $v0, .L802429AC
/* A1DAA0 802429A0 00000000 */ nop
/* A1DAA4 802429A4 00921025 */ or $v0, $a0, $s2
/* A1DAA8 802429A8 AC620000 */ sw $v0, ($v1)
.L802429AC:
/* A1DAAC 802429AC 2A020100 */ slti $v0, $s0, 0x100
/* A1DAB0 802429B0 1440FFF3 */ bnez $v0, .L80242980
/* A1DAB4 802429B4 00000000 */ nop
/* A1DAB8 802429B8 AE200070 */ sw $zero, 0x70($s1)
.L802429BC:
/* A1DABC 802429BC 8E220070 */ lw $v0, 0x70($s1)
/* A1DAC0 802429C0 24420008 */ addiu $v0, $v0, 8
/* A1DAC4 802429C4 AE220070 */ sw $v0, 0x70($s1)
/* A1DAC8 802429C8 28420100 */ slti $v0, $v0, 0x100
/* A1DACC 802429CC 14400003 */ bnez $v0, .L802429DC
/* A1DAD0 802429D0 0000202D */ daddu $a0, $zero, $zero
/* A1DAD4 802429D4 240200FF */ addiu $v0, $zero, 0xff
/* A1DAD8 802429D8 AE220070 */ sw $v0, 0x70($s1)
.L802429DC:
/* A1DADC 802429DC 0080282D */ daddu $a1, $a0, $zero
/* A1DAE0 802429E0 92270073 */ lbu $a3, 0x73($s1)
/* A1DAE4 802429E4 0C046F97 */ jal set_background_color_blend
/* A1DAE8 802429E8 0080302D */ daddu $a2, $a0, $zero
/* A1DAEC 802429EC 8E220070 */ lw $v0, 0x70($s1)
/* A1DAF0 802429F0 8FBF0024 */ lw $ra, 0x24($sp)
/* A1DAF4 802429F4 8FB40020 */ lw $s4, 0x20($sp)
/* A1DAF8 802429F8 8FB3001C */ lw $s3, 0x1c($sp)
/* A1DAFC 802429FC 8FB20018 */ lw $s2, 0x18($sp)
/* A1DB00 80242A00 8FB10014 */ lw $s1, 0x14($sp)
/* A1DB04 80242A04 8FB00010 */ lw $s0, 0x10($sp)
/* A1DB08 80242A08 384200FF */ xori $v0, $v0, 0xff
/* A1DB0C 80242A0C 2C420001 */ sltiu $v0, $v0, 1
/* A1DB10 80242A10 00021040 */ sll $v0, $v0, 1
/* A1DB14 80242A14 03E00008 */ jr $ra
/* A1DB18 80242A18 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240C78_9897D8
/* 9897D8 80240C78 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 9897DC 80240C7C AFBF0018 */ sw $ra, 0x18($sp)
/* 9897E0 80240C80 0C00EAD2 */ jal get_npc_safe
/* 9897E4 80240C84 2404FFFC */ addiu $a0, $zero, -4
/* 9897E8 80240C88 3C0141F0 */ lui $at, 0x41f0
/* 9897EC 80240C8C 44810000 */ mtc1 $at, $f0
/* 9897F0 80240C90 C442003C */ lwc1 $f2, 0x3c($v0)
/* 9897F4 80240C94 46001080 */ add.s $f2, $f2, $f0
/* 9897F8 80240C98 E7A00010 */ swc1 $f0, 0x10($sp)
/* 9897FC 80240C9C 8C450038 */ lw $a1, 0x38($v0)
/* 989800 80240CA0 8C470040 */ lw $a3, 0x40($v0)
/* 989804 80240CA4 44061000 */ mfc1 $a2, $f2
/* 989808 80240CA8 0C01BFBC */ jal func_8006FEF0
/* 98980C 80240CAC 24040002 */ addiu $a0, $zero, 2
/* 989810 80240CB0 8FBF0018 */ lw $ra, 0x18($sp)
/* 989814 80240CB4 24020002 */ addiu $v0, $zero, 2
/* 989818 80240CB8 03E00008 */ jr $ra
/* 98981C 80240CBC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240CC0_989820
/* 989820 80240CC0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 989824 80240CC4 AFBF0018 */ sw $ra, 0x18($sp)
/* 989828 80240CC8 0C00EAD2 */ jal get_npc_safe
/* 98982C 80240CCC 2404FFFC */ addiu $a0, $zero, -4
/* 989830 80240CD0 3C0141F0 */ lui $at, 0x41f0
/* 989834 80240CD4 44810000 */ mtc1 $at, $f0
/* 989838 80240CD8 C442003C */ lwc1 $f2, 0x3c($v0)
/* 98983C 80240CDC 46001080 */ add.s $f2, $f2, $f0
/* 989840 80240CE0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 989844 80240CE4 8C450038 */ lw $a1, 0x38($v0)
/* 989848 80240CE8 8C470040 */ lw $a3, 0x40($v0)
/* 98984C 80240CEC 44061000 */ mfc1 $a2, $f2
/* 989850 80240CF0 0C01BFBC */ jal func_8006FEF0
/* 989854 80240CF4 24040004 */ addiu $a0, $zero, 4
/* 989858 80240CF8 8FBF0018 */ lw $ra, 0x18($sp)
/* 98985C 80240CFC 24020002 */ addiu $v0, $zero, 2
/* 989860 80240D00 03E00008 */ jr $ra
/* 989864 80240D04 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240F68_91F4D8
/* 91F4D8 80240F68 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 91F4DC 80240F6C AFBF0018 */ sw $ra, 0x18($sp)
/* 91F4E0 80240F70 0C00EAD2 */ jal get_npc_safe
/* 91F4E4 80240F74 2404FFFC */ addiu $a0, $zero, -4
/* 91F4E8 80240F78 3C0141F0 */ lui $at, 0x41f0
/* 91F4EC 80240F7C 44810000 */ mtc1 $at, $f0
/* 91F4F0 80240F80 C442003C */ lwc1 $f2, 0x3c($v0)
/* 91F4F4 80240F84 46001080 */ add.s $f2, $f2, $f0
/* 91F4F8 80240F88 E7A00010 */ swc1 $f0, 0x10($sp)
/* 91F4FC 80240F8C 8C450038 */ lw $a1, 0x38($v0)
/* 91F500 80240F90 8C470040 */ lw $a3, 0x40($v0)
/* 91F504 80240F94 44061000 */ mfc1 $a2, $f2
/* 91F508 80240F98 0C01BFBC */ jal func_8006FEF0
/* 91F50C 80240F9C 24040002 */ addiu $a0, $zero, 2
/* 91F510 80240FA0 8FBF0018 */ lw $ra, 0x18($sp)
/* 91F514 80240FA4 24020002 */ addiu $v0, $zero, 2
/* 91F518 80240FA8 03E00008 */ jr $ra
/* 91F51C 80240FAC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240FB0_91F520
/* 91F520 80240FB0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 91F524 80240FB4 AFBF0018 */ sw $ra, 0x18($sp)
/* 91F528 80240FB8 0C00EAD2 */ jal get_npc_safe
/* 91F52C 80240FBC 2404FFFC */ addiu $a0, $zero, -4
/* 91F530 80240FC0 3C0141F0 */ lui $at, 0x41f0
/* 91F534 80240FC4 44810000 */ mtc1 $at, $f0
/* 91F538 80240FC8 C442003C */ lwc1 $f2, 0x3c($v0)
/* 91F53C 80240FCC 46001080 */ add.s $f2, $f2, $f0
/* 91F540 80240FD0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 91F544 80240FD4 8C450038 */ lw $a1, 0x38($v0)
/* 91F548 80240FD8 8C470040 */ lw $a3, 0x40($v0)
/* 91F54C 80240FDC 44061000 */ mfc1 $a2, $f2
/* 91F550 80240FE0 0C01BFBC */ jal func_8006FEF0
/* 91F554 80240FE4 24040004 */ addiu $a0, $zero, 4
/* 91F558 80240FE8 8FBF0018 */ lw $ra, 0x18($sp)
/* 91F55C 80240FEC 24020002 */ addiu $v0, $zero, 2
/* 91F560 80240FF0 03E00008 */ jr $ra
/* 91F564 80240FF4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241A40_B2DEB0
/* B2DEB0 80241A40 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B2DEB4 80241A44 AFB10014 */ sw $s1, 0x14($sp)
/* B2DEB8 80241A48 0080882D */ daddu $s1, $a0, $zero
/* B2DEBC 80241A4C AFBF0024 */ sw $ra, 0x24($sp)
/* B2DEC0 80241A50 AFB40020 */ sw $s4, 0x20($sp)
/* B2DEC4 80241A54 AFB3001C */ sw $s3, 0x1c($sp)
/* B2DEC8 80241A58 AFB20018 */ sw $s2, 0x18($sp)
/* B2DECC 80241A5C 10A00033 */ beqz $a1, .L80241B2C
/* B2DED0 80241A60 AFB00010 */ sw $s0, 0x10($sp)
/* B2DED4 80241A64 0C04760B */ jal func_8011D82C
/* B2DED8 80241A68 24040001 */ addiu $a0, $zero, 1
/* B2DEDC 80241A6C 0000202D */ daddu $a0, $zero, $zero
/* B2DEE0 80241A70 0080282D */ daddu $a1, $a0, $zero
/* B2DEE4 80241A74 0080302D */ daddu $a2, $a0, $zero
/* B2DEE8 80241A78 0080382D */ daddu $a3, $a0, $zero
/* B2DEEC 80241A7C 0080802D */ daddu $s0, $a0, $zero
/* B2DEF0 80241A80 2414FFFC */ addiu $s4, $zero, -4
/* B2DEF4 80241A84 24130005 */ addiu $s3, $zero, 5
/* B2DEF8 80241A88 3C120080 */ lui $s2, 0x80
/* B2DEFC 80241A8C 3C038015 */ lui $v1, %hi(D_801512F0)
/* B2DF00 80241A90 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* B2DF04 80241A94 24020001 */ addiu $v0, $zero, 1
/* B2DF08 80241A98 0C046F97 */ jal set_background_color_blend
/* B2DF0C 80241A9C A0620000 */ sb $v0, ($v1)
.L80241AA0:
/* B2DF10 80241AA0 0C00E2B7 */ jal get_npc_by_index
/* B2DF14 80241AA4 0200202D */ daddu $a0, $s0, $zero
/* B2DF18 80241AA8 0040202D */ daddu $a0, $v0, $zero
/* B2DF1C 80241AAC 5080000B */ beql $a0, $zero, .L80241ADC
/* B2DF20 80241AB0 26100001 */ addiu $s0, $s0, 1
/* B2DF24 80241AB4 8C820000 */ lw $v0, ($a0)
/* B2DF28 80241AB8 50400008 */ beql $v0, $zero, .L80241ADC
/* B2DF2C 80241ABC 26100001 */ addiu $s0, $s0, 1
/* B2DF30 80241AC0 808300A4 */ lb $v1, 0xa4($a0)
/* B2DF34 80241AC4 10740005 */ beq $v1, $s4, .L80241ADC
/* B2DF38 80241AC8 26100001 */ addiu $s0, $s0, 1
/* B2DF3C 80241ACC 10730003 */ beq $v1, $s3, .L80241ADC
/* B2DF40 80241AD0 00000000 */ nop
/* B2DF44 80241AD4 00521025 */ or $v0, $v0, $s2
/* B2DF48 80241AD8 AC820000 */ sw $v0, ($a0)
.L80241ADC:
/* B2DF4C 80241ADC 2A020040 */ slti $v0, $s0, 0x40
/* B2DF50 80241AE0 1440FFEF */ bnez $v0, .L80241AA0
/* B2DF54 80241AE4 00000000 */ nop
/* B2DF58 80241AE8 0000802D */ daddu $s0, $zero, $zero
/* B2DF5C 80241AEC 3C120800 */ lui $s2, 0x800
.L80241AF0:
/* B2DF60 80241AF0 0C04C3D6 */ jal get_item_entity
/* B2DF64 80241AF4 0200202D */ daddu $a0, $s0, $zero
/* B2DF68 80241AF8 0040182D */ daddu $v1, $v0, $zero
/* B2DF6C 80241AFC 10600007 */ beqz $v1, .L80241B1C
/* B2DF70 80241B00 26100001 */ addiu $s0, $s0, 1
/* B2DF74 80241B04 8C640000 */ lw $a0, ($v1)
/* B2DF78 80241B08 30820010 */ andi $v0, $a0, 0x10
/* B2DF7C 80241B0C 10400003 */ beqz $v0, .L80241B1C
/* B2DF80 80241B10 00000000 */ nop
/* B2DF84 80241B14 00921025 */ or $v0, $a0, $s2
/* B2DF88 80241B18 AC620000 */ sw $v0, ($v1)
.L80241B1C:
/* B2DF8C 80241B1C 2A020100 */ slti $v0, $s0, 0x100
/* B2DF90 80241B20 1440FFF3 */ bnez $v0, .L80241AF0
/* B2DF94 80241B24 00000000 */ nop
/* B2DF98 80241B28 AE200070 */ sw $zero, 0x70($s1)
.L80241B2C:
/* B2DF9C 80241B2C 8E220070 */ lw $v0, 0x70($s1)
/* B2DFA0 80241B30 24420008 */ addiu $v0, $v0, 8
/* B2DFA4 80241B34 AE220070 */ sw $v0, 0x70($s1)
/* B2DFA8 80241B38 28420100 */ slti $v0, $v0, 0x100
/* B2DFAC 80241B3C 14400003 */ bnez $v0, .L80241B4C
/* B2DFB0 80241B40 0000202D */ daddu $a0, $zero, $zero
/* B2DFB4 80241B44 240200FF */ addiu $v0, $zero, 0xff
/* B2DFB8 80241B48 AE220070 */ sw $v0, 0x70($s1)
.L80241B4C:
/* B2DFBC 80241B4C 0080282D */ daddu $a1, $a0, $zero
/* B2DFC0 80241B50 92270073 */ lbu $a3, 0x73($s1)
/* B2DFC4 80241B54 0C046F97 */ jal set_background_color_blend
/* B2DFC8 80241B58 0080302D */ daddu $a2, $a0, $zero
/* B2DFCC 80241B5C 8E220070 */ lw $v0, 0x70($s1)
/* B2DFD0 80241B60 8FBF0024 */ lw $ra, 0x24($sp)
/* B2DFD4 80241B64 8FB40020 */ lw $s4, 0x20($sp)
/* B2DFD8 80241B68 8FB3001C */ lw $s3, 0x1c($sp)
/* B2DFDC 80241B6C 8FB20018 */ lw $s2, 0x18($sp)
/* B2DFE0 80241B70 8FB10014 */ lw $s1, 0x14($sp)
/* B2DFE4 80241B74 8FB00010 */ lw $s0, 0x10($sp)
/* B2DFE8 80241B78 384200FF */ xori $v0, $v0, 0xff
/* B2DFEC 80241B7C 2C420001 */ sltiu $v0, $v0, 1
/* B2DFF0 80241B80 00021040 */ sll $v0, $v0, 1
/* B2DFF4 80241B84 03E00008 */ jr $ra
/* B2DFF8 80241B88 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241FC8_B36B98
/* B36B98 80241FC8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B36B9C 80241FCC AFB10014 */ sw $s1, 0x14($sp)
/* B36BA0 80241FD0 0080882D */ daddu $s1, $a0, $zero
/* B36BA4 80241FD4 AFBF0024 */ sw $ra, 0x24($sp)
/* B36BA8 80241FD8 AFB40020 */ sw $s4, 0x20($sp)
/* B36BAC 80241FDC AFB3001C */ sw $s3, 0x1c($sp)
/* B36BB0 80241FE0 AFB20018 */ sw $s2, 0x18($sp)
/* B36BB4 80241FE4 10A00033 */ beqz $a1, .L802420B4
/* B36BB8 80241FE8 AFB00010 */ sw $s0, 0x10($sp)
/* B36BBC 80241FEC 0C04760B */ jal func_8011D82C
/* B36BC0 80241FF0 24040001 */ addiu $a0, $zero, 1
/* B36BC4 80241FF4 0000202D */ daddu $a0, $zero, $zero
/* B36BC8 80241FF8 0080282D */ daddu $a1, $a0, $zero
/* B36BCC 80241FFC 0080302D */ daddu $a2, $a0, $zero
/* B36BD0 80242000 0080382D */ daddu $a3, $a0, $zero
/* B36BD4 80242004 0080802D */ daddu $s0, $a0, $zero
/* B36BD8 80242008 2414FFFC */ addiu $s4, $zero, -4
/* B36BDC 8024200C 24130011 */ addiu $s3, $zero, 0x11
/* B36BE0 80242010 3C120080 */ lui $s2, 0x80
/* B36BE4 80242014 3C038015 */ lui $v1, %hi(D_801512F0)
/* B36BE8 80242018 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* B36BEC 8024201C 24020001 */ addiu $v0, $zero, 1
/* B36BF0 80242020 0C046F97 */ jal set_background_color_blend
/* B36BF4 80242024 A0620000 */ sb $v0, ($v1)
.L80242028:
/* B36BF8 80242028 0C00E2B7 */ jal get_npc_by_index
/* B36BFC 8024202C 0200202D */ daddu $a0, $s0, $zero
/* B36C00 80242030 0040202D */ daddu $a0, $v0, $zero
/* B36C04 80242034 5080000B */ beql $a0, $zero, .L80242064
/* B36C08 80242038 26100001 */ addiu $s0, $s0, 1
/* B36C0C 8024203C 8C820000 */ lw $v0, ($a0)
/* B36C10 80242040 50400008 */ beql $v0, $zero, .L80242064
/* B36C14 80242044 26100001 */ addiu $s0, $s0, 1
/* B36C18 80242048 808300A4 */ lb $v1, 0xa4($a0)
/* B36C1C 8024204C 10740005 */ beq $v1, $s4, .L80242064
/* B36C20 80242050 26100001 */ addiu $s0, $s0, 1
/* B36C24 80242054 10730003 */ beq $v1, $s3, .L80242064
/* B36C28 80242058 00000000 */ nop
/* B36C2C 8024205C 00521025 */ or $v0, $v0, $s2
/* B36C30 80242060 AC820000 */ sw $v0, ($a0)
.L80242064:
/* B36C34 80242064 2A020040 */ slti $v0, $s0, 0x40
/* B36C38 80242068 1440FFEF */ bnez $v0, .L80242028
/* B36C3C 8024206C 00000000 */ nop
/* B36C40 80242070 0000802D */ daddu $s0, $zero, $zero
/* B36C44 80242074 3C120800 */ lui $s2, 0x800
.L80242078:
/* B36C48 80242078 0C04C3D6 */ jal get_item_entity
/* B36C4C 8024207C 0200202D */ daddu $a0, $s0, $zero
/* B36C50 80242080 0040182D */ daddu $v1, $v0, $zero
/* B36C54 80242084 10600007 */ beqz $v1, .L802420A4
/* B36C58 80242088 26100001 */ addiu $s0, $s0, 1
/* B36C5C 8024208C 8C640000 */ lw $a0, ($v1)
/* B36C60 80242090 30820010 */ andi $v0, $a0, 0x10
/* B36C64 80242094 10400003 */ beqz $v0, .L802420A4
/* B36C68 80242098 00000000 */ nop
/* B36C6C 8024209C 00921025 */ or $v0, $a0, $s2
/* B36C70 802420A0 AC620000 */ sw $v0, ($v1)
.L802420A4:
/* B36C74 802420A4 2A020100 */ slti $v0, $s0, 0x100
/* B36C78 802420A8 1440FFF3 */ bnez $v0, .L80242078
/* B36C7C 802420AC 00000000 */ nop
/* B36C80 802420B0 AE200070 */ sw $zero, 0x70($s1)
.L802420B4:
/* B36C84 802420B4 8E220070 */ lw $v0, 0x70($s1)
/* B36C88 802420B8 24420008 */ addiu $v0, $v0, 8
/* B36C8C 802420BC AE220070 */ sw $v0, 0x70($s1)
/* B36C90 802420C0 28420100 */ slti $v0, $v0, 0x100
/* B36C94 802420C4 14400003 */ bnez $v0, .L802420D4
/* B36C98 802420C8 0000202D */ daddu $a0, $zero, $zero
/* B36C9C 802420CC 240200FF */ addiu $v0, $zero, 0xff
/* B36CA0 802420D0 AE220070 */ sw $v0, 0x70($s1)
.L802420D4:
/* B36CA4 802420D4 0080282D */ daddu $a1, $a0, $zero
/* B36CA8 802420D8 92270073 */ lbu $a3, 0x73($s1)
/* B36CAC 802420DC 0C046F97 */ jal set_background_color_blend
/* B36CB0 802420E0 0080302D */ daddu $a2, $a0, $zero
/* B36CB4 802420E4 8E220070 */ lw $v0, 0x70($s1)
/* B36CB8 802420E8 8FBF0024 */ lw $ra, 0x24($sp)
/* B36CBC 802420EC 8FB40020 */ lw $s4, 0x20($sp)
/* B36CC0 802420F0 8FB3001C */ lw $s3, 0x1c($sp)
/* B36CC4 802420F4 8FB20018 */ lw $s2, 0x18($sp)
/* B36CC8 802420F8 8FB10014 */ lw $s1, 0x14($sp)
/* B36CCC 802420FC 8FB00010 */ lw $s0, 0x10($sp)
/* B36CD0 80242100 384200FF */ xori $v0, $v0, 0xff
/* B36CD4 80242104 2C420001 */ sltiu $v0, $v0, 1
/* B36CD8 80242108 00021040 */ sll $v0, $v0, 1
/* B36CDC 8024210C 03E00008 */ jr $ra
/* B36CE0 80242110 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802412D8_B5F588
/* B5F588 802412D8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B5F58C 802412DC AFBF0018 */ sw $ra, 0x18($sp)
/* B5F590 802412E0 0C00EAD2 */ jal get_npc_safe
/* B5F594 802412E4 2404FFFC */ addiu $a0, $zero, -4
/* B5F598 802412E8 3C0141F0 */ lui $at, 0x41f0
/* B5F59C 802412EC 44810000 */ mtc1 $at, $f0
/* B5F5A0 802412F0 C442003C */ lwc1 $f2, 0x3c($v0)
/* B5F5A4 802412F4 46001080 */ add.s $f2, $f2, $f0
/* B5F5A8 802412F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* B5F5AC 802412FC 8C450038 */ lw $a1, 0x38($v0)
/* B5F5B0 80241300 8C470040 */ lw $a3, 0x40($v0)
/* B5F5B4 80241304 44061000 */ mfc1 $a2, $f2
/* B5F5B8 80241308 0C01BFBC */ jal func_8006FEF0
/* B5F5BC 8024130C 24040002 */ addiu $a0, $zero, 2
/* B5F5C0 80241310 8FBF0018 */ lw $ra, 0x18($sp)
/* B5F5C4 80241314 24020002 */ addiu $v0, $zero, 2
/* B5F5C8 80241318 03E00008 */ jr $ra
/* B5F5CC 8024131C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241320_B5F5D0
/* B5F5D0 80241320 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B5F5D4 80241324 AFBF0018 */ sw $ra, 0x18($sp)
/* B5F5D8 80241328 0C00EAD2 */ jal get_npc_safe
/* B5F5DC 8024132C 2404FFFC */ addiu $a0, $zero, -4
/* B5F5E0 80241330 3C0141F0 */ lui $at, 0x41f0
/* B5F5E4 80241334 44810000 */ mtc1 $at, $f0
/* B5F5E8 80241338 C442003C */ lwc1 $f2, 0x3c($v0)
/* B5F5EC 8024133C 46001080 */ add.s $f2, $f2, $f0
/* B5F5F0 80241340 E7A00010 */ swc1 $f0, 0x10($sp)
/* B5F5F4 80241344 8C450038 */ lw $a1, 0x38($v0)
/* B5F5F8 80241348 8C470040 */ lw $a3, 0x40($v0)
/* B5F5FC 8024134C 44061000 */ mfc1 $a2, $f2
/* B5F600 80241350 0C01BFBC */ jal func_8006FEF0
/* B5F604 80241354 24040004 */ addiu $a0, $zero, 4
/* B5F608 80241358 8FBF0018 */ lw $ra, 0x18($sp)
/* B5F60C 8024135C 24020002 */ addiu $v0, $zero, 2
/* B5F610 80241360 03E00008 */ jr $ra
/* B5F614 80241364 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802407BC_8B082C
/* 8B082C 802407BC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 8B0830 802407C0 AFB10014 */ sw $s1, 0x14($sp)
/* 8B0834 802407C4 0080882D */ daddu $s1, $a0, $zero
/* 8B0838 802407C8 AFBF0024 */ sw $ra, 0x24($sp)
/* 8B083C 802407CC AFB40020 */ sw $s4, 0x20($sp)
/* 8B0840 802407D0 AFB3001C */ sw $s3, 0x1c($sp)
/* 8B0844 802407D4 AFB20018 */ sw $s2, 0x18($sp)
/* 8B0848 802407D8 10A00033 */ beqz $a1, .L802408A8
/* 8B084C 802407DC AFB00010 */ sw $s0, 0x10($sp)
/* 8B0850 802407E0 0C04760B */ jal func_8011D82C
/* 8B0854 802407E4 24040001 */ addiu $a0, $zero, 1
/* 8B0858 802407E8 0000202D */ daddu $a0, $zero, $zero
/* 8B085C 802407EC 0080282D */ daddu $a1, $a0, $zero
/* 8B0860 802407F0 0080302D */ daddu $a2, $a0, $zero
/* 8B0864 802407F4 0080382D */ daddu $a3, $a0, $zero
/* 8B0868 802407F8 0080802D */ daddu $s0, $a0, $zero
/* 8B086C 802407FC 2414FFFC */ addiu $s4, $zero, -4
/* 8B0870 80240800 24130008 */ addiu $s3, $zero, 8
/* 8B0874 80240804 3C120080 */ lui $s2, 0x80
/* 8B0878 80240808 3C038015 */ lui $v1, %hi(D_801512F0)
/* 8B087C 8024080C 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 8B0880 80240810 24020001 */ addiu $v0, $zero, 1
/* 8B0884 80240814 0C046F97 */ jal set_background_color_blend
/* 8B0888 80240818 A0620000 */ sb $v0, ($v1)
.L8024081C:
/* 8B088C 8024081C 0C00E2B7 */ jal get_npc_by_index
/* 8B0890 80240820 0200202D */ daddu $a0, $s0, $zero
/* 8B0894 80240824 0040202D */ daddu $a0, $v0, $zero
/* 8B0898 80240828 5080000B */ beql $a0, $zero, .L80240858
/* 8B089C 8024082C 26100001 */ addiu $s0, $s0, 1
/* 8B08A0 80240830 8C820000 */ lw $v0, ($a0)
/* 8B08A4 80240834 50400008 */ beql $v0, $zero, .L80240858
/* 8B08A8 80240838 26100001 */ addiu $s0, $s0, 1
/* 8B08AC 8024083C 808300A4 */ lb $v1, 0xa4($a0)
/* 8B08B0 80240840 10740005 */ beq $v1, $s4, .L80240858
/* 8B08B4 80240844 26100001 */ addiu $s0, $s0, 1
/* 8B08B8 80240848 10730003 */ beq $v1, $s3, .L80240858
/* 8B08BC 8024084C 00000000 */ nop
/* 8B08C0 80240850 00521025 */ or $v0, $v0, $s2
/* 8B08C4 80240854 AC820000 */ sw $v0, ($a0)
.L80240858:
/* 8B08C8 80240858 2A020040 */ slti $v0, $s0, 0x40
/* 8B08CC 8024085C 1440FFEF */ bnez $v0, .L8024081C
/* 8B08D0 80240860 00000000 */ nop
/* 8B08D4 80240864 0000802D */ daddu $s0, $zero, $zero
/* 8B08D8 80240868 3C120800 */ lui $s2, 0x800
.L8024086C:
/* 8B08DC 8024086C 0C04C3D6 */ jal get_item_entity
/* 8B08E0 80240870 0200202D */ daddu $a0, $s0, $zero
/* 8B08E4 80240874 0040182D */ daddu $v1, $v0, $zero
/* 8B08E8 80240878 10600007 */ beqz $v1, .L80240898
/* 8B08EC 8024087C 26100001 */ addiu $s0, $s0, 1
/* 8B08F0 80240880 8C640000 */ lw $a0, ($v1)
/* 8B08F4 80240884 30820010 */ andi $v0, $a0, 0x10
/* 8B08F8 80240888 10400003 */ beqz $v0, .L80240898
/* 8B08FC 8024088C 00000000 */ nop
/* 8B0900 80240890 00921025 */ or $v0, $a0, $s2
/* 8B0904 80240894 AC620000 */ sw $v0, ($v1)
.L80240898:
/* 8B0908 80240898 2A020100 */ slti $v0, $s0, 0x100
/* 8B090C 8024089C 1440FFF3 */ bnez $v0, .L8024086C
/* 8B0910 802408A0 00000000 */ nop
/* 8B0914 802408A4 AE200070 */ sw $zero, 0x70($s1)
.L802408A8:
/* 8B0918 802408A8 8E220070 */ lw $v0, 0x70($s1)
/* 8B091C 802408AC 24420008 */ addiu $v0, $v0, 8
/* 8B0920 802408B0 AE220070 */ sw $v0, 0x70($s1)
/* 8B0924 802408B4 28420100 */ slti $v0, $v0, 0x100
/* 8B0928 802408B8 14400003 */ bnez $v0, .L802408C8
/* 8B092C 802408BC 0000202D */ daddu $a0, $zero, $zero
/* 8B0930 802408C0 240200FF */ addiu $v0, $zero, 0xff
/* 8B0934 802408C4 AE220070 */ sw $v0, 0x70($s1)
.L802408C8:
/* 8B0938 802408C8 0080282D */ daddu $a1, $a0, $zero
/* 8B093C 802408CC 92270073 */ lbu $a3, 0x73($s1)
/* 8B0940 802408D0 0C046F97 */ jal set_background_color_blend
/* 8B0944 802408D4 0080302D */ daddu $a2, $a0, $zero
/* 8B0948 802408D8 8E220070 */ lw $v0, 0x70($s1)
/* 8B094C 802408DC 8FBF0024 */ lw $ra, 0x24($sp)
/* 8B0950 802408E0 8FB40020 */ lw $s4, 0x20($sp)
/* 8B0954 802408E4 8FB3001C */ lw $s3, 0x1c($sp)
/* 8B0958 802408E8 8FB20018 */ lw $s2, 0x18($sp)
/* 8B095C 802408EC 8FB10014 */ lw $s1, 0x14($sp)
/* 8B0960 802408F0 8FB00010 */ lw $s0, 0x10($sp)
/* 8B0964 802408F4 384200FF */ xori $v0, $v0, 0xff
/* 8B0968 802408F8 2C420001 */ sltiu $v0, $v0, 1
/* 8B096C 802408FC 00021040 */ sll $v0, $v0, 1
/* 8B0970 80240900 03E00008 */ jr $ra
/* 8B0974 80240904 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240CC0_8CED30
/* 8CED30 80240CC0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 8CED34 80240CC4 AFB3001C */ sw $s3, 0x1c($sp)
/* 8CED38 80240CC8 0080982D */ daddu $s3, $a0, $zero
/* 8CED3C 80240CCC AFBF0020 */ sw $ra, 0x20($sp)
/* 8CED40 80240CD0 AFB20018 */ sw $s2, 0x18($sp)
/* 8CED44 80240CD4 AFB10014 */ sw $s1, 0x14($sp)
/* 8CED48 80240CD8 AFB00010 */ sw $s0, 0x10($sp)
/* 8CED4C 80240CDC 8E720148 */ lw $s2, 0x148($s3)
/* 8CED50 80240CE0 86440008 */ lh $a0, 8($s2)
/* 8CED54 80240CE4 0C00EABB */ jal get_npc_unsafe
/* 8CED58 80240CE8 00A0802D */ daddu $s0, $a1, $zero
/* 8CED5C 80240CEC 0040882D */ daddu $s1, $v0, $zero
/* 8CED60 80240CF0 C6420080 */ lwc1 $f2, 0x80($s2)
/* 8CED64 80240CF4 468010A0 */ cvt.s.w $f2, $f2
/* 8CED68 80240CF8 460010A1 */ cvt.d.s $f2, $f2
/* 8CED6C 80240CFC C6400084 */ lwc1 $f0, 0x84($s2)
/* 8CED70 80240D00 46800020 */ cvt.s.w $f0, $f0
/* 8CED74 80240D04 46000021 */ cvt.d.s $f0, $f0
/* 8CED78 80240D08 3C014059 */ lui $at, 0x4059
/* 8CED7C 80240D0C 44812800 */ mtc1 $at, $f5
/* 8CED80 80240D10 44802000 */ mtc1 $zero, $f4
/* 8CED84 80240D14 8E4200CC */ lw $v0, 0xcc($s2)
/* 8CED88 80240D18 C62C0038 */ lwc1 $f12, 0x38($s1)
/* 8CED8C 80240D1C C62E0040 */ lwc1 $f14, 0x40($s1)
/* 8CED90 80240D20 46241083 */ div.d $f2, $f2, $f4
/* 8CED94 80240D24 462010A0 */ cvt.s.d $f2, $f2
/* 8CED98 80240D28 46240003 */ div.d $f0, $f0, $f4
/* 8CED9C 80240D2C 8C420020 */ lw $v0, 0x20($v0)
/* 8CEDA0 80240D30 46200020 */ cvt.s.d $f0, $f0
/* 8CEDA4 80240D34 E622001C */ swc1 $f2, 0x1c($s1)
/* 8CEDA8 80240D38 E6200014 */ swc1 $f0, 0x14($s1)
/* 8CEDAC 80240D3C AE220028 */ sw $v0, 0x28($s1)
/* 8CEDB0 80240D40 C6000018 */ lwc1 $f0, 0x18($s0)
/* 8CEDB4 80240D44 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* 8CEDB8 80240D48 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* 8CEDBC 80240D4C E6200018 */ swc1 $f0, 0x18($s1)
/* 8CEDC0 80240D50 8C460028 */ lw $a2, 0x28($v0)
/* 8CEDC4 80240D54 0C00A720 */ jal atan2
/* 8CEDC8 80240D58 8C470030 */ lw $a3, 0x30($v0)
/* 8CEDCC 80240D5C E620000C */ swc1 $f0, 0xc($s1)
/* 8CEDD0 80240D60 8E420018 */ lw $v0, 0x18($s2)
/* 8CEDD4 80240D64 AE400074 */ sw $zero, 0x74($s2)
/* 8CEDD8 80240D68 9442002A */ lhu $v0, 0x2a($v0)
/* 8CEDDC 80240D6C 30420002 */ andi $v0, $v0, 2
/* 8CEDE0 80240D70 10400005 */ beqz $v0, .L80240D88
/* 8CEDE4 80240D74 24020003 */ addiu $v0, $zero, 3
/* 8CEDE8 80240D78 A622008E */ sh $v0, 0x8e($s1)
/* 8CEDEC 80240D7C 2402000D */ addiu $v0, $zero, 0xd
/* 8CEDF0 80240D80 08090376 */ j .L80240DD8
/* 8CEDF4 80240D84 AE620070 */ sw $v0, 0x70($s3)
.L80240D88:
/* 8CEDF8 80240D88 24030001 */ addiu $v1, $zero, 1
/* 8CEDFC 80240D8C 2402000E */ addiu $v0, $zero, 0xe
/* 8CEE00 80240D90 A623008E */ sh $v1, 0x8e($s1)
/* 8CEE04 80240D94 AE620070 */ sw $v0, 0x70($s3)
/* 8CEE08 80240D98 C6200038 */ lwc1 $f0, 0x38($s1)
/* 8CEE0C 80240D9C 4600018D */ trunc.w.s $f6, $f0
/* 8CEE10 80240DA0 44023000 */ mfc1 $v0, $f6
/* 8CEE14 80240DA4 00000000 */ nop
/* 8CEE18 80240DA8 A6420010 */ sh $v0, 0x10($s2)
/* 8CEE1C 80240DAC C620003C */ lwc1 $f0, 0x3c($s1)
/* 8CEE20 80240DB0 4600018D */ trunc.w.s $f6, $f0
/* 8CEE24 80240DB4 44023000 */ mfc1 $v0, $f6
/* 8CEE28 80240DB8 00000000 */ nop
/* 8CEE2C 80240DBC A6420012 */ sh $v0, 0x12($s2)
/* 8CEE30 80240DC0 C6200040 */ lwc1 $f0, 0x40($s1)
/* 8CEE34 80240DC4 A2430007 */ sb $v1, 7($s2)
/* 8CEE38 80240DC8 4600018D */ trunc.w.s $f6, $f0
/* 8CEE3C 80240DCC 44023000 */ mfc1 $v0, $f6
/* 8CEE40 80240DD0 00000000 */ nop
/* 8CEE44 80240DD4 A6420014 */ sh $v0, 0x14($s2)
.L80240DD8:
/* 8CEE48 80240DD8 8FBF0020 */ lw $ra, 0x20($sp)
/* 8CEE4C 80240DDC 8FB3001C */ lw $s3, 0x1c($sp)
/* 8CEE50 80240DE0 8FB20018 */ lw $s2, 0x18($sp)
/* 8CEE54 80240DE4 8FB10014 */ lw $s1, 0x14($sp)
/* 8CEE58 80240DE8 8FB00010 */ lw $s0, 0x10($sp)
/* 8CEE5C 80240DEC 03E00008 */ jr $ra
/* 8CEE60 80240DF0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241478_8CF4E8
glabel L80241490_8CF500
/* 8CF500 80241490 0280202D */ daddu $a0, $s4, $zero
/* 8CF504 80241494 0200282D */ daddu $a1, $s0, $zero
/* 8CF508 80241498 0C090330 */ jal func_80240CC0_8CED30
/* 8CF508 80241498 0C090330 */ jal kmr_05_UnkNpcAIFunc14
/* 8CF50C 8024149C 0260302D */ daddu $a2, $s3, $zero
/* 8CF510 802414A0 08090535 */ j .L802414D4
/* 8CF514 802414A4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240CC0_8D21D0
/* 8D21D0 80240CC0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 8D21D4 80240CC4 AFB3001C */ sw $s3, 0x1c($sp)
/* 8D21D8 80240CC8 0080982D */ daddu $s3, $a0, $zero
/* 8D21DC 80240CCC AFBF0020 */ sw $ra, 0x20($sp)
/* 8D21E0 80240CD0 AFB20018 */ sw $s2, 0x18($sp)
/* 8D21E4 80240CD4 AFB10014 */ sw $s1, 0x14($sp)
/* 8D21E8 80240CD8 AFB00010 */ sw $s0, 0x10($sp)
/* 8D21EC 80240CDC 8E720148 */ lw $s2, 0x148($s3)
/* 8D21F0 80240CE0 86440008 */ lh $a0, 8($s2)
/* 8D21F4 80240CE4 0C00EABB */ jal get_npc_unsafe
/* 8D21F8 80240CE8 00A0802D */ daddu $s0, $a1, $zero
/* 8D21FC 80240CEC 0040882D */ daddu $s1, $v0, $zero
/* 8D2200 80240CF0 C6420080 */ lwc1 $f2, 0x80($s2)
/* 8D2204 80240CF4 468010A0 */ cvt.s.w $f2, $f2
/* 8D2208 80240CF8 460010A1 */ cvt.d.s $f2, $f2
/* 8D220C 80240CFC C6400084 */ lwc1 $f0, 0x84($s2)
/* 8D2210 80240D00 46800020 */ cvt.s.w $f0, $f0
/* 8D2214 80240D04 46000021 */ cvt.d.s $f0, $f0
/* 8D2218 80240D08 3C014059 */ lui $at, 0x4059
/* 8D221C 80240D0C 44812800 */ mtc1 $at, $f5
/* 8D2220 80240D10 44802000 */ mtc1 $zero, $f4
/* 8D2224 80240D14 8E4200CC */ lw $v0, 0xcc($s2)
/* 8D2228 80240D18 C62C0038 */ lwc1 $f12, 0x38($s1)
/* 8D222C 80240D1C C62E0040 */ lwc1 $f14, 0x40($s1)
/* 8D2230 80240D20 46241083 */ div.d $f2, $f2, $f4
/* 8D2234 80240D24 462010A0 */ cvt.s.d $f2, $f2
/* 8D2238 80240D28 46240003 */ div.d $f0, $f0, $f4
/* 8D223C 80240D2C 8C420020 */ lw $v0, 0x20($v0)
/* 8D2240 80240D30 46200020 */ cvt.s.d $f0, $f0
/* 8D2244 80240D34 E622001C */ swc1 $f2, 0x1c($s1)
/* 8D2248 80240D38 E6200014 */ swc1 $f0, 0x14($s1)
/* 8D224C 80240D3C AE220028 */ sw $v0, 0x28($s1)
/* 8D2250 80240D40 C6000018 */ lwc1 $f0, 0x18($s0)
/* 8D2254 80240D44 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* 8D2258 80240D48 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* 8D225C 80240D4C E6200018 */ swc1 $f0, 0x18($s1)
/* 8D2260 80240D50 8C460028 */ lw $a2, 0x28($v0)
/* 8D2264 80240D54 0C00A720 */ jal atan2
/* 8D2268 80240D58 8C470030 */ lw $a3, 0x30($v0)
/* 8D226C 80240D5C E620000C */ swc1 $f0, 0xc($s1)
/* 8D2270 80240D60 8E420018 */ lw $v0, 0x18($s2)
/* 8D2274 80240D64 AE400074 */ sw $zero, 0x74($s2)
/* 8D2278 80240D68 9442002A */ lhu $v0, 0x2a($v0)
/* 8D227C 80240D6C 30420002 */ andi $v0, $v0, 2
/* 8D2280 80240D70 10400005 */ beqz $v0, .L80240D88
/* 8D2284 80240D74 24020003 */ addiu $v0, $zero, 3
/* 8D2288 80240D78 A622008E */ sh $v0, 0x8e($s1)
/* 8D228C 80240D7C 2402000D */ addiu $v0, $zero, 0xd
/* 8D2290 80240D80 08090376 */ j .L80240DD8
/* 8D2294 80240D84 AE620070 */ sw $v0, 0x70($s3)
.L80240D88:
/* 8D2298 80240D88 24030001 */ addiu $v1, $zero, 1
/* 8D229C 80240D8C 2402000E */ addiu $v0, $zero, 0xe
/* 8D22A0 80240D90 A623008E */ sh $v1, 0x8e($s1)
/* 8D22A4 80240D94 AE620070 */ sw $v0, 0x70($s3)
/* 8D22A8 80240D98 C6200038 */ lwc1 $f0, 0x38($s1)
/* 8D22AC 80240D9C 4600018D */ trunc.w.s $f6, $f0
/* 8D22B0 80240DA0 44023000 */ mfc1 $v0, $f6
/* 8D22B4 80240DA4 00000000 */ nop
/* 8D22B8 80240DA8 A6420010 */ sh $v0, 0x10($s2)
/* 8D22BC 80240DAC C620003C */ lwc1 $f0, 0x3c($s1)
/* 8D22C0 80240DB0 4600018D */ trunc.w.s $f6, $f0
/* 8D22C4 80240DB4 44023000 */ mfc1 $v0, $f6
/* 8D22C8 80240DB8 00000000 */ nop
/* 8D22CC 80240DBC A6420012 */ sh $v0, 0x12($s2)
/* 8D22D0 80240DC0 C6200040 */ lwc1 $f0, 0x40($s1)
/* 8D22D4 80240DC4 A2430007 */ sb $v1, 7($s2)
/* 8D22D8 80240DC8 4600018D */ trunc.w.s $f6, $f0
/* 8D22DC 80240DCC 44023000 */ mfc1 $v0, $f6
/* 8D22E0 80240DD0 00000000 */ nop
/* 8D22E4 80240DD4 A6420014 */ sh $v0, 0x14($s2)
.L80240DD8:
/* 8D22E8 80240DD8 8FBF0020 */ lw $ra, 0x20($sp)
/* 8D22EC 80240DDC 8FB3001C */ lw $s3, 0x1c($sp)
/* 8D22F0 80240DE0 8FB20018 */ lw $s2, 0x18($sp)
/* 8D22F4 80240DE4 8FB10014 */ lw $s1, 0x14($sp)
/* 8D22F8 80240DE8 8FB00010 */ lw $s0, 0x10($sp)
/* 8D22FC 80240DEC 03E00008 */ jr $ra
/* 8D2300 80240DF0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241478_8D2988
glabel L80241490_8D29A0
/* 8D29A0 80241490 0280202D */ daddu $a0, $s4, $zero
/* 8D29A4 80241494 0200282D */ daddu $a1, $s0, $zero
/* 8D29A8 80241498 0C090330 */ jal func_80240CC0_8D21D0
/* 8D29A8 80241498 0C090330 */ jal kmr_06_UnkNpcAIFunc14
/* 8D29AC 8024149C 0260302D */ daddu $a2, $s3, $zero
/* 8D29B0 802414A0 08090535 */ j .L802414D4
/* 8D29B4 802414A4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240CC0_8D6AC0
/* 8D6AC0 80240CC0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 8D6AC4 80240CC4 AFB3001C */ sw $s3, 0x1c($sp)
/* 8D6AC8 80240CC8 0080982D */ daddu $s3, $a0, $zero
/* 8D6ACC 80240CCC AFBF0020 */ sw $ra, 0x20($sp)
/* 8D6AD0 80240CD0 AFB20018 */ sw $s2, 0x18($sp)
/* 8D6AD4 80240CD4 AFB10014 */ sw $s1, 0x14($sp)
/* 8D6AD8 80240CD8 AFB00010 */ sw $s0, 0x10($sp)
/* 8D6ADC 80240CDC 8E720148 */ lw $s2, 0x148($s3)
/* 8D6AE0 80240CE0 86440008 */ lh $a0, 8($s2)
/* 8D6AE4 80240CE4 0C00EABB */ jal get_npc_unsafe
/* 8D6AE8 80240CE8 00A0802D */ daddu $s0, $a1, $zero
/* 8D6AEC 80240CEC 0040882D */ daddu $s1, $v0, $zero
/* 8D6AF0 80240CF0 C6420080 */ lwc1 $f2, 0x80($s2)
/* 8D6AF4 80240CF4 468010A0 */ cvt.s.w $f2, $f2
/* 8D6AF8 80240CF8 460010A1 */ cvt.d.s $f2, $f2
/* 8D6AFC 80240CFC C6400084 */ lwc1 $f0, 0x84($s2)
/* 8D6B00 80240D00 46800020 */ cvt.s.w $f0, $f0
/* 8D6B04 80240D04 46000021 */ cvt.d.s $f0, $f0
/* 8D6B08 80240D08 3C014059 */ lui $at, 0x4059
/* 8D6B0C 80240D0C 44812800 */ mtc1 $at, $f5
/* 8D6B10 80240D10 44802000 */ mtc1 $zero, $f4
/* 8D6B14 80240D14 8E4200CC */ lw $v0, 0xcc($s2)
/* 8D6B18 80240D18 C62C0038 */ lwc1 $f12, 0x38($s1)
/* 8D6B1C 80240D1C C62E0040 */ lwc1 $f14, 0x40($s1)
/* 8D6B20 80240D20 46241083 */ div.d $f2, $f2, $f4
/* 8D6B24 80240D24 462010A0 */ cvt.s.d $f2, $f2
/* 8D6B28 80240D28 46240003 */ div.d $f0, $f0, $f4
/* 8D6B2C 80240D2C 8C420020 */ lw $v0, 0x20($v0)
/* 8D6B30 80240D30 46200020 */ cvt.s.d $f0, $f0
/* 8D6B34 80240D34 E622001C */ swc1 $f2, 0x1c($s1)
/* 8D6B38 80240D38 E6200014 */ swc1 $f0, 0x14($s1)
/* 8D6B3C 80240D3C AE220028 */ sw $v0, 0x28($s1)
/* 8D6B40 80240D40 C6000018 */ lwc1 $f0, 0x18($s0)
/* 8D6B44 80240D44 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* 8D6B48 80240D48 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* 8D6B4C 80240D4C E6200018 */ swc1 $f0, 0x18($s1)
/* 8D6B50 80240D50 8C460028 */ lw $a2, 0x28($v0)
/* 8D6B54 80240D54 0C00A720 */ jal atan2
/* 8D6B58 80240D58 8C470030 */ lw $a3, 0x30($v0)
/* 8D6B5C 80240D5C E620000C */ swc1 $f0, 0xc($s1)
/* 8D6B60 80240D60 8E420018 */ lw $v0, 0x18($s2)
/* 8D6B64 80240D64 AE400074 */ sw $zero, 0x74($s2)
/* 8D6B68 80240D68 9442002A */ lhu $v0, 0x2a($v0)
/* 8D6B6C 80240D6C 30420002 */ andi $v0, $v0, 2
/* 8D6B70 80240D70 10400005 */ beqz $v0, .L80240D88
/* 8D6B74 80240D74 24020003 */ addiu $v0, $zero, 3
/* 8D6B78 80240D78 A622008E */ sh $v0, 0x8e($s1)
/* 8D6B7C 80240D7C 2402000D */ addiu $v0, $zero, 0xd
/* 8D6B80 80240D80 08090376 */ j .L80240DD8
/* 8D6B84 80240D84 AE620070 */ sw $v0, 0x70($s3)
.L80240D88:
/* 8D6B88 80240D88 24030001 */ addiu $v1, $zero, 1
/* 8D6B8C 80240D8C 2402000E */ addiu $v0, $zero, 0xe
/* 8D6B90 80240D90 A623008E */ sh $v1, 0x8e($s1)
/* 8D6B94 80240D94 AE620070 */ sw $v0, 0x70($s3)
/* 8D6B98 80240D98 C6200038 */ lwc1 $f0, 0x38($s1)
/* 8D6B9C 80240D9C 4600018D */ trunc.w.s $f6, $f0
/* 8D6BA0 80240DA0 44023000 */ mfc1 $v0, $f6
/* 8D6BA4 80240DA4 00000000 */ nop
/* 8D6BA8 80240DA8 A6420010 */ sh $v0, 0x10($s2)
/* 8D6BAC 80240DAC C620003C */ lwc1 $f0, 0x3c($s1)
/* 8D6BB0 80240DB0 4600018D */ trunc.w.s $f6, $f0
/* 8D6BB4 80240DB4 44023000 */ mfc1 $v0, $f6
/* 8D6BB8 80240DB8 00000000 */ nop
/* 8D6BBC 80240DBC A6420012 */ sh $v0, 0x12($s2)
/* 8D6BC0 80240DC0 C6200040 */ lwc1 $f0, 0x40($s1)
/* 8D6BC4 80240DC4 A2430007 */ sb $v1, 7($s2)
/* 8D6BC8 80240DC8 4600018D */ trunc.w.s $f6, $f0
/* 8D6BCC 80240DCC 44023000 */ mfc1 $v0, $f6
/* 8D6BD0 80240DD0 00000000 */ nop
/* 8D6BD4 80240DD4 A6420014 */ sh $v0, 0x14($s2)
.L80240DD8:
/* 8D6BD8 80240DD8 8FBF0020 */ lw $ra, 0x20($sp)
/* 8D6BDC 80240DDC 8FB3001C */ lw $s3, 0x1c($sp)
/* 8D6BE0 80240DE0 8FB20018 */ lw $s2, 0x18($sp)
/* 8D6BE4 80240DE4 8FB10014 */ lw $s1, 0x14($sp)
/* 8D6BE8 80240DE8 8FB00010 */ lw $s0, 0x10($sp)
/* 8D6BEC 80240DEC 03E00008 */ jr $ra
/* 8D6BF0 80240DF0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241478_8D7278
glabel L80241490_8D7290
/* 8D7290 80241490 0280202D */ daddu $a0, $s4, $zero
/* 8D7294 80241494 0200282D */ daddu $a1, $s0, $zero
/* 8D7298 80241498 0C090330 */ jal func_80240CC0_8D6AC0
/* 8D7298 80241498 0C090330 */ jal kmr_09_UnkNpcAIFunc14
/* 8D729C 8024149C 0260302D */ daddu $a2, $s3, $zero
/* 8D72A0 802414A0 08090535 */ j .L802414D4
/* 8D72A4 802414A4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802411A0_C5B8E0
/* C5B8E0 802411A0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C5B8E4 802411A4 AFB3001C */ sw $s3, 0x1c($sp)
/* C5B8E8 802411A8 0080982D */ daddu $s3, $a0, $zero
/* C5B8EC 802411AC AFBF0020 */ sw $ra, 0x20($sp)
/* C5B8F0 802411B0 AFB20018 */ sw $s2, 0x18($sp)
/* C5B8F4 802411B4 AFB10014 */ sw $s1, 0x14($sp)
/* C5B8F8 802411B8 AFB00010 */ sw $s0, 0x10($sp)
/* C5B8FC 802411BC 8E720148 */ lw $s2, 0x148($s3)
/* C5B900 802411C0 86440008 */ lh $a0, 8($s2)
/* C5B904 802411C4 0C00EABB */ jal get_npc_unsafe
/* C5B908 802411C8 00A0802D */ daddu $s0, $a1, $zero
/* C5B90C 802411CC 0040882D */ daddu $s1, $v0, $zero
/* C5B910 802411D0 C6420080 */ lwc1 $f2, 0x80($s2)
/* C5B914 802411D4 468010A0 */ cvt.s.w $f2, $f2
/* C5B918 802411D8 460010A1 */ cvt.d.s $f2, $f2
/* C5B91C 802411DC C6400084 */ lwc1 $f0, 0x84($s2)
/* C5B920 802411E0 46800020 */ cvt.s.w $f0, $f0
/* C5B924 802411E4 46000021 */ cvt.d.s $f0, $f0
/* C5B928 802411E8 3C014059 */ lui $at, 0x4059
/* C5B92C 802411EC 44812800 */ mtc1 $at, $f5
/* C5B930 802411F0 44802000 */ mtc1 $zero, $f4
/* C5B934 802411F4 8E4200CC */ lw $v0, 0xcc($s2)
/* C5B938 802411F8 C62C0038 */ lwc1 $f12, 0x38($s1)
/* C5B93C 802411FC C62E0040 */ lwc1 $f14, 0x40($s1)
/* C5B940 80241200 46241083 */ div.d $f2, $f2, $f4
/* C5B944 80241204 462010A0 */ cvt.s.d $f2, $f2
/* C5B948 80241208 46240003 */ div.d $f0, $f0, $f4
/* C5B94C 8024120C 8C420020 */ lw $v0, 0x20($v0)
/* C5B950 80241210 46200020 */ cvt.s.d $f0, $f0
/* C5B954 80241214 E622001C */ swc1 $f2, 0x1c($s1)
/* C5B958 80241218 E6200014 */ swc1 $f0, 0x14($s1)
/* C5B95C 8024121C AE220028 */ sw $v0, 0x28($s1)
/* C5B960 80241220 C6000018 */ lwc1 $f0, 0x18($s0)
/* C5B964 80241224 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* C5B968 80241228 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* C5B96C 8024122C E6200018 */ swc1 $f0, 0x18($s1)
/* C5B970 80241230 8C460028 */ lw $a2, 0x28($v0)
/* C5B974 80241234 0C00A720 */ jal atan2
/* C5B978 80241238 8C470030 */ lw $a3, 0x30($v0)
/* C5B97C 8024123C E620000C */ swc1 $f0, 0xc($s1)
/* C5B980 80241240 8E420018 */ lw $v0, 0x18($s2)
/* C5B984 80241244 AE400074 */ sw $zero, 0x74($s2)
/* C5B988 80241248 9442002A */ lhu $v0, 0x2a($v0)
/* C5B98C 8024124C 30420002 */ andi $v0, $v0, 2
/* C5B990 80241250 10400005 */ beqz $v0, .L80241268
/* C5B994 80241254 24020003 */ addiu $v0, $zero, 3
/* C5B998 80241258 A622008E */ sh $v0, 0x8e($s1)
/* C5B99C 8024125C 2402000D */ addiu $v0, $zero, 0xd
/* C5B9A0 80241260 080904AE */ j .L802412B8
/* C5B9A4 80241264 AE620070 */ sw $v0, 0x70($s3)
.L80241268:
/* C5B9A8 80241268 24030001 */ addiu $v1, $zero, 1
/* C5B9AC 8024126C 2402000E */ addiu $v0, $zero, 0xe
/* C5B9B0 80241270 A623008E */ sh $v1, 0x8e($s1)
/* C5B9B4 80241274 AE620070 */ sw $v0, 0x70($s3)
/* C5B9B8 80241278 C6200038 */ lwc1 $f0, 0x38($s1)
/* C5B9BC 8024127C 4600018D */ trunc.w.s $f6, $f0
/* C5B9C0 80241280 44023000 */ mfc1 $v0, $f6
/* C5B9C4 80241284 00000000 */ nop
/* C5B9C8 80241288 A6420010 */ sh $v0, 0x10($s2)
/* C5B9CC 8024128C C620003C */ lwc1 $f0, 0x3c($s1)
/* C5B9D0 80241290 4600018D */ trunc.w.s $f6, $f0
/* C5B9D4 80241294 44023000 */ mfc1 $v0, $f6
/* C5B9D8 80241298 00000000 */ nop
/* C5B9DC 8024129C A6420012 */ sh $v0, 0x12($s2)
/* C5B9E0 802412A0 C6200040 */ lwc1 $f0, 0x40($s1)
/* C5B9E4 802412A4 A2430007 */ sb $v1, 7($s2)
/* C5B9E8 802412A8 4600018D */ trunc.w.s $f6, $f0
/* C5B9EC 802412AC 44023000 */ mfc1 $v0, $f6
/* C5B9F0 802412B0 00000000 */ nop
/* C5B9F4 802412B4 A6420014 */ sh $v0, 0x14($s2)
.L802412B8:
/* C5B9F8 802412B8 8FBF0020 */ lw $ra, 0x20($sp)
/* C5B9FC 802412BC 8FB3001C */ lw $s3, 0x1c($sp)
/* C5BA00 802412C0 8FB20018 */ lw $s2, 0x18($sp)
/* C5BA04 802412C4 8FB10014 */ lw $s1, 0x14($sp)
/* C5BA08 802412C8 8FB00010 */ lw $s0, 0x10($sp)
/* C5BA0C 802412CC 03E00008 */ jr $ra
/* C5BA10 802412D0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241958_C5C098
glabel L80241970_C5C0B0
/* C5C0B0 80241970 0280202D */ daddu $a0, $s4, $zero
/* C5C0B4 80241974 0200282D */ daddu $a1, $s0, $zero
/* C5C0B8 80241978 0C090468 */ jal func_802411A0_C5B8E0
/* C5C0B8 80241978 0C090468 */ jal kzn_02_UnkNpcAIFunc14
/* C5C0BC 8024197C 0260302D */ daddu $a2, $s3, $zero
/* C5C0C0 80241980 0809066D */ j .L802419B4
/* C5C0C4 80241984 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240F88_C690B8
/* C690B8 80240F88 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C690BC 80240F8C AFBF0018 */ sw $ra, 0x18($sp)
/* C690C0 80240F90 0C00EAD2 */ jal get_npc_safe
/* C690C4 80240F94 2404FFFC */ addiu $a0, $zero, -4
/* C690C8 80240F98 3C0141F0 */ lui $at, 0x41f0
/* C690CC 80240F9C 44810000 */ mtc1 $at, $f0
/* C690D0 80240FA0 C442003C */ lwc1 $f2, 0x3c($v0)
/* C690D4 80240FA4 46001080 */ add.s $f2, $f2, $f0
/* C690D8 80240FA8 E7A00010 */ swc1 $f0, 0x10($sp)
/* C690DC 80240FAC 8C450038 */ lw $a1, 0x38($v0)
/* C690E0 80240FB0 8C470040 */ lw $a3, 0x40($v0)
/* C690E4 80240FB4 44061000 */ mfc1 $a2, $f2
/* C690E8 80240FB8 0C01BFBC */ jal func_8006FEF0
/* C690EC 80240FBC 24040002 */ addiu $a0, $zero, 2
/* C690F0 80240FC0 8FBF0018 */ lw $ra, 0x18($sp)
/* C690F4 80240FC4 24020002 */ addiu $v0, $zero, 2
/* C690F8 80240FC8 03E00008 */ jr $ra
/* C690FC 80240FCC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240FD0_C69100
/* C69100 80240FD0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C69104 80240FD4 AFBF0018 */ sw $ra, 0x18($sp)
/* C69108 80240FD8 0C00EAD2 */ jal get_npc_safe
/* C6910C 80240FDC 2404FFFC */ addiu $a0, $zero, -4
/* C69110 80240FE0 3C0141F0 */ lui $at, 0x41f0
/* C69114 80240FE4 44810000 */ mtc1 $at, $f0
/* C69118 80240FE8 C442003C */ lwc1 $f2, 0x3c($v0)
/* C6911C 80240FEC 46001080 */ add.s $f2, $f2, $f0
/* C69120 80240FF0 E7A00010 */ swc1 $f0, 0x10($sp)
/* C69124 80240FF4 8C450038 */ lw $a1, 0x38($v0)
/* C69128 80240FF8 8C470040 */ lw $a3, 0x40($v0)
/* C6912C 80240FFC 44061000 */ mfc1 $a2, $f2
/* C69130 80241000 0C01BFBC */ jal func_8006FEF0
/* C69134 80241004 24040004 */ addiu $a0, $zero, 4
/* C69138 80241008 8FBF0018 */ lw $ra, 0x18($sp)
/* C6913C 8024100C 24020002 */ addiu $v0, $zero, 2
/* C69140 80241010 03E00008 */ jr $ra
/* C69144 80241014 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802414E0_C6F810
/* C6F810 802414E0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C6F814 802414E4 AFB3001C */ sw $s3, 0x1c($sp)
/* C6F818 802414E8 0080982D */ daddu $s3, $a0, $zero
/* C6F81C 802414EC AFBF0020 */ sw $ra, 0x20($sp)
/* C6F820 802414F0 AFB20018 */ sw $s2, 0x18($sp)
/* C6F824 802414F4 AFB10014 */ sw $s1, 0x14($sp)
/* C6F828 802414F8 AFB00010 */ sw $s0, 0x10($sp)
/* C6F82C 802414FC 8E720148 */ lw $s2, 0x148($s3)
/* C6F830 80241500 86440008 */ lh $a0, 8($s2)
/* C6F834 80241504 0C00EABB */ jal get_npc_unsafe
/* C6F838 80241508 00A0802D */ daddu $s0, $a1, $zero
/* C6F83C 8024150C 0040882D */ daddu $s1, $v0, $zero
/* C6F840 80241510 C6420080 */ lwc1 $f2, 0x80($s2)
/* C6F844 80241514 468010A0 */ cvt.s.w $f2, $f2
/* C6F848 80241518 460010A1 */ cvt.d.s $f2, $f2
/* C6F84C 8024151C C6400084 */ lwc1 $f0, 0x84($s2)
/* C6F850 80241520 46800020 */ cvt.s.w $f0, $f0
/* C6F854 80241524 46000021 */ cvt.d.s $f0, $f0
/* C6F858 80241528 3C014059 */ lui $at, 0x4059
/* C6F85C 8024152C 44812800 */ mtc1 $at, $f5
/* C6F860 80241530 44802000 */ mtc1 $zero, $f4
/* C6F864 80241534 8E4200CC */ lw $v0, 0xcc($s2)
/* C6F868 80241538 C62C0038 */ lwc1 $f12, 0x38($s1)
/* C6F86C 8024153C C62E0040 */ lwc1 $f14, 0x40($s1)
/* C6F870 80241540 46241083 */ div.d $f2, $f2, $f4
/* C6F874 80241544 462010A0 */ cvt.s.d $f2, $f2
/* C6F878 80241548 46240003 */ div.d $f0, $f0, $f4
/* C6F87C 8024154C 8C420020 */ lw $v0, 0x20($v0)
/* C6F880 80241550 46200020 */ cvt.s.d $f0, $f0
/* C6F884 80241554 E622001C */ swc1 $f2, 0x1c($s1)
/* C6F888 80241558 E6200014 */ swc1 $f0, 0x14($s1)
/* C6F88C 8024155C AE220028 */ sw $v0, 0x28($s1)
/* C6F890 80241560 C6000018 */ lwc1 $f0, 0x18($s0)
/* C6F894 80241564 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* C6F898 80241568 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* C6F89C 8024156C E6200018 */ swc1 $f0, 0x18($s1)
/* C6F8A0 80241570 8C460028 */ lw $a2, 0x28($v0)
/* C6F8A4 80241574 0C00A720 */ jal atan2
/* C6F8A8 80241578 8C470030 */ lw $a3, 0x30($v0)
/* C6F8AC 8024157C E620000C */ swc1 $f0, 0xc($s1)
/* C6F8B0 80241580 8E420018 */ lw $v0, 0x18($s2)
/* C6F8B4 80241584 AE400074 */ sw $zero, 0x74($s2)
/* C6F8B8 80241588 9442002A */ lhu $v0, 0x2a($v0)
/* C6F8BC 8024158C 30420002 */ andi $v0, $v0, 2
/* C6F8C0 80241590 10400005 */ beqz $v0, .L802415A8
/* C6F8C4 80241594 24020003 */ addiu $v0, $zero, 3
/* C6F8C8 80241598 A622008E */ sh $v0, 0x8e($s1)
/* C6F8CC 8024159C 2402000D */ addiu $v0, $zero, 0xd
/* C6F8D0 802415A0 0809057E */ j .L802415F8
/* C6F8D4 802415A4 AE620070 */ sw $v0, 0x70($s3)
.L802415A8:
/* C6F8D8 802415A8 24030001 */ addiu $v1, $zero, 1
/* C6F8DC 802415AC 2402000E */ addiu $v0, $zero, 0xe
/* C6F8E0 802415B0 A623008E */ sh $v1, 0x8e($s1)
/* C6F8E4 802415B4 AE620070 */ sw $v0, 0x70($s3)
/* C6F8E8 802415B8 C6200038 */ lwc1 $f0, 0x38($s1)
/* C6F8EC 802415BC 4600018D */ trunc.w.s $f6, $f0
/* C6F8F0 802415C0 44023000 */ mfc1 $v0, $f6
/* C6F8F4 802415C4 00000000 */ nop
/* C6F8F8 802415C8 A6420010 */ sh $v0, 0x10($s2)
/* C6F8FC 802415CC C620003C */ lwc1 $f0, 0x3c($s1)
/* C6F900 802415D0 4600018D */ trunc.w.s $f6, $f0
/* C6F904 802415D4 44023000 */ mfc1 $v0, $f6
/* C6F908 802415D8 00000000 */ nop
/* C6F90C 802415DC A6420012 */ sh $v0, 0x12($s2)
/* C6F910 802415E0 C6200040 */ lwc1 $f0, 0x40($s1)
/* C6F914 802415E4 A2430007 */ sb $v1, 7($s2)
/* C6F918 802415E8 4600018D */ trunc.w.s $f6, $f0
/* C6F91C 802415EC 44023000 */ mfc1 $v0, $f6
/* C6F920 802415F0 00000000 */ nop
/* C6F924 802415F4 A6420014 */ sh $v0, 0x14($s2)
.L802415F8:
/* C6F928 802415F8 8FBF0020 */ lw $ra, 0x20($sp)
/* C6F92C 802415FC 8FB3001C */ lw $s3, 0x1c($sp)
/* C6F930 80241600 8FB20018 */ lw $s2, 0x18($sp)
/* C6F934 80241604 8FB10014 */ lw $s1, 0x14($sp)
/* C6F938 80241608 8FB00010 */ lw $s0, 0x10($sp)
/* C6F93C 8024160C 03E00008 */ jr $ra
/* C6F940 80241610 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241C98_C6FFC8
glabel L80241CB0_C6FFE0
/* C6FFE0 80241CB0 0280202D */ daddu $a0, $s4, $zero
/* C6FFE4 80241CB4 0200282D */ daddu $a1, $s0, $zero
/* C6FFE8 80241CB8 0C090538 */ jal func_802414E0_C6F810
/* C6FFE8 80241CB8 0C090538 */ jal kzn_07_UnkNpcAIFunc14
/* C6FFEC 80241CBC 0260302D */ daddu $a2, $s3, $zero
/* C6FFF0 80241CC0 0809073D */ j .L80241CF4
/* C6FFF4 80241CC4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241710_C72B90
/* C72B90 80241710 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C72B94 80241714 AFB3001C */ sw $s3, 0x1c($sp)
/* C72B98 80241718 0080982D */ daddu $s3, $a0, $zero
/* C72B9C 8024171C AFBF0020 */ sw $ra, 0x20($sp)
/* C72BA0 80241720 AFB20018 */ sw $s2, 0x18($sp)
/* C72BA4 80241724 AFB10014 */ sw $s1, 0x14($sp)
/* C72BA8 80241728 AFB00010 */ sw $s0, 0x10($sp)
/* C72BAC 8024172C 8E720148 */ lw $s2, 0x148($s3)
/* C72BB0 80241730 86440008 */ lh $a0, 8($s2)
/* C72BB4 80241734 0C00EABB */ jal get_npc_unsafe
/* C72BB8 80241738 00A0802D */ daddu $s0, $a1, $zero
/* C72BBC 8024173C 0040882D */ daddu $s1, $v0, $zero
/* C72BC0 80241740 C6420080 */ lwc1 $f2, 0x80($s2)
/* C72BC4 80241744 468010A0 */ cvt.s.w $f2, $f2
/* C72BC8 80241748 460010A1 */ cvt.d.s $f2, $f2
/* C72BCC 8024174C C6400084 */ lwc1 $f0, 0x84($s2)
/* C72BD0 80241750 46800020 */ cvt.s.w $f0, $f0
/* C72BD4 80241754 46000021 */ cvt.d.s $f0, $f0
/* C72BD8 80241758 3C014059 */ lui $at, 0x4059
/* C72BDC 8024175C 44812800 */ mtc1 $at, $f5
/* C72BE0 80241760 44802000 */ mtc1 $zero, $f4
/* C72BE4 80241764 8E4200CC */ lw $v0, 0xcc($s2)
/* C72BE8 80241768 C62C0038 */ lwc1 $f12, 0x38($s1)
/* C72BEC 8024176C C62E0040 */ lwc1 $f14, 0x40($s1)
/* C72BF0 80241770 46241083 */ div.d $f2, $f2, $f4
/* C72BF4 80241774 462010A0 */ cvt.s.d $f2, $f2
/* C72BF8 80241778 46240003 */ div.d $f0, $f0, $f4
/* C72BFC 8024177C 8C420020 */ lw $v0, 0x20($v0)
/* C72C00 80241780 46200020 */ cvt.s.d $f0, $f0
/* C72C04 80241784 E622001C */ swc1 $f2, 0x1c($s1)
/* C72C08 80241788 E6200014 */ swc1 $f0, 0x14($s1)
/* C72C0C 8024178C AE220028 */ sw $v0, 0x28($s1)
/* C72C10 80241790 C6000018 */ lwc1 $f0, 0x18($s0)
/* C72C14 80241794 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* C72C18 80241798 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* C72C1C 8024179C E6200018 */ swc1 $f0, 0x18($s1)
/* C72C20 802417A0 8C460028 */ lw $a2, 0x28($v0)
/* C72C24 802417A4 0C00A720 */ jal atan2
/* C72C28 802417A8 8C470030 */ lw $a3, 0x30($v0)
/* C72C2C 802417AC E620000C */ swc1 $f0, 0xc($s1)
/* C72C30 802417B0 8E420018 */ lw $v0, 0x18($s2)
/* C72C34 802417B4 AE400074 */ sw $zero, 0x74($s2)
/* C72C38 802417B8 9442002A */ lhu $v0, 0x2a($v0)
/* C72C3C 802417BC 30420002 */ andi $v0, $v0, 2
/* C72C40 802417C0 10400005 */ beqz $v0, .L802417D8
/* C72C44 802417C4 24020003 */ addiu $v0, $zero, 3
/* C72C48 802417C8 A622008E */ sh $v0, 0x8e($s1)
/* C72C4C 802417CC 2402000D */ addiu $v0, $zero, 0xd
/* C72C50 802417D0 0809060A */ j .L80241828
/* C72C54 802417D4 AE620070 */ sw $v0, 0x70($s3)
.L802417D8:
/* C72C58 802417D8 24030001 */ addiu $v1, $zero, 1
/* C72C5C 802417DC 2402000E */ addiu $v0, $zero, 0xe
/* C72C60 802417E0 A623008E */ sh $v1, 0x8e($s1)
/* C72C64 802417E4 AE620070 */ sw $v0, 0x70($s3)
/* C72C68 802417E8 C6200038 */ lwc1 $f0, 0x38($s1)
/* C72C6C 802417EC 4600018D */ trunc.w.s $f6, $f0
/* C72C70 802417F0 44023000 */ mfc1 $v0, $f6
/* C72C74 802417F4 00000000 */ nop
/* C72C78 802417F8 A6420010 */ sh $v0, 0x10($s2)
/* C72C7C 802417FC C620003C */ lwc1 $f0, 0x3c($s1)
/* C72C80 80241800 4600018D */ trunc.w.s $f6, $f0
/* C72C84 80241804 44023000 */ mfc1 $v0, $f6
/* C72C88 80241808 00000000 */ nop
/* C72C8C 8024180C A6420012 */ sh $v0, 0x12($s2)
/* C72C90 80241810 C6200040 */ lwc1 $f0, 0x40($s1)
/* C72C94 80241814 A2430007 */ sb $v1, 7($s2)
/* C72C98 80241818 4600018D */ trunc.w.s $f6, $f0
/* C72C9C 8024181C 44023000 */ mfc1 $v0, $f6
/* C72CA0 80241820 00000000 */ nop
/* C72CA4 80241824 A6420014 */ sh $v0, 0x14($s2)
.L80241828:
/* C72CA8 80241828 8FBF0020 */ lw $ra, 0x20($sp)
/* C72CAC 8024182C 8FB3001C */ lw $s3, 0x1c($sp)
/* C72CB0 80241830 8FB20018 */ lw $s2, 0x18($sp)
/* C72CB4 80241834 8FB10014 */ lw $s1, 0x14($sp)
/* C72CB8 80241838 8FB00010 */ lw $s0, 0x10($sp)
/* C72CBC 8024183C 03E00008 */ jr $ra
/* C72CC0 80241840 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241EC8_C73348
glabel L80241EE0_C73360
/* C73360 80241EE0 0280202D */ daddu $a0, $s4, $zero
/* C73364 80241EE4 0200282D */ daddu $a1, $s0, $zero
/* C73368 80241EE8 0C0905C4 */ jal func_80241710_C72B90
/* C73368 80241EE8 0C0905C4 */ jal kzn_08_UnkNpcAIFunc14
/* C7336C 80241EEC 0260302D */ daddu $a2, $s3, $zero
/* C73370 80241EF0 080907C9 */ j .L80241F24
/* C73374 80241EF4 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240C78_C77958
/* C77958 80240C78 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C7795C 80240C7C AFBF0018 */ sw $ra, 0x18($sp)
/* C77960 80240C80 0C00EAD2 */ jal get_npc_safe
/* C77964 80240C84 2404FFFC */ addiu $a0, $zero, -4
/* C77968 80240C88 3C0141F0 */ lui $at, 0x41f0
/* C7796C 80240C8C 44810000 */ mtc1 $at, $f0
/* C77970 80240C90 C442003C */ lwc1 $f2, 0x3c($v0)
/* C77974 80240C94 46001080 */ add.s $f2, $f2, $f0
/* C77978 80240C98 E7A00010 */ swc1 $f0, 0x10($sp)
/* C7797C 80240C9C 8C450038 */ lw $a1, 0x38($v0)
/* C77980 80240CA0 8C470040 */ lw $a3, 0x40($v0)
/* C77984 80240CA4 44061000 */ mfc1 $a2, $f2
/* C77988 80240CA8 0C01BFBC */ jal func_8006FEF0
/* C7798C 80240CAC 24040002 */ addiu $a0, $zero, 2
/* C77990 80240CB0 8FBF0018 */ lw $ra, 0x18($sp)
/* C77994 80240CB4 24020002 */ addiu $v0, $zero, 2
/* C77998 80240CB8 03E00008 */ jr $ra
/* C7799C 80240CBC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240CC0_C779A0
/* C779A0 80240CC0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C779A4 80240CC4 AFBF0018 */ sw $ra, 0x18($sp)
/* C779A8 80240CC8 0C00EAD2 */ jal get_npc_safe
/* C779AC 80240CCC 2404FFFC */ addiu $a0, $zero, -4
/* C779B0 80240CD0 3C0141F0 */ lui $at, 0x41f0
/* C779B4 80240CD4 44810000 */ mtc1 $at, $f0
/* C779B8 80240CD8 C442003C */ lwc1 $f2, 0x3c($v0)
/* C779BC 80240CDC 46001080 */ add.s $f2, $f2, $f0
/* C779C0 80240CE0 E7A00010 */ swc1 $f0, 0x10($sp)
/* C779C4 80240CE4 8C450038 */ lw $a1, 0x38($v0)
/* C779C8 80240CE8 8C470040 */ lw $a3, 0x40($v0)
/* C779CC 80240CEC 44061000 */ mfc1 $a2, $f2
/* C779D0 80240CF0 0C01BFBC */ jal func_8006FEF0
/* C779D4 80240CF4 24040004 */ addiu $a0, $zero, 4
/* C779D8 80240CF8 8FBF0018 */ lw $ra, 0x18($sp)
/* C779DC 80240CFC 24020002 */ addiu $v0, $zero, 2
/* C779E0 80240D00 03E00008 */ jr $ra
/* C779E4 80240D04 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241120_C812C0
/* C812C0 80241120 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C812C4 80241124 AFB3001C */ sw $s3, 0x1c($sp)
/* C812C8 80241128 0080982D */ daddu $s3, $a0, $zero
/* C812CC 8024112C AFBF0020 */ sw $ra, 0x20($sp)
/* C812D0 80241130 AFB20018 */ sw $s2, 0x18($sp)
/* C812D4 80241134 AFB10014 */ sw $s1, 0x14($sp)
/* C812D8 80241138 AFB00010 */ sw $s0, 0x10($sp)
/* C812DC 8024113C 8E720148 */ lw $s2, 0x148($s3)
/* C812E0 80241140 86440008 */ lh $a0, 8($s2)
/* C812E4 80241144 0C00EABB */ jal get_npc_unsafe
/* C812E8 80241148 00A0802D */ daddu $s0, $a1, $zero
/* C812EC 8024114C 0040882D */ daddu $s1, $v0, $zero
/* C812F0 80241150 C6420080 */ lwc1 $f2, 0x80($s2)
/* C812F4 80241154 468010A0 */ cvt.s.w $f2, $f2
/* C812F8 80241158 460010A1 */ cvt.d.s $f2, $f2
/* C812FC 8024115C C6400084 */ lwc1 $f0, 0x84($s2)
/* C81300 80241160 46800020 */ cvt.s.w $f0, $f0
/* C81304 80241164 46000021 */ cvt.d.s $f0, $f0
/* C81308 80241168 3C014059 */ lui $at, 0x4059
/* C8130C 8024116C 44812800 */ mtc1 $at, $f5
/* C81310 80241170 44802000 */ mtc1 $zero, $f4
/* C81314 80241174 8E4200CC */ lw $v0, 0xcc($s2)
/* C81318 80241178 C62C0038 */ lwc1 $f12, 0x38($s1)
/* C8131C 8024117C C62E0040 */ lwc1 $f14, 0x40($s1)
/* C81320 80241180 46241083 */ div.d $f2, $f2, $f4
/* C81324 80241184 462010A0 */ cvt.s.d $f2, $f2
/* C81328 80241188 46240003 */ div.d $f0, $f0, $f4
/* C8132C 8024118C 8C420020 */ lw $v0, 0x20($v0)
/* C81330 80241190 46200020 */ cvt.s.d $f0, $f0
/* C81334 80241194 E622001C */ swc1 $f2, 0x1c($s1)
/* C81338 80241198 E6200014 */ swc1 $f0, 0x14($s1)
/* C8133C 8024119C AE220028 */ sw $v0, 0x28($s1)
/* C81340 802411A0 C6000018 */ lwc1 $f0, 0x18($s0)
/* C81344 802411A4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* C81348 802411A8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* C8134C 802411AC E6200018 */ swc1 $f0, 0x18($s1)
/* C81350 802411B0 8C460028 */ lw $a2, 0x28($v0)
/* C81354 802411B4 0C00A720 */ jal atan2
/* C81358 802411B8 8C470030 */ lw $a3, 0x30($v0)
/* C8135C 802411BC E620000C */ swc1 $f0, 0xc($s1)
/* C81360 802411C0 8E420018 */ lw $v0, 0x18($s2)
/* C81364 802411C4 AE400074 */ sw $zero, 0x74($s2)
/* C81368 802411C8 9442002A */ lhu $v0, 0x2a($v0)
/* C8136C 802411CC 30420002 */ andi $v0, $v0, 2
/* C81370 802411D0 10400005 */ beqz $v0, .L802411E8
/* C81374 802411D4 24020003 */ addiu $v0, $zero, 3
/* C81378 802411D8 A622008E */ sh $v0, 0x8e($s1)
/* C8137C 802411DC 2402000D */ addiu $v0, $zero, 0xd
/* C81380 802411E0 0809048E */ j .L80241238
/* C81384 802411E4 AE620070 */ sw $v0, 0x70($s3)
.L802411E8:
/* C81388 802411E8 24030001 */ addiu $v1, $zero, 1
/* C8138C 802411EC 2402000E */ addiu $v0, $zero, 0xe
/* C81390 802411F0 A623008E */ sh $v1, 0x8e($s1)
/* C81394 802411F4 AE620070 */ sw $v0, 0x70($s3)
/* C81398 802411F8 C6200038 */ lwc1 $f0, 0x38($s1)
/* C8139C 802411FC 4600018D */ trunc.w.s $f6, $f0
/* C813A0 80241200 44023000 */ mfc1 $v0, $f6
/* C813A4 80241204 00000000 */ nop
/* C813A8 80241208 A6420010 */ sh $v0, 0x10($s2)
/* C813AC 8024120C C620003C */ lwc1 $f0, 0x3c($s1)
/* C813B0 80241210 4600018D */ trunc.w.s $f6, $f0
/* C813B4 80241214 44023000 */ mfc1 $v0, $f6
/* C813B8 80241218 00000000 */ nop
/* C813BC 8024121C A6420012 */ sh $v0, 0x12($s2)
/* C813C0 80241220 C6200040 */ lwc1 $f0, 0x40($s1)
/* C813C4 80241224 A2430007 */ sb $v1, 7($s2)
/* C813C8 80241228 4600018D */ trunc.w.s $f6, $f0
/* C813CC 8024122C 44023000 */ mfc1 $v0, $f6
/* C813D0 80241230 00000000 */ nop
/* C813D4 80241234 A6420014 */ sh $v0, 0x14($s2)
.L80241238:
/* C813D8 80241238 8FBF0020 */ lw $ra, 0x20($sp)
/* C813DC 8024123C 8FB3001C */ lw $s3, 0x1c($sp)
/* C813E0 80241240 8FB20018 */ lw $s2, 0x18($sp)
/* C813E4 80241244 8FB10014 */ lw $s1, 0x14($sp)
/* C813E8 80241248 8FB00010 */ lw $s0, 0x10($sp)
/* C813EC 8024124C 03E00008 */ jr $ra
/* C813F0 80241250 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L802418D8_C81A78
glabel L802418F0_C81A90
/* C81A90 802418F0 0280202D */ daddu $a0, $s4, $zero
/* C81A94 802418F4 0200282D */ daddu $a1, $s0, $zero
/* C81A98 802418F8 0C090448 */ jal func_80241120_C812C0
/* C81A98 802418F8 0C090448 */ jal kzn_11_UnkNpcAIFunc14
/* C81A9C 802418FC 0260302D */ daddu $a2, $s3, $zero
/* C81AA0 80241900 0809064D */ j .L80241934
/* C81AA4 80241904 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240A5C_7EB76C
/* 7EB76C 80240A5C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 7EB770 80240A60 AFB10014 */ sw $s1, 0x14($sp)
/* 7EB774 80240A64 0080882D */ daddu $s1, $a0, $zero
/* 7EB778 80240A68 AFBF0024 */ sw $ra, 0x24($sp)
/* 7EB77C 80240A6C AFB40020 */ sw $s4, 0x20($sp)
/* 7EB780 80240A70 AFB3001C */ sw $s3, 0x1c($sp)
/* 7EB784 80240A74 AFB20018 */ sw $s2, 0x18($sp)
/* 7EB788 80240A78 10A00033 */ beqz $a1, .L80240B48
/* 7EB78C 80240A7C AFB00010 */ sw $s0, 0x10($sp)
/* 7EB790 80240A80 0C04760B */ jal func_8011D82C
/* 7EB794 80240A84 24040001 */ addiu $a0, $zero, 1
/* 7EB798 80240A88 0000202D */ daddu $a0, $zero, $zero
/* 7EB79C 80240A8C 0080282D */ daddu $a1, $a0, $zero
/* 7EB7A0 80240A90 0080302D */ daddu $a2, $a0, $zero
/* 7EB7A4 80240A94 0080382D */ daddu $a3, $a0, $zero
/* 7EB7A8 80240A98 0080802D */ daddu $s0, $a0, $zero
/* 7EB7AC 80240A9C 2414FFFC */ addiu $s4, $zero, -4
/* 7EB7B0 80240AA0 24130006 */ addiu $s3, $zero, 6
/* 7EB7B4 80240AA4 3C120080 */ lui $s2, 0x80
/* 7EB7B8 80240AA8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 7EB7BC 80240AAC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 7EB7C0 80240AB0 24020001 */ addiu $v0, $zero, 1
/* 7EB7C4 80240AB4 0C046F97 */ jal set_background_color_blend
/* 7EB7C8 80240AB8 A0620000 */ sb $v0, ($v1)
.L80240ABC:
/* 7EB7CC 80240ABC 0C00E2B7 */ jal get_npc_by_index
/* 7EB7D0 80240AC0 0200202D */ daddu $a0, $s0, $zero
/* 7EB7D4 80240AC4 0040202D */ daddu $a0, $v0, $zero
/* 7EB7D8 80240AC8 5080000B */ beql $a0, $zero, .L80240AF8
/* 7EB7DC 80240ACC 26100001 */ addiu $s0, $s0, 1
/* 7EB7E0 80240AD0 8C820000 */ lw $v0, ($a0)
/* 7EB7E4 80240AD4 50400008 */ beql $v0, $zero, .L80240AF8
/* 7EB7E8 80240AD8 26100001 */ addiu $s0, $s0, 1
/* 7EB7EC 80240ADC 808300A4 */ lb $v1, 0xa4($a0)
/* 7EB7F0 80240AE0 10740005 */ beq $v1, $s4, .L80240AF8
/* 7EB7F4 80240AE4 26100001 */ addiu $s0, $s0, 1
/* 7EB7F8 80240AE8 10730003 */ beq $v1, $s3, .L80240AF8
/* 7EB7FC 80240AEC 00000000 */ nop
/* 7EB800 80240AF0 00521025 */ or $v0, $v0, $s2
/* 7EB804 80240AF4 AC820000 */ sw $v0, ($a0)
.L80240AF8:
/* 7EB808 80240AF8 2A020040 */ slti $v0, $s0, 0x40
/* 7EB80C 80240AFC 1440FFEF */ bnez $v0, .L80240ABC
/* 7EB810 80240B00 00000000 */ nop
/* 7EB814 80240B04 0000802D */ daddu $s0, $zero, $zero
/* 7EB818 80240B08 3C120800 */ lui $s2, 0x800
.L80240B0C:
/* 7EB81C 80240B0C 0C04C3D6 */ jal get_item_entity
/* 7EB820 80240B10 0200202D */ daddu $a0, $s0, $zero
/* 7EB824 80240B14 0040182D */ daddu $v1, $v0, $zero
/* 7EB828 80240B18 10600007 */ beqz $v1, .L80240B38
/* 7EB82C 80240B1C 26100001 */ addiu $s0, $s0, 1
/* 7EB830 80240B20 8C640000 */ lw $a0, ($v1)
/* 7EB834 80240B24 30820010 */ andi $v0, $a0, 0x10
/* 7EB838 80240B28 10400003 */ beqz $v0, .L80240B38
/* 7EB83C 80240B2C 00000000 */ nop
/* 7EB840 80240B30 00921025 */ or $v0, $a0, $s2
/* 7EB844 80240B34 AC620000 */ sw $v0, ($v1)
.L80240B38:
/* 7EB848 80240B38 2A020100 */ slti $v0, $s0, 0x100
/* 7EB84C 80240B3C 1440FFF3 */ bnez $v0, .L80240B0C
/* 7EB850 80240B40 00000000 */ nop
/* 7EB854 80240B44 AE200070 */ sw $zero, 0x70($s1)
.L80240B48:
/* 7EB858 80240B48 8E220070 */ lw $v0, 0x70($s1)
/* 7EB85C 80240B4C 24420008 */ addiu $v0, $v0, 8
/* 7EB860 80240B50 AE220070 */ sw $v0, 0x70($s1)
/* 7EB864 80240B54 28420100 */ slti $v0, $v0, 0x100
/* 7EB868 80240B58 14400003 */ bnez $v0, .L80240B68
/* 7EB86C 80240B5C 0000202D */ daddu $a0, $zero, $zero
/* 7EB870 80240B60 240200FF */ addiu $v0, $zero, 0xff
/* 7EB874 80240B64 AE220070 */ sw $v0, 0x70($s1)
.L80240B68:
/* 7EB878 80240B68 0080282D */ daddu $a1, $a0, $zero
/* 7EB87C 80240B6C 92270073 */ lbu $a3, 0x73($s1)
/* 7EB880 80240B70 0C046F97 */ jal set_background_color_blend
/* 7EB884 80240B74 0080302D */ daddu $a2, $a0, $zero
/* 7EB888 80240B78 8E220070 */ lw $v0, 0x70($s1)
/* 7EB88C 80240B7C 8FBF0024 */ lw $ra, 0x24($sp)
/* 7EB890 80240B80 8FB40020 */ lw $s4, 0x20($sp)
/* 7EB894 80240B84 8FB3001C */ lw $s3, 0x1c($sp)
/* 7EB898 80240B88 8FB20018 */ lw $s2, 0x18($sp)
/* 7EB89C 80240B8C 8FB10014 */ lw $s1, 0x14($sp)
/* 7EB8A0 80240B90 8FB00010 */ lw $s0, 0x10($sp)
/* 7EB8A4 80240B94 384200FF */ xori $v0, $v0, 0xff
/* 7EB8A8 80240B98 2C420001 */ sltiu $v0, $v0, 1
/* 7EB8AC 80240B9C 00021040 */ sll $v0, $v0, 1
/* 7EB8B0 80240BA0 03E00008 */ jr $ra
/* 7EB8B4 80240BA4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024233C_802BBC
/* 802BBC 8024233C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 802BC0 80242340 AFB10014 */ sw $s1, 0x14($sp)
/* 802BC4 80242344 0080882D */ daddu $s1, $a0, $zero
/* 802BC8 80242348 AFBF0024 */ sw $ra, 0x24($sp)
/* 802BCC 8024234C AFB40020 */ sw $s4, 0x20($sp)
/* 802BD0 80242350 AFB3001C */ sw $s3, 0x1c($sp)
/* 802BD4 80242354 AFB20018 */ sw $s2, 0x18($sp)
/* 802BD8 80242358 10A00033 */ beqz $a1, .L80242428
/* 802BDC 8024235C AFB00010 */ sw $s0, 0x10($sp)
/* 802BE0 80242360 0C04760B */ jal func_8011D82C
/* 802BE4 80242364 24040001 */ addiu $a0, $zero, 1
/* 802BE8 80242368 0000202D */ daddu $a0, $zero, $zero
/* 802BEC 8024236C 0080282D */ daddu $a1, $a0, $zero
/* 802BF0 80242370 0080302D */ daddu $a2, $a0, $zero
/* 802BF4 80242374 0080382D */ daddu $a3, $a0, $zero
/* 802BF8 80242378 0080802D */ daddu $s0, $a0, $zero
/* 802BFC 8024237C 2414FFFC */ addiu $s4, $zero, -4
/* 802C00 80242380 24130005 */ addiu $s3, $zero, 5
/* 802C04 80242384 3C120080 */ lui $s2, 0x80
/* 802C08 80242388 3C038015 */ lui $v1, %hi(D_801512F0)
/* 802C0C 8024238C 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 802C10 80242390 24020001 */ addiu $v0, $zero, 1
/* 802C14 80242394 0C046F97 */ jal set_background_color_blend
/* 802C18 80242398 A0620000 */ sb $v0, ($v1)
.L8024239C:
/* 802C1C 8024239C 0C00E2B7 */ jal get_npc_by_index
/* 802C20 802423A0 0200202D */ daddu $a0, $s0, $zero
/* 802C24 802423A4 0040202D */ daddu $a0, $v0, $zero
/* 802C28 802423A8 5080000B */ beql $a0, $zero, .L802423D8
/* 802C2C 802423AC 26100001 */ addiu $s0, $s0, 1
/* 802C30 802423B0 8C820000 */ lw $v0, ($a0)
/* 802C34 802423B4 50400008 */ beql $v0, $zero, .L802423D8
/* 802C38 802423B8 26100001 */ addiu $s0, $s0, 1
/* 802C3C 802423BC 808300A4 */ lb $v1, 0xa4($a0)
/* 802C40 802423C0 10740005 */ beq $v1, $s4, .L802423D8
/* 802C44 802423C4 26100001 */ addiu $s0, $s0, 1
/* 802C48 802423C8 10730003 */ beq $v1, $s3, .L802423D8
/* 802C4C 802423CC 00000000 */ nop
/* 802C50 802423D0 00521025 */ or $v0, $v0, $s2
/* 802C54 802423D4 AC820000 */ sw $v0, ($a0)
.L802423D8:
/* 802C58 802423D8 2A020040 */ slti $v0, $s0, 0x40
/* 802C5C 802423DC 1440FFEF */ bnez $v0, .L8024239C
/* 802C60 802423E0 00000000 */ nop
/* 802C64 802423E4 0000802D */ daddu $s0, $zero, $zero
/* 802C68 802423E8 3C120800 */ lui $s2, 0x800
.L802423EC:
/* 802C6C 802423EC 0C04C3D6 */ jal get_item_entity
/* 802C70 802423F0 0200202D */ daddu $a0, $s0, $zero
/* 802C74 802423F4 0040182D */ daddu $v1, $v0, $zero
/* 802C78 802423F8 10600007 */ beqz $v1, .L80242418
/* 802C7C 802423FC 26100001 */ addiu $s0, $s0, 1
/* 802C80 80242400 8C640000 */ lw $a0, ($v1)
/* 802C84 80242404 30820010 */ andi $v0, $a0, 0x10
/* 802C88 80242408 10400003 */ beqz $v0, .L80242418
/* 802C8C 8024240C 00000000 */ nop
/* 802C90 80242410 00921025 */ or $v0, $a0, $s2
/* 802C94 80242414 AC620000 */ sw $v0, ($v1)
.L80242418:
/* 802C98 80242418 2A020100 */ slti $v0, $s0, 0x100
/* 802C9C 8024241C 1440FFF3 */ bnez $v0, .L802423EC
/* 802CA0 80242420 00000000 */ nop
/* 802CA4 80242424 AE200070 */ sw $zero, 0x70($s1)
.L80242428:
/* 802CA8 80242428 8E220070 */ lw $v0, 0x70($s1)
/* 802CAC 8024242C 24420008 */ addiu $v0, $v0, 8
/* 802CB0 80242430 AE220070 */ sw $v0, 0x70($s1)
/* 802CB4 80242434 28420100 */ slti $v0, $v0, 0x100
/* 802CB8 80242438 14400003 */ bnez $v0, .L80242448
/* 802CBC 8024243C 0000202D */ daddu $a0, $zero, $zero
/* 802CC0 80242440 240200FF */ addiu $v0, $zero, 0xff
/* 802CC4 80242444 AE220070 */ sw $v0, 0x70($s1)
.L80242448:
/* 802CC8 80242448 0080282D */ daddu $a1, $a0, $zero
/* 802CCC 8024244C 92270073 */ lbu $a3, 0x73($s1)
/* 802CD0 80242450 0C046F97 */ jal set_background_color_blend
/* 802CD4 80242454 0080302D */ daddu $a2, $a0, $zero
/* 802CD8 80242458 8E220070 */ lw $v0, 0x70($s1)
/* 802CDC 8024245C 8FBF0024 */ lw $ra, 0x24($sp)
/* 802CE0 80242460 8FB40020 */ lw $s4, 0x20($sp)
/* 802CE4 80242464 8FB3001C */ lw $s3, 0x1c($sp)
/* 802CE8 80242468 8FB20018 */ lw $s2, 0x18($sp)
/* 802CEC 8024246C 8FB10014 */ lw $s1, 0x14($sp)
/* 802CF0 80242470 8FB00010 */ lw $s0, 0x10($sp)
/* 802CF4 80242474 384200FF */ xori $v0, $v0, 0xff
/* 802CF8 80242478 2C420001 */ sltiu $v0, $v0, 1
/* 802CFC 8024247C 00021040 */ sll $v0, $v0, 1
/* 802D00 80242480 03E00008 */ jr $ra
/* 802D04 80242484 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241BEC_824EAC
/* 824EAC 80241BEC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 824EB0 80241BF0 AFB10014 */ sw $s1, 0x14($sp)
/* 824EB4 80241BF4 0080882D */ daddu $s1, $a0, $zero
/* 824EB8 80241BF8 AFBF0024 */ sw $ra, 0x24($sp)
/* 824EBC 80241BFC AFB40020 */ sw $s4, 0x20($sp)
/* 824EC0 80241C00 AFB3001C */ sw $s3, 0x1c($sp)
/* 824EC4 80241C04 AFB20018 */ sw $s2, 0x18($sp)
/* 824EC8 80241C08 10A00033 */ beqz $a1, .L80241CD8
/* 824ECC 80241C0C AFB00010 */ sw $s0, 0x10($sp)
/* 824ED0 80241C10 0C04760B */ jal func_8011D82C
/* 824ED4 80241C14 24040001 */ addiu $a0, $zero, 1
/* 824ED8 80241C18 0000202D */ daddu $a0, $zero, $zero
/* 824EDC 80241C1C 0080282D */ daddu $a1, $a0, $zero
/* 824EE0 80241C20 0080302D */ daddu $a2, $a0, $zero
/* 824EE4 80241C24 0080382D */ daddu $a3, $a0, $zero
/* 824EE8 80241C28 0080802D */ daddu $s0, $a0, $zero
/* 824EEC 80241C2C 2414FFFC */ addiu $s4, $zero, -4
/* 824EF0 80241C30 2413000C */ addiu $s3, $zero, 0xc
/* 824EF4 80241C34 3C120080 */ lui $s2, 0x80
/* 824EF8 80241C38 3C038015 */ lui $v1, %hi(D_801512F0)
/* 824EFC 80241C3C 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 824F00 80241C40 24020001 */ addiu $v0, $zero, 1
/* 824F04 80241C44 0C046F97 */ jal set_background_color_blend
/* 824F08 80241C48 A0620000 */ sb $v0, ($v1)
.L80241C4C:
/* 824F0C 80241C4C 0C00E2B7 */ jal get_npc_by_index
/* 824F10 80241C50 0200202D */ daddu $a0, $s0, $zero
/* 824F14 80241C54 0040202D */ daddu $a0, $v0, $zero
/* 824F18 80241C58 5080000B */ beql $a0, $zero, .L80241C88
/* 824F1C 80241C5C 26100001 */ addiu $s0, $s0, 1
/* 824F20 80241C60 8C820000 */ lw $v0, ($a0)
/* 824F24 80241C64 50400008 */ beql $v0, $zero, .L80241C88
/* 824F28 80241C68 26100001 */ addiu $s0, $s0, 1
/* 824F2C 80241C6C 808300A4 */ lb $v1, 0xa4($a0)
/* 824F30 80241C70 10740005 */ beq $v1, $s4, .L80241C88
/* 824F34 80241C74 26100001 */ addiu $s0, $s0, 1
/* 824F38 80241C78 10730003 */ beq $v1, $s3, .L80241C88
/* 824F3C 80241C7C 00000000 */ nop
/* 824F40 80241C80 00521025 */ or $v0, $v0, $s2
/* 824F44 80241C84 AC820000 */ sw $v0, ($a0)
.L80241C88:
/* 824F48 80241C88 2A020040 */ slti $v0, $s0, 0x40
/* 824F4C 80241C8C 1440FFEF */ bnez $v0, .L80241C4C
/* 824F50 80241C90 00000000 */ nop
/* 824F54 80241C94 0000802D */ daddu $s0, $zero, $zero
/* 824F58 80241C98 3C120800 */ lui $s2, 0x800
.L80241C9C:
/* 824F5C 80241C9C 0C04C3D6 */ jal get_item_entity
/* 824F60 80241CA0 0200202D */ daddu $a0, $s0, $zero
/* 824F64 80241CA4 0040182D */ daddu $v1, $v0, $zero
/* 824F68 80241CA8 10600007 */ beqz $v1, .L80241CC8
/* 824F6C 80241CAC 26100001 */ addiu $s0, $s0, 1
/* 824F70 80241CB0 8C640000 */ lw $a0, ($v1)
/* 824F74 80241CB4 30820010 */ andi $v0, $a0, 0x10
/* 824F78 80241CB8 10400003 */ beqz $v0, .L80241CC8
/* 824F7C 80241CBC 00000000 */ nop
/* 824F80 80241CC0 00921025 */ or $v0, $a0, $s2
/* 824F84 80241CC4 AC620000 */ sw $v0, ($v1)
.L80241CC8:
/* 824F88 80241CC8 2A020100 */ slti $v0, $s0, 0x100
/* 824F8C 80241CCC 1440FFF3 */ bnez $v0, .L80241C9C
/* 824F90 80241CD0 00000000 */ nop
/* 824F94 80241CD4 AE200070 */ sw $zero, 0x70($s1)
.L80241CD8:
/* 824F98 80241CD8 8E220070 */ lw $v0, 0x70($s1)
/* 824F9C 80241CDC 24420008 */ addiu $v0, $v0, 8
/* 824FA0 80241CE0 AE220070 */ sw $v0, 0x70($s1)
/* 824FA4 80241CE4 28420100 */ slti $v0, $v0, 0x100
/* 824FA8 80241CE8 14400003 */ bnez $v0, .L80241CF8
/* 824FAC 80241CEC 0000202D */ daddu $a0, $zero, $zero
/* 824FB0 80241CF0 240200FF */ addiu $v0, $zero, 0xff
/* 824FB4 80241CF4 AE220070 */ sw $v0, 0x70($s1)
.L80241CF8:
/* 824FB8 80241CF8 0080282D */ daddu $a1, $a0, $zero
/* 824FBC 80241CFC 92270073 */ lbu $a3, 0x73($s1)
/* 824FC0 80241D00 0C046F97 */ jal set_background_color_blend
/* 824FC4 80241D04 0080302D */ daddu $a2, $a0, $zero
/* 824FC8 80241D08 8E220070 */ lw $v0, 0x70($s1)
/* 824FCC 80241D0C 8FBF0024 */ lw $ra, 0x24($sp)
/* 824FD0 80241D10 8FB40020 */ lw $s4, 0x20($sp)
/* 824FD4 80241D14 8FB3001C */ lw $s3, 0x1c($sp)
/* 824FD8 80241D18 8FB20018 */ lw $s2, 0x18($sp)
/* 824FDC 80241D1C 8FB10014 */ lw $s1, 0x14($sp)
/* 824FE0 80241D20 8FB00010 */ lw $s0, 0x10($sp)
/* 824FE4 80241D24 384200FF */ xori $v0, $v0, 0xff
/* 824FE8 80241D28 2C420001 */ sltiu $v0, $v0, 1
/* 824FEC 80241D2C 00021040 */ sll $v0, $v0, 1
/* 824FF0 80241D30 03E00008 */ jr $ra
/* 824FF4 80241D34 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802408DC_8320DC
/* 8320DC 802408DC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 8320E0 802408E0 AFB10014 */ sw $s1, 0x14($sp)
/* 8320E4 802408E4 0080882D */ daddu $s1, $a0, $zero
/* 8320E8 802408E8 AFBF0024 */ sw $ra, 0x24($sp)
/* 8320EC 802408EC AFB40020 */ sw $s4, 0x20($sp)
/* 8320F0 802408F0 AFB3001C */ sw $s3, 0x1c($sp)
/* 8320F4 802408F4 AFB20018 */ sw $s2, 0x18($sp)
/* 8320F8 802408F8 10A00033 */ beqz $a1, .L802409C8
/* 8320FC 802408FC AFB00010 */ sw $s0, 0x10($sp)
/* 832100 80240900 0C04760B */ jal func_8011D82C
/* 832104 80240904 24040001 */ addiu $a0, $zero, 1
/* 832108 80240908 0000202D */ daddu $a0, $zero, $zero
/* 83210C 8024090C 0080282D */ daddu $a1, $a0, $zero
/* 832110 80240910 0080302D */ daddu $a2, $a0, $zero
/* 832114 80240914 0080382D */ daddu $a3, $a0, $zero
/* 832118 80240918 0080802D */ daddu $s0, $a0, $zero
/* 83211C 8024091C 2414FFFC */ addiu $s4, $zero, -4
/* 832120 80240920 24130017 */ addiu $s3, $zero, 0x17
/* 832124 80240924 3C120080 */ lui $s2, 0x80
/* 832128 80240928 3C038015 */ lui $v1, %hi(D_801512F0)
/* 83212C 8024092C 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 832130 80240930 24020001 */ addiu $v0, $zero, 1
/* 832134 80240934 0C046F97 */ jal set_background_color_blend
/* 832138 80240938 A0620000 */ sb $v0, ($v1)
.L8024093C:
/* 83213C 8024093C 0C00E2B7 */ jal get_npc_by_index
/* 832140 80240940 0200202D */ daddu $a0, $s0, $zero
/* 832144 80240944 0040202D */ daddu $a0, $v0, $zero
/* 832148 80240948 5080000B */ beql $a0, $zero, .L80240978
/* 83214C 8024094C 26100001 */ addiu $s0, $s0, 1
/* 832150 80240950 8C820000 */ lw $v0, ($a0)
/* 832154 80240954 50400008 */ beql $v0, $zero, .L80240978
/* 832158 80240958 26100001 */ addiu $s0, $s0, 1
/* 83215C 8024095C 808300A4 */ lb $v1, 0xa4($a0)
/* 832160 80240960 10740005 */ beq $v1, $s4, .L80240978
/* 832164 80240964 26100001 */ addiu $s0, $s0, 1
/* 832168 80240968 10730003 */ beq $v1, $s3, .L80240978
/* 83216C 8024096C 00000000 */ nop
/* 832170 80240970 00521025 */ or $v0, $v0, $s2
/* 832174 80240974 AC820000 */ sw $v0, ($a0)
.L80240978:
/* 832178 80240978 2A020040 */ slti $v0, $s0, 0x40
/* 83217C 8024097C 1440FFEF */ bnez $v0, .L8024093C
/* 832180 80240980 00000000 */ nop
/* 832184 80240984 0000802D */ daddu $s0, $zero, $zero
/* 832188 80240988 3C120800 */ lui $s2, 0x800
.L8024098C:
/* 83218C 8024098C 0C04C3D6 */ jal get_item_entity
/* 832190 80240990 0200202D */ daddu $a0, $s0, $zero
/* 832194 80240994 0040182D */ daddu $v1, $v0, $zero
/* 832198 80240998 10600007 */ beqz $v1, .L802409B8
/* 83219C 8024099C 26100001 */ addiu $s0, $s0, 1
/* 8321A0 802409A0 8C640000 */ lw $a0, ($v1)
/* 8321A4 802409A4 30820010 */ andi $v0, $a0, 0x10
/* 8321A8 802409A8 10400003 */ beqz $v0, .L802409B8
/* 8321AC 802409AC 00000000 */ nop
/* 8321B0 802409B0 00921025 */ or $v0, $a0, $s2
/* 8321B4 802409B4 AC620000 */ sw $v0, ($v1)
.L802409B8:
/* 8321B8 802409B8 2A020100 */ slti $v0, $s0, 0x100
/* 8321BC 802409BC 1440FFF3 */ bnez $v0, .L8024098C
/* 8321C0 802409C0 00000000 */ nop
/* 8321C4 802409C4 AE200070 */ sw $zero, 0x70($s1)
.L802409C8:
/* 8321C8 802409C8 8E220070 */ lw $v0, 0x70($s1)
/* 8321CC 802409CC 24420008 */ addiu $v0, $v0, 8
/* 8321D0 802409D0 AE220070 */ sw $v0, 0x70($s1)
/* 8321D4 802409D4 28420100 */ slti $v0, $v0, 0x100
/* 8321D8 802409D8 14400003 */ bnez $v0, .L802409E8
/* 8321DC 802409DC 0000202D */ daddu $a0, $zero, $zero
/* 8321E0 802409E0 240200FF */ addiu $v0, $zero, 0xff
/* 8321E4 802409E4 AE220070 */ sw $v0, 0x70($s1)
.L802409E8:
/* 8321E8 802409E8 0080282D */ daddu $a1, $a0, $zero
/* 8321EC 802409EC 92270073 */ lbu $a3, 0x73($s1)
/* 8321F0 802409F0 0C046F97 */ jal set_background_color_blend
/* 8321F4 802409F4 0080302D */ daddu $a2, $a0, $zero
/* 8321F8 802409F8 8E220070 */ lw $v0, 0x70($s1)
/* 8321FC 802409FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 832200 80240A00 8FB40020 */ lw $s4, 0x20($sp)
/* 832204 80240A04 8FB3001C */ lw $s3, 0x1c($sp)
/* 832208 80240A08 8FB20018 */ lw $s2, 0x18($sp)
/* 83220C 80240A0C 8FB10014 */ lw $s1, 0x14($sp)
/* 832210 80240A10 8FB00010 */ lw $s0, 0x10($sp)
/* 832214 80240A14 384200FF */ xori $v0, $v0, 0xff
/* 832218 80240A18 2C420001 */ sltiu $v0, $v0, 1
/* 83221C 80240A1C 00021040 */ sll $v0, $v0, 1
/* 832220 80240A20 03E00008 */ jr $ra
/* 832224 80240A24 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024088C_84345C
/* 84345C 8024088C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 843460 80240890 AFB10014 */ sw $s1, 0x14($sp)
/* 843464 80240894 0080882D */ daddu $s1, $a0, $zero
/* 843468 80240898 AFBF0024 */ sw $ra, 0x24($sp)
/* 84346C 8024089C AFB40020 */ sw $s4, 0x20($sp)
/* 843470 802408A0 AFB3001C */ sw $s3, 0x1c($sp)
/* 843474 802408A4 AFB20018 */ sw $s2, 0x18($sp)
/* 843478 802408A8 10A00033 */ beqz $a1, .L80240978
/* 84347C 802408AC AFB00010 */ sw $s0, 0x10($sp)
/* 843480 802408B0 0C04760B */ jal func_8011D82C
/* 843484 802408B4 24040001 */ addiu $a0, $zero, 1
/* 843488 802408B8 0000202D */ daddu $a0, $zero, $zero
/* 84348C 802408BC 0080282D */ daddu $a1, $a0, $zero
/* 843490 802408C0 0080302D */ daddu $a2, $a0, $zero
/* 843494 802408C4 0080382D */ daddu $a3, $a0, $zero
/* 843498 802408C8 0080802D */ daddu $s0, $a0, $zero
/* 84349C 802408CC 2414FFFC */ addiu $s4, $zero, -4
/* 8434A0 802408D0 24130014 */ addiu $s3, $zero, 0x14
/* 8434A4 802408D4 3C120080 */ lui $s2, 0x80
/* 8434A8 802408D8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 8434AC 802408DC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 8434B0 802408E0 24020001 */ addiu $v0, $zero, 1
/* 8434B4 802408E4 0C046F97 */ jal set_background_color_blend
/* 8434B8 802408E8 A0620000 */ sb $v0, ($v1)
.L802408EC:
/* 8434BC 802408EC 0C00E2B7 */ jal get_npc_by_index
/* 8434C0 802408F0 0200202D */ daddu $a0, $s0, $zero
/* 8434C4 802408F4 0040202D */ daddu $a0, $v0, $zero
/* 8434C8 802408F8 5080000B */ beql $a0, $zero, .L80240928
/* 8434CC 802408FC 26100001 */ addiu $s0, $s0, 1
/* 8434D0 80240900 8C820000 */ lw $v0, ($a0)
/* 8434D4 80240904 50400008 */ beql $v0, $zero, .L80240928
/* 8434D8 80240908 26100001 */ addiu $s0, $s0, 1
/* 8434DC 8024090C 808300A4 */ lb $v1, 0xa4($a0)
/* 8434E0 80240910 10740005 */ beq $v1, $s4, .L80240928
/* 8434E4 80240914 26100001 */ addiu $s0, $s0, 1
/* 8434E8 80240918 10730003 */ beq $v1, $s3, .L80240928
/* 8434EC 8024091C 00000000 */ nop
/* 8434F0 80240920 00521025 */ or $v0, $v0, $s2
/* 8434F4 80240924 AC820000 */ sw $v0, ($a0)
.L80240928:
/* 8434F8 80240928 2A020040 */ slti $v0, $s0, 0x40
/* 8434FC 8024092C 1440FFEF */ bnez $v0, .L802408EC
/* 843500 80240930 00000000 */ nop
/* 843504 80240934 0000802D */ daddu $s0, $zero, $zero
/* 843508 80240938 3C120800 */ lui $s2, 0x800
.L8024093C:
/* 84350C 8024093C 0C04C3D6 */ jal get_item_entity
/* 843510 80240940 0200202D */ daddu $a0, $s0, $zero
/* 843514 80240944 0040182D */ daddu $v1, $v0, $zero
/* 843518 80240948 10600007 */ beqz $v1, .L80240968
/* 84351C 8024094C 26100001 */ addiu $s0, $s0, 1
/* 843520 80240950 8C640000 */ lw $a0, ($v1)
/* 843524 80240954 30820010 */ andi $v0, $a0, 0x10
/* 843528 80240958 10400003 */ beqz $v0, .L80240968
/* 84352C 8024095C 00000000 */ nop
/* 843530 80240960 00921025 */ or $v0, $a0, $s2
/* 843534 80240964 AC620000 */ sw $v0, ($v1)
.L80240968:
/* 843538 80240968 2A020100 */ slti $v0, $s0, 0x100
/* 84353C 8024096C 1440FFF3 */ bnez $v0, .L8024093C
/* 843540 80240970 00000000 */ nop
/* 843544 80240974 AE200070 */ sw $zero, 0x70($s1)
.L80240978:
/* 843548 80240978 8E220070 */ lw $v0, 0x70($s1)
/* 84354C 8024097C 24420008 */ addiu $v0, $v0, 8
/* 843550 80240980 AE220070 */ sw $v0, 0x70($s1)
/* 843554 80240984 28420100 */ slti $v0, $v0, 0x100
/* 843558 80240988 14400003 */ bnez $v0, .L80240998
/* 84355C 8024098C 0000202D */ daddu $a0, $zero, $zero
/* 843560 80240990 240200FF */ addiu $v0, $zero, 0xff
/* 843564 80240994 AE220070 */ sw $v0, 0x70($s1)
.L80240998:
/* 843568 80240998 0080282D */ daddu $a1, $a0, $zero
/* 84356C 8024099C 92270073 */ lbu $a3, 0x73($s1)
/* 843570 802409A0 0C046F97 */ jal set_background_color_blend
/* 843574 802409A4 0080302D */ daddu $a2, $a0, $zero
/* 843578 802409A8 8E220070 */ lw $v0, 0x70($s1)
/* 84357C 802409AC 8FBF0024 */ lw $ra, 0x24($sp)
/* 843580 802409B0 8FB40020 */ lw $s4, 0x20($sp)
/* 843584 802409B4 8FB3001C */ lw $s3, 0x1c($sp)
/* 843588 802409B8 8FB20018 */ lw $s2, 0x18($sp)
/* 84358C 802409BC 8FB10014 */ lw $s1, 0x14($sp)
/* 843590 802409C0 8FB00010 */ lw $s0, 0x10($sp)
/* 843594 802409C4 384200FF */ xori $v0, $v0, 0xff
/* 843598 802409C8 2C420001 */ sltiu $v0, $v0, 1
/* 84359C 802409CC 00021040 */ sll $v0, $v0, 1
/* 8435A0 802409D0 03E00008 */ jr $ra
/* 8435A4 802409D4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024174C_8538BC
/* 8538BC 8024174C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 8538C0 80241750 AFB10014 */ sw $s1, 0x14($sp)
/* 8538C4 80241754 0080882D */ daddu $s1, $a0, $zero
/* 8538C8 80241758 AFBF0024 */ sw $ra, 0x24($sp)
/* 8538CC 8024175C AFB40020 */ sw $s4, 0x20($sp)
/* 8538D0 80241760 AFB3001C */ sw $s3, 0x1c($sp)
/* 8538D4 80241764 AFB20018 */ sw $s2, 0x18($sp)
/* 8538D8 80241768 10A00033 */ beqz $a1, .L80241838
/* 8538DC 8024176C AFB00010 */ sw $s0, 0x10($sp)
/* 8538E0 80241770 0C04760B */ jal func_8011D82C
/* 8538E4 80241774 24040001 */ addiu $a0, $zero, 1
/* 8538E8 80241778 0000202D */ daddu $a0, $zero, $zero
/* 8538EC 8024177C 0080282D */ daddu $a1, $a0, $zero
/* 8538F0 80241780 0080302D */ daddu $a2, $a0, $zero
/* 8538F4 80241784 0080382D */ daddu $a3, $a0, $zero
/* 8538F8 80241788 0080802D */ daddu $s0, $a0, $zero
/* 8538FC 8024178C 2414FFFC */ addiu $s4, $zero, -4
/* 853900 80241790 24130006 */ addiu $s3, $zero, 6
/* 853904 80241794 3C120080 */ lui $s2, 0x80
/* 853908 80241798 3C038015 */ lui $v1, %hi(D_801512F0)
/* 85390C 8024179C 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 853910 802417A0 24020001 */ addiu $v0, $zero, 1
/* 853914 802417A4 0C046F97 */ jal set_background_color_blend
/* 853918 802417A8 A0620000 */ sb $v0, ($v1)
.L802417AC:
/* 85391C 802417AC 0C00E2B7 */ jal get_npc_by_index
/* 853920 802417B0 0200202D */ daddu $a0, $s0, $zero
/* 853924 802417B4 0040202D */ daddu $a0, $v0, $zero
/* 853928 802417B8 5080000B */ beql $a0, $zero, .L802417E8
/* 85392C 802417BC 26100001 */ addiu $s0, $s0, 1
/* 853930 802417C0 8C820000 */ lw $v0, ($a0)
/* 853934 802417C4 50400008 */ beql $v0, $zero, .L802417E8
/* 853938 802417C8 26100001 */ addiu $s0, $s0, 1
/* 85393C 802417CC 808300A4 */ lb $v1, 0xa4($a0)
/* 853940 802417D0 10740005 */ beq $v1, $s4, .L802417E8
/* 853944 802417D4 26100001 */ addiu $s0, $s0, 1
/* 853948 802417D8 10730003 */ beq $v1, $s3, .L802417E8
/* 85394C 802417DC 00000000 */ nop
/* 853950 802417E0 00521025 */ or $v0, $v0, $s2
/* 853954 802417E4 AC820000 */ sw $v0, ($a0)
.L802417E8:
/* 853958 802417E8 2A020040 */ slti $v0, $s0, 0x40
/* 85395C 802417EC 1440FFEF */ bnez $v0, .L802417AC
/* 853960 802417F0 00000000 */ nop
/* 853964 802417F4 0000802D */ daddu $s0, $zero, $zero
/* 853968 802417F8 3C120800 */ lui $s2, 0x800
.L802417FC:
/* 85396C 802417FC 0C04C3D6 */ jal get_item_entity
/* 853970 80241800 0200202D */ daddu $a0, $s0, $zero
/* 853974 80241804 0040182D */ daddu $v1, $v0, $zero
/* 853978 80241808 10600007 */ beqz $v1, .L80241828
/* 85397C 8024180C 26100001 */ addiu $s0, $s0, 1
/* 853980 80241810 8C640000 */ lw $a0, ($v1)
/* 853984 80241814 30820010 */ andi $v0, $a0, 0x10
/* 853988 80241818 10400003 */ beqz $v0, .L80241828
/* 85398C 8024181C 00000000 */ nop
/* 853990 80241820 00921025 */ or $v0, $a0, $s2
/* 853994 80241824 AC620000 */ sw $v0, ($v1)
.L80241828:
/* 853998 80241828 2A020100 */ slti $v0, $s0, 0x100
/* 85399C 8024182C 1440FFF3 */ bnez $v0, .L802417FC
/* 8539A0 80241830 00000000 */ nop
/* 8539A4 80241834 AE200070 */ sw $zero, 0x70($s1)
.L80241838:
/* 8539A8 80241838 8E220070 */ lw $v0, 0x70($s1)
/* 8539AC 8024183C 24420008 */ addiu $v0, $v0, 8
/* 8539B0 80241840 AE220070 */ sw $v0, 0x70($s1)
/* 8539B4 80241844 28420100 */ slti $v0, $v0, 0x100
/* 8539B8 80241848 14400003 */ bnez $v0, .L80241858
/* 8539BC 8024184C 0000202D */ daddu $a0, $zero, $zero
/* 8539C0 80241850 240200FF */ addiu $v0, $zero, 0xff
/* 8539C4 80241854 AE220070 */ sw $v0, 0x70($s1)
.L80241858:
/* 8539C8 80241858 0080282D */ daddu $a1, $a0, $zero
/* 8539CC 8024185C 92270073 */ lbu $a3, 0x73($s1)
/* 8539D0 80241860 0C046F97 */ jal set_background_color_blend
/* 8539D4 80241864 0080302D */ daddu $a2, $a0, $zero
/* 8539D8 80241868 8E220070 */ lw $v0, 0x70($s1)
/* 8539DC 8024186C 8FBF0024 */ lw $ra, 0x24($sp)
/* 8539E0 80241870 8FB40020 */ lw $s4, 0x20($sp)
/* 8539E4 80241874 8FB3001C */ lw $s3, 0x1c($sp)
/* 8539E8 80241878 8FB20018 */ lw $s2, 0x18($sp)
/* 8539EC 8024187C 8FB10014 */ lw $s1, 0x14($sp)
/* 8539F0 80241880 8FB00010 */ lw $s0, 0x10($sp)
/* 8539F4 80241884 384200FF */ xori $v0, $v0, 0xff
/* 8539F8 80241888 2C420001 */ sltiu $v0, $v0, 1
/* 8539FC 8024188C 00021040 */ sll $v0, $v0, 1
/* 853A00 80241890 03E00008 */ jr $ra
/* 853A04 80241894 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240D60_BAE6A0
/* BAE6A0 80240D60 27BDFFD8 */ addiu $sp, $sp, -0x28
/* BAE6A4 80240D64 AFB3001C */ sw $s3, 0x1c($sp)
/* BAE6A8 80240D68 0080982D */ daddu $s3, $a0, $zero
/* BAE6AC 80240D6C AFBF0020 */ sw $ra, 0x20($sp)
/* BAE6B0 80240D70 AFB20018 */ sw $s2, 0x18($sp)
/* BAE6B4 80240D74 AFB10014 */ sw $s1, 0x14($sp)
/* BAE6B8 80240D78 AFB00010 */ sw $s0, 0x10($sp)
/* BAE6BC 80240D7C 8E720148 */ lw $s2, 0x148($s3)
/* BAE6C0 80240D80 86440008 */ lh $a0, 8($s2)
/* BAE6C4 80240D84 0C00EABB */ jal get_npc_unsafe
/* BAE6C8 80240D88 00A0802D */ daddu $s0, $a1, $zero
/* BAE6CC 80240D8C 0040882D */ daddu $s1, $v0, $zero
/* BAE6D0 80240D90 C6420080 */ lwc1 $f2, 0x80($s2)
/* BAE6D4 80240D94 468010A0 */ cvt.s.w $f2, $f2
/* BAE6D8 80240D98 460010A1 */ cvt.d.s $f2, $f2
/* BAE6DC 80240D9C C6400084 */ lwc1 $f0, 0x84($s2)
/* BAE6E0 80240DA0 46800020 */ cvt.s.w $f0, $f0
/* BAE6E4 80240DA4 46000021 */ cvt.d.s $f0, $f0
/* BAE6E8 80240DA8 3C014059 */ lui $at, 0x4059
/* BAE6EC 80240DAC 44812800 */ mtc1 $at, $f5
/* BAE6F0 80240DB0 44802000 */ mtc1 $zero, $f4
/* BAE6F4 80240DB4 8E4200CC */ lw $v0, 0xcc($s2)
/* BAE6F8 80240DB8 C62C0038 */ lwc1 $f12, 0x38($s1)
/* BAE6FC 80240DBC C62E0040 */ lwc1 $f14, 0x40($s1)
/* BAE700 80240DC0 46241083 */ div.d $f2, $f2, $f4
/* BAE704 80240DC4 462010A0 */ cvt.s.d $f2, $f2
/* BAE708 80240DC8 46240003 */ div.d $f0, $f0, $f4
/* BAE70C 80240DCC 8C420020 */ lw $v0, 0x20($v0)
/* BAE710 80240DD0 46200020 */ cvt.s.d $f0, $f0
/* BAE714 80240DD4 E622001C */ swc1 $f2, 0x1c($s1)
/* BAE718 80240DD8 E6200014 */ swc1 $f0, 0x14($s1)
/* BAE71C 80240DDC AE220028 */ sw $v0, 0x28($s1)
/* BAE720 80240DE0 C6000018 */ lwc1 $f0, 0x18($s0)
/* BAE724 80240DE4 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* BAE728 80240DE8 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* BAE72C 80240DEC E6200018 */ swc1 $f0, 0x18($s1)
/* BAE730 80240DF0 8C460028 */ lw $a2, 0x28($v0)
/* BAE734 80240DF4 0C00A720 */ jal atan2
/* BAE738 80240DF8 8C470030 */ lw $a3, 0x30($v0)
/* BAE73C 80240DFC E620000C */ swc1 $f0, 0xc($s1)
/* BAE740 80240E00 8E420018 */ lw $v0, 0x18($s2)
/* BAE744 80240E04 AE400074 */ sw $zero, 0x74($s2)
/* BAE748 80240E08 9442002A */ lhu $v0, 0x2a($v0)
/* BAE74C 80240E0C 30420002 */ andi $v0, $v0, 2
/* BAE750 80240E10 10400005 */ beqz $v0, .L80240E28
/* BAE754 80240E14 24020003 */ addiu $v0, $zero, 3
/* BAE758 80240E18 A622008E */ sh $v0, 0x8e($s1)
/* BAE75C 80240E1C 2402000D */ addiu $v0, $zero, 0xd
/* BAE760 80240E20 0809039E */ j .L80240E78
/* BAE764 80240E24 AE620070 */ sw $v0, 0x70($s3)
.L80240E28:
/* BAE768 80240E28 24030001 */ addiu $v1, $zero, 1
/* BAE76C 80240E2C 2402000E */ addiu $v0, $zero, 0xe
/* BAE770 80240E30 A623008E */ sh $v1, 0x8e($s1)
/* BAE774 80240E34 AE620070 */ sw $v0, 0x70($s3)
/* BAE778 80240E38 C6200038 */ lwc1 $f0, 0x38($s1)
/* BAE77C 80240E3C 4600018D */ trunc.w.s $f6, $f0
/* BAE780 80240E40 44023000 */ mfc1 $v0, $f6
/* BAE784 80240E44 00000000 */ nop
/* BAE788 80240E48 A6420010 */ sh $v0, 0x10($s2)
/* BAE78C 80240E4C C620003C */ lwc1 $f0, 0x3c($s1)
/* BAE790 80240E50 4600018D */ trunc.w.s $f6, $f0
/* BAE794 80240E54 44023000 */ mfc1 $v0, $f6
/* BAE798 80240E58 00000000 */ nop
/* BAE79C 80240E5C A6420012 */ sh $v0, 0x12($s2)
/* BAE7A0 80240E60 C6200040 */ lwc1 $f0, 0x40($s1)
/* BAE7A4 80240E64 A2430007 */ sb $v1, 7($s2)
/* BAE7A8 80240E68 4600018D */ trunc.w.s $f6, $f0
/* BAE7AC 80240E6C 44023000 */ mfc1 $v0, $f6
/* BAE7B0 80240E70 00000000 */ nop
/* BAE7B4 80240E74 A6420014 */ sh $v0, 0x14($s2)
.L80240E78:
/* BAE7B8 80240E78 8FBF0020 */ lw $ra, 0x20($sp)
/* BAE7BC 80240E7C 8FB3001C */ lw $s3, 0x1c($sp)
/* BAE7C0 80240E80 8FB20018 */ lw $s2, 0x18($sp)
/* BAE7C4 80240E84 8FB10014 */ lw $s1, 0x14($sp)
/* BAE7C8 80240E88 8FB00010 */ lw $s0, 0x10($sp)
/* BAE7CC 80240E8C 03E00008 */ jr $ra
/* BAE7D0 80240E90 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241518_BAEE58
glabel L80241530_BAEE70
/* BAEE70 80241530 0280202D */ daddu $a0, $s4, $zero
/* BAEE74 80241534 0200282D */ daddu $a1, $s0, $zero
/* BAEE78 80241538 0C090358 */ jal func_80240D60_BAE6A0
/* BAEE78 80241538 0C090358 */ jal mim_08_UnkNpcAIFunc14
/* BAEE7C 8024153C 0260302D */ daddu $a2, $s3, $zero
/* BAEE80 80241540 0809055D */ j .L80241574
/* BAEE84 80241544 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241194_9C6574
/* 9C6574 80241194 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 9C6578 80241198 AFB10014 */ sw $s1, 0x14($sp)
/* 9C657C 8024119C 0080882D */ daddu $s1, $a0, $zero
/* 9C6580 802411A0 AFBF0024 */ sw $ra, 0x24($sp)
/* 9C6584 802411A4 AFB40020 */ sw $s4, 0x20($sp)
/* 9C6588 802411A8 AFB3001C */ sw $s3, 0x1c($sp)
/* 9C658C 802411AC AFB20018 */ sw $s2, 0x18($sp)
/* 9C6590 802411B0 10A00033 */ beqz $a1, .L80241280
/* 9C6594 802411B4 AFB00010 */ sw $s0, 0x10($sp)
/* 9C6598 802411B8 0C04760B */ jal func_8011D82C
/* 9C659C 802411BC 24040001 */ addiu $a0, $zero, 1
/* 9C65A0 802411C0 0000202D */ daddu $a0, $zero, $zero
/* 9C65A4 802411C4 0080282D */ daddu $a1, $a0, $zero
/* 9C65A8 802411C8 0080302D */ daddu $a2, $a0, $zero
/* 9C65AC 802411CC 0080382D */ daddu $a3, $a0, $zero
/* 9C65B0 802411D0 0080802D */ daddu $s0, $a0, $zero
/* 9C65B4 802411D4 2414FFFC */ addiu $s4, $zero, -4
/* 9C65B8 802411D8 2413000F */ addiu $s3, $zero, 0xf
/* 9C65BC 802411DC 3C120080 */ lui $s2, 0x80
/* 9C65C0 802411E0 3C038015 */ lui $v1, %hi(D_801512F0)
/* 9C65C4 802411E4 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 9C65C8 802411E8 24020001 */ addiu $v0, $zero, 1
/* 9C65CC 802411EC 0C046F97 */ jal set_background_color_blend
/* 9C65D0 802411F0 A0620000 */ sb $v0, ($v1)
.L802411F4:
/* 9C65D4 802411F4 0C00E2B7 */ jal get_npc_by_index
/* 9C65D8 802411F8 0200202D */ daddu $a0, $s0, $zero
/* 9C65DC 802411FC 0040202D */ daddu $a0, $v0, $zero
/* 9C65E0 80241200 5080000B */ beql $a0, $zero, .L80241230
/* 9C65E4 80241204 26100001 */ addiu $s0, $s0, 1
/* 9C65E8 80241208 8C820000 */ lw $v0, ($a0)
/* 9C65EC 8024120C 50400008 */ beql $v0, $zero, .L80241230
/* 9C65F0 80241210 26100001 */ addiu $s0, $s0, 1
/* 9C65F4 80241214 808300A4 */ lb $v1, 0xa4($a0)
/* 9C65F8 80241218 10740005 */ beq $v1, $s4, .L80241230
/* 9C65FC 8024121C 26100001 */ addiu $s0, $s0, 1
/* 9C6600 80241220 10730003 */ beq $v1, $s3, .L80241230
/* 9C6604 80241224 00000000 */ nop
/* 9C6608 80241228 00521025 */ or $v0, $v0, $s2
/* 9C660C 8024122C AC820000 */ sw $v0, ($a0)
.L80241230:
/* 9C6610 80241230 2A020040 */ slti $v0, $s0, 0x40
/* 9C6614 80241234 1440FFEF */ bnez $v0, .L802411F4
/* 9C6618 80241238 00000000 */ nop
/* 9C661C 8024123C 0000802D */ daddu $s0, $zero, $zero
/* 9C6620 80241240 3C120800 */ lui $s2, 0x800
.L80241244:
/* 9C6624 80241244 0C04C3D6 */ jal get_item_entity
/* 9C6628 80241248 0200202D */ daddu $a0, $s0, $zero
/* 9C662C 8024124C 0040182D */ daddu $v1, $v0, $zero
/* 9C6630 80241250 10600007 */ beqz $v1, .L80241270
/* 9C6634 80241254 26100001 */ addiu $s0, $s0, 1
/* 9C6638 80241258 8C640000 */ lw $a0, ($v1)
/* 9C663C 8024125C 30820010 */ andi $v0, $a0, 0x10
/* 9C6640 80241260 10400003 */ beqz $v0, .L80241270
/* 9C6644 80241264 00000000 */ nop
/* 9C6648 80241268 00921025 */ or $v0, $a0, $s2
/* 9C664C 8024126C AC620000 */ sw $v0, ($v1)
.L80241270:
/* 9C6650 80241270 2A020100 */ slti $v0, $s0, 0x100
/* 9C6654 80241274 1440FFF3 */ bnez $v0, .L80241244
/* 9C6658 80241278 00000000 */ nop
/* 9C665C 8024127C AE200070 */ sw $zero, 0x70($s1)
.L80241280:
/* 9C6660 80241280 8E220070 */ lw $v0, 0x70($s1)
/* 9C6664 80241284 24420008 */ addiu $v0, $v0, 8
/* 9C6668 80241288 AE220070 */ sw $v0, 0x70($s1)
/* 9C666C 8024128C 28420100 */ slti $v0, $v0, 0x100
/* 9C6670 80241290 14400003 */ bnez $v0, .L802412A0
/* 9C6674 80241294 0000202D */ daddu $a0, $zero, $zero
/* 9C6678 80241298 240200FF */ addiu $v0, $zero, 0xff
/* 9C667C 8024129C AE220070 */ sw $v0, 0x70($s1)
.L802412A0:
/* 9C6680 802412A0 0080282D */ daddu $a1, $a0, $zero
/* 9C6684 802412A4 92270073 */ lbu $a3, 0x73($s1)
/* 9C6688 802412A8 0C046F97 */ jal set_background_color_blend
/* 9C668C 802412AC 0080302D */ daddu $a2, $a0, $zero
/* 9C6690 802412B0 8E220070 */ lw $v0, 0x70($s1)
/* 9C6694 802412B4 8FBF0024 */ lw $ra, 0x24($sp)
/* 9C6698 802412B8 8FB40020 */ lw $s4, 0x20($sp)
/* 9C669C 802412BC 8FB3001C */ lw $s3, 0x1c($sp)
/* 9C66A0 802412C0 8FB20018 */ lw $s2, 0x18($sp)
/* 9C66A4 802412C4 8FB10014 */ lw $s1, 0x14($sp)
/* 9C66A8 802412C8 8FB00010 */ lw $s0, 0x10($sp)
/* 9C66AC 802412CC 384200FF */ xori $v0, $v0, 0xff
/* 9C66B0 802412D0 2C420001 */ sltiu $v0, $v0, 1
/* 9C66B4 802412D4 00021040 */ sll $v0, $v0, 1
/* 9C66B8 802412D8 03E00008 */ jr $ra
/* 9C66BC 802412DC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241D3C_9D8D5C
/* 9D8D5C 80241D3C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 9D8D60 80241D40 AFB10014 */ sw $s1, 0x14($sp)
/* 9D8D64 80241D44 0080882D */ daddu $s1, $a0, $zero
/* 9D8D68 80241D48 AFBF0024 */ sw $ra, 0x24($sp)
/* 9D8D6C 80241D4C AFB40020 */ sw $s4, 0x20($sp)
/* 9D8D70 80241D50 AFB3001C */ sw $s3, 0x1c($sp)
/* 9D8D74 80241D54 AFB20018 */ sw $s2, 0x18($sp)
/* 9D8D78 80241D58 10A00033 */ beqz $a1, .L80241E28
/* 9D8D7C 80241D5C AFB00010 */ sw $s0, 0x10($sp)
/* 9D8D80 80241D60 0C04760B */ jal func_8011D82C
/* 9D8D84 80241D64 24040001 */ addiu $a0, $zero, 1
/* 9D8D88 80241D68 0000202D */ daddu $a0, $zero, $zero
/* 9D8D8C 80241D6C 0080282D */ daddu $a1, $a0, $zero
/* 9D8D90 80241D70 0080302D */ daddu $a2, $a0, $zero
/* 9D8D94 80241D74 0080382D */ daddu $a3, $a0, $zero
/* 9D8D98 80241D78 0080802D */ daddu $s0, $a0, $zero
/* 9D8D9C 80241D7C 2414FFFC */ addiu $s4, $zero, -4
/* 9D8DA0 80241D80 24130013 */ addiu $s3, $zero, 0x13
/* 9D8DA4 80241D84 3C120080 */ lui $s2, 0x80
/* 9D8DA8 80241D88 3C038015 */ lui $v1, %hi(D_801512F0)
/* 9D8DAC 80241D8C 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 9D8DB0 80241D90 24020001 */ addiu $v0, $zero, 1
/* 9D8DB4 80241D94 0C046F97 */ jal set_background_color_blend
/* 9D8DB8 80241D98 A0620000 */ sb $v0, ($v1)
.L80241D9C:
/* 9D8DBC 80241D9C 0C00E2B7 */ jal get_npc_by_index
/* 9D8DC0 80241DA0 0200202D */ daddu $a0, $s0, $zero
/* 9D8DC4 80241DA4 0040202D */ daddu $a0, $v0, $zero
/* 9D8DC8 80241DA8 5080000B */ beql $a0, $zero, .L80241DD8
/* 9D8DCC 80241DAC 26100001 */ addiu $s0, $s0, 1
/* 9D8DD0 80241DB0 8C820000 */ lw $v0, ($a0)
/* 9D8DD4 80241DB4 50400008 */ beql $v0, $zero, .L80241DD8
/* 9D8DD8 80241DB8 26100001 */ addiu $s0, $s0, 1
/* 9D8DDC 80241DBC 808300A4 */ lb $v1, 0xa4($a0)
/* 9D8DE0 80241DC0 10740005 */ beq $v1, $s4, .L80241DD8
/* 9D8DE4 80241DC4 26100001 */ addiu $s0, $s0, 1
/* 9D8DE8 80241DC8 10730003 */ beq $v1, $s3, .L80241DD8
/* 9D8DEC 80241DCC 00000000 */ nop
/* 9D8DF0 80241DD0 00521025 */ or $v0, $v0, $s2
/* 9D8DF4 80241DD4 AC820000 */ sw $v0, ($a0)
.L80241DD8:
/* 9D8DF8 80241DD8 2A020040 */ slti $v0, $s0, 0x40
/* 9D8DFC 80241DDC 1440FFEF */ bnez $v0, .L80241D9C
/* 9D8E00 80241DE0 00000000 */ nop
/* 9D8E04 80241DE4 0000802D */ daddu $s0, $zero, $zero
/* 9D8E08 80241DE8 3C120800 */ lui $s2, 0x800
.L80241DEC:
/* 9D8E0C 80241DEC 0C04C3D6 */ jal get_item_entity
/* 9D8E10 80241DF0 0200202D */ daddu $a0, $s0, $zero
/* 9D8E14 80241DF4 0040182D */ daddu $v1, $v0, $zero
/* 9D8E18 80241DF8 10600007 */ beqz $v1, .L80241E18
/* 9D8E1C 80241DFC 26100001 */ addiu $s0, $s0, 1
/* 9D8E20 80241E00 8C640000 */ lw $a0, ($v1)
/* 9D8E24 80241E04 30820010 */ andi $v0, $a0, 0x10
/* 9D8E28 80241E08 10400003 */ beqz $v0, .L80241E18
/* 9D8E2C 80241E0C 00000000 */ nop
/* 9D8E30 80241E10 00921025 */ or $v0, $a0, $s2
/* 9D8E34 80241E14 AC620000 */ sw $v0, ($v1)
.L80241E18:
/* 9D8E38 80241E18 2A020100 */ slti $v0, $s0, 0x100
/* 9D8E3C 80241E1C 1440FFF3 */ bnez $v0, .L80241DEC
/* 9D8E40 80241E20 00000000 */ nop
/* 9D8E44 80241E24 AE200070 */ sw $zero, 0x70($s1)
.L80241E28:
/* 9D8E48 80241E28 8E220070 */ lw $v0, 0x70($s1)
/* 9D8E4C 80241E2C 24420008 */ addiu $v0, $v0, 8
/* 9D8E50 80241E30 AE220070 */ sw $v0, 0x70($s1)
/* 9D8E54 80241E34 28420100 */ slti $v0, $v0, 0x100
/* 9D8E58 80241E38 14400003 */ bnez $v0, .L80241E48
/* 9D8E5C 80241E3C 0000202D */ daddu $a0, $zero, $zero
/* 9D8E60 80241E40 240200FF */ addiu $v0, $zero, 0xff
/* 9D8E64 80241E44 AE220070 */ sw $v0, 0x70($s1)
.L80241E48:
/* 9D8E68 80241E48 0080282D */ daddu $a1, $a0, $zero
/* 9D8E6C 80241E4C 92270073 */ lbu $a3, 0x73($s1)
/* 9D8E70 80241E50 0C046F97 */ jal set_background_color_blend
/* 9D8E74 80241E54 0080302D */ daddu $a2, $a0, $zero
/* 9D8E78 80241E58 8E220070 */ lw $v0, 0x70($s1)
/* 9D8E7C 80241E5C 8FBF0024 */ lw $ra, 0x24($sp)
/* 9D8E80 80241E60 8FB40020 */ lw $s4, 0x20($sp)
/* 9D8E84 80241E64 8FB3001C */ lw $s3, 0x1c($sp)
/* 9D8E88 80241E68 8FB20018 */ lw $s2, 0x18($sp)
/* 9D8E8C 80241E6C 8FB10014 */ lw $s1, 0x14($sp)
/* 9D8E90 80241E70 8FB00010 */ lw $s0, 0x10($sp)
/* 9D8E94 80241E74 384200FF */ xori $v0, $v0, 0xff
/* 9D8E98 80241E78 2C420001 */ sltiu $v0, $v0, 1
/* 9D8E9C 80241E7C 00021040 */ sll $v0, $v0, 1
/* 9D8EA0 80241E80 03E00008 */ jr $ra
/* 9D8EA4 80241E84 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241494_9F5ED4
/* 9F5ED4 80241494 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 9F5ED8 80241498 AFB3001C */ sw $s3, 0x1c($sp)
/* 9F5EDC 8024149C 0080982D */ daddu $s3, $a0, $zero
/* 9F5EE0 802414A0 AFBF0020 */ sw $ra, 0x20($sp)
/* 9F5EE4 802414A4 AFB20018 */ sw $s2, 0x18($sp)
/* 9F5EE8 802414A8 AFB10014 */ sw $s1, 0x14($sp)
/* 9F5EEC 802414AC AFB00010 */ sw $s0, 0x10($sp)
/* 9F5EF0 802414B0 8E720148 */ lw $s2, 0x148($s3)
/* 9F5EF4 802414B4 86440008 */ lh $a0, 8($s2)
/* 9F5EF8 802414B8 0C00EABB */ jal get_npc_unsafe
/* 9F5EFC 802414BC 00A0802D */ daddu $s0, $a1, $zero
/* 9F5F00 802414C0 0040882D */ daddu $s1, $v0, $zero
/* 9F5F04 802414C4 C6420080 */ lwc1 $f2, 0x80($s2)
/* 9F5F08 802414C8 468010A0 */ cvt.s.w $f2, $f2
/* 9F5F0C 802414CC 460010A1 */ cvt.d.s $f2, $f2
/* 9F5F10 802414D0 C6400084 */ lwc1 $f0, 0x84($s2)
/* 9F5F14 802414D4 46800020 */ cvt.s.w $f0, $f0
/* 9F5F18 802414D8 46000021 */ cvt.d.s $f0, $f0
/* 9F5F1C 802414DC 3C014059 */ lui $at, 0x4059
/* 9F5F20 802414E0 44812800 */ mtc1 $at, $f5
/* 9F5F24 802414E4 44802000 */ mtc1 $zero, $f4
/* 9F5F28 802414E8 8E4200CC */ lw $v0, 0xcc($s2)
/* 9F5F2C 802414EC C62C0038 */ lwc1 $f12, 0x38($s1)
/* 9F5F30 802414F0 C62E0040 */ lwc1 $f14, 0x40($s1)
/* 9F5F34 802414F4 46241083 */ div.d $f2, $f2, $f4
/* 9F5F38 802414F8 462010A0 */ cvt.s.d $f2, $f2
/* 9F5F3C 802414FC 46240003 */ div.d $f0, $f0, $f4
/* 9F5F40 80241500 8C420020 */ lw $v0, 0x20($v0)
/* 9F5F44 80241504 46200020 */ cvt.s.d $f0, $f0
/* 9F5F48 80241508 E622001C */ swc1 $f2, 0x1c($s1)
/* 9F5F4C 8024150C E6200014 */ swc1 $f0, 0x14($s1)
/* 9F5F50 80241510 AE220028 */ sw $v0, 0x28($s1)
/* 9F5F54 80241514 C6000018 */ lwc1 $f0, 0x18($s0)
/* 9F5F58 80241518 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* 9F5F5C 8024151C 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* 9F5F60 80241520 E6200018 */ swc1 $f0, 0x18($s1)
/* 9F5F64 80241524 8C460028 */ lw $a2, 0x28($v0)
/* 9F5F68 80241528 0C00A720 */ jal atan2
/* 9F5F6C 8024152C 8C470030 */ lw $a3, 0x30($v0)
/* 9F5F70 80241530 E620000C */ swc1 $f0, 0xc($s1)
/* 9F5F74 80241534 8E420018 */ lw $v0, 0x18($s2)
/* 9F5F78 80241538 AE400074 */ sw $zero, 0x74($s2)
/* 9F5F7C 8024153C 9442002A */ lhu $v0, 0x2a($v0)
/* 9F5F80 80241540 30420002 */ andi $v0, $v0, 2
/* 9F5F84 80241544 10400005 */ beqz $v0, .L8024155C
/* 9F5F88 80241548 24020003 */ addiu $v0, $zero, 3
/* 9F5F8C 8024154C A622008E */ sh $v0, 0x8e($s1)
/* 9F5F90 80241550 2402000D */ addiu $v0, $zero, 0xd
/* 9F5F94 80241554 0809056B */ j .L802415AC
/* 9F5F98 80241558 AE620070 */ sw $v0, 0x70($s3)
.L8024155C:
/* 9F5F9C 8024155C 24030001 */ addiu $v1, $zero, 1
/* 9F5FA0 80241560 2402000E */ addiu $v0, $zero, 0xe
/* 9F5FA4 80241564 A623008E */ sh $v1, 0x8e($s1)
/* 9F5FA8 80241568 AE620070 */ sw $v0, 0x70($s3)
/* 9F5FAC 8024156C C6200038 */ lwc1 $f0, 0x38($s1)
/* 9F5FB0 80241570 4600018D */ trunc.w.s $f6, $f0
/* 9F5FB4 80241574 44023000 */ mfc1 $v0, $f6
/* 9F5FB8 80241578 00000000 */ nop
/* 9F5FBC 8024157C A6420010 */ sh $v0, 0x10($s2)
/* 9F5FC0 80241580 C620003C */ lwc1 $f0, 0x3c($s1)
/* 9F5FC4 80241584 4600018D */ trunc.w.s $f6, $f0
/* 9F5FC8 80241588 44023000 */ mfc1 $v0, $f6
/* 9F5FCC 8024158C 00000000 */ nop
/* 9F5FD0 80241590 A6420012 */ sh $v0, 0x12($s2)
/* 9F5FD4 80241594 C6200040 */ lwc1 $f0, 0x40($s1)
/* 9F5FD8 80241598 A2430007 */ sb $v1, 7($s2)
/* 9F5FDC 8024159C 4600018D */ trunc.w.s $f6, $f0
/* 9F5FE0 802415A0 44023000 */ mfc1 $v0, $f6
/* 9F5FE4 802415A4 00000000 */ nop
/* 9F5FE8 802415A8 A6420014 */ sh $v0, 0x14($s2)
.L802415AC:
/* 9F5FEC 802415AC 8FBF0020 */ lw $ra, 0x20($sp)
/* 9F5FF0 802415B0 8FB3001C */ lw $s3, 0x1c($sp)
/* 9F5FF4 802415B4 8FB20018 */ lw $s2, 0x18($sp)
/* 9F5FF8 802415B8 8FB10014 */ lw $s1, 0x14($sp)
/* 9F5FFC 802415BC 8FB00010 */ lw $s0, 0x10($sp)
/* 9F6000 802415C0 03E00008 */ jr $ra
/* 9F6004 802415C4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -110,7 +110,7 @@ glabel L80241C4C_9F668C
glabel L80241C64_9F66A4
/* 9F66A4 80241C64 0280202D */ daddu $a0, $s4, $zero
/* 9F66A8 80241C68 0200282D */ daddu $a1, $s0, $zero
/* 9F66AC 80241C6C 0C090525 */ jal func_80241494_9F5ED4
/* 9F66AC 80241C6C 0C090525 */ jal nok_11_UnkNpcAIFunc14
/* 9F66B0 80241C70 0260302D */ daddu $a2, $s3, $zero
/* 9F66B4 80241C74 0809072A */ j .L80241CA8
/* 9F66B8 80241C78 0000102D */ daddu $v0, $zero, $zero

View File

@ -1,83 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241654_A03E94
/* A03E94 80241654 27BDFFD8 */ addiu $sp, $sp, -0x28
/* A03E98 80241658 AFB3001C */ sw $s3, 0x1c($sp)
/* A03E9C 8024165C 0080982D */ daddu $s3, $a0, $zero
/* A03EA0 80241660 AFBF0020 */ sw $ra, 0x20($sp)
/* A03EA4 80241664 AFB20018 */ sw $s2, 0x18($sp)
/* A03EA8 80241668 AFB10014 */ sw $s1, 0x14($sp)
/* A03EAC 8024166C AFB00010 */ sw $s0, 0x10($sp)
/* A03EB0 80241670 8E720148 */ lw $s2, 0x148($s3)
/* A03EB4 80241674 86440008 */ lh $a0, 8($s2)
/* A03EB8 80241678 0C00EABB */ jal get_npc_unsafe
/* A03EBC 8024167C 00A0802D */ daddu $s0, $a1, $zero
/* A03EC0 80241680 0040882D */ daddu $s1, $v0, $zero
/* A03EC4 80241684 C6420080 */ lwc1 $f2, 0x80($s2)
/* A03EC8 80241688 468010A0 */ cvt.s.w $f2, $f2
/* A03ECC 8024168C 460010A1 */ cvt.d.s $f2, $f2
/* A03ED0 80241690 C6400084 */ lwc1 $f0, 0x84($s2)
/* A03ED4 80241694 46800020 */ cvt.s.w $f0, $f0
/* A03ED8 80241698 46000021 */ cvt.d.s $f0, $f0
/* A03EDC 8024169C 3C014059 */ lui $at, 0x4059
/* A03EE0 802416A0 44812800 */ mtc1 $at, $f5
/* A03EE4 802416A4 44802000 */ mtc1 $zero, $f4
/* A03EE8 802416A8 8E4200CC */ lw $v0, 0xcc($s2)
/* A03EEC 802416AC C62C0038 */ lwc1 $f12, 0x38($s1)
/* A03EF0 802416B0 C62E0040 */ lwc1 $f14, 0x40($s1)
/* A03EF4 802416B4 46241083 */ div.d $f2, $f2, $f4
/* A03EF8 802416B8 462010A0 */ cvt.s.d $f2, $f2
/* A03EFC 802416BC 46240003 */ div.d $f0, $f0, $f4
/* A03F00 802416C0 8C420020 */ lw $v0, 0x20($v0)
/* A03F04 802416C4 46200020 */ cvt.s.d $f0, $f0
/* A03F08 802416C8 E622001C */ swc1 $f2, 0x1c($s1)
/* A03F0C 802416CC E6200014 */ swc1 $f0, 0x14($s1)
/* A03F10 802416D0 AE220028 */ sw $v0, 0x28($s1)
/* A03F14 802416D4 C6000018 */ lwc1 $f0, 0x18($s0)
/* A03F18 802416D8 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* A03F1C 802416DC 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* A03F20 802416E0 E6200018 */ swc1 $f0, 0x18($s1)
/* A03F24 802416E4 8C460028 */ lw $a2, 0x28($v0)
/* A03F28 802416E8 0C00A720 */ jal atan2
/* A03F2C 802416EC 8C470030 */ lw $a3, 0x30($v0)
/* A03F30 802416F0 E620000C */ swc1 $f0, 0xc($s1)
/* A03F34 802416F4 8E420018 */ lw $v0, 0x18($s2)
/* A03F38 802416F8 AE400074 */ sw $zero, 0x74($s2)
/* A03F3C 802416FC 9442002A */ lhu $v0, 0x2a($v0)
/* A03F40 80241700 30420002 */ andi $v0, $v0, 2
/* A03F44 80241704 10400005 */ beqz $v0, .L8024171C
/* A03F48 80241708 24020003 */ addiu $v0, $zero, 3
/* A03F4C 8024170C A622008E */ sh $v0, 0x8e($s1)
/* A03F50 80241710 2402000D */ addiu $v0, $zero, 0xd
/* A03F54 80241714 080905DB */ j .L8024176C
/* A03F58 80241718 AE620070 */ sw $v0, 0x70($s3)
.L8024171C:
/* A03F5C 8024171C 24030001 */ addiu $v1, $zero, 1
/* A03F60 80241720 2402000E */ addiu $v0, $zero, 0xe
/* A03F64 80241724 A623008E */ sh $v1, 0x8e($s1)
/* A03F68 80241728 AE620070 */ sw $v0, 0x70($s3)
/* A03F6C 8024172C C6200038 */ lwc1 $f0, 0x38($s1)
/* A03F70 80241730 4600018D */ trunc.w.s $f6, $f0
/* A03F74 80241734 44023000 */ mfc1 $v0, $f6
/* A03F78 80241738 00000000 */ nop
/* A03F7C 8024173C A6420010 */ sh $v0, 0x10($s2)
/* A03F80 80241740 C620003C */ lwc1 $f0, 0x3c($s1)
/* A03F84 80241744 4600018D */ trunc.w.s $f6, $f0
/* A03F88 80241748 44023000 */ mfc1 $v0, $f6
/* A03F8C 8024174C 00000000 */ nop
/* A03F90 80241750 A6420012 */ sh $v0, 0x12($s2)
/* A03F94 80241754 C6200040 */ lwc1 $f0, 0x40($s1)
/* A03F98 80241758 A2430007 */ sb $v1, 7($s2)
/* A03F9C 8024175C 4600018D */ trunc.w.s $f6, $f0
/* A03FA0 80241760 44023000 */ mfc1 $v0, $f6
/* A03FA4 80241764 00000000 */ nop
/* A03FA8 80241768 A6420014 */ sh $v0, 0x14($s2)
.L8024176C:
/* A03FAC 8024176C 8FBF0020 */ lw $ra, 0x20($sp)
/* A03FB0 80241770 8FB3001C */ lw $s3, 0x1c($sp)
/* A03FB4 80241774 8FB20018 */ lw $s2, 0x18($sp)
/* A03FB8 80241778 8FB10014 */ lw $s1, 0x14($sp)
/* A03FBC 8024177C 8FB00010 */ lw $s0, 0x10($sp)
/* A03FC0 80241780 03E00008 */ jr $ra
/* A03FC4 80241784 27BD0028 */ addiu $sp, $sp, 0x28

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