mirror of https://github.com/zeldaret/tp.git
110 lines
4.6 KiB
ArmAsm
110 lines
4.6 KiB
ArmAsm
lbl_80292008:
|
|
/* 80292008 94 21 FF B0 */ stwu r1, -0x50(r1)
|
|
/* 8029200C 7C 08 02 A6 */ mflr r0
|
|
/* 80292010 90 01 00 54 */ stw r0, 0x54(r1)
|
|
/* 80292014 DB E1 00 40 */ stfd f31, 0x40(r1)
|
|
/* 80292018 F3 E1 00 48 */ psq_st f31, 72(r1), 0, 0 /* qr0 */
|
|
/* 8029201C 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 80292020 48 0D 01 99 */ bl _savegpr_20
|
|
/* 80292024 7C 76 1B 78 */ mr r22, r3
|
|
/* 80292028 7C 97 23 78 */ mr r23, r4
|
|
/* 8029202C 7C B8 2B 78 */ mr r24, r5
|
|
/* 80292030 FF E0 08 90 */ fmr f31, f1
|
|
/* 80292034 7C D9 33 78 */ mr r25, r6
|
|
/* 80292038 48 00 0A 6D */ bl getTransposeTotal__8JASTrackCFv
|
|
/* 8029203C 7E F7 1A 14 */ add r23, r23, r3
|
|
/* 80292040 88 16 02 33 */ lbz r0, 0x233(r22)
|
|
/* 80292044 28 00 00 64 */ cmplwi r0, 0x64
|
|
/* 80292048 41 82 00 28 */ beq lbl_80292070
|
|
/* 8029204C C8 22 BB B0 */ lfd f1, lit_954(r2)
|
|
/* 80292050 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 80292054 3C 00 43 30 */ lis r0, 0x4330
|
|
/* 80292058 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 8029205C C8 01 00 08 */ lfd f0, 8(r1)
|
|
/* 80292060 EC 20 08 28 */ fsubs f1, f0, f1
|
|
/* 80292064 C0 02 BB AC */ lfs f0, lit_952(r2)
|
|
/* 80292068 EC 01 00 24 */ fdivs f0, f1, f0
|
|
/* 8029206C EF FF 00 32 */ fmuls f31, f31, f0
|
|
lbl_80292070:
|
|
/* 80292070 7E C3 B3 78 */ mr r3, r22
|
|
/* 80292074 FC 20 F8 90 */ fmr f1, f31
|
|
/* 80292078 48 00 05 CD */ bl seqTimeToDspTime__8JASTrackFf
|
|
/* 8029207C 7C 7B 1B 78 */ mr r27, r3
|
|
/* 80292080 57 20 07 7C */ rlwinm r0, r25, 0, 0x1d, 0x1e
|
|
/* 80292084 20 00 00 00 */ subfic r0, r0, 0
|
|
/* 80292088 7C 00 01 10 */ subfe r0, r0, r0
|
|
/* 8029208C 7F 7F 00 78 */ andc r31, r27, r0
|
|
/* 80292090 57 3C 07 FF */ clrlwi. r28, r25, 0x1f
|
|
/* 80292094 41 82 00 0C */ beq lbl_802920A0
|
|
/* 80292098 8B D6 02 2B */ lbz r30, 0x22b(r22)
|
|
/* 8029209C 48 00 00 08 */ b lbl_802920A4
|
|
lbl_802920A0:
|
|
/* 802920A0 7E FE BB 78 */ mr r30, r23
|
|
lbl_802920A4:
|
|
/* 802920A4 3B 40 00 00 */ li r26, 0
|
|
/* 802920A8 3A A0 00 00 */ li r21, 0
|
|
/* 802920AC 7F BE B8 50 */ subf r29, r30, r23
|
|
/* 802920B0 48 00 00 A8 */ b lbl_80292158
|
|
lbl_802920B4:
|
|
/* 802920B4 38 15 01 70 */ addi r0, r21, 0x170
|
|
/* 802920B8 7E 96 00 2E */ lwzx r20, r22, r0
|
|
/* 802920BC 28 14 00 00 */ cmplwi r20, 0
|
|
/* 802920C0 41 82 00 90 */ beq lbl_80292150
|
|
/* 802920C4 88 16 02 16 */ lbz r0, 0x216(r22)
|
|
/* 802920C8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f
|
|
/* 802920CC 40 82 00 44 */ bne lbl_80292110
|
|
/* 802920D0 7E 83 A3 78 */ mr r3, r20
|
|
/* 802920D4 38 80 00 00 */ li r4, 0
|
|
/* 802920D8 38 A0 00 00 */ li r5, 0
|
|
/* 802920DC 48 00 11 45 */ bl noteOff__Q28JASTrack11TChannelMgrFUlUs
|
|
/* 802920E0 7E C3 B3 78 */ mr r3, r22
|
|
/* 802920E4 48 00 0A 11 */ bl isMute__8JASTrackCFv
|
|
/* 802920E8 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 802920EC 40 82 00 44 */ bne lbl_80292130
|
|
/* 802920F0 7E C3 B3 78 */ mr r3, r22
|
|
/* 802920F4 7E 84 A3 78 */ mr r4, r20
|
|
/* 802920F8 7F C5 F3 78 */ mr r5, r30
|
|
/* 802920FC 7F 06 C3 78 */ mr r6, r24
|
|
/* 80292100 7F E7 FB 78 */ mr r7, r31
|
|
/* 80292104 4B FF FC F5 */ bl channelStart__8JASTrackFPQ28JASTrack11TChannelMgrUlUlUl
|
|
/* 80292108 90 74 00 00 */ stw r3, 0(r20)
|
|
/* 8029210C 48 00 00 24 */ b lbl_80292130
|
|
lbl_80292110:
|
|
/* 80292110 80 74 00 00 */ lwz r3, 0(r20)
|
|
/* 80292114 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80292118 41 82 00 18 */ beq lbl_80292130
|
|
/* 8029211C 88 03 00 E1 */ lbz r0, 0xe1(r3)
|
|
/* 80292120 7C 00 F0 50 */ subf r0, r0, r30
|
|
/* 80292124 B0 03 00 C8 */ sth r0, 0xc8(r3)
|
|
/* 80292128 B3 03 00 CA */ sth r24, 0xca(r3)
|
|
/* 8029212C 93 E3 00 14 */ stw r31, 0x14(r3)
|
|
lbl_80292130:
|
|
/* 80292130 28 1C 00 00 */ cmplwi r28, 0
|
|
/* 80292134 41 82 00 1C */ beq lbl_80292150
|
|
/* 80292138 80 74 00 00 */ lwz r3, 0(r20)
|
|
/* 8029213C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 80292140 41 82 00 10 */ beq lbl_80292150
|
|
/* 80292144 7F A4 EB 78 */ mr r4, r29
|
|
/* 80292148 7F 65 DB 78 */ mr r5, r27
|
|
/* 8029214C 48 00 8B 89 */ bl setKeySweepTarget__10JASChannelFlUl
|
|
lbl_80292150:
|
|
/* 80292150 3B 5A 00 01 */ addi r26, r26, 1
|
|
/* 80292154 3A B5 00 04 */ addi r21, r21, 4
|
|
lbl_80292158:
|
|
/* 80292158 80 16 01 D0 */ lwz r0, 0x1d0(r22)
|
|
/* 8029215C 7C 1A 00 40 */ cmplw r26, r0
|
|
/* 80292160 41 80 FF 54 */ blt lbl_802920B4
|
|
/* 80292164 88 16 02 16 */ lbz r0, 0x216(r22)
|
|
/* 80292168 53 20 17 38 */ rlwimi r0, r25, 2, 0x1c, 0x1c
|
|
/* 8029216C 98 16 02 16 */ stb r0, 0x216(r22)
|
|
/* 80292170 9A F6 02 2B */ stb r23, 0x22b(r22)
|
|
/* 80292174 38 60 00 01 */ li r3, 1
|
|
/* 80292178 E3 E1 00 48 */ psq_l f31, 72(r1), 0, 0 /* qr0 */
|
|
/* 8029217C CB E1 00 40 */ lfd f31, 0x40(r1)
|
|
/* 80292180 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 80292184 48 0D 00 81 */ bl _restgpr_20
|
|
/* 80292188 80 01 00 54 */ lwz r0, 0x54(r1)
|
|
/* 8029218C 7C 08 03 A6 */ mtlr r0
|
|
/* 80292190 38 21 00 50 */ addi r1, r1, 0x50
|
|
/* 80292194 4E 80 00 20 */ blr
|