Files
tp/include/Z2AudioLib/Z2LinkMgr/asm/func_802C5234.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

20 lines
1.0 KiB
ArmAsm

/* 802C5234 002C2174 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C5238 002C2178 7C 08 02 A6 */ mflr r0
/* 802C523C 002C217C 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C5240 002C2180 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C5244 002C2184 93 C1 00 08 */ stw r30, 8(r1)
/* 802C5248 002C2188 7C 7E 1B 78 */ mr r30, r3
/* 802C524C 002C218C 7C 9F 23 78 */ mr r31, r4
/* 802C5250 002C2190 38 80 00 00 */ li r4, 0
/* 802C5254 002C2194 4B FE 59 41 */ bl __ct__14Z2SoundStarterFb
/* 802C5258 002C2198 3C 60 80 3D */ lis r3, lbl_803CB910@ha
/* 802C525C 002C219C 38 03 B9 10 */ addi r0, r3, lbl_803CB910@l
/* 802C5260 002C21A0 90 1E 00 00 */ stw r0, 0(r30)
/* 802C5264 002C21A4 93 FE 00 04 */ stw r31, 4(r30)
/* 802C5268 002C21A8 7F C3 F3 78 */ mr r3, r30
/* 802C526C 002C21AC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C5270 002C21B0 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C5274 002C21B4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C5278 002C21B8 7C 08 03 A6 */ mtlr r0
/* 802C527C 002C21BC 38 21 00 10 */ addi r1, r1, 0x10
/* 802C5280 002C21C0 4E 80 00 20 */ blr