mirror of https://github.com/zeldaret/tp.git
73 lines
2.9 KiB
ArmAsm
73 lines
2.9 KiB
ArmAsm
lbl_803726A0:
|
|
/* 803726A0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 803726A4 7C 08 02 A6 */ mflr r0
|
|
/* 803726A8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 803726AC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 803726B0 7C BF 2B 78 */ mr r31, r5
|
|
/* 803726B4 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 803726B8 7C 7E 1B 78 */ mr r30, r3
|
|
/* 803726BC 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 803726C0 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 803726C4 7C 9C 23 78 */ mr r28, r4
|
|
/* 803726C8 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 803726CC 7C 1F 00 40 */ cmplw r31, r0
|
|
/* 803726D0 40 81 00 0C */ ble lbl_803726DC
|
|
/* 803726D4 38 60 FF FF */ li r3, -1
|
|
/* 803726D8 48 00 00 B0 */ b lbl_80372788
|
|
lbl_803726DC:
|
|
/* 803726DC 38 7E 00 18 */ addi r3, r30, 0x18
|
|
/* 803726E0 48 00 05 E9 */ bl MWEnterCriticalSection
|
|
/* 803726E4 80 7E 00 08 */ lwz r3, 8(r30)
|
|
/* 803726E8 80 9E 00 00 */ lwz r4, 0(r30)
|
|
/* 803726EC 80 1E 00 0C */ lwz r0, 0xc(r30)
|
|
/* 803726F0 7C 63 20 50 */ subf r3, r3, r4
|
|
/* 803726F4 7F A3 00 50 */ subf r29, r3, r0
|
|
/* 803726F8 7C 1F E8 40 */ cmplw r31, r29
|
|
/* 803726FC 40 80 00 20 */ bge lbl_8037271C
|
|
/* 80372700 7F 83 E3 78 */ mr r3, r28
|
|
/* 80372704 7F E5 FB 78 */ mr r5, r31
|
|
/* 80372708 4B C9 0E 39 */ bl memcpy
|
|
/* 8037270C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80372710 7C 00 FA 14 */ add r0, r0, r31
|
|
/* 80372714 90 1E 00 00 */ stw r0, 0(r30)
|
|
/* 80372718 48 00 00 30 */ b lbl_80372748
|
|
lbl_8037271C:
|
|
/* 8037271C 7F 83 E3 78 */ mr r3, r28
|
|
/* 80372720 7F A5 EB 78 */ mr r5, r29
|
|
/* 80372724 4B C9 0E 1D */ bl memcpy
|
|
/* 80372728 80 9E 00 08 */ lwz r4, 8(r30)
|
|
/* 8037272C 7C 7C EA 14 */ add r3, r28, r29
|
|
/* 80372730 7C BD F8 50 */ subf r5, r29, r31
|
|
/* 80372734 4B C9 0E 0D */ bl memcpy
|
|
/* 80372738 80 1E 00 08 */ lwz r0, 8(r30)
|
|
/* 8037273C 7C 00 FA 14 */ add r0, r0, r31
|
|
/* 80372740 7C 1D 00 50 */ subf r0, r29, r0
|
|
/* 80372744 90 1E 00 00 */ stw r0, 0(r30)
|
|
lbl_80372748:
|
|
/* 80372748 80 9E 00 08 */ lwz r4, 8(r30)
|
|
/* 8037274C 80 1E 00 00 */ lwz r0, 0(r30)
|
|
/* 80372750 80 7E 00 0C */ lwz r3, 0xc(r30)
|
|
/* 80372754 7C 04 00 50 */ subf r0, r4, r0
|
|
/* 80372758 7C 03 00 40 */ cmplw r3, r0
|
|
/* 8037275C 40 82 00 08 */ bne lbl_80372764
|
|
/* 80372760 90 9E 00 00 */ stw r4, 0(r30)
|
|
lbl_80372764:
|
|
/* 80372764 80 1E 00 14 */ lwz r0, 0x14(r30)
|
|
/* 80372768 38 7E 00 18 */ addi r3, r30, 0x18
|
|
/* 8037276C 7C 00 FA 14 */ add r0, r0, r31
|
|
/* 80372770 90 1E 00 14 */ stw r0, 0x14(r30)
|
|
/* 80372774 80 1E 00 10 */ lwz r0, 0x10(r30)
|
|
/* 80372778 7C 1F 00 50 */ subf r0, r31, r0
|
|
/* 8037277C 90 1E 00 10 */ stw r0, 0x10(r30)
|
|
/* 80372780 48 00 05 25 */ bl MWExitCriticalSection
|
|
/* 80372784 38 60 00 00 */ li r3, 0
|
|
lbl_80372788:
|
|
/* 80372788 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 8037278C 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80372790 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80372794 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80372798 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 8037279C 7C 08 03 A6 */ mtlr r0
|
|
/* 803727A0 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 803727A4 4E 80 00 20 */ blr
|