papermario/ver/us/asm/nonmatchings/1776B0/btl_cam_add_zoom.s
Ethan Roseman 647db26552
Mass function rename from Star Rod + a couple funcs (#298)
* .

* yaml update

* git subrepo pull --force tools/splat

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

* separate main bss syms

* renames and one match

* SR symbol rename

* fix symbol_addrs

* git subrepo pull tools/splat

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

* remove old artifacts
2021-06-30 11:27:12 +09:00

17 lines
730 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel btl_cam_add_zoom
/* 17CE94 8024E5B4 3C028028 */ lui $v0, %hi(D_80280CE0)
/* 17CE98 8024E5B8 80420CE0 */ lb $v0, %lo(D_80280CE0)($v0)
/* 17CE9C 8024E5BC 14400006 */ bnez $v0, .L8024E5D8
/* 17CEA0 8024E5C0 00000000 */ nop
/* 17CEA4 8024E5C4 3C03802A */ lui $v1, %hi(D_8029F280)
/* 17CEA8 8024E5C8 2463F280 */ addiu $v1, $v1, %lo(D_8029F280)
/* 17CEAC 8024E5CC 94620000 */ lhu $v0, ($v1)
/* 17CEB0 8024E5D0 00441021 */ addu $v0, $v0, $a0
/* 17CEB4 8024E5D4 A4620000 */ sh $v0, ($v1)
.L8024E5D8:
/* 17CEB8 8024E5D8 03E00008 */ jr $ra
/* 17CEBC 8024E5DC 00000000 */ nop