mirror of
https://github.com/zeldaret/tp
synced 2026-09-13 04:46:21 -04:00
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:
@@ -902,7 +902,7 @@ Z2SoundObjSimple_NS_dtor:
|
||||
/* 8015BA60 001589A0 38 04 AD 10 */ addi r0, r4, lbl_803CAD10@l
|
||||
/* 8015BA64 001589A4 90 1E 00 10 */ stw r0, 0x10(r30)
|
||||
/* 8015BA68 001589A8 38 80 00 00 */ li r4, 0
|
||||
/* 8015BA6C 001589AC 48 16 24 DD */ bl Z2SoundObjBase_NS_dtor
|
||||
/* 8015BA6C 001589AC 48 16 24 DD */ bl __dt__14Z2SoundObjBaseFv
|
||||
/* 8015BA70 001589B0 7F E0 07 35 */ extsh. r0, r31
|
||||
/* 8015BA74 001589B4 40 81 00 0C */ ble lbl_8015BA80
|
||||
/* 8015BA78 001589B8 7F C3 F3 78 */ mr r3, r30
|
||||
@@ -1153,7 +1153,7 @@ daItem_c_NS__daItem_delete:
|
||||
/* 8015BDF4 00158D34 93 E1 00 0C */ stw r31, 0xc(r1)
|
||||
/* 8015BDF8 00158D38 7C 7F 1B 78 */ mr r31, r3
|
||||
/* 8015BDFC 00158D3C 38 7F 09 78 */ addi r3, r31, 0x978
|
||||
/* 8015BE00 00158D40 48 16 21 F9 */ bl Z2SoundObjBase_NS_deleteObject
|
||||
/* 8015BE00 00158D40 48 16 21 F9 */ bl deleteObject__14Z2SoundObjBaseFv
|
||||
/* 8015BE04 00158D44 88 1F 09 2A */ lbz r0, 0x92a(r31)
|
||||
/* 8015BE08 00158D48 28 00 00 06 */ cmplwi r0, 6
|
||||
/* 8015BE0C 00158D4C 41 82 00 0C */ beq lbl_8015BE18
|
||||
|
||||
Reference in New Issue
Block a user