mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +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
46 lines
1.9 KiB
ArmAsm
46 lines
1.9 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 guMtxL2F
|
|
/* 42960 80067560 3C013780 */ lui $at, (0x37800000 >> 16)
|
|
/* 42964 80067564 44810000 */ mtc1 $at, $f0
|
|
/* 42968 80067568 3C19FFFF */ lui $t9, (0xFFFF0000 >> 16)
|
|
/* 4296C 8006756C 24B80020 */ addiu $t8, $a1, 0x20
|
|
.LJP_80067570:
|
|
/* 42970 80067570 8CA80000 */ lw $t0, 0x0($a1)
|
|
/* 42974 80067574 8CA90020 */ lw $t1, 0x20($a1)
|
|
/* 42978 80067578 01195024 */ and $t2, $t0, $t9
|
|
/* 4297C 8006757C 00095C02 */ srl $t3, $t1, 16
|
|
/* 42980 80067580 014B6025 */ or $t4, $t2, $t3
|
|
/* 42984 80067584 00086C00 */ sll $t5, $t0, 16
|
|
/* 42988 80067588 312EFFFF */ andi $t6, $t1, 0xFFFF
|
|
/* 4298C 8006758C 01AE7825 */ or $t7, $t5, $t6
|
|
/* 42990 80067590 448C2000 */ mtc1 $t4, $f4
|
|
/* 42994 80067594 00000000 */ nop
|
|
/* 42998 80067598 468021A0 */ cvt.s.w $f6, $f4
|
|
/* 4299C 8006759C 46003202 */ mul.s $f8, $f6, $f0
|
|
/* 429A0 800675A0 448F5000 */ mtc1 $t7, $f10
|
|
/* 429A4 800675A4 00000000 */ nop
|
|
/* 429A8 800675A8 46805420 */ cvt.s.w $f16, $f10
|
|
/* 429AC 800675AC 46008482 */ mul.s $f18, $f16, $f0
|
|
/* 429B0 800675B0 E4880000 */ swc1 $f8, 0x0($a0)
|
|
/* 429B4 800675B4 E4920004 */ swc1 $f18, 0x4($a0)
|
|
/* 429B8 800675B8 24A50004 */ addiu $a1, $a1, 0x4
|
|
/* 429BC 800675BC 14B8FFEC */ bne $a1, $t8, .LJP_80067570
|
|
/* 429C0 800675C0 24840008 */ addiu $a0, $a0, 0x8
|
|
/* 429C4 800675C4 03E00008 */ jr $ra
|
|
/* 429C8 800675C8 00000000 */ nop
|
|
/* 429CC 800675CC 00000000 */ nop
|
|
/* 429D0 800675D0 00000000 */ nop
|
|
/* 429D4 800675D4 00000000 */ nop
|
|
/* 429D8 800675D8 00000000 */ nop
|
|
/* 429DC 800675DC 00000000 */ nop
|