prime/asm/Kyoto/Audio/CSfxHandle.s

22 lines
626 B
ArmAsm
Raw Permalink Normal View History

.include "macros.inc"
2022-07-14 05:36:41 +00:00
.section .sbss, "wa"
.balign 8
2022-07-14 05:36:41 +00:00
2022-09-16 03:24:27 +00:00
.global mRefCount__10CSfxHandle
mRefCount__10CSfxHandle:
2022-09-16 03:37:46 +00:00
.skip 0x4
2022-07-14 05:36:41 +00:00
.section .text, "ax"
.global __ct__10CSfxHandleFUi
__ct__10CSfxHandleFUi:
2022-09-16 03:24:27 +00:00
/* 802E786C 002E47CC 80 AD A6 F8 */ lwz r5, mRefCount__10CSfxHandle@sda21(r13)
/* 802E7870 002E47D0 54 80 05 3E */ clrlwi r0, r4, 0x14
/* 802E7874 002E47D4 38 85 00 01 */ addi r4, r5, 1
2022-09-16 03:24:27 +00:00
/* 802E7878 002E47D8 90 8D A6 F8 */ stw r4, mRefCount__10CSfxHandle@sda21(r13)
/* 802E787C 002E47DC 50 80 70 22 */ rlwimi r0, r4, 0xe, 0, 0x11
/* 802E7880 002E47E0 90 03 00 00 */ stw r0, 0(r3)
/* 802E7884 002E47E4 4E 80 00 20 */ blr
2022-07-18 05:20:04 +00:00