Files
tp/include/Z2AudioLib/Z2SoundObject/asm/func_802BE65C.s
T
Erin Moon a072e71c33 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>
2021-01-21 23:16:51 -05:00

24 lines
1.2 KiB
ArmAsm

/* 802BE65C 002BB59C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802BE660 002BB5A0 7C 08 02 A6 */ mflr r0
/* 802BE664 002BB5A4 90 01 00 14 */ stw r0, 0x14(r1)
/* 802BE668 002BB5A8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802BE66C 002BB5AC 7C 7F 1B 78 */ mr r31, r3
/* 802BE670 002BB5B0 4B FF F9 41 */ bl init__14Z2SoundObjBaseFP3VecUc
/* 802BE674 002BB5B4 80 7F 00 18 */ lwz r3, 0x18(r31)
/* 802BE678 002BB5B8 28 03 00 00 */ cmplwi r3, 0
/* 802BE67C 002BB5BC 41 82 00 28 */ beq lbl_802BE6A4
/* 802BE680 002BB5C0 E0 23 00 00 */ psq_l f1, 0(r3), 0, 0
/* 802BE684 002BB5C4 C0 03 00 08 */ lfs f0, 8(r3)
/* 802BE688 002BB5C8 F0 3F 00 20 */ psq_st f1, 32(r31), 0, 0
/* 802BE68C 002BB5CC D0 1F 00 28 */ stfs f0, 0x28(r31)
/* 802BE690 002BB5D0 80 7F 00 18 */ lwz r3, 0x18(r31)
/* 802BE694 002BB5D4 E0 23 00 00 */ psq_l f1, 0(r3), 0, 0
/* 802BE698 002BB5D8 C0 03 00 08 */ lfs f0, 8(r3)
/* 802BE69C 002BB5DC F0 3F 00 2C */ psq_st f1, 44(r31), 0, 0
/* 802BE6A0 002BB5E0 D0 1F 00 34 */ stfs f0, 0x34(r31)
lbl_802BE6A4:
/* 802BE6A4 002BB5E4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802BE6A8 002BB5E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802BE6AC 002BB5EC 7C 08 03 A6 */ mtlr r0
/* 802BE6B0 002BB5F0 38 21 00 10 */ addi r1, r1, 0x10
/* 802BE6B4 002BB5F4 4E 80 00 20 */ blr