mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 07:22:29 +01:00
3315d6010f
* all non-world rodata migrated * data disasm * kinda working * updated yaml * bloop * linker header * configure 2.0 * bin * mass rename to remove code_ * pause rename * battle partner stuff * whew * more renames * more renames * more renaming * it builds! * updates * remove main prefix * one more thing * crc, yay0 * .data, .rodata, .bss * img * dead_atan2 * it buildsgit add -A * split battle/partner/6FAD10 * rm &s on sleepy_sheep syms * sha1sum ninja rule description * OK but commented out PaperMarioMapFS and PaperMarioNpcSprites * uncomment * fix mapfs * match func_8003CFB4 * . * clean up and name npc_iter_no_op * npc.c * enable cc warnings * name npc_find_near * use singular options.asset_path * smores * cc_dsl only when needed * kinda fix configure for splat refactor2 * ok! * new msg format * remove old msg format docs * slight bug fixes, splat adjustment * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "cfc140bb76" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "cfc140bb76" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "85349befcd" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "85349befcd" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * Update symbol addrs * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "a44631e194" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "a44631e194" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Alex Bates <hi@imalex.xyz>
324 lines
17 KiB
ArmAsm
324 lines
17 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_E0040348
|
|
/* 353648 E0040348 27BDFF08 */ addiu $sp, $sp, -0xf8
|
|
/* 35364C E004034C 3C03DB06 */ lui $v1, 0xdb06
|
|
/* 353650 E0040350 AFB400E8 */ sw $s4, 0xe8($sp)
|
|
/* 353654 E0040354 3C14800A */ lui $s4, %hi(gMasterGfxPos)
|
|
/* 353658 E0040358 2694A66C */ addiu $s4, $s4, %lo(gMasterGfxPos)
|
|
/* 35365C E004035C 34630024 */ ori $v1, $v1, 0x24
|
|
/* 353660 E0040360 AFB600F0 */ sw $s6, 0xf0($sp)
|
|
/* 353664 E0040364 3C16E700 */ lui $s6, 0xe700
|
|
/* 353668 E0040368 3C0B8000 */ lui $t3, 0x8000
|
|
/* 35366C E004036C AFBF00F4 */ sw $ra, 0xf4($sp)
|
|
/* 353670 E0040370 AFB500EC */ sw $s5, 0xec($sp)
|
|
/* 353674 E0040374 AFB300E4 */ sw $s3, 0xe4($sp)
|
|
/* 353678 E0040378 AFB200E0 */ sw $s2, 0xe0($sp)
|
|
/* 35367C E004037C AFB100DC */ sw $s1, 0xdc($sp)
|
|
/* 353680 E0040380 AFB000D8 */ sw $s0, 0xd8($sp)
|
|
/* 353684 E0040384 8E870000 */ lw $a3, ($s4)
|
|
/* 353688 E0040388 8C92000C */ lw $s2, 0xc($a0)
|
|
/* 35368C E004038C 3C014080 */ lui $at, 0x4080
|
|
/* 353690 E0040390 44812000 */ mtc1 $at, $f4
|
|
/* 353694 E0040394 00E0102D */ daddu $v0, $a3, $zero
|
|
/* 353698 E0040398 24E70008 */ addiu $a3, $a3, 8
|
|
/* 35369C E004039C AE870000 */ sw $a3, ($s4)
|
|
/* 3536A0 E00403A0 8E4C0000 */ lw $t4, ($s2)
|
|
/* 3536A4 E00403A4 C640001C */ lwc1 $f0, 0x1c($s2)
|
|
/* 3536A8 E00403A8 C6420024 */ lwc1 $f2, 0x24($s2)
|
|
/* 3536AC E00403AC 3C108007 */ lui $s0, %hi(gCurrentCameraID)
|
|
/* 3536B0 E00403B0 26107410 */ addiu $s0, $s0, %lo(gCurrentCameraID)
|
|
/* 3536B4 E00403B4 AC560000 */ sw $s6, ($v0)
|
|
/* 3536B8 E00403B8 AC400004 */ sw $zero, 4($v0)
|
|
/* 3536BC E00403BC ACE30000 */ sw $v1, ($a3)
|
|
/* 3536C0 E00403C0 8C830010 */ lw $v1, 0x10($a0)
|
|
/* 3536C4 E00403C4 24E20008 */ addiu $v0, $a3, 8
|
|
/* 3536C8 E00403C8 AE820000 */ sw $v0, ($s4)
|
|
/* 3536CC E00403CC 46040002 */ mul.s $f0, $f0, $f4
|
|
/* 3536D0 E00403D0 00000000 */ nop
|
|
/* 3536D4 E00403D4 8C62001C */ lw $v0, 0x1c($v1)
|
|
/* 3536D8 E00403D8 3C15800B */ lui $s5, %hi(gCameras)
|
|
/* 3536DC E00403DC 26B51D80 */ addiu $s5, $s5, %lo(gCameras)
|
|
/* 3536E0 E00403E0 004B1021 */ addu $v0, $v0, $t3
|
|
/* 3536E4 E00403E4 ACE20004 */ sw $v0, 4($a3)
|
|
/* 3536E8 E00403E8 8E030000 */ lw $v1, ($s0)
|
|
/* 3536EC E00403EC 46041082 */ mul.s $f2, $f2, $f4
|
|
/* 3536F0 E00403F0 00000000 */ nop
|
|
/* 3536F4 E00403F4 00031080 */ sll $v0, $v1, 2
|
|
/* 3536F8 E00403F8 00431021 */ addu $v0, $v0, $v1
|
|
/* 3536FC E00403FC 00021080 */ sll $v0, $v0, 2
|
|
/* 353700 E0040400 00431023 */ subu $v0, $v0, $v1
|
|
/* 353704 E0040404 000218C0 */ sll $v1, $v0, 3
|
|
/* 353708 E0040408 00431021 */ addu $v0, $v0, $v1
|
|
/* 35370C E004040C 000210C0 */ sll $v0, $v0, 3
|
|
/* 353710 E0040410 00554021 */ addu $t0, $v0, $s5
|
|
/* 353714 E0040414 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
/* 353718 E0040418 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
/* 35371C E004041C 3C04E004 */ lui $a0, %hi(D_E0040880)
|
|
/* 353720 E0040420 24840880 */ addiu $a0, $a0, %lo(D_E0040880)
|
|
/* 353724 E0040424 94430134 */ lhu $v1, 0x134($v0)
|
|
/* 353728 E0040428 8C820000 */ lw $v0, ($a0)
|
|
/* 35372C E004042C 4600018D */ trunc.w.s $f6, $f0
|
|
/* 353730 E0040430 440A3000 */ mfc1 $t2, $f6
|
|
/* 353734 E0040434 4600118D */ trunc.w.s $f6, $f2
|
|
/* 353738 E0040438 44093000 */ mfc1 $t1, $f6
|
|
/* 35373C E004043C 1043005F */ beq $v0, $v1, .LE00405BC
|
|
/* 353740 E0040440 24E20010 */ addiu $v0, $a3, 0x10
|
|
/* 353744 E0040444 3C06FF10 */ lui $a2, 0xff10
|
|
/* 353748 E0040448 34C6013F */ ori $a2, $a2, 0x13f
|
|
/* 35374C E004044C 3C05DE00 */ lui $a1, 0xde00
|
|
/* 353750 E0040450 AC830000 */ sw $v1, ($a0)
|
|
/* 353754 E0040454 AE820000 */ sw $v0, ($s4)
|
|
/* 353758 E0040458 3C020900 */ lui $v0, 0x900
|
|
/* 35375C E004045C 24420918 */ addiu $v0, $v0, 0x918
|
|
/* 353760 E0040460 31430FFF */ andi $v1, $t2, 0xfff
|
|
/* 353764 E0040464 00031B00 */ sll $v1, $v1, 0xc
|
|
/* 353768 E0040468 ACE2000C */ sw $v0, 0xc($a3)
|
|
/* 35376C E004046C 31220FFF */ andi $v0, $t1, 0xfff
|
|
/* 353770 E0040470 3C04F200 */ lui $a0, 0xf200
|
|
/* 353774 E0040474 00441025 */ or $v0, $v0, $a0
|
|
/* 353778 E0040478 00621825 */ or $v1, $v1, $v0
|
|
/* 35377C E004047C 25420080 */ addiu $v0, $t2, 0x80
|
|
/* 353780 E0040480 30420FFF */ andi $v0, $v0, 0xfff
|
|
/* 353784 E0040484 00021300 */ sll $v0, $v0, 0xc
|
|
/* 353788 E0040488 ACE30010 */ sw $v1, 0x10($a3)
|
|
/* 35378C E004048C 25230100 */ addiu $v1, $t1, 0x100
|
|
/* 353790 E0040490 30630FFF */ andi $v1, $v1, 0xfff
|
|
/* 353794 E0040494 3C040100 */ lui $a0, 0x100
|
|
/* 353798 E0040498 00641825 */ or $v1, $v1, $a0
|
|
/* 35379C E004049C 00431025 */ or $v0, $v0, $v1
|
|
/* 3537A0 E00404A0 ACE20014 */ sw $v0, 0x14($a3)
|
|
/* 3537A4 E00404A4 3C020900 */ lui $v0, 0x900
|
|
/* 3537A8 E00404A8 244209E0 */ addiu $v0, $v0, 0x9e0
|
|
/* 3537AC E00404AC 3C03800A */ lui $v1, %hi(D_8009A64C)
|
|
/* 3537B0 E00404B0 8C63A64C */ lw $v1, %lo(D_8009A64C)($v1)
|
|
/* 3537B4 E00404B4 3C04ED00 */ lui $a0, 0xed00
|
|
/* 3537B8 E00404B8 ACE50008 */ sw $a1, 8($a3)
|
|
/* 3537BC E00404BC ACE50018 */ sw $a1, 0x18($a3)
|
|
/* 3537C0 E00404C0 ACE2001C */ sw $v0, 0x1c($a3)
|
|
/* 3537C4 E00404C4 ACE60020 */ sw $a2, 0x20($a3)
|
|
/* 3537C8 E00404C8 006B1821 */ addu $v1, $v1, $t3
|
|
/* 3537CC E00404CC ACE30024 */ sw $v1, 0x24($a3)
|
|
/* 3537D0 E00404D0 8502000E */ lh $v0, 0xe($t0)
|
|
/* 3537D4 E00404D4 24E30018 */ addiu $v1, $a3, 0x18
|
|
/* 3537D8 E00404D8 44821000 */ mtc1 $v0, $f2
|
|
/* 3537DC E00404DC 00000000 */ nop
|
|
/* 3537E0 E00404E0 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 3537E4 E00404E4 46041082 */ mul.s $f2, $f2, $f4
|
|
/* 3537E8 E00404E8 00000000 */ nop
|
|
/* 3537EC E00404EC AE830000 */ sw $v1, ($s4)
|
|
/* 3537F0 E00404F0 85020010 */ lh $v0, 0x10($t0)
|
|
/* 3537F4 E00404F4 24E30020 */ addiu $v1, $a3, 0x20
|
|
/* 3537F8 E00404F8 44820000 */ mtc1 $v0, $f0
|
|
/* 3537FC E00404FC 00000000 */ nop
|
|
/* 353800 E0040500 46800020 */ cvt.s.w $f0, $f0
|
|
/* 353804 E0040504 46040002 */ mul.s $f0, $f0, $f4
|
|
/* 353808 E0040508 00000000 */ nop
|
|
/* 35380C E004050C AE830000 */ sw $v1, ($s4)
|
|
/* 353810 E0040510 4600118D */ trunc.w.s $f6, $f2
|
|
/* 353814 E0040514 44023000 */ mfc1 $v0, $f6
|
|
/* 353818 E0040518 00000000 */ nop
|
|
/* 35381C E004051C 30420FFF */ andi $v0, $v0, 0xfff
|
|
/* 353820 E0040520 00021300 */ sll $v0, $v0, 0xc
|
|
/* 353824 E0040524 4600018D */ trunc.w.s $f6, $f0
|
|
/* 353828 E0040528 44033000 */ mfc1 $v1, $f6
|
|
/* 35382C E004052C 00000000 */ nop
|
|
/* 353830 E0040530 30630FFF */ andi $v1, $v1, 0xfff
|
|
/* 353834 E0040534 00641825 */ or $v1, $v1, $a0
|
|
/* 353838 E0040538 00431025 */ or $v0, $v0, $v1
|
|
/* 35383C E004053C ACE20028 */ sw $v0, 0x28($a3)
|
|
/* 353840 E0040540 8503000E */ lh $v1, 0xe($t0)
|
|
/* 353844 E0040544 8504000A */ lh $a0, 0xa($t0)
|
|
/* 353848 E0040548 24E20028 */ addiu $v0, $a3, 0x28
|
|
/* 35384C E004054C AE820000 */ sw $v0, ($s4)
|
|
/* 353850 E0040550 85020010 */ lh $v0, 0x10($t0)
|
|
/* 353854 E0040554 00641821 */ addu $v1, $v1, $a0
|
|
/* 353858 E0040558 44831000 */ mtc1 $v1, $f2
|
|
/* 35385C E004055C 00000000 */ nop
|
|
/* 353860 E0040560 468010A0 */ cvt.s.w $f2, $f2
|
|
/* 353864 E0040564 46041082 */ mul.s $f2, $f2, $f4
|
|
/* 353868 E0040568 00000000 */ nop
|
|
/* 35386C E004056C 8503000C */ lh $v1, 0xc($t0)
|
|
/* 353870 E0040570 24E40030 */ addiu $a0, $a3, 0x30
|
|
/* 353874 E0040574 00431021 */ addu $v0, $v0, $v1
|
|
/* 353878 E0040578 44820000 */ mtc1 $v0, $f0
|
|
/* 35387C E004057C 00000000 */ nop
|
|
/* 353880 E0040580 46800020 */ cvt.s.w $f0, $f0
|
|
/* 353884 E0040584 46040002 */ mul.s $f0, $f0, $f4
|
|
/* 353888 E0040588 00000000 */ nop
|
|
/* 35388C E004058C AE840000 */ sw $a0, ($s4)
|
|
/* 353890 E0040590 4600118D */ trunc.w.s $f6, $f2
|
|
/* 353894 E0040594 44023000 */ mfc1 $v0, $f6
|
|
/* 353898 E0040598 00000000 */ nop
|
|
/* 35389C E004059C 30420FFF */ andi $v0, $v0, 0xfff
|
|
/* 3538A0 E00405A0 00021300 */ sll $v0, $v0, 0xc
|
|
/* 3538A4 E00405A4 4600018D */ trunc.w.s $f6, $f0
|
|
/* 3538A8 E00405A8 44033000 */ mfc1 $v1, $f6
|
|
/* 3538AC E00405AC 00000000 */ nop
|
|
/* 3538B0 E00405B0 30630FFF */ andi $v1, $v1, 0xfff
|
|
/* 3538B4 E00405B4 00431025 */ or $v0, $v0, $v1
|
|
/* 3538B8 E00405B8 ACE2002C */ sw $v0, 0x2c($a3)
|
|
.LE00405BC:
|
|
/* 3538BC E00405BC 3C13DE00 */ lui $s3, 0xde00
|
|
/* 3538C0 E00405C0 3C02E004 */ lui $v0, %hi(D_E0040840)
|
|
/* 3538C4 E00405C4 24420840 */ addiu $v0, $v0, %lo(D_E0040840)
|
|
/* 3538C8 E00405C8 000C3100 */ sll $a2, $t4, 4
|
|
/* 3538CC E00405CC 8E850000 */ lw $a1, ($s4)
|
|
/* 3538D0 E00405D0 00C23021 */ addu $a2, $a2, $v0
|
|
/* 3538D4 E00405D4 00A0202D */ daddu $a0, $a1, $zero
|
|
/* 3538D8 E00405D8 24A50008 */ addiu $a1, $a1, 8
|
|
/* 3538DC E00405DC AE850000 */ sw $a1, ($s4)
|
|
/* 3538E0 E00405E0 AC930000 */ sw $s3, ($a0)
|
|
/* 3538E4 E00405E4 8CC3000C */ lw $v1, 0xc($a2)
|
|
/* 3538E8 E00405E8 24A20008 */ addiu $v0, $a1, 8
|
|
/* 3538EC E00405EC AE820000 */ sw $v0, ($s4)
|
|
/* 3538F0 E00405F0 3C02EB00 */ lui $v0, 0xeb00
|
|
/* 3538F4 E00405F4 AC830004 */ sw $v1, 4($a0)
|
|
/* 3538F8 E00405F8 ACA20000 */ sw $v0, ($a1)
|
|
/* 3538FC E00405FC 90C30003 */ lbu $v1, 3($a2)
|
|
/* 353900 E0040600 90C40000 */ lbu $a0, ($a2)
|
|
/* 353904 E0040604 24A20010 */ addiu $v0, $a1, 0x10
|
|
/* 353908 E0040608 AE820000 */ sw $v0, ($s4)
|
|
/* 35390C E004060C 3C02EA00 */ lui $v0, 0xea00
|
|
/* 353910 E0040610 ACA20008 */ sw $v0, 8($a1)
|
|
/* 353914 E0040614 00031A00 */ sll $v1, $v1, 8
|
|
/* 353918 E0040618 00641825 */ or $v1, $v1, $a0
|
|
/* 35391C E004061C ACA30004 */ sw $v1, 4($a1)
|
|
/* 353920 E0040620 90C40003 */ lbu $a0, 3($a2)
|
|
/* 353924 E0040624 90C30001 */ lbu $v1, 1($a2)
|
|
/* 353928 E0040628 90C70002 */ lbu $a3, 2($a2)
|
|
/* 35392C E004062C 24A20018 */ addiu $v0, $a1, 0x18
|
|
/* 353930 E0040630 AE820000 */ sw $v0, ($s4)
|
|
/* 353934 E0040634 3C02FA00 */ lui $v0, 0xfa00
|
|
/* 353938 E0040638 ACA20010 */ sw $v0, 0x10($a1)
|
|
/* 35393C E004063C 00041600 */ sll $v0, $a0, 0x18
|
|
/* 353940 E0040640 00031C00 */ sll $v1, $v1, 0x10
|
|
/* 353944 E0040644 00431025 */ or $v0, $v0, $v1
|
|
/* 353948 E0040648 00042200 */ sll $a0, $a0, 8
|
|
/* 35394C E004064C 00441025 */ or $v0, $v0, $a0
|
|
/* 353950 E0040650 00471025 */ or $v0, $v0, $a3
|
|
/* 353954 E0040654 ACA2000C */ sw $v0, 0xc($a1)
|
|
/* 353958 E0040658 90C40007 */ lbu $a0, 7($a2)
|
|
/* 35395C E004065C 24A20020 */ addiu $v0, $a1, 0x20
|
|
/* 353960 E0040660 AE820000 */ sw $v0, ($s4)
|
|
/* 353964 E0040664 3C02FB00 */ lui $v0, 0xfb00
|
|
/* 353968 E0040668 ACA20018 */ sw $v0, 0x18($a1)
|
|
/* 35396C E004066C 00041600 */ sll $v0, $a0, 0x18
|
|
/* 353970 E0040670 00041C00 */ sll $v1, $a0, 0x10
|
|
/* 353974 E0040674 00431025 */ or $v0, $v0, $v1
|
|
/* 353978 E0040678 00042200 */ sll $a0, $a0, 8
|
|
/* 35397C E004067C 00441025 */ or $v0, $v0, $a0
|
|
/* 353980 E0040680 ACA20014 */ sw $v0, 0x14($a1)
|
|
/* 353984 E0040684 90C20004 */ lbu $v0, 4($a2)
|
|
/* 353988 E0040688 90C40005 */ lbu $a0, 5($a2)
|
|
/* 35398C E004068C 90C30006 */ lbu $v1, 6($a2)
|
|
/* 353990 E0040690 00021600 */ sll $v0, $v0, 0x18
|
|
/* 353994 E0040694 00042400 */ sll $a0, $a0, 0x10
|
|
/* 353998 E0040698 00441025 */ or $v0, $v0, $a0
|
|
/* 35399C E004069C 00031A00 */ sll $v1, $v1, 8
|
|
/* 3539A0 E00406A0 00431025 */ or $v0, $v0, $v1
|
|
/* 3539A4 E00406A4 ACA2001C */ sw $v0, 0x1c($a1)
|
|
/* 3539A8 E00406A8 8E450004 */ lw $a1, 4($s2)
|
|
/* 3539AC E00406AC 8E460008 */ lw $a2, 8($s2)
|
|
/* 3539B0 E00406B0 8E47000C */ lw $a3, 0xc($s2)
|
|
/* 3539B4 E00406B4 0C080108 */ jal func_E0200420
|
|
/* 3539B8 E00406B8 27A40018 */ addiu $a0, $sp, 0x18
|
|
/* 3539BC E00406BC 27B10058 */ addiu $s1, $sp, 0x58
|
|
/* 3539C0 E00406C0 8E030000 */ lw $v1, ($s0)
|
|
/* 3539C4 E00406C4 44800000 */ mtc1 $zero, $f0
|
|
/* 3539C8 E00406C8 00031080 */ sll $v0, $v1, 2
|
|
/* 3539CC E00406CC 00431021 */ addu $v0, $v0, $v1
|
|
/* 3539D0 E00406D0 00021080 */ sll $v0, $v0, 2
|
|
/* 3539D4 E00406D4 00431023 */ subu $v0, $v0, $v1
|
|
/* 3539D8 E00406D8 000218C0 */ sll $v1, $v0, 3
|
|
/* 3539DC E00406DC 00431021 */ addu $v0, $v0, $v1
|
|
/* 3539E0 E00406E0 000210C0 */ sll $v0, $v0, 3
|
|
/* 3539E4 E00406E4 00551021 */ addu $v0, $v0, $s5
|
|
/* 3539E8 E00406E8 44060000 */ mfc1 $a2, $f0
|
|
/* 3539EC E00406EC C440006C */ lwc1 $f0, 0x6c($v0)
|
|
/* 3539F0 E00406F0 3C073F80 */ lui $a3, 0x3f80
|
|
/* 3539F4 E00406F4 46000007 */ neg.s $f0, $f0
|
|
/* 3539F8 E00406F8 44050000 */ mfc1 $a1, $f0
|
|
/* 3539FC E00406FC 0220202D */ daddu $a0, $s1, $zero
|
|
/* 353A00 E0040700 0C080104 */ jal func_E0200410
|
|
/* 353A04 E0040704 AFA60010 */ sw $a2, 0x10($sp)
|
|
/* 353A08 E0040708 0220202D */ daddu $a0, $s1, $zero
|
|
/* 353A0C E004070C 27A50018 */ addiu $a1, $sp, 0x18
|
|
/* 353A10 E0040710 27B00098 */ addiu $s0, $sp, 0x98
|
|
/* 353A14 E0040714 0C080114 */ jal func_E0200450
|
|
/* 353A18 E0040718 0200302D */ daddu $a2, $s0, $zero
|
|
/* 353A1C E004071C C6420010 */ lwc1 $f2, 0x10($s2)
|
|
/* 353A20 E0040720 C6400030 */ lwc1 $f0, 0x30($s2)
|
|
/* 353A24 E0040724 46001002 */ mul.s $f0, $f2, $f0
|
|
/* 353A28 E0040728 00000000 */ nop
|
|
/* 353A2C E004072C 44050000 */ mfc1 $a1, $f0
|
|
/* 353A30 E0040730 C640002C */ lwc1 $f0, 0x2c($s2)
|
|
/* 353A34 E0040734 46001002 */ mul.s $f0, $f2, $f0
|
|
/* 353A38 E0040738 00000000 */ nop
|
|
/* 353A3C E004073C 0220202D */ daddu $a0, $s1, $zero
|
|
/* 353A40 E0040740 44071000 */ mfc1 $a3, $f2
|
|
/* 353A44 E0040744 3C120001 */ lui $s2, 1
|
|
/* 353A48 E0040748 44060000 */ mfc1 $a2, $f0
|
|
/* 353A4C E004074C 0C080110 */ jal func_E0200440
|
|
/* 353A50 E0040750 36521630 */ ori $s2, $s2, 0x1630
|
|
/* 353A54 E0040754 0220202D */ daddu $a0, $s1, $zero
|
|
/* 353A58 E0040758 0200282D */ daddu $a1, $s0, $zero
|
|
/* 353A5C E004075C 0C080114 */ jal func_E0200450
|
|
/* 353A60 E0040760 0200302D */ daddu $a2, $s0, $zero
|
|
/* 353A64 E0040764 0200202D */ daddu $a0, $s0, $zero
|
|
/* 353A68 E0040768 3C108007 */ lui $s0, %hi(gMatrixListPos)
|
|
/* 353A6C E004076C 261041F0 */ addiu $s0, $s0, %lo(gMatrixListPos)
|
|
/* 353A70 E0040770 3C11800A */ lui $s1, %hi(gDisplayContext)
|
|
/* 353A74 E0040774 2631A674 */ addiu $s1, $s1, %lo(gDisplayContext)
|
|
/* 353A78 E0040778 96050000 */ lhu $a1, ($s0)
|
|
/* 353A7C E004077C 8E220000 */ lw $v0, ($s1)
|
|
/* 353A80 E0040780 00052980 */ sll $a1, $a1, 6
|
|
/* 353A84 E0040784 00B22821 */ addu $a1, $a1, $s2
|
|
/* 353A88 E0040788 0C080118 */ jal func_E0200460
|
|
/* 353A8C E004078C 00452821 */ addu $a1, $v0, $a1
|
|
/* 353A90 E0040790 3C06D838 */ lui $a2, 0xd838
|
|
/* 353A94 E0040794 8E840000 */ lw $a0, ($s4)
|
|
/* 353A98 E0040798 34C60002 */ ori $a2, $a2, 2
|
|
/* 353A9C E004079C 0080282D */ daddu $a1, $a0, $zero
|
|
/* 353AA0 E00407A0 24840008 */ addiu $a0, $a0, 8
|
|
/* 353AA4 E00407A4 AE840000 */ sw $a0, ($s4)
|
|
/* 353AA8 E00407A8 96020000 */ lhu $v0, ($s0)
|
|
/* 353AAC E00407AC 3C03DA38 */ lui $v1, 0xda38
|
|
/* 353AB0 E00407B0 ACA30000 */ sw $v1, ($a1)
|
|
/* 353AB4 E00407B4 24430001 */ addiu $v1, $v0, 1
|
|
/* 353AB8 E00407B8 3042FFFF */ andi $v0, $v0, 0xffff
|
|
/* 353ABC E00407BC 00021180 */ sll $v0, $v0, 6
|
|
/* 353AC0 E00407C0 A6030000 */ sh $v1, ($s0)
|
|
/* 353AC4 E00407C4 8E230000 */ lw $v1, ($s1)
|
|
/* 353AC8 E00407C8 00521021 */ addu $v0, $v0, $s2
|
|
/* 353ACC E00407CC 00621821 */ addu $v1, $v1, $v0
|
|
/* 353AD0 E00407D0 24820008 */ addiu $v0, $a0, 8
|
|
/* 353AD4 E00407D4 ACA30004 */ sw $v1, 4($a1)
|
|
/* 353AD8 E00407D8 AE820000 */ sw $v0, ($s4)
|
|
/* 353ADC E00407DC 3C020900 */ lui $v0, 0x900
|
|
/* 353AE0 E00407E0 244208F8 */ addiu $v0, $v0, 0x8f8
|
|
/* 353AE4 E00407E4 AC820004 */ sw $v0, 4($a0)
|
|
/* 353AE8 E00407E8 24820010 */ addiu $v0, $a0, 0x10
|
|
/* 353AEC E00407EC AC930000 */ sw $s3, ($a0)
|
|
/* 353AF0 E00407F0 AE820000 */ sw $v0, ($s4)
|
|
/* 353AF4 E00407F4 24020040 */ addiu $v0, $zero, 0x40
|
|
/* 353AF8 E00407F8 AC82000C */ sw $v0, 0xc($a0)
|
|
/* 353AFC E00407FC 24820018 */ addiu $v0, $a0, 0x18
|
|
/* 353B00 E0040800 AC860008 */ sw $a2, 8($a0)
|
|
/* 353B04 E0040804 AE820000 */ sw $v0, ($s4)
|
|
/* 353B08 E0040808 AC960010 */ sw $s6, 0x10($a0)
|
|
/* 353B0C E004080C AC800014 */ sw $zero, 0x14($a0)
|
|
/* 353B10 E0040810 8FBF00F4 */ lw $ra, 0xf4($sp)
|
|
/* 353B14 E0040814 8FB600F0 */ lw $s6, 0xf0($sp)
|
|
/* 353B18 E0040818 8FB500EC */ lw $s5, 0xec($sp)
|
|
/* 353B1C E004081C 8FB400E8 */ lw $s4, 0xe8($sp)
|
|
/* 353B20 E0040820 8FB300E4 */ lw $s3, 0xe4($sp)
|
|
/* 353B24 E0040824 8FB200E0 */ lw $s2, 0xe0($sp)
|
|
/* 353B28 E0040828 8FB100DC */ lw $s1, 0xdc($sp)
|
|
/* 353B2C E004082C 8FB000D8 */ lw $s0, 0xd8($sp)
|
|
/* 353B30 E0040830 03E00008 */ jr $ra
|
|
/* 353B34 E0040834 27BD00F8 */ addiu $sp, $sp, 0xf8
|
|
/* 353B38 E0040838 00000000 */ nop
|
|
/* 353B3C E004083C 00000000 */ nop
|