mirror of https://github.com/zeldaret/tp.git
59 lines
2.4 KiB
ArmAsm
59 lines
2.4 KiB
ArmAsm
lbl_802F3804:
|
|
/* 802F3804 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 802F3808 7C 08 02 A6 */ mflr r0
|
|
/* 802F380C 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 802F3810 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 802F3814 48 06 E9 C9 */ bl _savegpr_29
|
|
/* 802F3818 7C 7D 1B 78 */ mr r29, r3
|
|
/* 802F381C 3B C0 00 00 */ li r30, 0
|
|
/* 802F3820 80 C3 00 04 */ lwz r6, 4(r3)
|
|
/* 802F3824 80 63 00 08 */ lwz r3, 8(r3)
|
|
/* 802F3828 54 80 08 3C */ slwi r0, r4, 1
|
|
/* 802F382C 7C 03 02 2E */ lhzx r0, r3, r0
|
|
/* 802F3830 1C 00 00 E8 */ mulli r0, r0, 0xe8
|
|
/* 802F3834 7C 66 02 14 */ add r3, r6, r0
|
|
/* 802F3838 54 A0 08 3C */ slwi r0, r5, 1
|
|
/* 802F383C 7F E3 02 14 */ add r31, r3, r0
|
|
/* 802F3840 A0 1F 00 24 */ lhz r0, 0x24(r31)
|
|
/* 802F3844 28 00 FF FF */ cmplwi r0, 0xffff
|
|
/* 802F3848 41 82 00 7C */ beq lbl_802F38C4
|
|
/* 802F384C 38 60 00 54 */ li r3, 0x54
|
|
/* 802F3850 4B FD B3 FD */ bl __nw__FUl
|
|
/* 802F3854 28 03 00 00 */ cmplwi r3, 0
|
|
/* 802F3858 41 82 00 64 */ beq lbl_802F38BC
|
|
/* 802F385C 80 9D 00 24 */ lwz r4, 0x24(r29)
|
|
/* 802F3860 A0 1F 00 24 */ lhz r0, 0x24(r31)
|
|
/* 802F3864 1C 00 00 24 */ mulli r0, r0, 0x24
|
|
/* 802F3868 7C 84 02 14 */ add r4, r4, r0
|
|
/* 802F386C C0 04 00 04 */ lfs f0, 4(r4)
|
|
/* 802F3870 D0 03 00 04 */ stfs f0, 4(r3)
|
|
/* 802F3874 C0 04 00 08 */ lfs f0, 8(r4)
|
|
/* 802F3878 D0 03 00 08 */ stfs f0, 8(r3)
|
|
/* 802F387C C0 04 00 0C */ lfs f0, 0xc(r4)
|
|
/* 802F3880 D0 03 00 0C */ stfs f0, 0xc(r3)
|
|
/* 802F3884 88 04 00 00 */ lbz r0, 0(r4)
|
|
/* 802F3888 98 03 00 00 */ stb r0, 0(r3)
|
|
/* 802F388C 88 04 00 01 */ lbz r0, 1(r4)
|
|
/* 802F3890 98 03 00 01 */ stb r0, 1(r3)
|
|
/* 802F3894 C0 04 00 10 */ lfs f0, 0x10(r4)
|
|
/* 802F3898 D0 03 00 10 */ stfs f0, 0x10(r3)
|
|
/* 802F389C C0 04 00 14 */ lfs f0, 0x14(r4)
|
|
/* 802F38A0 D0 03 00 14 */ stfs f0, 0x14(r3)
|
|
/* 802F38A4 C0 04 00 18 */ lfs f0, 0x18(r4)
|
|
/* 802F38A8 D0 03 00 18 */ stfs f0, 0x18(r3)
|
|
/* 802F38AC C0 04 00 1C */ lfs f0, 0x1c(r4)
|
|
/* 802F38B0 D0 03 00 1C */ stfs f0, 0x1c(r3)
|
|
/* 802F38B4 C0 04 00 20 */ lfs f0, 0x20(r4)
|
|
/* 802F38B8 D0 03 00 20 */ stfs f0, 0x20(r3)
|
|
lbl_802F38BC:
|
|
/* 802F38BC 7C 7E 1B 78 */ mr r30, r3
|
|
/* 802F38C0 4B FF 64 05 */ bl calc__9J2DTexMtxFv
|
|
lbl_802F38C4:
|
|
/* 802F38C4 7F C3 F3 78 */ mr r3, r30
|
|
/* 802F38C8 39 61 00 20 */ addi r11, r1, 0x20
|
|
/* 802F38CC 48 06 E9 5D */ bl _restgpr_29
|
|
/* 802F38D0 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 802F38D4 7C 08 03 A6 */ mtlr r0
|
|
/* 802F38D8 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 802F38DC 4E 80 00 20 */ blr
|