mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
39 lines
1.7 KiB
ArmAsm
39 lines
1.7 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80245FE4
|
|
/* 139324 80245FE4 AFA80010 */ sw $t0, 0x10($sp)
|
|
/* 139328 80245FE8 240800FF */ addiu $t0, $zero, 0xff
|
|
/* 13932C 80245FEC AFA80014 */ sw $t0, 0x14($sp)
|
|
/* 139330 80245FF0 00004010 */ mfhi $t0
|
|
/* 139334 80245FF4 01141021 */ addu $v0, $t0, $s4
|
|
/* 139338 80245FF8 000212C3 */ sra $v0, $v0, 0xb
|
|
/* 13933C 80245FFC 00531023 */ subu $v0, $v0, $s3
|
|
/* 139340 80246000 0C049DA7 */ jal draw_number
|
|
/* 139344 80246004 00442023 */ subu $a0, $v0, $a0
|
|
/* 139348 80246008 3C028011 */ lui $v0, 0x8011
|
|
/* 13934C 8024600C 9042F290 */ lbu $v0, -0xd70($v0)
|
|
/* 139350 80246010 3C038011 */ lui $v1, 0x8011
|
|
/* 139354 80246014 9063F291 */ lbu $v1, -0xd6f($v1)
|
|
/* 139358 80246018 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 13935C 8024601C 27C7000C */ addiu $a3, $fp, 0xc
|
|
/* 139360 80246020 AFA00010 */ sw $zero, 0x10($sp)
|
|
/* 139364 80246024 00021600 */ sll $v0, $v0, 0x18
|
|
/* 139368 80246028 00029603 */ sra $s2, $v0, 0x18
|
|
/* 13936C 8024602C 00031E00 */ sll $v1, $v1, 0x18
|
|
/* 139370 80246030 00039E03 */ sra $s3, $v1, 0x18
|
|
/* 139374 80246034 3C028011 */ lui $v0, 0x8011
|
|
/* 139378 80246038 9042F299 */ lbu $v0, -0xd67($v0)
|
|
/* 13937C 8024603C 00021600 */ sll $v0, $v0, 0x18
|
|
/* 139380 80246040 0002A603 */ sra $s4, $v0, 0x18
|
|
/* 139384 80246044 0280102D */ daddu $v0, $s4, $zero
|
|
/* 139388 80246048 2842000A */ slti $v0, $v0, 0xa
|
|
/* 13938C 8024604C 14400003 */ bnez $v0, .L8024605C
|
|
/* 139390 80246050 25060007 */ addiu $a2, $t0, 7
|
|
/* 139394 80246054 08091818 */ j func_80246060
|
|
/* 139398 80246058 24020079 */ addiu $v0, $zero, 0x79
|
|
|
|
.L8024605C:
|
|
/* 13939C 8024605C 24020071 */ addiu $v0, $zero, 0x71
|