Merge pull request #1 from Faschz/func_800249E0

Decomp func_800249E0
This commit is contained in:
DavidSM64
2020-06-29 09:06:15 -05:00
committed by GitHub
2 changed files with 16 additions and 5 deletions
+5 -5
View File
@@ -6,11 +6,11 @@
.set noreorder # dont insert nops after branches
.set gp=64 # 64-bit instructions are used
glabel func_800249E0
/* 0255E0 800249E0 3C018012 */ lui $at, %hi(D_8011D37C) # $at, 0x8012
/* 0255E4 800249E4 AC24D37C */ sw $a0, %lo(D_8011D37C)($at)
/* 0255E8 800249E8 03E00008 */ jr $ra
/* 0255EC 800249EC 00001025 */ move $v0, $zero
#glabel func_800249E0
#/* 0255E0 800249E0 3C018012 */ lui $at, %hi(D_8011D37C) # $at, 0x8012
#/* 0255E4 800249E4 AC24D37C */ sw $a0, %lo(D_8011D37C)($at)
#/* 0255E8 800249E8 03E00008 */ jr $ra
#/* 0255EC 800249EC 00001025 */ move $v0, $zero
glabel func_800249F0
/* 0255F0 800249F0 27BDFFD8 */ addiu $sp, $sp, -0x28
+11
View File
@@ -0,0 +1,11 @@
/* The comment below is needed for this file to be picked up by generate_ld */
/* RAM_POS: 0x800249E0 */
#include "types.h"
extern s32 D_8011D37C;
s32 func_800249E0(s32 arg0) {
D_8011D37C = arg0;
return 0;
}