mirror of https://github.com/zeldaret/tp.git
58 lines
2.1 KiB
ArmAsm
58 lines
2.1 KiB
ArmAsm
lbl_80361B14:
|
|
/* 80361B14 88 E3 00 00 */ lbz r7, 0(r3)
|
|
/* 80361B18 2C 04 00 03 */ cmpwi r4, 3
|
|
/* 80361B1C 7C 66 1B 78 */ mr r6, r3
|
|
/* 80361B20 38 00 00 08 */ li r0, 8
|
|
/* 80361B24 39 00 00 04 */ li r8, 4
|
|
/* 80361B28 7C E7 07 74 */ extsb r7, r7
|
|
/* 80361B2C 39 20 00 01 */ li r9, 1
|
|
/* 80361B30 38 A0 00 00 */ li r5, 0
|
|
/* 80361B34 39 40 00 00 */ li r10, 0
|
|
/* 80361B38 39 60 00 04 */ li r11, 4
|
|
/* 80361B3C 40 82 00 1C */ bne lbl_80361B58
|
|
/* 80361B40 88 E3 00 01 */ lbz r7, 1(r3)
|
|
/* 80361B44 38 C3 00 01 */ addi r6, r3, 1
|
|
/* 80361B48 39 00 00 08 */ li r8, 8
|
|
/* 80361B4C 39 40 00 20 */ li r10, 0x20
|
|
/* 80361B50 7C E7 07 74 */ extsb r7, r7
|
|
/* 80361B54 39 60 00 08 */ li r11, 8
|
|
lbl_80361B58:
|
|
/* 80361B58 2C 04 00 02 */ cmpwi r4, 2
|
|
/* 80361B5C 40 82 00 1C */ bne lbl_80361B78
|
|
/* 80361B60 54 E0 07 FF */ clrlwi. r0, r7, 0x1f
|
|
/* 80361B64 39 00 00 08 */ li r8, 8
|
|
/* 80361B68 38 00 00 07 */ li r0, 7
|
|
/* 80361B6C 41 82 00 08 */ beq lbl_80361B74
|
|
/* 80361B70 38 A0 00 01 */ li r5, 1
|
|
lbl_80361B74:
|
|
/* 80361B74 39 20 00 02 */ li r9, 2
|
|
lbl_80361B78:
|
|
/* 80361B78 7C 07 00 00 */ cmpw r7, r0
|
|
/* 80361B7C 40 80 00 24 */ bge lbl_80361BA0
|
|
/* 80361B80 7C E7 2A 14 */ add r7, r7, r5
|
|
/* 80361B84 80 A3 00 08 */ lwz r5, 8(r3)
|
|
/* 80361B88 7C 67 59 D6 */ mullw r3, r7, r11
|
|
/* 80361B8C 7C 07 4A 14 */ add r0, r7, r9
|
|
/* 80361B90 98 06 00 00 */ stb r0, 0(r6)
|
|
/* 80361B94 7C CA 1A 14 */ add r6, r10, r3
|
|
/* 80361B98 7C C5 32 14 */ add r6, r5, r6
|
|
/* 80361B9C 48 00 00 2C */ b lbl_80361BC8
|
|
lbl_80361BA0:
|
|
/* 80361BA0 38 A0 00 08 */ li r5, 8
|
|
/* 80361BA4 38 08 FF FF */ addi r0, r8, -1
|
|
/* 80361BA8 98 A6 00 00 */ stb r5, 0(r6)
|
|
/* 80361BAC 7C 06 00 F8 */ nor r6, r0, r0
|
|
/* 80361BB0 80 03 00 04 */ lwz r0, 4(r3)
|
|
/* 80361BB4 7C A8 02 14 */ add r5, r8, r0
|
|
/* 80361BB8 38 05 FF FF */ addi r0, r5, -1
|
|
/* 80361BBC 7C C6 00 38 */ and r6, r6, r0
|
|
/* 80361BC0 7C 06 42 14 */ add r0, r6, r8
|
|
/* 80361BC4 90 03 00 04 */ stw r0, 4(r3)
|
|
lbl_80361BC8:
|
|
/* 80361BC8 2C 04 00 00 */ cmpwi r4, 0
|
|
/* 80361BCC 40 82 00 08 */ bne lbl_80361BD4
|
|
/* 80361BD0 80 C6 00 00 */ lwz r6, 0(r6)
|
|
lbl_80361BD4:
|
|
/* 80361BD4 7C C3 33 78 */ mr r3, r6
|
|
/* 80361BD8 4E 80 00 20 */ blr
|