prime/asm/Collision/CCollidableCollisionSurface.s

36 lines
1.1 KiB
ArmAsm
Raw Permalink Normal View History

.include "macros.inc"
2022-04-23 07:19:32 +00:00
.section .sdata
.balign 8
2022-04-23 07:19:32 +00:00
.global sTableIndex__27CCollidableCollisionSurface
sTableIndex__27CCollidableCollisionSurface:
2022-04-23 07:19:32 +00:00
# ROM: 0x3F6090
.4byte 0xFFFFFFFF
.4byte 0
2022-07-14 05:36:41 +00:00
.section .text, "ax"
.global GetType__27CCollidableCollisionSurfaceFv
GetType__27CCollidableCollisionSurfaceFv:
/* 802CE094 002CAFF4 3C A0 80 2D */ lis r5, SetStaticTableIndex__27CCollidableCollisionSurfaceFUi@ha
/* 802CE098 002CAFF8 3C 80 80 3D */ lis r4, lbl_803D6A00@ha
/* 802CE09C 002CAFFC 38 05 E0 B0 */ addi r0, r5, SetStaticTableIndex__27CCollidableCollisionSurfaceFUi@l
/* 802CE0A0 002CB000 90 03 00 00 */ stw r0, 0(r3)
/* 802CE0A4 002CB004 38 04 6A 00 */ addi r0, r4, lbl_803D6A00@l
/* 802CE0A8 002CB008 90 03 00 04 */ stw r0, 4(r3)
2022-07-14 05:48:03 +00:00
/* 802CE0AC 002CB00C 4E 80 00 20 */ blr
.global SetStaticTableIndex__27CCollidableCollisionSurfaceFUi
SetStaticTableIndex__27CCollidableCollisionSurfaceFUi:
/* 802CE0B0 002CB010 90 6D 9B 30 */ stw r3, sTableIndex__27CCollidableCollisionSurface@sda21(r13)
/* 802CE0B4 002CB014 4E 80 00 20 */ blr
2022-07-18 05:21:27 +00:00
.section .rodata
.balign 8
2022-07-18 05:21:27 +00:00
.global lbl_803D6A00
lbl_803D6A00:
# ROM: 0x3D3A00
.asciz "CCollidableCollisionSurface"
.4byte 0