mirror of
https://github.com/zeldaret/tp
synced 2026-08-09 10:54:11 -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>
36 lines
1.8 KiB
ArmAsm
36 lines
1.8 KiB
ArmAsm
/* 802CBC60 002C8BA0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 802CBC64 002C8BA4 7C 08 02 A6 */ mflr r0
|
|
/* 802CBC68 002C8BA8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 802CBC6C 002C8BAC 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 802CBC70 002C8BB0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 802CBC74 002C8BB4 93 ED 85 F0 */ stw r31, lbl_80450B70-_SDA_BASE_(r13)
|
|
/* 802CBC78 002C8BB8 38 00 00 00 */ li r0, 0
|
|
/* 802CBC7C 002C8BBC 90 03 00 00 */ stw r0, 0(r3)
|
|
/* 802CBC80 002C8BC0 90 03 00 04 */ stw r0, 4(r3)
|
|
/* 802CBC84 002C8BC4 38 7F 00 08 */ addi r3, r31, 8
|
|
/* 802CBC88 002C8BC8 38 80 00 00 */ li r4, 0
|
|
/* 802CBC8C 002C8BCC 48 06 DE 59 */ bl __ct__Q25JMath13TRandom_fast_FUl
|
|
/* 802CBC90 002C8BD0 38 7F 00 0C */ addi r3, r31, 0xc
|
|
/* 802CBC94 002C8BD4 48 00 13 25 */ bl __ct__15Z2SpeechStarterFv
|
|
/* 802CBC98 002C8BD8 38 00 00 00 */ li r0, 0
|
|
/* 802CBC9C 002C8BDC B0 1F 03 F8 */ sth r0, 0x3f8(r31)
|
|
/* 802CBCA0 002C8BE0 38 60 FF FF */ li r3, -1
|
|
/* 802CBCA4 002C8BE4 B0 7F 03 FA */ sth r3, 0x3fa(r31)
|
|
/* 802CBCA8 002C8BE8 B0 1F 03 FC */ sth r0, 0x3fc(r31)
|
|
/* 802CBCAC 002C8BEC 98 1F 03 FE */ stb r0, 0x3fe(r31)
|
|
/* 802CBCB0 002C8BF0 98 1F 03 FF */ stb r0, 0x3ff(r31)
|
|
/* 802CBCB4 002C8BF4 98 1F 04 01 */ stb r0, 0x401(r31)
|
|
/* 802CBCB8 002C8BF8 38 80 00 00 */ li r4, 0
|
|
/* 802CBCBC 002C8BFC 38 00 00 40 */ li r0, 0x40
|
|
/* 802CBCC0 002C8C00 7C 09 03 A6 */ mtctr r0
|
|
lbl_802CBCC4:
|
|
/* 802CBCC4 002C8C04 38 04 04 02 */ addi r0, r4, 0x402
|
|
/* 802CBCC8 002C8C08 7C 7F 01 AE */ stbx r3, r31, r0
|
|
/* 802CBCCC 002C8C0C 38 84 00 01 */ addi r4, r4, 1
|
|
/* 802CBCD0 002C8C10 42 00 FF F4 */ bdnz lbl_802CBCC4
|
|
/* 802CBCD4 002C8C14 7F E3 FB 78 */ mr r3, r31
|
|
/* 802CBCD8 002C8C18 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 802CBCDC 002C8C1C 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 802CBCE0 002C8C20 7C 08 03 A6 */ mtlr r0
|
|
/* 802CBCE4 002C8C24 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 802CBCE8 002C8C28 4E 80 00 20 */ blr |