papermario/ver/jp/asm/nonmatchings/main_448A0/func_80069624.s
Ethan Roseman 698cf99458
jp cod (Created the first segment's c files for jp) (#194)
* jp cod

* just have less code and it works

* oops

* removing splat cause subrepo is being dumb

* git subrepo clone https://github.com/ethteck/splat.git tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "d7281bae6a"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "d7281bae6a"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* move jp stuff + revert configure

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "c56195a9c5"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "c56195a9c5"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2021-02-27 00:36:33 +09:00

43 lines
2.0 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80069624
/* 44A24 80069624 27BDFFF0 */ addiu $sp, $sp, -0x10
/* 44A28 80069628 00A03821 */ addu $a3, $a1, $zero
/* 44A2C 8006962C 3C06800E */ lui $a2, %hi(D_800D9FE0)
/* 44A30 80069630 24C69FE0 */ addiu $a2, $a2, %lo(D_800D9FE0)
/* 44A34 80069634 18800005 */ blez $a0, .L8006964C
/* 44A38 80069638 00001821 */ addu $v1, $zero, $zero
.L8006963C:
/* 44A3C 8006963C 24630001 */ addiu $v1, $v1, 1
/* 44A40 80069640 0064102A */ slt $v0, $v1, $a0
/* 44A44 80069644 1440FFFD */ bnez $v0, .L8006963C
/* 44A48 80069648 24C60001 */ addiu $a2, $a2, 1
.L8006964C:
/* 44A4C 8006964C 88C20000 */ lwl $v0, ($a2)
/* 44A50 80069650 98C20003 */ lwr $v0, 3($a2)
/* 44A54 80069654 80C30004 */ lb $v1, 4($a2)
/* 44A58 80069658 80C40005 */ lb $a0, 5($a2)
/* 44A5C 8006965C ABA20000 */ swl $v0, ($sp)
/* 44A60 80069660 BBA20003 */ swr $v0, 3($sp)
/* 44A64 80069664 A3A30004 */ sb $v1, 4($sp)
/* 44A68 80069668 A3A40005 */ sb $a0, 5($sp)
/* 44A6C 8006966C 93A20001 */ lbu $v0, 1($sp)
/* 44A70 80069670 304200C0 */ andi $v0, $v0, 0xc0
/* 44A74 80069674 00021102 */ srl $v0, $v0, 4
/* 44A78 80069678 14400008 */ bnez $v0, .L8006969C
/* 44A7C 8006967C A0E20003 */ sb $v0, 3($a3)
/* 44A80 80069680 93A20004 */ lbu $v0, 4($sp)
/* 44A84 80069684 93A30003 */ lbu $v1, 3($sp)
/* 44A88 80069688 00021200 */ sll $v0, $v0, 8
/* 44A8C 8006968C 00621825 */ or $v1, $v1, $v0
/* 44A90 80069690 A4E30000 */ sh $v1, ($a3)
/* 44A94 80069694 93A20005 */ lbu $v0, 5($sp)
/* 44A98 80069698 A0E20002 */ sb $v0, 2($a3)
.L8006969C:
/* 44A9C 8006969C 03E00008 */ jr $ra
/* 44AA0 800696A0 27BD0010 */ addiu $sp, $sp, 0x10
/* 44AA4 800696A4 00000000 */ nop
/* 44AA8 800696A8 00000000 */ nop
/* 44AAC 800696AC 00000000 */ nop