Files
oot/asm/non_matchings/code/code_800E11F0/func_800E60C4.s
T
zelda2774 c033b4b28e audio_seqplayer, the easy half (#369)
* func_800E9340

* Audio_SequenceChannelDisable

* Audio_SeqChannelLayerFree

* Audio_SeqChannelLayerDisable

* Rename functions

* Audio_SeqChannelSetLayer

* Move gSequenceChannelNone into gAudioContext

* Audio_SequenceChannelInit

* Name functions

* Audio_M64ReadU8

* Audio_M64ReadS16

* Audio_M64ReadCompressedU16

* Audio_AudioListPopBack

* Audio_AudioListPushBack

* Audio_InitLayerFreelist

* Audio_SequencePlayerDisableAsFinished

* incomplete Audio_SequencePlayerDisable

* Audio_SequenceChannelEnable

* Audio_SequencePlayerDisableChannels

* Audio_SequencePlayerInitChannels

* struct fixes

* func_800E9ED8

* Name more functions

* Audio_SequenceChannelSetVolume

* Audio_SetInstrument

* Audio_GetInstrument

* confirm structs

* Audio_ResetSequencePlayer

* Audio_InitSequencePlayer

* Audio_InitSequencePlayers

* func_800EC734

* Find the right Audio_SoundAlloc

* Prune functions.h

* Move global vars into gAudioContext

* func_800EAEF4

* Audio_SeqChannelLayerProcessScript

* Audio_HandleScriptFlowControl

* func_800E9F64

* func_800EA0C0

* func_800EA440

* func_800EAAE0

* unbreak audio_effects

* Audio_ProcessSequence

* Audio_ProcessSequences

* Some audio_heap struct work and function naming

* Audio_SequencePlayerDisable

* ? instead of ! in z64audio.h

* Revert makefile change

* Formatting, player -> seqPlayerIndex

* Index -> Idx

Co-authored-by: zelda2774 <zelda2774@invalid>
2020-09-01 17:23:30 -04:00

13 lines
566 B
ArmAsm

glabel func_800E60C4
/* B5D264 800E60C4 00047080 */ sll $t6, $a0, 2
/* B5D268 800E60C8 01C47023 */ subu $t6, $t6, $a0
/* B5D26C 800E60CC 000E7080 */ sll $t6, $t6, 2
/* B5D270 800E60D0 01C47023 */ subu $t6, $t6, $a0
/* B5D274 800E60D4 000E7140 */ sll $t6, $t6, 5
/* B5D278 800E60D8 01C57821 */ addu $t7, $t6, $a1
/* B5D27C 800E60DC 3C028017 */ lui $v0, %hi(gAudioContext+0x3688)
/* B5D280 800E60E0 004F1021 */ addu $v0, $v0, $t7
/* B5D284 800E60E4 03E00008 */ jr $ra
/* B5D288 800E60E8 80422808 */ lb $v0, %lo(gAudioContext+0x3688)($v0)