Z2AudioLib misc decomp (#75)

* Z2SoundHandles: decomp portions

* start decomping: Z2SpeechMgr2, Z2SoundHandles

* Z2SoundHandles::stopAllSounds(): ok

* Z2SoundHandles::getHandleUserData(): ok

* Z2SoundInfo: header

* Z2SoundObjBase::framework(): ok

* Z2SoundObjBase::Z2SoundObjBase(), Z2SoundObjBase::init(): ok

* Z2SoundObjBase::~Z2SoundObjBase(): ok

* Z2SoundObjBase::stopOK(): ok

* Z2SoundObjBase::stopOK, incomplete Z2SoundObjBase::dispose()

* clang-format

* Z2SoundObjBase::dispose(): ok

* JAISound::operator->(): null assert

* JAIAudience: stub

* Z2SoundObject::{init, deleteObject, isAlive}: ok

* Z2SeMgr: elaborate struct (and decl JAISoundHandles to support this)

* start subclassing Z2SoundObjBase; nonmatching Z2SoundObjSimple::init()

* Z2SeMGr::{incrCrowdSize, decrCrowdSize}: ok

* Z2MultiSeMgr::resetMultiSePos(): ok

* Z2WolfHowlMgr.h: decls

* Z2SoundStarter: move to decls and fix postprocess.py symbol pass

* Z2AudioArcLoader: decls

* Z2SoundObjMgr: ok some fns
- deleteEnemyAll()
- isTwilightBattle()
- setGhostEnemyState()

additionally elaborates parts of the Z2Creature hierarchy

* delete unused .s files and add tool to find them (only runs on linux)

* run clang-format

* postprocess.py: comment out debugging

* add python step to ok-check workflow

* address review comments

* address review comments

Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>

Co-authored-by: Pheenoh <pheenoh@gmail.com>
Co-authored-by: notyourav <65437533+notyourav@users.noreply.github.com>
This commit is contained in:
Erin Moon
2021-01-21 22:16:51 -06:00
committed by GitHub
parent afb426c60c
commit a072e71c33
595 changed files with 1228 additions and 9009 deletions
@@ -30,7 +30,7 @@ lbl_802A9F50:
/* 802A9F54 002A6E94 90 01 00 20 */ stw r0, 0x20(r1)
/* 802A9F58 002A6E98 80 6D 85 CC */ lwz r3, lbl_80450B4C-_SDA_BASE_(r13)
/* 802A9F5C 002A6E9C 38 81 00 20 */ addi r4, r1, 0x20
/* 802A9F60 002A6EA0 48 01 1B 69 */ bl Z2SoundInfo_NS_getSwBit
/* 802A9F60 002A6EA0 48 01 1B 69 */ bl getSwBit__11Z2SoundInfoCF10JAISoundID
/* 802A9F64 002A6EA4 54 60 07 39 */ rlwinm. r0, r3, 0, 0x1c, 0x1c
/* 802A9F68 002A6EA8 41 82 00 4C */ beq lbl_802A9FB4
/* 802A9F6C 002A6EAC 80 6D 86 04 */ lwz r3, lbl_80450B84-_SDA_BASE_(r13)