mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
c: func_80078170
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
glabel func_80078170
|
||||
/* 078D70 80078170 3C01800E */ lui $at, %hi(D_800DE4C4) # $at, 0x800e
|
||||
/* 078D74 80078174 AC24E4C4 */ sw $a0, %lo(D_800DE4C4)($at)
|
||||
/* 078D78 80078178 3C01800E */ lui $at, %hi(D_800DE4C8) # $at, 0x800e
|
||||
/* 078D7C 8007817C AC25E4C8 */ sw $a1, %lo(D_800DE4C8)($at)
|
||||
/* 078D80 80078180 3C01800E */ lui $at, 0x800e
|
||||
/* 078D84 80078184 00067080 */ sll $t6, $a2, 2
|
||||
/* 078D88 80078188 03E00008 */ jr $ra
|
||||
/* 078D8C 8007818C AC2EE4C0 */ sw $t6, -0x1b40($at)
|
||||
|
||||
+13
-1
@@ -4,6 +4,11 @@
|
||||
#include "types.h"
|
||||
#include "macros.h"
|
||||
|
||||
|
||||
extern u32 D_800DE4C0;
|
||||
extern u32 D_800DE4C4;
|
||||
extern u32 D_800DE4C8;
|
||||
|
||||
extern u32 D_800DE4D0;
|
||||
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_078050/setupOSTasks.s")
|
||||
@@ -14,7 +19,14 @@ GLOBAL_ASM("asm/non_matchings/unknown_078050/func_80077B9C.s")
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_078050/func_80078054.s")
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_078050/func_800780DC.s")
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_078050/func_80078100.s")
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_078050/func_80078170.s")
|
||||
|
||||
void func_80078170(u32 arg0, u32 arg1, u32 arg2){
|
||||
D_800DE4C4 = arg0;
|
||||
D_800DE4C8 = arg1;
|
||||
D_800DE4C0 = arg2 << 2;
|
||||
}
|
||||
|
||||
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_078050/func_80078190.s")
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_078050/func_800787FC.s")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user