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 set_music_track
|
2020-09-24 05:16:13 +02:00
|
|
|
/* E1018 8014A918 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
|
|
/* E101C 8014A91C 3C038016 */ lui $v1, 0x8016
|
|
|
|
/* E1020 8014A920 24639AF0 */ addiu $v1, $v1, -0x6510
|
|
|
|
/* E1024 8014A924 00041040 */ sll $v0, $a0, 1
|
|
|
|
/* E1028 8014A928 00441021 */ addu $v0, $v0, $a0
|
|
|
|
/* E102C 8014A92C 00021100 */ sll $v0, $v0, 4
|
|
|
|
/* E1030 8014A930 00431021 */ addu $v0, $v0, $v1
|
|
|
|
/* E1034 8014A934 AFBF0018 */ sw $ra, 0x18($sp)
|
|
|
|
/* E1038 8014A938 94430000 */ lhu $v1, ($v0)
|
|
|
|
/* E103C 8014A93C 8FA80030 */ lw $t0, 0x30($sp)
|
|
|
|
/* E1040 8014A940 3063FFF7 */ andi $v1, $v1, 0xfff7
|
|
|
|
/* E1044 8014A944 00084400 */ sll $t0, $t0, 0x10
|
|
|
|
/* E1048 8014A948 00084403 */ sra $t0, $t0, 0x10
|
|
|
|
/* E104C 8014A94C A4430000 */ sh $v1, ($v0)
|
|
|
|
/* E1050 8014A950 0C0529F8 */ jal _set_music_track
|
|
|
|
/* E1054 8014A954 AFA80010 */ sw $t0, 0x10($sp)
|
|
|
|
/* E1058 8014A958 8FBF0018 */ lw $ra, 0x18($sp)
|
|
|
|
/* E105C 8014A95C 03E00008 */ jr $ra
|
|
|
|
/* E1060 8014A960 27BD0020 */ addiu $sp, $sp, 0x20
|