papermario/ver/us/asm/nonmatchings/os/3c850_len_f0/osPiGetAccess.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

33 lines
1.8 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osPiGetAccess
/* 3C8A4 800614A4 3C028009 */ lui $v0, %hi(__osPiAccessQueueEnabled)
/* 3C8A8 800614A8 8C423D90 */ lw $v0, %lo(__osPiAccessQueueEnabled)($v0)
/* 3C8AC 800614AC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 3C8B0 800614B0 1440000F */ bnez $v0, .L800614F0
/* 3C8B4 800614B4 AFBF0018 */ sw $ra, 0x18($sp)
/* 3C8B8 800614B8 24020001 */ addiu $v0, $zero, 1
/* 3C8BC 800614BC 3C018009 */ lui $at, %hi(__osPiAccessQueueEnabled)
/* 3C8C0 800614C0 AC223D90 */ sw $v0, %lo(__osPiAccessQueueEnabled)($at)
/* 3C8C4 800614C4 3C04800B */ lui $a0, %hi(gOsPiMessageQueue)
/* 3C8C8 800614C8 24844380 */ addiu $a0, $a0, %lo(gOsPiMessageQueue)
/* 3C8CC 800614CC 3C05800B */ lui $a1, %hi(D_800AF8B0)
/* 3C8D0 800614D0 24A5F8B0 */ addiu $a1, $a1, %lo(D_800AF8B0)
/* 3C8D4 800614D4 0C019560 */ jal osCreateMesgQueue
/* 3C8D8 800614D8 24060001 */ addiu $a2, $zero, 1
/* 3C8DC 800614DC 3C04800B */ lui $a0, %hi(gOsPiMessageQueue)
/* 3C8E0 800614E0 24844380 */ addiu $a0, $a0, %lo(gOsPiMessageQueue)
/* 3C8E4 800614E4 00002821 */ addu $a1, $zero, $zero
/* 3C8E8 800614E8 0C019608 */ jal osSendMesg
/* 3C8EC 800614EC 00003021 */ addu $a2, $zero, $zero
.L800614F0:
/* 3C8F0 800614F0 3C04800B */ lui $a0, %hi(gOsPiMessageQueue)
/* 3C8F4 800614F4 24844380 */ addiu $a0, $a0, %lo(gOsPiMessageQueue)
/* 3C8F8 800614F8 27A50010 */ addiu $a1, $sp, 0x10
/* 3C8FC 800614FC 0C0195BC */ jal osRecvMesg
/* 3C900 80061500 24060001 */ addiu $a2, $zero, 1
/* 3C904 80061504 8FBF0018 */ lw $ra, 0x18($sp)
/* 3C908 80061508 03E00008 */ jr $ra
/* 3C90C 8006150C 27BD0020 */ addiu $sp, $sp, 0x20