Files
dusklight/include/Z2AudioLib/Z2SeqMgr/asm/func_802B4128.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

17 lines
822 B
ArmAsm

/* 802B4128 002B1068 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802B412C 002B106C 7C 08 02 A6 */ mflr r0
/* 802B4130 002B1070 90 01 00 14 */ stw r0, 0x14(r1)
/* 802B4134 002B1074 80 6D 85 C8 */ lwz r3, lbl_80450B48-_SDA_BASE_(r13)
/* 802B4138 002B1078 28 03 00 00 */ cmplwi r3, 0
/* 802B413C 002B107C 41 82 00 18 */ beq lbl_802B4154
/* 802B4140 002B1080 38 80 00 00 */ li r4, 0
/* 802B4144 002B1084 38 A0 02 BC */ li r5, 0x2bc
/* 802B4148 002B1088 38 C0 04 4C */ li r6, 0x44c
/* 802B414C 002B108C 38 E0 05 DC */ li r7, 0x5dc
/* 802B4150 002B1090 48 00 B8 31 */ bl setForceBattleArea__13Z2SoundObjMgrFbUsUsUs
lbl_802B4154:
/* 802B4154 002B1094 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802B4158 002B1098 7C 08 03 A6 */ mtlr r0
/* 802B415C 002B109C 38 21 00 10 */ addi r1, r1, 0x10
/* 802B4160 002B10A0 4E 80 00 20 */ blr