papermario/ver/jp/asm/nonmatchings/main_2570/func_80027170.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

28 lines
1.3 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80027170
/* 2570 80027170 3C04800A */ lui $a0, %hi(D_8009A64C)
/* 2574 80027174 2484A64C */ addiu $a0, $a0, %lo(D_8009A64C)
/* 2578 80027178 8C830000 */ lw $v1, ($a0)
/* 257C 8002717C 3C02DB06 */ lui $v0, 0xdb06
/* 2580 80027180 0060282D */ daddu $a1, $v1, $zero
/* 2584 80027184 24630008 */ addiu $v1, $v1, 8
/* 2588 80027188 AC830000 */ sw $v1, ($a0)
/* 258C 8002718C ACA20000 */ sw $v0, ($a1)
/* 2590 80027190 24620008 */ addiu $v0, $v1, 8
/* 2594 80027194 ACA00004 */ sw $zero, 4($a1)
/* 2598 80027198 3C05DE00 */ lui $a1, 0xde00
/* 259C 8002719C AC820000 */ sw $v0, ($a0)
/* 25A0 800271A0 3C020007 */ lui $v0, 7
/* 25A4 800271A4 24424210 */ addiu $v0, $v0, 0x4210
/* 25A8 800271A8 AC620004 */ sw $v0, 4($v1)
/* 25AC 800271AC 24620010 */ addiu $v0, $v1, 0x10
/* 25B0 800271B0 AC650000 */ sw $a1, ($v1)
/* 25B4 800271B4 AC820000 */ sw $v0, ($a0)
/* 25B8 800271B8 3C020007 */ lui $v0, 7
/* 25BC 800271BC 244241F0 */ addiu $v0, $v0, 0x41f0
/* 25C0 800271C0 AC650008 */ sw $a1, 8($v1)
/* 25C4 800271C4 03E00008 */ jr $ra
/* 25C8 800271C8 AC62000C */ sw $v0, 0xc($v1)