mirror of https://github.com/PrimeDecomp/prime.git
354 lines
16 KiB
ArmAsm
354 lines
16 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .data
|
|
.balign 8
|
|
|
|
.global __vt__11CObjectList
|
|
__vt__11CObjectList:
|
|
# ROM: 0x3D66D8
|
|
.4byte 0
|
|
.4byte 0
|
|
.4byte IsQualified__11CObjectListFRC7CEntity
|
|
.4byte 0
|
|
|
|
.section .text, "ax"
|
|
|
|
.global GetObjectByIndex__11CObjectListCFi
|
|
GetObjectByIndex__11CObjectListCFi:
|
|
/* 8000FCCC 0000CC2C 54 80 18 38 */ slwi r0, r4, 3
|
|
/* 8000FCD0 0000CC30 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8000FCD4 0000CC34 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8000FCD8 0000CC38 4E 80 00 20 */ blr
|
|
|
|
.global __vc__11CObjectListCFi
|
|
__vc__11CObjectListCFi:
|
|
/* 8000FCDC 0000CC3C 54 80 18 38 */ slwi r0, r4, 3
|
|
/* 8000FCE0 0000CC40 38 80 00 00 */ li r4, 0
|
|
/* 8000FCE4 0000CC44 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8000FCE8 0000CC48 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8000FCEC 0000CC4C 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8000FCF0 0000CC50 41 82 00 10 */ beq lbl_8000FD00
|
|
/* 8000FCF4 0000CC54 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 8000FCF8 0000CC58 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 8000FCFC 0000CC5C 41 82 00 08 */ beq lbl_8000FD04
|
|
lbl_8000FD00:
|
|
/* 8000FD00 0000CC60 38 80 00 01 */ li r4, 1
|
|
lbl_8000FD04:
|
|
/* 8000FD04 0000CC64 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 8000FD08 0000CC68 4D 82 00 20 */ beqlr
|
|
/* 8000FD0C 0000CC6C 38 60 00 00 */ li r3, 0
|
|
/* 8000FD10 0000CC70 4E 80 00 20 */ blr
|
|
|
|
.global __vc__11CObjectListFi
|
|
__vc__11CObjectListFi:
|
|
/* 8000FD14 0000CC74 54 80 18 38 */ slwi r0, r4, 3
|
|
/* 8000FD18 0000CC78 38 80 00 00 */ li r4, 0
|
|
/* 8000FD1C 0000CC7C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8000FD20 0000CC80 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8000FD24 0000CC84 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8000FD28 0000CC88 41 82 00 10 */ beq lbl_8000FD38
|
|
/* 8000FD2C 0000CC8C 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 8000FD30 0000CC90 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 8000FD34 0000CC94 41 82 00 08 */ beq lbl_8000FD3C
|
|
lbl_8000FD38:
|
|
/* 8000FD38 0000CC98 38 80 00 01 */ li r4, 1
|
|
lbl_8000FD3C:
|
|
/* 8000FD3C 0000CC9C 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 8000FD40 0000CCA0 4D 82 00 20 */ beqlr
|
|
/* 8000FD44 0000CCA4 38 60 00 00 */ li r3, 0
|
|
/* 8000FD48 0000CCA8 4E 80 00 20 */ blr
|
|
|
|
.global GetValidObjectById__11CObjectListCF9TUniqueId
|
|
GetValidObjectById__11CObjectListCF9TUniqueId:
|
|
/* 8000FD4C 0000CCAC A0 A4 00 00 */ lhz r5, 0(r4)
|
|
/* 8000FD50 0000CCB0 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 8000FD54 0000CCB4 7C 05 00 40 */ cmplw r5, r0
|
|
/* 8000FD58 0000CCB8 40 82 00 0C */ bne lbl_8000FD64
|
|
/* 8000FD5C 0000CCBC 38 60 00 00 */ li r3, 0
|
|
/* 8000FD60 0000CCC0 4E 80 00 20 */ blr
|
|
lbl_8000FD64:
|
|
/* 8000FD64 0000CCC4 54 A0 1C F8 */ rlwinm r0, r5, 3, 0x13, 0x1c
|
|
/* 8000FD68 0000CCC8 38 80 00 00 */ li r4, 0
|
|
/* 8000FD6C 0000CCCC 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8000FD70 0000CCD0 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8000FD74 0000CCD4 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8000FD78 0000CCD8 41 82 00 14 */ beq lbl_8000FD8C
|
|
/* 8000FD7C 0000CCDC A0 03 00 08 */ lhz r0, 8(r3)
|
|
/* 8000FD80 0000CCE0 7C 05 00 40 */ cmplw r5, r0
|
|
/* 8000FD84 0000CCE4 40 82 00 08 */ bne lbl_8000FD8C
|
|
/* 8000FD88 0000CCE8 38 80 00 01 */ li r4, 1
|
|
lbl_8000FD8C:
|
|
/* 8000FD8C 0000CCEC 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 8000FD90 0000CCF0 4C 82 00 20 */ bnelr
|
|
/* 8000FD94 0000CCF4 38 60 00 00 */ li r3, 0
|
|
/* 8000FD98 0000CCF8 4E 80 00 20 */ blr
|
|
|
|
.global GetValidObjectById__11CObjectListF9TUniqueId
|
|
GetValidObjectById__11CObjectListF9TUniqueId:
|
|
/* 8000FD9C 0000CCFC A0 A4 00 00 */ lhz r5, 0(r4)
|
|
/* 8000FDA0 0000CD00 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 8000FDA4 0000CD04 7C 05 00 40 */ cmplw r5, r0
|
|
/* 8000FDA8 0000CD08 40 82 00 0C */ bne lbl_8000FDB4
|
|
/* 8000FDAC 0000CD0C 38 60 00 00 */ li r3, 0
|
|
/* 8000FDB0 0000CD10 4E 80 00 20 */ blr
|
|
lbl_8000FDB4:
|
|
/* 8000FDB4 0000CD14 54 A0 1C F8 */ rlwinm r0, r5, 3, 0x13, 0x1c
|
|
/* 8000FDB8 0000CD18 38 80 00 00 */ li r4, 0
|
|
/* 8000FDBC 0000CD1C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8000FDC0 0000CD20 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8000FDC4 0000CD24 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8000FDC8 0000CD28 41 82 00 14 */ beq lbl_8000FDDC
|
|
/* 8000FDCC 0000CD2C A0 03 00 08 */ lhz r0, 8(r3)
|
|
/* 8000FDD0 0000CD30 7C 05 00 40 */ cmplw r5, r0
|
|
/* 8000FDD4 0000CD34 40 82 00 08 */ bne lbl_8000FDDC
|
|
/* 8000FDD8 0000CD38 38 80 00 01 */ li r4, 1
|
|
lbl_8000FDDC:
|
|
/* 8000FDDC 0000CD3C 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 8000FDE0 0000CD40 4C 82 00 20 */ bnelr
|
|
/* 8000FDE4 0000CD44 38 60 00 00 */ li r3, 0
|
|
/* 8000FDE8 0000CD48 4E 80 00 20 */ blr
|
|
|
|
.global GetObjectById__11CObjectListCF9TUniqueId
|
|
GetObjectById__11CObjectListCF9TUniqueId:
|
|
/* 8000FDEC 0000CD4C A0 A4 00 00 */ lhz r5, 0(r4)
|
|
/* 8000FDF0 0000CD50 A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 8000FDF4 0000CD54 7C 05 00 40 */ cmplw r5, r0
|
|
/* 8000FDF8 0000CD58 40 82 00 0C */ bne lbl_8000FE04
|
|
/* 8000FDFC 0000CD5C 38 60 00 00 */ li r3, 0
|
|
/* 8000FE00 0000CD60 4E 80 00 20 */ blr
|
|
lbl_8000FE04:
|
|
/* 8000FE04 0000CD64 54 A0 1C F8 */ rlwinm r0, r5, 3, 0x13, 0x1c
|
|
/* 8000FE08 0000CD68 38 80 00 00 */ li r4, 0
|
|
/* 8000FE0C 0000CD6C 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8000FE10 0000CD70 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8000FE14 0000CD74 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8000FE18 0000CD78 41 82 00 20 */ beq lbl_8000FE38
|
|
/* 8000FE1C 0000CD7C A0 03 00 08 */ lhz r0, 8(r3)
|
|
/* 8000FE20 0000CD80 7C 05 00 40 */ cmplw r5, r0
|
|
/* 8000FE24 0000CD84 40 82 00 14 */ bne lbl_8000FE38
|
|
/* 8000FE28 0000CD88 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 8000FE2C 0000CD8C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 8000FE30 0000CD90 40 82 00 08 */ bne lbl_8000FE38
|
|
/* 8000FE34 0000CD94 38 80 00 01 */ li r4, 1
|
|
lbl_8000FE38:
|
|
/* 8000FE38 0000CD98 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 8000FE3C 0000CD9C 4C 82 00 20 */ bnelr
|
|
/* 8000FE40 0000CDA0 38 60 00 00 */ li r3, 0
|
|
/* 8000FE44 0000CDA4 4E 80 00 20 */ blr
|
|
|
|
.global GetObjectById__11CObjectListF9TUniqueId
|
|
GetObjectById__11CObjectListF9TUniqueId:
|
|
/* 8000FE48 0000CDA8 A0 A4 00 00 */ lhz r5, 0(r4)
|
|
/* 8000FE4C 0000CDAC A0 0D A3 8C */ lhz r0, kInvalidUniqueId@sda21(r13)
|
|
/* 8000FE50 0000CDB0 7C 05 00 40 */ cmplw r5, r0
|
|
/* 8000FE54 0000CDB4 40 82 00 0C */ bne lbl_8000FE60
|
|
/* 8000FE58 0000CDB8 38 60 00 00 */ li r3, 0
|
|
/* 8000FE5C 0000CDBC 4E 80 00 20 */ blr
|
|
lbl_8000FE60:
|
|
/* 8000FE60 0000CDC0 54 A0 1C F8 */ rlwinm r0, r5, 3, 0x13, 0x1c
|
|
/* 8000FE64 0000CDC4 38 80 00 00 */ li r4, 0
|
|
/* 8000FE68 0000CDC8 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8000FE6C 0000CDCC 80 63 00 04 */ lwz r3, 4(r3)
|
|
/* 8000FE70 0000CDD0 28 03 00 00 */ cmplwi r3, 0
|
|
/* 8000FE74 0000CDD4 41 82 00 20 */ beq lbl_8000FE94
|
|
/* 8000FE78 0000CDD8 A0 03 00 08 */ lhz r0, 8(r3)
|
|
/* 8000FE7C 0000CDDC 7C 05 00 40 */ cmplw r5, r0
|
|
/* 8000FE80 0000CDE0 40 82 00 14 */ bne lbl_8000FE94
|
|
/* 8000FE84 0000CDE4 88 03 00 30 */ lbz r0, 0x30(r3)
|
|
/* 8000FE88 0000CDE8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f
|
|
/* 8000FE8C 0000CDEC 40 82 00 08 */ bne lbl_8000FE94
|
|
/* 8000FE90 0000CDF0 38 80 00 01 */ li r4, 1
|
|
lbl_8000FE94:
|
|
/* 8000FE94 0000CDF4 54 80 06 3F */ clrlwi. r0, r4, 0x18
|
|
/* 8000FE98 0000CDF8 4C 82 00 20 */ bnelr
|
|
/* 8000FE9C 0000CDFC 38 60 00 00 */ li r3, 0
|
|
/* 8000FEA0 0000CE00 4E 80 00 20 */ blr
|
|
|
|
.global RemoveObject__11CObjectListF9TUniqueId
|
|
RemoveObject__11CObjectListF9TUniqueId:
|
|
/* 8000FEA4 0000CE04 A0 E4 00 00 */ lhz r7, 0(r4)
|
|
/* 8000FEA8 0000CE08 54 E0 1C F8 */ rlwinm r0, r7, 3, 0x13, 0x1c
|
|
/* 8000FEAC 0000CE0C 54 E8 05 BE */ clrlwi r8, r7, 0x16
|
|
/* 8000FEB0 0000CE10 7C A3 02 14 */ add r5, r3, r0
|
|
/* 8000FEB4 0000CE14 80 C5 00 04 */ lwz r6, 4(r5)
|
|
/* 8000FEB8 0000CE18 28 06 00 00 */ cmplwi r6, 0
|
|
/* 8000FEBC 0000CE1C 4D 82 00 20 */ beqlr
|
|
/* 8000FEC0 0000CE20 A0 06 00 08 */ lhz r0, 8(r6)
|
|
/* 8000FEC4 0000CE24 7C 00 38 40 */ cmplw r0, r7
|
|
/* 8000FEC8 0000CE28 4C 82 00 20 */ bnelr
|
|
/* 8000FECC 0000CE2C A8 03 20 08 */ lha r0, 0x2008(r3)
|
|
/* 8000FED0 0000CE30 7C 00 40 00 */ cmpw r0, r8
|
|
/* 8000FED4 0000CE34 40 82 00 38 */ bne lbl_8000FF0C
|
|
/* 8000FED8 0000CE38 A8 05 00 08 */ lha r0, 8(r5)
|
|
/* 8000FEDC 0000CE3C B0 03 20 08 */ sth r0, 0x2008(r3)
|
|
/* 8000FEE0 0000CE40 A0 04 00 00 */ lhz r0, 0(r4)
|
|
/* 8000FEE4 0000CE44 54 00 1C F8 */ rlwinm r0, r0, 3, 0x13, 0x1c
|
|
/* 8000FEE8 0000CE48 7C A3 02 14 */ add r5, r3, r0
|
|
/* 8000FEEC 0000CE4C A8 05 00 08 */ lha r0, 8(r5)
|
|
/* 8000FEF0 0000CE50 2C 00 FF FF */ cmpwi r0, -1
|
|
/* 8000FEF4 0000CE54 41 82 00 54 */ beq lbl_8000FF48
|
|
/* 8000FEF8 0000CE58 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 8000FEFC 0000CE5C 38 C0 FF FF */ li r6, -1
|
|
/* 8000FF00 0000CE60 7C A3 02 14 */ add r5, r3, r0
|
|
/* 8000FF04 0000CE64 B0 C5 00 0A */ sth r6, 0xa(r5)
|
|
/* 8000FF08 0000CE68 48 00 00 40 */ b lbl_8000FF48
|
|
lbl_8000FF0C:
|
|
/* 8000FF0C 0000CE6C A8 05 00 0A */ lha r0, 0xa(r5)
|
|
/* 8000FF10 0000CE70 A8 C5 00 08 */ lha r6, 8(r5)
|
|
/* 8000FF14 0000CE74 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 8000FF18 0000CE78 7C A3 02 14 */ add r5, r3, r0
|
|
/* 8000FF1C 0000CE7C B0 C5 00 08 */ sth r6, 8(r5)
|
|
/* 8000FF20 0000CE80 A0 04 00 00 */ lhz r0, 0(r4)
|
|
/* 8000FF24 0000CE84 54 00 1C F8 */ rlwinm r0, r0, 3, 0x13, 0x1c
|
|
/* 8000FF28 0000CE88 7C A3 02 14 */ add r5, r3, r0
|
|
/* 8000FF2C 0000CE8C A8 05 00 08 */ lha r0, 8(r5)
|
|
/* 8000FF30 0000CE90 2C 00 FF FF */ cmpwi r0, -1
|
|
/* 8000FF34 0000CE94 41 82 00 14 */ beq lbl_8000FF48
|
|
/* 8000FF38 0000CE98 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 8000FF3C 0000CE9C A8 C5 00 0A */ lha r6, 0xa(r5)
|
|
/* 8000FF40 0000CEA0 7C A3 02 14 */ add r5, r3, r0
|
|
/* 8000FF44 0000CEA4 B0 C5 00 0A */ sth r6, 0xa(r5)
|
|
lbl_8000FF48:
|
|
/* 8000FF48 0000CEA8 A8 C3 20 0A */ lha r6, 0x200a(r3)
|
|
/* 8000FF4C 0000CEAC 38 E0 00 00 */ li r7, 0
|
|
/* 8000FF50 0000CEB0 38 A0 FF FF */ li r5, -1
|
|
/* 8000FF54 0000CEB4 38 06 FF FF */ addi r0, r6, -1
|
|
/* 8000FF58 0000CEB8 B0 03 20 0A */ sth r0, 0x200a(r3)
|
|
/* 8000FF5C 0000CEBC A0 04 00 00 */ lhz r0, 0(r4)
|
|
/* 8000FF60 0000CEC0 54 00 1C F8 */ rlwinm r0, r0, 3, 0x13, 0x1c
|
|
/* 8000FF64 0000CEC4 7C C3 02 14 */ add r6, r3, r0
|
|
/* 8000FF68 0000CEC8 90 E6 00 04 */ stw r7, 4(r6)
|
|
/* 8000FF6C 0000CECC A0 04 00 00 */ lhz r0, 0(r4)
|
|
/* 8000FF70 0000CED0 54 00 1C F8 */ rlwinm r0, r0, 3, 0x13, 0x1c
|
|
/* 8000FF74 0000CED4 7C 63 02 14 */ add r3, r3, r0
|
|
/* 8000FF78 0000CED8 B0 A3 00 08 */ sth r5, 8(r3)
|
|
/* 8000FF7C 0000CEDC B0 A3 00 0A */ sth r5, 0xa(r3)
|
|
/* 8000FF80 0000CEE0 4E 80 00 20 */ blr
|
|
|
|
.global AddObject__11CObjectListFR7CEntity
|
|
AddObject__11CObjectListFR7CEntity:
|
|
/* 8000FF84 0000CEE4 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8000FF88 0000CEE8 7C 08 02 A6 */ mflr r0
|
|
/* 8000FF8C 0000CEEC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8000FF90 0000CEF0 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8000FF94 0000CEF4 7C 9F 23 78 */ mr r31, r4
|
|
/* 8000FF98 0000CEF8 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 8000FF9C 0000CEFC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8000FFA0 0000CF00 81 83 00 00 */ lwz r12, 0(r3)
|
|
/* 8000FFA4 0000CF04 81 8C 00 08 */ lwz r12, 8(r12)
|
|
/* 8000FFA8 0000CF08 7D 89 03 A6 */ mtctr r12
|
|
/* 8000FFAC 0000CF0C 4E 80 04 21 */ bctrl
|
|
/* 8000FFB0 0000CF10 54 60 06 3F */ clrlwi. r0, r3, 0x18
|
|
/* 8000FFB4 0000CF14 41 82 00 64 */ beq lbl_80010018
|
|
/* 8000FFB8 0000CF18 A8 1E 20 08 */ lha r0, 0x2008(r30)
|
|
/* 8000FFBC 0000CF1C 38 80 FF FF */ li r4, -1
|
|
/* 8000FFC0 0000CF20 2C 00 FF FF */ cmpwi r0, -1
|
|
/* 8000FFC4 0000CF24 41 82 00 1C */ beq lbl_8000FFE0
|
|
/* 8000FFC8 0000CF28 A0 9F 00 08 */ lhz r4, 8(r31)
|
|
/* 8000FFCC 0000CF2C 54 00 18 38 */ slwi r0, r0, 3
|
|
/* 8000FFD0 0000CF30 7C 7E 02 14 */ add r3, r30, r0
|
|
/* 8000FFD4 0000CF34 54 80 05 BE */ clrlwi r0, r4, 0x16
|
|
/* 8000FFD8 0000CF38 B0 03 00 0A */ sth r0, 0xa(r3)
|
|
/* 8000FFDC 0000CF3C A8 9E 20 08 */ lha r4, 0x2008(r30)
|
|
lbl_8000FFE0:
|
|
/* 8000FFE0 0000CF40 A0 7F 00 08 */ lhz r3, 8(r31)
|
|
/* 8000FFE4 0000CF44 38 00 FF FF */ li r0, -1
|
|
/* 8000FFE8 0000CF48 54 63 05 BE */ clrlwi r3, r3, 0x16
|
|
/* 8000FFEC 0000CF4C B0 7E 20 08 */ sth r3, 0x2008(r30)
|
|
/* 8000FFF0 0000CF50 A0 7F 00 08 */ lhz r3, 8(r31)
|
|
/* 8000FFF4 0000CF54 54 63 1C F8 */ rlwinm r3, r3, 3, 0x13, 0x1c
|
|
/* 8000FFF8 0000CF58 38 63 00 04 */ addi r3, r3, 4
|
|
/* 8000FFFC 0000CF5C 7C 7E 1A 14 */ add r3, r30, r3
|
|
/* 80010000 0000CF60 93 E3 00 00 */ stw r31, 0(r3)
|
|
/* 80010004 0000CF64 B0 83 00 04 */ sth r4, 4(r3)
|
|
/* 80010008 0000CF68 B0 03 00 06 */ sth r0, 6(r3)
|
|
/* 8001000C 0000CF6C A8 7E 20 0A */ lha r3, 0x200a(r30)
|
|
/* 80010010 0000CF70 38 03 00 01 */ addi r0, r3, 1
|
|
/* 80010014 0000CF74 B0 1E 20 0A */ sth r0, 0x200a(r30)
|
|
lbl_80010018:
|
|
/* 80010018 0000CF78 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 8001001C 0000CF7C 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80010020 0000CF80 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80010024 0000CF84 7C 08 03 A6 */ mtlr r0
|
|
/* 80010028 0000CF88 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 8001002C 0000CF8C 4E 80 00 20 */ blr
|
|
|
|
.global IsQualified__11CObjectListFRC7CEntity
|
|
IsQualified__11CObjectListFRC7CEntity:
|
|
/* 80010030 0000CF90 38 60 00 01 */ li r3, 1
|
|
/* 80010034 0000CF94 4E 80 00 20 */ blr
|
|
|
|
.global __ct__11CObjectListF15EGameObjectList
|
|
__ct__11CObjectListF15EGameObjectList:
|
|
/* 80010038 0000CF98 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 8001003C 0000CF9C 7C 08 02 A6 */ mflr r0
|
|
/* 80010040 0000CFA0 3C A0 80 3E */ lis r5, __vt__11CObjectList@ha
|
|
/* 80010044 0000CFA4 38 C0 00 08 */ li r6, 8
|
|
/* 80010048 0000CFA8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 8001004C 0000CFAC 38 05 96 D8 */ addi r0, r5, __vt__11CObjectList@l
|
|
/* 80010050 0000CFB0 38 A0 00 00 */ li r5, 0
|
|
/* 80010054 0000CFB4 38 E0 04 00 */ li r7, 0x400
|
|
/* 80010058 0000CFB8 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 8001005C 0000CFBC 7C 9F 23 78 */ mr r31, r4
|
|
/* 80010060 0000CFC0 93 C1 00 08 */ stw r30, 8(r1)
|
|
/* 80010064 0000CFC4 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80010068 0000CFC8 3C 60 80 01 */ lis r3, __ct__Q211CObjectList16SObjectListEntryFv@ha
|
|
/* 8001006C 0000CFCC 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80010070 0000CFD0 38 03 01 2C */ addi r0, r3, __ct__Q211CObjectList16SObjectListEntryFv@l
|
|
/* 80010074 0000CFD4 38 7E 00 04 */ addi r3, r30, 4
|
|
/* 80010078 0000CFD8 7C 04 03 78 */ mr r4, r0
|
|
/* 8001007C 0000CFDC 48 37 96 D1 */ bl __construct_array
|
|
/* 80010080 0000CFE0 93 FE 20 04 */ stw r31, 0x2004(r30)
|
|
/* 80010084 0000CFE4 38 80 FF FF */ li r4, -1
|
|
/* 80010088 0000CFE8 38 60 00 00 */ li r3, 0
|
|
/* 8001008C 0000CFEC 38 00 00 80 */ li r0, 0x80
|
|
/* 80010090 0000CFF0 B0 9E 20 08 */ sth r4, 0x2008(r30)
|
|
/* 80010094 0000CFF4 7F C4 F3 78 */ mr r4, r30
|
|
/* 80010098 0000CFF8 B0 7E 20 0A */ sth r3, 0x200a(r30)
|
|
/* 8001009C 0000CFFC 7C 09 03 A6 */ mtctr r0
|
|
lbl_800100A0:
|
|
/* 800100A0 0000D000 38 60 00 00 */ li r3, 0
|
|
/* 800100A4 0000D004 38 00 FF FF */ li r0, -1
|
|
/* 800100A8 0000D008 90 64 00 04 */ stw r3, 4(r4)
|
|
/* 800100AC 0000D00C B0 04 00 08 */ sth r0, 8(r4)
|
|
/* 800100B0 0000D010 B0 04 00 0A */ sth r0, 0xa(r4)
|
|
/* 800100B4 0000D014 90 64 00 0C */ stw r3, 0xc(r4)
|
|
/* 800100B8 0000D018 B0 04 00 10 */ sth r0, 0x10(r4)
|
|
/* 800100BC 0000D01C B0 04 00 12 */ sth r0, 0x12(r4)
|
|
/* 800100C0 0000D020 90 64 00 14 */ stw r3, 0x14(r4)
|
|
/* 800100C4 0000D024 B0 04 00 18 */ sth r0, 0x18(r4)
|
|
/* 800100C8 0000D028 B0 04 00 1A */ sth r0, 0x1a(r4)
|
|
/* 800100CC 0000D02C 90 64 00 1C */ stw r3, 0x1c(r4)
|
|
/* 800100D0 0000D030 B0 04 00 20 */ sth r0, 0x20(r4)
|
|
/* 800100D4 0000D034 B0 04 00 22 */ sth r0, 0x22(r4)
|
|
/* 800100D8 0000D038 90 64 00 24 */ stw r3, 0x24(r4)
|
|
/* 800100DC 0000D03C B0 04 00 28 */ sth r0, 0x28(r4)
|
|
/* 800100E0 0000D040 B0 04 00 2A */ sth r0, 0x2a(r4)
|
|
/* 800100E4 0000D044 90 64 00 2C */ stw r3, 0x2c(r4)
|
|
/* 800100E8 0000D048 B0 04 00 30 */ sth r0, 0x30(r4)
|
|
/* 800100EC 0000D04C B0 04 00 32 */ sth r0, 0x32(r4)
|
|
/* 800100F0 0000D050 90 64 00 34 */ stw r3, 0x34(r4)
|
|
/* 800100F4 0000D054 B0 04 00 38 */ sth r0, 0x38(r4)
|
|
/* 800100F8 0000D058 B0 04 00 3A */ sth r0, 0x3a(r4)
|
|
/* 800100FC 0000D05C 90 64 00 3C */ stw r3, 0x3c(r4)
|
|
/* 80010100 0000D060 B0 04 00 40 */ sth r0, 0x40(r4)
|
|
/* 80010104 0000D064 B0 04 00 42 */ sth r0, 0x42(r4)
|
|
/* 80010108 0000D068 38 84 00 40 */ addi r4, r4, 0x40
|
|
/* 8001010C 0000D06C 42 00 FF 94 */ bdnz lbl_800100A0
|
|
/* 80010110 0000D070 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80010114 0000D074 7F C3 F3 78 */ mr r3, r30
|
|
/* 80010118 0000D078 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 8001011C 0000D07C 83 C1 00 08 */ lwz r30, 8(r1)
|
|
/* 80010120 0000D080 7C 08 03 A6 */ mtlr r0
|
|
/* 80010124 0000D084 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80010128 0000D088 4E 80 00 20 */ blr
|
|
|
|
.global __ct__Q211CObjectList16SObjectListEntryFv
|
|
__ct__Q211CObjectList16SObjectListEntryFv:
|
|
/* 8001012C 0000D08C 38 80 00 00 */ li r4, 0
|
|
/* 80010130 0000D090 38 00 FF FF */ li r0, -1
|
|
/* 80010134 0000D094 90 83 00 00 */ stw r4, 0(r3)
|
|
/* 80010138 0000D098 B0 03 00 04 */ sth r0, 4(r3)
|
|
/* 8001013C 0000D09C B0 03 00 06 */ sth r0, 6(r3)
|
|
/* 80010140 0000D0A0 4E 80 00 20 */ blr
|