tp/include/Z2AudioLib/Z2Creature/asm/func_802C0D48.s

55 lines
2.8 KiB
ArmAsm

/* 802C0D48 002BDC88 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 802C0D4C 002BDC8C 7C 08 02 A6 */ mflr r0
/* 802C0D50 002BDC90 90 01 00 14 */ stw r0, 0x14(r1)
/* 802C0D54 002BDC94 93 E1 00 0C */ stw r31, 0xc(r1)
/* 802C0D58 002BDC98 93 C1 00 08 */ stw r30, 8(r1)
/* 802C0D5C 002BDC9C 7C 7F 1B 78 */ mr r31, r3
/* 802C0D60 002BDCA0 7C 9E 23 78 */ mr r30, r4
/* 802C0D64 002BDCA4 54 87 06 BE */ clrlwi r7, r4, 0x1a
/* 802C0D68 002BDCA8 54 A0 06 3E */ clrlwi r0, r5, 0x18
/* 802C0D6C 002BDCAC 20 00 00 00 */ subfic r0, r0, 0
/* 802C0D70 002BDCB0 7C 60 01 10 */ subfe r3, r0, r0
/* 802C0D74 002BDCB4 38 00 00 40 */ li r0, 0x40
/* 802C0D78 002BDCB8 7C 00 18 38 */ and r0, r0, r3
/* 802C0D7C 002BDCBC 7C 05 07 74 */ extsb r5, r0
/* 802C0D80 002BDCC0 54 C4 06 3F */ clrlwi. r4, r6, 0x18
/* 802C0D84 002BDCC4 20 04 00 00 */ subfic r0, r4, 0
/* 802C0D88 002BDCC8 7C 60 01 10 */ subfe r3, r0, r0
/* 802C0D8C 002BDCCC 38 00 00 80 */ li r0, 0x80
/* 802C0D90 002BDCD0 7C 00 18 38 */ and r0, r0, r3
/* 802C0D94 002BDCD4 7C 00 07 74 */ extsb r0, r0
/* 802C0D98 002BDCD8 7C 00 2A 14 */ add r0, r0, r5
/* 802C0D9C 002BDCDC 7C 07 02 14 */ add r0, r7, r0
/* 802C0DA0 002BDCE0 98 1F 00 A0 */ stb r0, 0xa0(r31)
/* 802C0DA4 002BDCE4 40 82 00 0C */ bne lbl_802C0DB0
/* 802C0DA8 002BDCE8 80 6D 86 08 */ lwz r3, lbl_80450B88-_SDA_BASE_(r13)
/* 802C0DAC 002BDCEC 4B FE AB 91 */ bl incrCrowdSize__7Z2SeMgrFv
lbl_802C0DB0:
/* 802C0DB0 002BDCF0 7F C0 07 75 */ extsb. r0, r30
/* 802C0DB4 002BDCF4 40 82 00 24 */ bne lbl_802C0DD8
/* 802C0DB8 002BDCF8 88 0D 8D D8 */ lbz r0, lbl_80451358-_SDA_BASE_(r13)
/* 802C0DBC 002BDCFC 98 1F 00 A1 */ stb r0, 0xa1(r31)
/* 802C0DC0 002BDD00 88 0D 8D D8 */ lbz r0, lbl_80451358-_SDA_BASE_(r13)
/* 802C0DC4 002BDD04 7C 00 07 74 */ extsb r0, r0
/* 802C0DC8 002BDD08 7C 00 00 34 */ cntlzw r0, r0
/* 802C0DCC 002BDD0C 54 00 D9 7E */ srwi r0, r0, 5
/* 802C0DD0 002BDD10 98 0D 8D D8 */ stb r0, lbl_80451358-_SDA_BASE_(r13)
/* 802C0DD4 002BDD14 48 00 00 2C */ b lbl_802C0E00
lbl_802C0DD8:
/* 802C0DD8 002BDD18 7F C0 07 74 */ extsb r0, r30
/* 802C0DDC 002BDD1C 2C 00 00 01 */ cmpwi r0, 1
/* 802C0DE0 002BDD20 40 82 00 20 */ bne lbl_802C0E00
/* 802C0DE4 002BDD24 88 0D 8D D9 */ lbz r0, lbl_80451359-_SDA_BASE_(r13)
/* 802C0DE8 002BDD28 98 1F 00 A1 */ stb r0, 0xa1(r31)
/* 802C0DEC 002BDD2C 88 0D 8D D9 */ lbz r0, lbl_80451359-_SDA_BASE_(r13)
/* 802C0DF0 002BDD30 7C 00 07 74 */ extsb r0, r0
/* 802C0DF4 002BDD34 7C 00 00 34 */ cntlzw r0, r0
/* 802C0DF8 002BDD38 54 00 D9 7E */ srwi r0, r0, 5
/* 802C0DFC 002BDD3C 98 0D 8D D9 */ stb r0, lbl_80451359-_SDA_BASE_(r13)
lbl_802C0E00:
/* 802C0E00 002BDD40 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 802C0E04 002BDD44 83 C1 00 08 */ lwz r30, 8(r1)
/* 802C0E08 002BDD48 80 01 00 14 */ lwz r0, 0x14(r1)
/* 802C0E0C 002BDD4C 7C 08 03 A6 */ mtlr r0
/* 802C0E10 002BDD50 38 21 00 10 */ addi r1, r1, 0x10
/* 802C0E14 002BDD54 4E 80 00 20 */ blr