mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 20:12:30 +01:00
0d70e3ecac
* Remove JP dump * Add new JP dump * Fix sort_symbol_addrs to only look at one version * Deduplicate and sort symbol_addrs * Clean up JP rom if conditions * Use /current dir for diffing * Fix state_step_logos * Add todo comments for unsplitted segments * Fix draw_merlee_message * rename background_gfx * Fix background_gfx * Fix JP build * Set unused data offsets to auto
79 lines
3.7 KiB
ArmAsm
79 lines
3.7 KiB
ArmAsm
.include "macro.inc"
|
|
|
|
/* assembler directives */
|
|
.set noat /* allow manual use of $at */
|
|
.set noreorder /* don't insert nops after branches */
|
|
.set gp=64 /* allow use of 64-bit general purpose registers */
|
|
|
|
.section .text, "ax"
|
|
|
|
/* Generated by spimdisasm 1.11.1 */
|
|
|
|
glabel guMtxCatF
|
|
/* 429E0 800675E0 27BDFFC0 */ addiu $sp, $sp, -0x40
|
|
/* 429E4 800675E4 24820040 */ addiu $v0, $a0, 0x40
|
|
/* 429E8 800675E8 24A30010 */ addiu $v1, $a1, 0x10
|
|
/* 429EC 800675EC 03A05021 */ addu $t2, $sp, $zero
|
|
.LJP_800675F0:
|
|
/* 429F0 800675F0 00A03821 */ addu $a3, $a1, $zero
|
|
.LJP_800675F4:
|
|
/* 429F4 800675F4 C4840000 */ lwc1 $f4, 0x0($a0)
|
|
/* 429F8 800675F8 C4E60000 */ lwc1 $f6, 0x0($a3)
|
|
/* 429FC 800675FC 46062202 */ mul.s $f8, $f4, $f6
|
|
/* 42A00 80067600 C48A0004 */ lwc1 $f10, 0x4($a0)
|
|
/* 42A04 80067604 C4F00010 */ lwc1 $f16, 0x10($a3)
|
|
/* 42A08 80067608 46105482 */ mul.s $f18, $f10, $f16
|
|
/* 42A0C 8006760C 46124200 */ add.s $f8, $f8, $f18
|
|
/* 42A10 80067610 C4840008 */ lwc1 $f4, 0x8($a0)
|
|
/* 42A14 80067614 C4E60020 */ lwc1 $f6, 0x20($a3)
|
|
/* 42A18 80067618 46062482 */ mul.s $f18, $f4, $f6
|
|
/* 42A1C 8006761C 46124200 */ add.s $f8, $f8, $f18
|
|
/* 42A20 80067620 C48A000C */ lwc1 $f10, 0xC($a0)
|
|
/* 42A24 80067624 C4F00030 */ lwc1 $f16, 0x30($a3)
|
|
/* 42A28 80067628 46105482 */ mul.s $f18, $f10, $f16
|
|
/* 42A2C 8006762C 46124200 */ add.s $f8, $f8, $f18
|
|
/* 42A30 80067630 E5480000 */ swc1 $f8, 0x0($t2)
|
|
/* 42A34 80067634 24E70004 */ addiu $a3, $a3, 0x4
|
|
/* 42A38 80067638 14E3FFEE */ bne $a3, $v1, .LJP_800675F4
|
|
/* 42A3C 8006763C 254A0004 */ addiu $t2, $t2, 0x4
|
|
/* 42A40 80067640 24840010 */ addiu $a0, $a0, 0x10
|
|
/* 42A44 80067644 1482FFEA */ bne $a0, $v0, .LJP_800675F0
|
|
/* 42A48 80067648 00000000 */ nop
|
|
/* 42A4C 8006764C E4C8003C */ swc1 $f8, 0x3C($a2)
|
|
/* 42A50 80067650 8FA80000 */ lw $t0, 0x0($sp)
|
|
/* 42A54 80067654 8FA90004 */ lw $t1, 0x4($sp)
|
|
/* 42A58 80067658 8FAA0008 */ lw $t2, 0x8($sp)
|
|
/* 42A5C 8006765C 8FAB000C */ lw $t3, 0xC($sp)
|
|
/* 42A60 80067660 8FAC0010 */ lw $t4, 0x10($sp)
|
|
/* 42A64 80067664 8FAD0014 */ lw $t5, 0x14($sp)
|
|
/* 42A68 80067668 8FAE0018 */ lw $t6, 0x18($sp)
|
|
/* 42A6C 8006766C 8FAF001C */ lw $t7, 0x1C($sp)
|
|
/* 42A70 80067670 8FB80020 */ lw $t8, 0x20($sp)
|
|
/* 42A74 80067674 8FB90024 */ lw $t9, 0x24($sp)
|
|
/* 42A78 80067678 8FA20028 */ lw $v0, 0x28($sp)
|
|
/* 42A7C 8006767C 8FA3002C */ lw $v1, 0x2C($sp)
|
|
/* 42A80 80067680 8FA40030 */ lw $a0, 0x30($sp)
|
|
/* 42A84 80067684 8FA50034 */ lw $a1, 0x34($sp)
|
|
/* 42A88 80067688 8FA70038 */ lw $a3, 0x38($sp)
|
|
/* 42A8C 8006768C ACC80000 */ sw $t0, 0x0($a2)
|
|
/* 42A90 80067690 ACC90004 */ sw $t1, 0x4($a2)
|
|
/* 42A94 80067694 ACCA0008 */ sw $t2, 0x8($a2)
|
|
/* 42A98 80067698 ACCB000C */ sw $t3, 0xC($a2)
|
|
/* 42A9C 8006769C ACCC0010 */ sw $t4, 0x10($a2)
|
|
/* 42AA0 800676A0 ACCD0014 */ sw $t5, 0x14($a2)
|
|
/* 42AA4 800676A4 ACCE0018 */ sw $t6, 0x18($a2)
|
|
/* 42AA8 800676A8 ACCF001C */ sw $t7, 0x1C($a2)
|
|
/* 42AAC 800676AC ACD80020 */ sw $t8, 0x20($a2)
|
|
/* 42AB0 800676B0 ACD90024 */ sw $t9, 0x24($a2)
|
|
/* 42AB4 800676B4 ACC20028 */ sw $v0, 0x28($a2)
|
|
/* 42AB8 800676B8 ACC3002C */ sw $v1, 0x2C($a2)
|
|
/* 42ABC 800676BC ACC40030 */ sw $a0, 0x30($a2)
|
|
/* 42AC0 800676C0 ACC50034 */ sw $a1, 0x34($a2)
|
|
/* 42AC4 800676C4 ACC70038 */ sw $a3, 0x38($a2)
|
|
/* 42AC8 800676C8 03E00008 */ jr $ra
|
|
/* 42ACC 800676CC 27BD0040 */ addiu $sp, $sp, 0x40
|
|
/* 42AD0 800676D0 00000000 */ nop
|
|
/* 42AD4 800676D4 00000000 */ nop
|
|
/* 42AD8 800676D8 00000000 */ nop
|
|
/* 42ADC 800676DC 00000000 */ nop
|