mirror of
https://github.com/zeldaret/tp
synced 2026-06-26 02:14:43 -04:00
a072e71c33
* 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>
26 lines
1.2 KiB
ArmAsm
26 lines
1.2 KiB
ArmAsm
/* 802C58AC 002C27EC 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802C58B0 002C27F0 7C 08 02 A6 */ mflr r0
|
|
/* 802C58B4 002C27F4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802C58B8 002C27F8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802C58BC 002C27FC 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 802C58C0 002C2800 7C 7E 1B 79 */ or. r30, r3, r3
|
|
/* 802C58C4 002C2804 7C 9F 23 78 */ mr r31, r4
|
|
/* 802C58C8 002C2808 41 82 00 24 */ beq lbl_802C58EC
|
|
/* 802C58CC 002C280C 34 1E 00 04 */ addic. r0, r30, 4
|
|
/* 802C58D0 002C2810 41 82 00 0C */ beq lbl_802C58DC
|
|
/* 802C58D4 002C2814 38 7E 00 04 */ addi r3, r30, 4
|
|
/* 802C58D8 002C2818 4B FD C8 AD */ bl releaseSound__14JAISoundHandleFv
|
|
lbl_802C58DC:
|
|
/* 802C58DC 002C281C 7F E0 07 35 */ extsh. r0, r31
|
|
/* 802C58E0 002C2820 40 81 00 0C */ ble lbl_802C58EC
|
|
/* 802C58E4 002C2824 7F C3 F3 78 */ mr r3, r30
|
|
/* 802C58E8 002C2828 48 00 94 55 */ bl __dl__FPv
|
|
lbl_802C58EC:
|
|
/* 802C58EC 002C282C 7F C3 F3 78 */ mr r3, r30
|
|
/* 802C58F0 002C2830 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802C58F4 002C2834 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 802C58F8 002C2838 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802C58FC 002C283C 7C 08 03 A6 */ mtlr r0
|
|
/* 802C5900 002C2840 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802C5904 002C2844 4E 80 00 20 */ blr
|