papermario/ver/us/asm/nonmatchings/code_163400/func_80242D94.s
alex a4e1c2f522
Add versioning (#187)
* fix vscode cpp extension messing with files.associations

* move stuff

* it builds!

* symlink papermario.us.z64

* ci: put baserom in right place

* add jp

* fix splat dir

* ignore starrod dump

* .s deps

* update jenkins

* add dsl back

* configure.py versions

* wups

* fine ethan

* fix paths

* configure: default to only the version(s) with existing baseroms

* fix coverage

* fix progress.py

* progress.py verisoning

* remove format.sh from CONTRIBUTING

* update CONTRIBUTING

* fix first_diff

* diff.py: use ver/current/

* update splat.yaml

* trying to fix subrepo

* git subrepo pull tools/splat

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

* configure fix

* git subrepo pull tools/splat

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

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2021-02-22 18:21:23 +09:00

27 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242D94
/* 1635F4 80242D94 80820004 */ lb $v0, 4($a0)
/* 1635F8 80242D98 80830005 */ lb $v1, 5($a0)
/* 1635FC 80242D9C 00430018 */ mult $v0, $v1
/* 163600 80242DA0 00003812 */ mflo $a3
/* 163604 80242DA4 80820006 */ lb $v0, 6($a0)
/* 163608 80242DA8 00000000 */ nop
/* 16360C 80242DAC 00E20018 */ mult $a3, $v0
/* 163610 80242DB0 00003812 */ mflo $a3
/* 163614 80242DB4 00061600 */ sll $v0, $a2, 0x18
/* 163618 80242DB8 00021603 */ sra $v0, $v0, 0x18
/* 16361C 80242DBC 00620018 */ mult $v1, $v0
/* 163620 80242DC0 A0850001 */ sb $a1, 1($a0)
/* 163624 80242DC4 80850001 */ lb $a1, 1($a0)
/* 163628 80242DC8 A0860002 */ sb $a2, 2($a0)
/* 16362C 80242DCC 00001012 */ mflo $v0
/* 163630 80242DD0 00E21821 */ addu $v1, $a3, $v0
/* 163634 80242DD4 8C820008 */ lw $v0, 8($a0)
/* 163638 80242DD8 00651821 */ addu $v1, $v1, $a1
/* 16363C 80242DDC 00431021 */ addu $v0, $v0, $v1
/* 163640 80242DE0 90420000 */ lbu $v0, ($v0)
/* 163644 80242DE4 03E00008 */ jr $ra
/* 163648 80242DE8 A0820003 */ sb $v0, 3($a0)