prime/asm/Kyoto/Audio/CSfxHandle.s

22 lines
626 B
ArmAsm

.include "macros.inc"
.section .sbss, "wa"
.balign 8
.global mRefCount__10CSfxHandle
mRefCount__10CSfxHandle:
.skip 0x8
.section .text, "ax"
.global __ct__10CSfxHandleFUi
__ct__10CSfxHandleFUi:
/* 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
/* 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