River_Sound OK and Documented + River_Sound Related z_actor/Audio Functions (#661)

* First pass of `func_800BCCDC`

* river_sound OK (copy progress from audio WIP)

* Copy progress from `code_8019AF00.c` (still waiting for data to be imported)

* More docs

* feedback

* Add in `code_8019AF00.c` functions

* format

* params

* Minor cleanup

* Small fix

* one more

* Better names

* Add comment, cleanup Idx

* Fix bss

* Fix BSS
This commit is contained in:
engineer124
2022-03-28 01:42:19 +11:00
committed by GitHub
parent 9e230005b0
commit f1d1173558
14 changed files with 553 additions and 150 deletions
+16 -16
View File
@@ -381,7 +381,7 @@ asm/non_matchings/code/z_actor/Actor_SpawnShieldParticlesMetal.s,Actor_SpawnShie
asm/non_matchings/code/z_actor/Actor_SetColorFilter.s,Actor_SetColorFilter,0x800BCB70,0x21
asm/non_matchings/code/z_actor/func_800BCBF4.s,func_800BCBF4,0x800BCBF4,0x1D
asm/non_matchings/code/z_actor/func_800BCC68.s,func_800BCC68,0x800BCC68,0x1D
asm/non_matchings/code/z_actor/func_800BCCDC.s,func_800BCCDC,0x800BCCDC,0x176
asm/non_matchings/code/z_actor/Actor_GetClosestPosOnPath.s,Actor_GetClosestPosOnPath,0x800BCCDC,0x176
asm/non_matchings/code/z_actor/func_800BD2B4.s,func_800BD2B4,0x800BD2B4,0x34
asm/non_matchings/code/z_actor/func_800BD384.s,func_800BD384,0x800BD384,0xCD
asm/non_matchings/code/z_actor/func_800BD6B8.s,func_800BD6B8,0x800BD6B8,0xB
@@ -3205,7 +3205,7 @@ asm/non_matchings/code/code_80192BE0/func_80193774.s,func_80193774,0x80193774,0x
asm/non_matchings/code/code_80192BE0/func_8019380C.s,func_8019380C,0x8019380C,0x13
asm/non_matchings/code/code_80192BE0/func_80193858.s,func_80193858,0x80193858,0x9
asm/non_matchings/code/code_80192BE0/func_8019387C.s,func_8019387C,0x8019387C,0x9
asm/non_matchings/code/code_80192BE0/func_801938A0.s,func_801938A0,0x801938A0,0xC
asm/non_matchings/code/code_80192BE0/Audio_QueueCmdS8.s,Audio_QueueCmdS8,0x801938A0,0xC
asm/non_matchings/code/code_80192BE0/func_801938D0.s,func_801938D0,0x801938D0,0xC
asm/non_matchings/code/code_80192BE0/func_80193900.s,func_80193900,0x80193900,0x24
asm/non_matchings/code/code_80192BE0/func_80193990.s,func_80193990,0x80193990,0x6
@@ -3413,18 +3413,18 @@ asm/non_matchings/code/code_8019AF00/func_8019FE1C.s,func_8019FE1C,0x8019FE1C,0x
asm/non_matchings/code/code_8019AF00/func_8019FE74.s,func_8019FE74,0x8019FE74,0x1A
asm/non_matchings/code/code_8019AF00/func_8019FEDC.s,func_8019FEDC,0x8019FEDC,0x17
asm/non_matchings/code/code_8019AF00/func_8019FF38.s,func_8019FF38,0x8019FF38,0x19
asm/non_matchings/code/code_8019AF00/func_8019FF9C.s,func_8019FF9C,0x8019FF9C,0x2B
asm/non_matchings/code/code_8019AF00/func_801A0048.s,func_801A0048,0x801A0048,0x29
asm/non_matchings/code/code_8019AF00/func_801A00EC.s,func_801A00EC,0x801A00EC,0xE
asm/non_matchings/code/code_8019AF00/Audio_PlaySfxForRiver.s,Audio_PlaySfxForRiver,0x8019FF9C,0x2B
asm/non_matchings/code/code_8019AF00/Audio_PlaySfxForWaterfall.s,Audio_PlaySfxForWaterfall,0x801A0048,0x29
asm/non_matchings/code/code_8019AF00/Audio_StepFreqLerp.s,Audio_StepFreqLerp,0x801A00EC,0xE
asm/non_matchings/code/code_8019AF00/func_801A0124.s,func_801A0124,0x801A0124,0x18
asm/non_matchings/code/code_8019AF00/func_801A0184.s,func_801A0184,0x801A0184,0x10
asm/non_matchings/code/code_8019AF00/func_801A01C4.s,func_801A01C4,0x801A01C4,0x10
asm/non_matchings/code/code_8019AF00/func_801A0204.s,func_801A0204,0x801A0204,0xD
asm/non_matchings/code/code_8019AF00/func_801A0238.s,func_801A0238,0x801A0238,0xD
asm/non_matchings/code/code_8019AF00/func_801A026C.s,func_801A026C,0x801A026C,0x2B
asm/non_matchings/code/code_8019AF00/func_801A0318.s,func_801A0318,0x801A0318,0x4E
asm/non_matchings/code/code_8019AF00/func_801A0450.s,func_801A0450,0x801A0450,0x7
asm/non_matchings/code/code_8019AF00/func_801A046C.s,func_801A046C,0x801A046C,0x3A
asm/non_matchings/code/code_8019AF00/Audio_SetGanonsTowerBgmVolumeLevel.s,Audio_SetGanonsTowerBgmVolumeLevel,0x801A026C,0x2B
asm/non_matchings/code/code_8019AF00/Audio_SetGanonsTowerBgmVolume.s,Audio_SetGanonsTowerBgmVolume,0x801A0318,0x4E
asm/non_matchings/code/code_8019AF00/Audio_LowerMainBgmVolume.s,Audio_LowerMainBgmVolume,0x801A0450,0x7
asm/non_matchings/code/code_8019AF00/Audio_UpdateRiverSoundVolumes.s,Audio_UpdateRiverSoundVolumes,0x801A046C,0x3A
asm/non_matchings/code/code_8019AF00/func_801A0554.s,func_801A0554,0x801A0554,0x24
asm/non_matchings/code/code_8019AF00/func_801A05E4.s,func_801A05E4,0x801A05E4,0x3
asm/non_matchings/code/code_8019AF00/func_801A05F0.s,func_801A05F0,0x801A05F0,0x19
@@ -3432,9 +3432,9 @@ asm/non_matchings/code/code_8019AF00/func_801A0654.s,func_801A0654,0x801A0654,0x
asm/non_matchings/code/code_8019AF00/func_801A0810.s,func_801A0810,0x801A0810,0x16
asm/non_matchings/code/code_8019AF00/func_801A0868.s,func_801A0868,0x801A0868,0x5B
asm/non_matchings/code/code_8019AF00/func_801A09D4.s,func_801A09D4,0x801A09D4,0xA7
asm/non_matchings/code/code_8019AF00/func_801A0C70.s,func_801A0C70,0x801A0C70,0x8
asm/non_matchings/code/code_8019AF00/func_801A0C90.s,func_801A0C90,0x801A0C90,0x8
asm/non_matchings/code/code_8019AF00/func_801A0CB0.s,func_801A0CB0,0x801A0CB0,0x65
asm/non_matchings/code/code_8019AF00/Audio_ClearSariaBgm.s,Audio_ClearSariaBgm,0x801A0C70,0x8
asm/non_matchings/code/code_8019AF00/Audio_ClearSariaBgmAtPos.s,Audio_ClearSariaBgmAtPos,0x801A0C90,0x8
asm/non_matchings/code/code_8019AF00/Audio_SplitBgmChannels.s,Audio_SplitBgmChannels,0x801A0CB0,0x65
asm/non_matchings/code/code_8019AF00/func_801A0E44.s,func_801A0E44,0x801A0E44,0x113
asm/non_matchings/code/code_8019AF00/func_801A1290.s,func_801A1290,0x801A1290,0x2E
asm/non_matchings/code/code_8019AF00/func_801A1348.s,func_801A1348,0x801A1348,0x1D
@@ -3451,8 +3451,8 @@ asm/non_matchings/code/code_8019AF00/func_801A1F00.s,func_801A1F00,0x801A1F00,0x
asm/non_matchings/code/code_8019AF00/func_801A1F88.s,func_801A1F88,0x801A1F88,0xB
asm/non_matchings/code/code_8019AF00/func_801A1FB4.s,func_801A1FB4,0x801A1FB4,0x37
asm/non_matchings/code/code_8019AF00/func_801A2090.s,func_801A2090,0x801A2090,0x5B
asm/non_matchings/code/code_8019AF00/func_801A21FC.s,func_801A21FC,0x801A21FC,0x99
asm/non_matchings/code/code_8019AF00/func_801A2460.s,func_801A2460,0x801A2460,0x3
asm/non_matchings/code/code_8019AF00/Audio_PlaySariaBgm.s,Audio_PlaySariaBgm,0x801A21FC,0x99
asm/non_matchings/code/code_8019AF00/Audio_ClearSariaBgm2.s,Audio_ClearSariaBgm2,0x801A2460,0x3
asm/non_matchings/code/code_8019AF00/func_801A246C.s,func_801A246C,0x801A246C,0x36
asm/non_matchings/code/code_8019AF00/func_801A2544.s,func_801A2544,0x801A2544,0xE
asm/non_matchings/code/code_8019AF00/func_801A257C.s,func_801A257C,0x801A257C,0x1A
@@ -3566,7 +3566,7 @@ asm/non_matchings/code/code_801A5BD0/func_801A7720.s,func_801A7720,0x801A7720,0x
asm/non_matchings/code/code_801A5BD0/func_801A7794.s,func_801A7794,0x801A7794,0x25
asm/non_matchings/code/code_801A5BD0/func_801A7828.s,func_801A7828,0x801A7828,0x15
asm/non_matchings/code/code_801A5BD0/func_801A787C.s,func_801A787C,0x801A787C,0x1A
asm/non_matchings/code/code_801A5BD0/func_801A78E4.s,func_801A78E4,0x801A78E4,0x1A
asm/non_matchings/code/code_801A5BD0/Audio_IsSfxPlaying.s,Audio_IsSfxPlaying,0x801A78E4,0x1A
asm/non_matchings/code/code_801A5BD0/func_801A794C.s,func_801A794C,0x801A794C,0x71
asm/non_matchings/code/code_801A7B10/func_801A7B10.s,func_801A7B10,0x801A7B10,0x7D
asm/non_matchings/code/code_801A7B10/func_801A7D04.s,func_801A7D04,0x801A7D04,0x20
@@ -3577,7 +3577,7 @@ asm/non_matchings/code/code_801A7B10/func_801A8A50.s,func_801A8A50,0x801A8A50,0x
asm/non_matchings/code/code_801A7B10/func_801A8ABC.s,func_801A8ABC,0x801A8ABC,0x16
asm/non_matchings/code/code_801A7B10/func_801A8B14.s,func_801A8B14,0x801A8B14,0x6
asm/non_matchings/code/code_801A7B10/func_801A8B2C.s,func_801A8B2C,0x801A8B2C,0x29
asm/non_matchings/code/code_801A7B10/func_801A8BD0.s,func_801A8BD0,0x801A8BD0,0x63
asm/non_matchings/code/code_801A7B10/Audio_SetVolumeScale.s,Audio_SetVolumeScale,0x801A8BD0,0x63
asm/non_matchings/code/code_801A7B10/func_801A8D5C.s,func_801A8D5C,0x801A8D5C,0x283
asm/non_matchings/code/code_801A7B10/func_801A9768.s,func_801A9768,0x801A9768,0x31
asm/non_matchings/code/code_801A7B10/func_801A982C.s,func_801A982C,0x801A982C,0x63
1 asm/non_matchings/code/z_en_a_keep/EnAObj_Init.s EnAObj_Init 0x800A5AC0 0x2B
381 asm/non_matchings/code/z_actor/Actor_SetColorFilter.s Actor_SetColorFilter 0x800BCB70 0x21
382 asm/non_matchings/code/z_actor/func_800BCBF4.s func_800BCBF4 0x800BCBF4 0x1D
383 asm/non_matchings/code/z_actor/func_800BCC68.s func_800BCC68 0x800BCC68 0x1D
384 asm/non_matchings/code/z_actor/func_800BCCDC.s asm/non_matchings/code/z_actor/Actor_GetClosestPosOnPath.s func_800BCCDC Actor_GetClosestPosOnPath 0x800BCCDC 0x176
385 asm/non_matchings/code/z_actor/func_800BD2B4.s func_800BD2B4 0x800BD2B4 0x34
386 asm/non_matchings/code/z_actor/func_800BD384.s func_800BD384 0x800BD384 0xCD
387 asm/non_matchings/code/z_actor/func_800BD6B8.s func_800BD6B8 0x800BD6B8 0xB
3205 asm/non_matchings/code/code_80192BE0/func_8019380C.s func_8019380C 0x8019380C 0x13
3206 asm/non_matchings/code/code_80192BE0/func_80193858.s func_80193858 0x80193858 0x9
3207 asm/non_matchings/code/code_80192BE0/func_8019387C.s func_8019387C 0x8019387C 0x9
3208 asm/non_matchings/code/code_80192BE0/func_801938A0.s asm/non_matchings/code/code_80192BE0/Audio_QueueCmdS8.s func_801938A0 Audio_QueueCmdS8 0x801938A0 0xC
3209 asm/non_matchings/code/code_80192BE0/func_801938D0.s func_801938D0 0x801938D0 0xC
3210 asm/non_matchings/code/code_80192BE0/func_80193900.s func_80193900 0x80193900 0x24
3211 asm/non_matchings/code/code_80192BE0/func_80193990.s func_80193990 0x80193990 0x6
3413 asm/non_matchings/code/code_8019AF00/func_8019FE74.s func_8019FE74 0x8019FE74 0x1A
3414 asm/non_matchings/code/code_8019AF00/func_8019FEDC.s func_8019FEDC 0x8019FEDC 0x17
3415 asm/non_matchings/code/code_8019AF00/func_8019FF38.s func_8019FF38 0x8019FF38 0x19
3416 asm/non_matchings/code/code_8019AF00/func_8019FF9C.s asm/non_matchings/code/code_8019AF00/Audio_PlaySfxForRiver.s func_8019FF9C Audio_PlaySfxForRiver 0x8019FF9C 0x2B
3417 asm/non_matchings/code/code_8019AF00/func_801A0048.s asm/non_matchings/code/code_8019AF00/Audio_PlaySfxForWaterfall.s func_801A0048 Audio_PlaySfxForWaterfall 0x801A0048 0x29
3418 asm/non_matchings/code/code_8019AF00/func_801A00EC.s asm/non_matchings/code/code_8019AF00/Audio_StepFreqLerp.s func_801A00EC Audio_StepFreqLerp 0x801A00EC 0xE
3419 asm/non_matchings/code/code_8019AF00/func_801A0124.s func_801A0124 0x801A0124 0x18
3420 asm/non_matchings/code/code_8019AF00/func_801A0184.s func_801A0184 0x801A0184 0x10
3421 asm/non_matchings/code/code_8019AF00/func_801A01C4.s func_801A01C4 0x801A01C4 0x10
3422 asm/non_matchings/code/code_8019AF00/func_801A0204.s func_801A0204 0x801A0204 0xD
3423 asm/non_matchings/code/code_8019AF00/func_801A0238.s func_801A0238 0x801A0238 0xD
3424 asm/non_matchings/code/code_8019AF00/func_801A026C.s asm/non_matchings/code/code_8019AF00/Audio_SetGanonsTowerBgmVolumeLevel.s func_801A026C Audio_SetGanonsTowerBgmVolumeLevel 0x801A026C 0x2B
3425 asm/non_matchings/code/code_8019AF00/func_801A0318.s asm/non_matchings/code/code_8019AF00/Audio_SetGanonsTowerBgmVolume.s func_801A0318 Audio_SetGanonsTowerBgmVolume 0x801A0318 0x4E
3426 asm/non_matchings/code/code_8019AF00/func_801A0450.s asm/non_matchings/code/code_8019AF00/Audio_LowerMainBgmVolume.s func_801A0450 Audio_LowerMainBgmVolume 0x801A0450 0x7
3427 asm/non_matchings/code/code_8019AF00/func_801A046C.s asm/non_matchings/code/code_8019AF00/Audio_UpdateRiverSoundVolumes.s func_801A046C Audio_UpdateRiverSoundVolumes 0x801A046C 0x3A
3428 asm/non_matchings/code/code_8019AF00/func_801A0554.s func_801A0554 0x801A0554 0x24
3429 asm/non_matchings/code/code_8019AF00/func_801A05E4.s func_801A05E4 0x801A05E4 0x3
3430 asm/non_matchings/code/code_8019AF00/func_801A05F0.s func_801A05F0 0x801A05F0 0x19
3432 asm/non_matchings/code/code_8019AF00/func_801A0810.s func_801A0810 0x801A0810 0x16
3433 asm/non_matchings/code/code_8019AF00/func_801A0868.s func_801A0868 0x801A0868 0x5B
3434 asm/non_matchings/code/code_8019AF00/func_801A09D4.s func_801A09D4 0x801A09D4 0xA7
3435 asm/non_matchings/code/code_8019AF00/func_801A0C70.s asm/non_matchings/code/code_8019AF00/Audio_ClearSariaBgm.s func_801A0C70 Audio_ClearSariaBgm 0x801A0C70 0x8
3436 asm/non_matchings/code/code_8019AF00/func_801A0C90.s asm/non_matchings/code/code_8019AF00/Audio_ClearSariaBgmAtPos.s func_801A0C90 Audio_ClearSariaBgmAtPos 0x801A0C90 0x8
3437 asm/non_matchings/code/code_8019AF00/func_801A0CB0.s asm/non_matchings/code/code_8019AF00/Audio_SplitBgmChannels.s func_801A0CB0 Audio_SplitBgmChannels 0x801A0CB0 0x65
3438 asm/non_matchings/code/code_8019AF00/func_801A0E44.s func_801A0E44 0x801A0E44 0x113
3439 asm/non_matchings/code/code_8019AF00/func_801A1290.s func_801A1290 0x801A1290 0x2E
3440 asm/non_matchings/code/code_8019AF00/func_801A1348.s func_801A1348 0x801A1348 0x1D
3451 asm/non_matchings/code/code_8019AF00/func_801A1F88.s func_801A1F88 0x801A1F88 0xB
3452 asm/non_matchings/code/code_8019AF00/func_801A1FB4.s func_801A1FB4 0x801A1FB4 0x37
3453 asm/non_matchings/code/code_8019AF00/func_801A2090.s func_801A2090 0x801A2090 0x5B
3454 asm/non_matchings/code/code_8019AF00/func_801A21FC.s asm/non_matchings/code/code_8019AF00/Audio_PlaySariaBgm.s func_801A21FC Audio_PlaySariaBgm 0x801A21FC 0x99
3455 asm/non_matchings/code/code_8019AF00/func_801A2460.s asm/non_matchings/code/code_8019AF00/Audio_ClearSariaBgm2.s func_801A2460 Audio_ClearSariaBgm2 0x801A2460 0x3
3456 asm/non_matchings/code/code_8019AF00/func_801A246C.s func_801A246C 0x801A246C 0x36
3457 asm/non_matchings/code/code_8019AF00/func_801A2544.s func_801A2544 0x801A2544 0xE
3458 asm/non_matchings/code/code_8019AF00/func_801A257C.s func_801A257C 0x801A257C 0x1A
3566 asm/non_matchings/code/code_801A5BD0/func_801A7794.s func_801A7794 0x801A7794 0x25
3567 asm/non_matchings/code/code_801A5BD0/func_801A7828.s func_801A7828 0x801A7828 0x15
3568 asm/non_matchings/code/code_801A5BD0/func_801A787C.s func_801A787C 0x801A787C 0x1A
3569 asm/non_matchings/code/code_801A5BD0/func_801A78E4.s asm/non_matchings/code/code_801A5BD0/Audio_IsSfxPlaying.s func_801A78E4 Audio_IsSfxPlaying 0x801A78E4 0x1A
3570 asm/non_matchings/code/code_801A5BD0/func_801A794C.s func_801A794C 0x801A794C 0x71
3571 asm/non_matchings/code/code_801A7B10/func_801A7B10.s func_801A7B10 0x801A7B10 0x7D
3572 asm/non_matchings/code/code_801A7B10/func_801A7D04.s func_801A7D04 0x801A7D04 0x20
3577 asm/non_matchings/code/code_801A7B10/func_801A8ABC.s func_801A8ABC 0x801A8ABC 0x16
3578 asm/non_matchings/code/code_801A7B10/func_801A8B14.s func_801A8B14 0x801A8B14 0x6
3579 asm/non_matchings/code/code_801A7B10/func_801A8B2C.s func_801A8B2C 0x801A8B2C 0x29
3580 asm/non_matchings/code/code_801A7B10/func_801A8BD0.s asm/non_matchings/code/code_801A7B10/Audio_SetVolumeScale.s func_801A8BD0 Audio_SetVolumeScale 0x801A8BD0 0x63
3581 asm/non_matchings/code/code_801A7B10/func_801A8D5C.s func_801A8D5C 0x801A8D5C 0x283
3582 asm/non_matchings/code/code_801A7B10/func_801A9768.s func_801A9768 0x801A9768 0x31
3583 asm/non_matchings/code/code_801A7B10/func_801A982C.s func_801A982C 0x801A982C 0x63