papermario/asm/nonmatchings/code_77480/func_800E0FEC.s

102 lines
4.6 KiB
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel func_800E0FEC
2020-09-24 05:16:13 +02:00
/* 7A49C 800E0FEC 00041403 */ sra $v0, $a0, 0x10
/* 7A4A0 800E0FF0 304300FF */ andi $v1, $v0, 0xff
/* 7A4A4 800E0FF4 24020001 */ addiu $v0, $zero, 1
/* 7A4A8 800E0FF8 10620009 */ beq $v1, $v0, .L800E1020
/* 7A4AC 800E0FFC 0000282D */ daddu $a1, $zero, $zero
/* 7A4B0 800E1000 24020006 */ addiu $v0, $zero, 6
/* 7A4B4 800E1004 10620003 */ beq $v1, $v0, .L800E1014
/* 7A4B8 800E1008 2402000A */ addiu $v0, $zero, 0xa
/* 7A4BC 800E100C 14620009 */ bne $v1, $v0, .L800E1034
2021-01-12 16:42:27 +01:00
/* 7A4C0 800E1010 00000000 */ nop
2020-08-04 08:49:11 +02:00
.L800E1014:
2020-09-24 05:16:13 +02:00
/* 7A4C4 800E1014 24020001 */ addiu $v0, $zero, 1
/* 7A4C8 800E1018 14620008 */ bne $v1, $v0, .L800E103C
/* 7A4CC 800E101C 24020006 */ addiu $v0, $zero, 6
2020-08-04 08:49:11 +02:00
.L800E1020:
2020-09-24 05:16:13 +02:00
/* 7A4D0 800E1020 3C020001 */ lui $v0, 1
/* 7A4D4 800E1024 3442000C */ ori $v0, $v0, 0xc
/* 7A4D8 800E1028 0044102A */ slt $v0, $v0, $a0
/* 7A4DC 800E102C 1040003C */ beqz $v0, .L800E1120
2021-01-12 16:42:27 +01:00
/* 7A4E0 800E1030 00000000 */ nop
2020-08-04 08:49:11 +02:00
.L800E1034:
2020-09-24 05:16:13 +02:00
/* 7A4E4 800E1034 03E00008 */ jr $ra
/* 7A4E8 800E1038 0080102D */ daddu $v0, $a0, $zero
2020-08-04 08:49:11 +02:00
.L800E103C:
2020-09-24 05:16:13 +02:00
/* 7A4EC 800E103C 14620032 */ bne $v1, $v0, .L800E1108
/* 7A4F0 800E1040 2402000A */ addiu $v0, $zero, 0xa
/* 7A4F4 800E1044 3C020006 */ lui $v0, 6
/* 7A4F8 800E1048 3442000C */ ori $v0, $v0, 0xc
/* 7A4FC 800E104C 14820004 */ bne $a0, $v0, .L800E1060
/* 7A500 800E1050 3C020006 */ lui $v0, 6
/* 7A504 800E1054 3C050006 */ lui $a1, 6
/* 7A508 800E1058 08038448 */ j .L800E1120
/* 7A50C 800E105C 34A5000D */ ori $a1, $a1, 0xd
2020-08-04 08:49:11 +02:00
.L800E1060:
2020-09-24 05:16:13 +02:00
/* 7A510 800E1060 3442000E */ ori $v0, $v0, 0xe
/* 7A514 800E1064 14820004 */ bne $a0, $v0, .L800E1078
/* 7A518 800E1068 3C020006 */ lui $v0, 6
/* 7A51C 800E106C 3C050006 */ lui $a1, 6
/* 7A520 800E1070 08038448 */ j .L800E1120
/* 7A524 800E1074 34A5000F */ ori $a1, $a1, 0xf
2020-08-04 08:49:11 +02:00
.L800E1078:
2020-09-24 05:16:13 +02:00
/* 7A528 800E1078 34420010 */ ori $v0, $v0, 0x10
/* 7A52C 800E107C 14820004 */ bne $a0, $v0, .L800E1090
/* 7A530 800E1080 3C020006 */ lui $v0, 6
/* 7A534 800E1084 3C050006 */ lui $a1, 6
/* 7A538 800E1088 08038448 */ j .L800E1120
/* 7A53C 800E108C 34A50011 */ ori $a1, $a1, 0x11
2020-08-04 08:49:11 +02:00
.L800E1090:
2020-09-24 05:16:13 +02:00
/* 7A540 800E1090 34420012 */ ori $v0, $v0, 0x12
/* 7A544 800E1094 14820004 */ bne $a0, $v0, .L800E10A8
/* 7A548 800E1098 3C020006 */ lui $v0, 6
/* 7A54C 800E109C 3C050006 */ lui $a1, 6
/* 7A550 800E10A0 08038448 */ j .L800E1120
/* 7A554 800E10A4 34A50013 */ ori $a1, $a1, 0x13
2020-08-04 08:49:11 +02:00
.L800E10A8:
2020-09-24 05:16:13 +02:00
/* 7A558 800E10A8 34420014 */ ori $v0, $v0, 0x14
/* 7A55C 800E10AC 14820004 */ bne $a0, $v0, .L800E10C0
/* 7A560 800E10B0 3C020006 */ lui $v0, 6
/* 7A564 800E10B4 3C050006 */ lui $a1, 6
/* 7A568 800E10B8 08038448 */ j .L800E1120
/* 7A56C 800E10BC 34A50015 */ ori $a1, $a1, 0x15
2020-08-04 08:49:11 +02:00
.L800E10C0:
2020-09-24 05:16:13 +02:00
/* 7A570 800E10C0 34420016 */ ori $v0, $v0, 0x16
/* 7A574 800E10C4 14820004 */ bne $a0, $v0, .L800E10D8
/* 7A578 800E10C8 3C020006 */ lui $v0, 6
/* 7A57C 800E10CC 3C050006 */ lui $a1, 6
/* 7A580 800E10D0 08038448 */ j .L800E1120
/* 7A584 800E10D4 34A50017 */ ori $a1, $a1, 0x17
2020-08-04 08:49:11 +02:00
.L800E10D8:
2020-09-24 05:16:13 +02:00
/* 7A588 800E10D8 34420018 */ ori $v0, $v0, 0x18
/* 7A58C 800E10DC 14820004 */ bne $a0, $v0, .L800E10F0
/* 7A590 800E10E0 3C020006 */ lui $v0, 6
/* 7A594 800E10E4 3C050006 */ lui $a1, 6
/* 7A598 800E10E8 08038448 */ j .L800E1120
/* 7A59C 800E10EC 34A50019 */ ori $a1, $a1, 0x19
2020-08-04 08:49:11 +02:00
.L800E10F0:
2020-09-24 05:16:13 +02:00
/* 7A5A0 800E10F0 3442001A */ ori $v0, $v0, 0x1a
/* 7A5A4 800E10F4 1482000A */ bne $a0, $v0, .L800E1120
2021-01-12 16:42:27 +01:00
/* 7A5A8 800E10F8 00000000 */ nop
2020-09-24 05:16:13 +02:00
/* 7A5AC 800E10FC 3C050006 */ lui $a1, 6
/* 7A5B0 800E1100 08038448 */ j .L800E1120
/* 7A5B4 800E1104 34A5001B */ ori $a1, $a1, 0x1b
2020-08-04 08:49:11 +02:00
.L800E1108:
2020-09-24 05:16:13 +02:00
/* 7A5B8 800E1108 14620005 */ bne $v1, $v0, .L800E1120
/* 7A5BC 800E110C 3C02000A */ lui $v0, 0xa
/* 7A5C0 800E1110 34420006 */ ori $v0, $v0, 6
/* 7A5C4 800E1114 0044102A */ slt $v0, $v0, $a0
/* 7A5C8 800E1118 54400001 */ bnel $v0, $zero, .L800E1120
/* 7A5CC 800E111C 24850001 */ addiu $a1, $a0, 1
2020-08-04 08:49:11 +02:00
.L800E1120:
2020-09-24 05:16:13 +02:00
/* 7A5D0 800E1120 14A00003 */ bnez $a1, .L800E1130
/* 7A5D4 800E1124 3C020100 */ lui $v0, 0x100
/* 7A5D8 800E1128 03E00008 */ jr $ra
/* 7A5DC 800E112C 00821025 */ or $v0, $a0, $v0
2020-08-04 08:49:11 +02:00
.L800E1130:
2020-09-24 05:16:13 +02:00
/* 7A5E0 800E1130 03E00008 */ jr $ra
/* 7A5E4 800E1134 00A0102D */ daddu $v0, $a1, $zero