mirror of
https://github.com/pmret/papermario.git
synced 2024-11-12 14:03:56 +01:00
381 lines
18 KiB
ArmAsm
381 lines
18 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80057874
|
|
/* 032C74 80057874 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 032C78 80057878 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 032C7C 8005787C 00A0902D */ daddu $s2, $a1, $zero
|
|
/* 032C80 80057880 308400FF */ andi $a0, $a0, 0xff
|
|
/* 032C84 80057884 00041140 */ sll $v0, $a0, 5
|
|
/* 032C88 80057888 3C038008 */ lui $v1, 0x8008
|
|
/* 032C8C 8005788C 8C638E54 */ lw $v1, -0x71ac($v1)
|
|
/* 032C90 80057890 00441023 */ subu $v0, $v0, $a0
|
|
/* 032C94 80057894 AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 032C98 80057898 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 032C9C 8005789C AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 032CA0 800578A0 8C63001C */ lw $v1, 0x1c($v1)
|
|
/* 032CA4 800578A4 00021080 */ sll $v0, $v0, 2
|
|
/* 032CA8 800578A8 00628021 */ addu $s0, $v1, $v0
|
|
/* 032CAC 800578AC 8E050064 */ lw $a1, 0x64($s0)
|
|
/* 032CB0 800578B0 8E030068 */ lw $v1, 0x68($s0)
|
|
/* 032CB4 800578B4 00A3102A */ slt $v0, $a1, $v1
|
|
/* 032CB8 800578B8 14400029 */ bnez $v0, .L80057960
|
|
/* 032CBC 800578BC 26110048 */ addiu $s1, $s0, 0x48
|
|
/* 032CC0 800578C0 3C028008 */ lui $v0, 0x8008
|
|
/* 032CC4 800578C4 24428181 */ addiu $v0, $v0, -0x7e7f
|
|
/* 032CC8 800578C8 90420000 */ lbu $v0, ($v0)
|
|
/* 032CCC 800578CC 1440000E */ bnez $v0, .L80057908
|
|
/* 032CD0 800578D0 AE030064 */ sw $v1, 0x64($s0)
|
|
/* 032CD4 800578D4 3C048008 */ lui $a0, 0x8008
|
|
/* 032CD8 800578D8 24848E60 */ addiu $a0, $a0, -0x71a0
|
|
/* 032CDC 800578DC 8603004E */ lh $v1, 0x4e($s0)
|
|
/* 032CE0 800578E0 84820080 */ lh $v0, 0x80($a0)
|
|
/* 032CE4 800578E4 00620018 */ mult $v1, $v0
|
|
/* 032CE8 800578E8 00004012 */ mflo $t0
|
|
/* 032CEC 800578EC 000813C3 */ sra $v0, $t0, 0xf
|
|
/* 032CF0 800578F0 A6020050 */ sh $v0, 0x50($s0)
|
|
/* 032CF4 800578F4 84820080 */ lh $v0, 0x80($a0)
|
|
/* 032CF8 800578F8 00620018 */ mult $v1, $v0
|
|
/* 032CFC 800578FC 00004012 */ mflo $t0
|
|
/* 032D00 80057900 08015E62 */ j .L80057988
|
|
/* 032D04 80057904 000813C3 */ sra $v0, $t0, 0xf
|
|
|
|
.L80057908:
|
|
/* 032D08 80057908 8602004C */ lh $v0, 0x4c($s0)
|
|
/* 032D0C 8005790C 8603004E */ lh $v1, 0x4e($s0)
|
|
/* 032D10 80057910 00021040 */ sll $v0, $v0, 1
|
|
/* 032D14 80057914 3C018008 */ lui $at, 0x8008
|
|
/* 032D18 80057918 00220821 */ addu $at, $at, $v0
|
|
/* 032D1C 8005791C 84228E60 */ lh $v0, -0x71a0($at)
|
|
/* 032D20 80057920 00620018 */ mult $v1, $v0
|
|
/* 032D24 80057924 8603004C */ lh $v1, 0x4c($s0)
|
|
/* 032D28 80057928 00004012 */ mflo $t0
|
|
/* 032D2C 8005792C 000813C3 */ sra $v0, $t0, 0xf
|
|
/* 032D30 80057930 A6020050 */ sh $v0, 0x50($s0)
|
|
/* 032D34 80057934 2402007F */ addiu $v0, $zero, 0x7f
|
|
/* 032D38 80057938 00431023 */ subu $v0, $v0, $v1
|
|
/* 032D3C 8005793C 00021040 */ sll $v0, $v0, 1
|
|
/* 032D40 80057940 8603004E */ lh $v1, 0x4e($s0)
|
|
/* 032D44 80057944 3C018008 */ lui $at, 0x8008
|
|
/* 032D48 80057948 00220821 */ addu $at, $at, $v0
|
|
/* 032D4C 8005794C 84228E60 */ lh $v0, -0x71a0($at)
|
|
/* 032D50 80057950 00620018 */ mult $v1, $v0
|
|
/* 032D54 80057954 00004012 */ mflo $t0
|
|
/* 032D58 80057958 08015E62 */ j .L80057988
|
|
/* 032D5C 8005795C 000813C3 */ sra $v0, $t0, 0xf
|
|
|
|
.L80057960:
|
|
/* 032D60 80057960 86040050 */ lh $a0, 0x50($s0)
|
|
/* 032D64 80057964 8606005A */ lh $a2, 0x5a($s0)
|
|
/* 032D68 80057968 0C016001 */ jal func_80058004
|
|
/* 032D6C 8005796C 96070058 */ lhu $a3, 0x58($s0)
|
|
/* 032D70 80057970 86040052 */ lh $a0, 0x52($s0)
|
|
/* 032D74 80057974 8E050064 */ lw $a1, 0x64($s0)
|
|
/* 032D78 80057978 86060060 */ lh $a2, 0x60($s0)
|
|
/* 032D7C 8005797C 9607005E */ lhu $a3, 0x5e($s0)
|
|
/* 032D80 80057980 0C016001 */ jal func_80058004
|
|
/* 032D84 80057984 A6020050 */ sh $v0, 0x50($s0)
|
|
.L80057988:
|
|
/* 032D88 80057988 A6020052 */ sh $v0, 0x52($s0)
|
|
/* 032D8C 8005798C 86220008 */ lh $v0, 8($s1)
|
|
/* 032D90 80057990 14400002 */ bnez $v0, .L8005799C
|
|
/* 032D94 80057994 24020001 */ addiu $v0, $zero, 1
|
|
/* 032D98 80057998 A6220008 */ sh $v0, 8($s1)
|
|
.L8005799C:
|
|
/* 032D9C 8005799C 8622000A */ lh $v0, 0xa($s1)
|
|
/* 032DA0 800579A0 14400004 */ bnez $v0, .L800579B4
|
|
/* 032DA4 800579A4 324200FF */ andi $v0, $s2, 0xff
|
|
/* 032DA8 800579A8 24020001 */ addiu $v0, $zero, 1
|
|
/* 032DAC 800579AC A622000A */ sh $v0, 0xa($s1)
|
|
/* 032DB0 800579B0 324200FF */ andi $v0, $s2, 0xff
|
|
.L800579B4:
|
|
/* 032DB4 800579B4 A6220004 */ sh $v0, 4($s1)
|
|
/* 032DB8 800579B8 24020001 */ addiu $v0, $zero, 1
|
|
/* 032DBC 800579BC AE220024 */ sw $v0, 0x24($s1)
|
|
/* 032DC0 800579C0 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 032DC4 800579C4 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 032DC8 800579C8 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 032DCC 800579CC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 032DD0 800579D0 03E00008 */ jr $ra
|
|
/* 032DD4 800579D4 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 032DD8 800579D8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 032DDC 800579DC AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 032DE0 800579E0 00A0902D */ daddu $s2, $a1, $zero
|
|
/* 032DE4 800579E4 308400FF */ andi $a0, $a0, 0xff
|
|
/* 032DE8 800579E8 00041140 */ sll $v0, $a0, 5
|
|
/* 032DEC 800579EC 3C038008 */ lui $v1, 0x8008
|
|
/* 032DF0 800579F0 8C638E54 */ lw $v1, -0x71ac($v1)
|
|
/* 032DF4 800579F4 00441023 */ subu $v0, $v0, $a0
|
|
/* 032DF8 800579F8 AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 032DFC 800579FC AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 032E00 80057A00 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 032E04 80057A04 8C63001C */ lw $v1, 0x1c($v1)
|
|
/* 032E08 80057A08 00021080 */ sll $v0, $v0, 2
|
|
/* 032E0C 80057A0C 00628021 */ addu $s0, $v1, $v0
|
|
/* 032E10 80057A10 8E050064 */ lw $a1, 0x64($s0)
|
|
/* 032E14 80057A14 8E030068 */ lw $v1, 0x68($s0)
|
|
/* 032E18 80057A18 00A3102A */ slt $v0, $a1, $v1
|
|
/* 032E1C 80057A1C 14400029 */ bnez $v0, .L80057AC4
|
|
/* 032E20 80057A20 26110048 */ addiu $s1, $s0, 0x48
|
|
/* 032E24 80057A24 3C028008 */ lui $v0, 0x8008
|
|
/* 032E28 80057A28 24428181 */ addiu $v0, $v0, -0x7e7f
|
|
/* 032E2C 80057A2C 90420000 */ lbu $v0, ($v0)
|
|
/* 032E30 80057A30 1440000E */ bnez $v0, .L80057A6C
|
|
/* 032E34 80057A34 AE030064 */ sw $v1, 0x64($s0)
|
|
/* 032E38 80057A38 3C048008 */ lui $a0, 0x8008
|
|
/* 032E3C 80057A3C 24848E60 */ addiu $a0, $a0, -0x71a0
|
|
/* 032E40 80057A40 8603004E */ lh $v1, 0x4e($s0)
|
|
/* 032E44 80057A44 84820080 */ lh $v0, 0x80($a0)
|
|
/* 032E48 80057A48 00620018 */ mult $v1, $v0
|
|
/* 032E4C 80057A4C 00004012 */ mflo $t0
|
|
/* 032E50 80057A50 000813C3 */ sra $v0, $t0, 0xf
|
|
/* 032E54 80057A54 A6020050 */ sh $v0, 0x50($s0)
|
|
/* 032E58 80057A58 84820080 */ lh $v0, 0x80($a0)
|
|
/* 032E5C 80057A5C 00620018 */ mult $v1, $v0
|
|
/* 032E60 80057A60 00004012 */ mflo $t0
|
|
/* 032E64 80057A64 08015EBB */ j .L80057AEC
|
|
/* 032E68 80057A68 000813C3 */ sra $v0, $t0, 0xf
|
|
|
|
.L80057A6C:
|
|
/* 032E6C 80057A6C 8602004C */ lh $v0, 0x4c($s0)
|
|
/* 032E70 80057A70 8603004E */ lh $v1, 0x4e($s0)
|
|
/* 032E74 80057A74 00021040 */ sll $v0, $v0, 1
|
|
/* 032E78 80057A78 3C018008 */ lui $at, 0x8008
|
|
/* 032E7C 80057A7C 00220821 */ addu $at, $at, $v0
|
|
/* 032E80 80057A80 84228E60 */ lh $v0, -0x71a0($at)
|
|
/* 032E84 80057A84 00620018 */ mult $v1, $v0
|
|
/* 032E88 80057A88 8603004C */ lh $v1, 0x4c($s0)
|
|
/* 032E8C 80057A8C 00004012 */ mflo $t0
|
|
/* 032E90 80057A90 000813C3 */ sra $v0, $t0, 0xf
|
|
/* 032E94 80057A94 A6020050 */ sh $v0, 0x50($s0)
|
|
/* 032E98 80057A98 2402007F */ addiu $v0, $zero, 0x7f
|
|
/* 032E9C 80057A9C 00431023 */ subu $v0, $v0, $v1
|
|
/* 032EA0 80057AA0 00021040 */ sll $v0, $v0, 1
|
|
/* 032EA4 80057AA4 8603004E */ lh $v1, 0x4e($s0)
|
|
/* 032EA8 80057AA8 3C018008 */ lui $at, 0x8008
|
|
/* 032EAC 80057AAC 00220821 */ addu $at, $at, $v0
|
|
/* 032EB0 80057AB0 84228E60 */ lh $v0, -0x71a0($at)
|
|
/* 032EB4 80057AB4 00620018 */ mult $v1, $v0
|
|
/* 032EB8 80057AB8 00004012 */ mflo $t0
|
|
/* 032EBC 80057ABC 08015EBB */ j .L80057AEC
|
|
/* 032EC0 80057AC0 000813C3 */ sra $v0, $t0, 0xf
|
|
|
|
.L80057AC4:
|
|
/* 032EC4 80057AC4 86040050 */ lh $a0, 0x50($s0)
|
|
/* 032EC8 80057AC8 8606005A */ lh $a2, 0x5a($s0)
|
|
/* 032ECC 80057ACC 0C016001 */ jal func_80058004
|
|
/* 032ED0 80057AD0 96070058 */ lhu $a3, 0x58($s0)
|
|
/* 032ED4 80057AD4 86040052 */ lh $a0, 0x52($s0)
|
|
/* 032ED8 80057AD8 8E050064 */ lw $a1, 0x64($s0)
|
|
/* 032EDC 80057ADC 86060060 */ lh $a2, 0x60($s0)
|
|
/* 032EE0 80057AE0 9607005E */ lhu $a3, 0x5e($s0)
|
|
/* 032EE4 80057AE4 0C016001 */ jal func_80058004
|
|
/* 032EE8 80057AE8 A6020050 */ sh $v0, 0x50($s0)
|
|
.L80057AEC:
|
|
/* 032EEC 80057AEC A6020052 */ sh $v0, 0x52($s0)
|
|
/* 032EF0 80057AF0 86220008 */ lh $v0, 8($s1)
|
|
/* 032EF4 80057AF4 14400002 */ bnez $v0, .L80057B00
|
|
/* 032EF8 80057AF8 24020001 */ addiu $v0, $zero, 1
|
|
/* 032EFC 80057AFC A6220008 */ sh $v0, 8($s1)
|
|
.L80057B00:
|
|
/* 032F00 80057B00 8622000A */ lh $v0, 0xa($s1)
|
|
/* 032F04 80057B04 14400003 */ bnez $v0, .L80057B14
|
|
/* 032F08 80057B08 324300FF */ andi $v1, $s2, 0xff
|
|
/* 032F0C 80057B0C 24020001 */ addiu $v0, $zero, 1
|
|
/* 032F10 80057B10 A622000A */ sh $v0, 0xa($s1)
|
|
.L80057B14:
|
|
/* 032F14 80057B14 00031040 */ sll $v0, $v1, 1
|
|
/* 032F18 80057B18 3C018008 */ lui $at, 0x8008
|
|
/* 032F1C 80057B1C 00220821 */ addu $at, $at, $v0
|
|
/* 032F20 80057B20 94228E60 */ lhu $v0, -0x71a0($at)
|
|
/* 032F24 80057B24 A622000C */ sh $v0, 0xc($s1)
|
|
/* 032F28 80057B28 2402007F */ addiu $v0, $zero, 0x7f
|
|
/* 032F2C 80057B2C 00431023 */ subu $v0, $v0, $v1
|
|
/* 032F30 80057B30 00021040 */ sll $v0, $v0, 1
|
|
/* 032F34 80057B34 3C038008 */ lui $v1, 0x8008
|
|
/* 032F38 80057B38 00621821 */ addu $v1, $v1, $v0
|
|
/* 032F3C 80057B3C 94638E60 */ lhu $v1, -0x71a0($v1)
|
|
/* 032F40 80057B40 24020001 */ addiu $v0, $zero, 1
|
|
/* 032F44 80057B44 AE220024 */ sw $v0, 0x24($s1)
|
|
/* 032F48 80057B48 A623000E */ sh $v1, 0xe($s1)
|
|
/* 032F4C 80057B4C 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 032F50 80057B50 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 032F54 80057B54 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 032F58 80057B58 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 032F5C 80057B5C 03E00008 */ jr $ra
|
|
/* 032F60 80057B60 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 032F64 80057B64 308400FF */ andi $a0, $a0, 0xff
|
|
/* 032F68 80057B68 00041940 */ sll $v1, $a0, 5
|
|
/* 032F6C 80057B6C 3C028008 */ lui $v0, 0x8008
|
|
/* 032F70 80057B70 8C428E54 */ lw $v0, -0x71ac($v0)
|
|
/* 032F74 80057B74 00641823 */ subu $v1, $v1, $a0
|
|
/* 032F78 80057B78 8C42001C */ lw $v0, 0x1c($v0)
|
|
/* 032F7C 80057B7C 00031880 */ sll $v1, $v1, 2
|
|
/* 032F80 80057B80 00431021 */ addu $v0, $v0, $v1
|
|
/* 032F84 80057B84 03E00008 */ jr $ra
|
|
/* 032F88 80057B88 8C420070 */ lw $v0, 0x70($v0)
|
|
|
|
/* 032F8C 80057B8C 308400FF */ andi $a0, $a0, 0xff
|
|
/* 032F90 80057B90 00041940 */ sll $v1, $a0, 5
|
|
/* 032F94 80057B94 3C028008 */ lui $v0, 0x8008
|
|
/* 032F98 80057B98 8C428E54 */ lw $v0, -0x71ac($v0)
|
|
/* 032F9C 80057B9C 00641823 */ subu $v1, $v1, $a0
|
|
/* 032FA0 80057BA0 8C42001C */ lw $v0, 0x1c($v0)
|
|
/* 032FA4 80057BA4 00031880 */ sll $v1, $v1, 2
|
|
/* 032FA8 80057BA8 00431021 */ addu $v0, $v0, $v1
|
|
/* 032FAC 80057BAC 03E00008 */ jr $ra
|
|
/* 032FB0 80057BB0 90420078 */ lbu $v0, 0x78($v0)
|
|
|
|
/* 032FB4 80057BB4 308400FF */ andi $a0, $a0, 0xff
|
|
/* 032FB8 80057BB8 00041940 */ sll $v1, $a0, 5
|
|
/* 032FBC 80057BBC 3C028008 */ lui $v0, 0x8008
|
|
/* 032FC0 80057BC0 8C428E54 */ lw $v0, -0x71ac($v0)
|
|
/* 032FC4 80057BC4 00641823 */ subu $v1, $v1, $a0
|
|
/* 032FC8 80057BC8 8C42001C */ lw $v0, 0x1c($v0)
|
|
/* 032FCC 80057BCC 00031880 */ sll $v1, $v1, 2
|
|
/* 032FD0 80057BD0 00431021 */ addu $v0, $v0, $v1
|
|
/* 032FD4 80057BD4 03E00008 */ jr $ra
|
|
/* 032FD8 80057BD8 C440003C */ lwc1 $f0, 0x3c($v0)
|
|
|
|
/* 032FDC 80057BDC 308400FF */ andi $a0, $a0, 0xff
|
|
/* 032FE0 80057BE0 00041940 */ sll $v1, $a0, 5
|
|
/* 032FE4 80057BE4 3C028008 */ lui $v0, 0x8008
|
|
/* 032FE8 80057BE8 8C428E54 */ lw $v0, -0x71ac($v0)
|
|
/* 032FEC 80057BEC 00641823 */ subu $v1, $v1, $a0
|
|
/* 032FF0 80057BF0 8C42001C */ lw $v0, 0x1c($v0)
|
|
/* 032FF4 80057BF4 00031880 */ sll $v1, $v1, 2
|
|
/* 032FF8 80057BF8 00431021 */ addu $v0, $v0, $v1
|
|
/* 032FFC 80057BFC 03E00008 */ jr $ra
|
|
/* 033000 80057C00 9042004D */ lbu $v0, 0x4d($v0)
|
|
|
|
/* 033004 80057C04 308400FF */ andi $a0, $a0, 0xff
|
|
/* 033008 80057C08 00041940 */ sll $v1, $a0, 5
|
|
/* 03300C 80057C0C 3C028008 */ lui $v0, 0x8008
|
|
/* 033010 80057C10 8C428E54 */ lw $v0, -0x71ac($v0)
|
|
/* 033014 80057C14 00641823 */ subu $v1, $v1, $a0
|
|
/* 033018 80057C18 8C42001C */ lw $v0, 0x1c($v0)
|
|
/* 03301C 80057C1C 00031880 */ sll $v1, $v1, 2
|
|
/* 033020 80057C20 00431021 */ addu $v0, $v0, $v1
|
|
/* 033024 80057C24 03E00008 */ jr $ra
|
|
/* 033028 80057C28 84420054 */ lh $v0, 0x54($v0)
|
|
|
|
/* 03302C 80057C2C 308400FF */ andi $a0, $a0, 0xff
|
|
/* 033030 80057C30 00041940 */ sll $v1, $a0, 5
|
|
/* 033034 80057C34 3C028008 */ lui $v0, 0x8008
|
|
/* 033038 80057C38 8C428E54 */ lw $v0, -0x71ac($v0)
|
|
/* 03303C 80057C3C 00641823 */ subu $v1, $v1, $a0
|
|
/* 033040 80057C40 8C42001C */ lw $v0, 0x1c($v0)
|
|
/* 033044 80057C44 00031880 */ sll $v1, $v1, 2
|
|
/* 033048 80057C48 00431021 */ addu $v0, $v0, $v1
|
|
/* 03304C 80057C4C 03E00008 */ jr $ra
|
|
/* 033050 80057C50 84420056 */ lh $v0, 0x56($v0)
|
|
|
|
/* 033054 80057C54 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 033058 80057C58 308400FF */ andi $a0, $a0, 0xff
|
|
/* 03305C 80057C5C 00041140 */ sll $v0, $a0, 5
|
|
/* 033060 80057C60 3C038008 */ lui $v1, 0x8008
|
|
/* 033064 80057C64 8C638E54 */ lw $v1, -0x71ac($v1)
|
|
/* 033068 80057C68 00441023 */ subu $v0, $v0, $a0
|
|
/* 03306C 80057C6C AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 033070 80057C70 8C63001C */ lw $v1, 0x1c($v1)
|
|
/* 033074 80057C74 00021080 */ sll $v0, $v0, 2
|
|
/* 033078 80057C78 00621821 */ addu $v1, $v1, $v0
|
|
/* 03307C 80057C7C 8C650064 */ lw $a1, 0x64($v1)
|
|
/* 033080 80057C80 8C620068 */ lw $v0, 0x68($v1)
|
|
/* 033084 80057C84 00A2102A */ slt $v0, $a1, $v0
|
|
/* 033088 80057C88 14400017 */ bnez $v0, .L80057CE8
|
|
/* 03308C 80057C8C 00000000 */ nop
|
|
/* 033090 80057C90 3C028008 */ lui $v0, 0x8008
|
|
/* 033094 80057C94 24428181 */ addiu $v0, $v0, -0x7e7f
|
|
/* 033098 80057C98 90420000 */ lbu $v0, ($v0)
|
|
/* 03309C 80057C9C 14400008 */ bnez $v0, .L80057CC0
|
|
/* 0330A0 80057CA0 00000000 */ nop
|
|
/* 0330A4 80057CA4 8463004E */ lh $v1, 0x4e($v1)
|
|
/* 0330A8 80057CA8 3C028008 */ lui $v0, 0x8008
|
|
/* 0330AC 80057CAC 84428EE0 */ lh $v0, -0x7120($v0)
|
|
/* 0330B0 80057CB0 00620018 */ mult $v1, $v0
|
|
/* 0330B4 80057CB4 00004012 */ mflo $t0
|
|
/* 0330B8 80057CB8 08015F3F */ j .L80057CFC
|
|
/* 0330BC 80057CBC 00081040 */ sll $v0, $t0, 1
|
|
|
|
.L80057CC0:
|
|
/* 0330C0 80057CC0 8462004C */ lh $v0, 0x4c($v1)
|
|
/* 0330C4 80057CC4 8463004E */ lh $v1, 0x4e($v1)
|
|
/* 0330C8 80057CC8 00021040 */ sll $v0, $v0, 1
|
|
/* 0330CC 80057CCC 3C018008 */ lui $at, 0x8008
|
|
/* 0330D0 80057CD0 00220821 */ addu $at, $at, $v0
|
|
/* 0330D4 80057CD4 84228E60 */ lh $v0, -0x71a0($at)
|
|
/* 0330D8 80057CD8 00620018 */ mult $v1, $v0
|
|
/* 0330DC 80057CDC 00004012 */ mflo $t0
|
|
/* 0330E0 80057CE0 08015F3F */ j .L80057CFC
|
|
/* 0330E4 80057CE4 00081040 */ sll $v0, $t0, 1
|
|
|
|
.L80057CE8:
|
|
/* 0330E8 80057CE8 84640050 */ lh $a0, 0x50($v1)
|
|
/* 0330EC 80057CEC 8466005A */ lh $a2, 0x5a($v1)
|
|
/* 0330F0 80057CF0 0C016001 */ jal func_80058004
|
|
/* 0330F4 80057CF4 94670058 */ lhu $a3, 0x58($v1)
|
|
/* 0330F8 80057CF8 00021400 */ sll $v0, $v0, 0x10
|
|
.L80057CFC:
|
|
/* 0330FC 80057CFC 00021403 */ sra $v0, $v0, 0x10
|
|
/* 033100 80057D00 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 033104 80057D04 03E00008 */ jr $ra
|
|
/* 033108 80057D08 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|
|
/* 03310C 80057D0C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 033110 80057D10 308400FF */ andi $a0, $a0, 0xff
|
|
/* 033114 80057D14 00041140 */ sll $v0, $a0, 5
|
|
/* 033118 80057D18 3C038008 */ lui $v1, 0x8008
|
|
/* 03311C 80057D1C 8C638E54 */ lw $v1, -0x71ac($v1)
|
|
/* 033120 80057D20 00441023 */ subu $v0, $v0, $a0
|
|
/* 033124 80057D24 AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 033128 80057D28 8C63001C */ lw $v1, 0x1c($v1)
|
|
/* 03312C 80057D2C 00021080 */ sll $v0, $v0, 2
|
|
/* 033130 80057D30 00623821 */ addu $a3, $v1, $v0
|
|
/* 033134 80057D34 8CE50064 */ lw $a1, 0x64($a3)
|
|
/* 033138 80057D38 8CE20068 */ lw $v0, 0x68($a3)
|
|
/* 03313C 80057D3C 00A2102A */ slt $v0, $a1, $v0
|
|
/* 033140 80057D40 14400018 */ bnez $v0, .L80057DA4
|
|
/* 033144 80057D44 00000000 */ nop
|
|
/* 033148 80057D48 3C028008 */ lui $v0, 0x8008
|
|
/* 03314C 80057D4C 24428181 */ addiu $v0, $v0, -0x7e7f
|
|
/* 033150 80057D50 90420000 */ lbu $v0, ($v0)
|
|
/* 033154 80057D54 54400008 */ bnel $v0, $zero, .L80057D78
|
|
/* 033158 80057D58 2402007F */ addiu $v0, $zero, 0x7f
|
|
/* 03315C 80057D5C 84E3004E */ lh $v1, 0x4e($a3)
|
|
/* 033160 80057D60 3C028008 */ lui $v0, 0x8008
|
|
/* 033164 80057D64 84428EE0 */ lh $v0, -0x7120($v0)
|
|
/* 033168 80057D68 00620018 */ mult $v1, $v0
|
|
/* 03316C 80057D6C 00004012 */ mflo $t0
|
|
/* 033170 80057D70 08015F6E */ j .L80057DB8
|
|
/* 033174 80057D74 00081040 */ sll $v0, $t0, 1
|
|
|
|
.L80057D78:
|
|
/* 033178 80057D78 84E3004C */ lh $v1, 0x4c($a3)
|
|
/* 03317C 80057D7C 00431023 */ subu $v0, $v0, $v1
|
|
/* 033180 80057D80 00021040 */ sll $v0, $v0, 1
|
|
/* 033184 80057D84 84E3004E */ lh $v1, 0x4e($a3)
|
|
/* 033188 80057D88 3C018008 */ lui $at, 0x8008
|
|
/* 03318C 80057D8C 00220821 */ addu $at, $at, $v0
|
|
/* 033190 80057D90 84228E60 */ lh $v0, -0x71a0($at)
|
|
/* 033194 80057D94 00620018 */ mult $v1, $v0
|
|
/* 033198 80057D98 00004012 */ mflo $t0
|
|
/* 03319C 80057D9C 08015F6E */ j .L80057DB8
|
|
/* 0331A0 80057DA0 00081040 */ sll $v0, $t0, 1
|
|
|
|
.L80057DA4:
|
|
/* 0331A4 80057DA4 84E40050 */ lh $a0, 0x50($a3)
|
|
/* 0331A8 80057DA8 84E6005A */ lh $a2, 0x5a($a3)
|
|
/* 0331AC 80057DAC 0C016001 */ jal func_80058004
|
|
/* 0331B0 80057DB0 94E70058 */ lhu $a3, 0x58($a3)
|
|
/* 0331B4 80057DB4 00021400 */ sll $v0, $v0, 0x10
|
|
.L80057DB8:
|
|
/* 0331B8 80057DB8 00021403 */ sra $v0, $v0, 0x10
|
|
/* 0331BC 80057DBC 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 0331C0 80057DC0 03E00008 */ jr $ra
|
|
/* 0331C4 80057DC4 27BD0018 */ addiu $sp, $sp, 0x18
|
|
|