papermario/asm/nonmatchings/code_d5a50_len_5fd0/func_80145274.s

22 lines
990 B
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel func_80145274
2020-09-24 05:16:13 +02:00
/* DB974 80145274 2402F7FF */ addiu $v0, $zero, -0x801
/* DB978 80145278 00822024 */ and $a0, $a0, $v0
2020-11-29 08:13:07 +01:00
/* DB97C 8014527C 3C028015 */ lui $v0, %hi(D_80157960)
/* DB980 80145280 8C427960 */ lw $v0, %lo(D_80157960)($v0)
2020-09-24 05:16:13 +02:00
/* DB984 80145284 00042080 */ sll $a0, $a0, 2
/* DB988 80145288 00822021 */ addu $a0, $a0, $v0
/* DB98C 8014528C 8C840000 */ lw $a0, ($a0)
/* DB990 80145290 8C820000 */ lw $v0, ($a0)
/* DB994 80145294 3C030001 */ lui $v1, 1
/* DB998 80145298 00431024 */ and $v0, $v0, $v1
/* DB99C 8014529C 10400003 */ beqz $v0, .L801452AC
/* DB9A0 801452A0 8C83001C */ lw $v1, 0x1c($a0)
/* DB9A4 801452A4 A4650028 */ sh $a1, 0x28($v1)
/* DB9A8 801452A8 A466002A */ sh $a2, 0x2a($v1)
2020-08-04 08:49:11 +02:00
.L801452AC:
2020-09-24 05:16:13 +02:00
/* DB9AC 801452AC 03E00008 */ jr $ra
2021-01-11 13:40:52 +01:00
/* DB9B0 801452B0 00000000 */ nop