Files
tp/include/Z2AudioLib/Z2Creature/asm/func_802C0C10.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

23 lines
1.2 KiB
ArmAsm

/* 802C0C10 002BDB50 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C0C14 002BDB54 7C 08 02 A6 */ mflr r0
/* 802C0C18 002BDB58 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C0C1C 002BDB5C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C0C20 002BDB60 7C 7F 1B 78 */ mr r31, r3
/* 802C0C24 002BDB64 4B FF F7 A5 */ bl __ct__10Z2CreatureFv
/* 802C0C28 002BDB68 38 7F 00 90 */ addi r3, r31, 0x90
/* 802C0C2C 002BDB6C 7F E4 FB 78 */ mr r4, r31
/* 802C0C30 002BDB70 48 01 B1 CD */ bl __ct__10JSUPtrLinkFPv
/* 802C0C34 002BDB74 3C 60 80 3D */ lis r3, lbl_803CB890@ha
/* 802C0C38 002BDB78 38 03 B8 90 */ addi r0, r3, lbl_803CB890@l
/* 802C0C3C 002BDB7C 90 1F 00 00 */ stw r0, 0(r31)
/* 802C0C40 002BDB80 38 00 FF FF */ li r0, -1
/* 802C0C44 002BDB84 98 1F 00 A0 */ stb r0, 0xa0(r31)
/* 802C0C48 002BDB88 98 1F 00 A1 */ stb r0, 0xa1(r31)
/* 802C0C4C 002BDB8C 38 00 00 00 */ li r0, 0
/* 802C0C50 002BDB90 98 1F 00 A2 */ stb r0, 0xa2(r31)
/* 802C0C54 002BDB94 7F E3 FB 78 */ mr r3, r31
/* 802C0C58 002BDB98 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C0C5C 002BDB9C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C0C60 002BDBA0 7C 08 03 A6 */ mtlr r0
/* 802C0C64 002BDBA4 38 21 00 10 */ addi r1, r1, 0x10
/* 802C0C68 002BDBA8 4E 80 00 20 */ blr