Identify more libultra functions

This commit is contained in:
Ryan Dwyer
2020-03-09 18:33:08 +10:00
parent dc26469aba
commit cce82ea5e8
32 changed files with 77 additions and 77 deletions
+1 -1
View File
@@ -11273,7 +11273,7 @@ GLOBAL_ASM(
glabel ai01dd
/* f05ffa0: 27bdffe8 */ addiu $sp,$sp,-24
/* f05ffa4: afbf0014 */ sw $ra,0x14($sp)
/* f05ffa8: 0c012144 */ jal func00048510
/* f05ffa8: 0c012144 */ jal osGetCount
/* f05ffac: 00000000 */ sll $zero,$zero,0x0
/* f05ffb0: 00402825 */ or $a1,$v0,$zero
/* f05ffb4: 24040000 */ addiu $a0,$zero,0x0
+1 -1
View File
@@ -343,7 +343,7 @@ u32 var80070598 = 0x00000000;
u32 var8007059c = 0x00000000;
u32 var800705a0 = 0x00000000;
u32 var800705a4 = 0x00000000;
s32 var800705a8 = 0x00000000;
bool var800705a8 = false;
u32 var800705ac = 0x00000000;
u32 var800705b0 = 0x00000000;
u32 var800705b4 = 0x00000000;
+2 -2
View File
@@ -1475,7 +1475,7 @@ glabel func0f001c0c
/* f001c28: afb30024 */ sw $s3,0x24($sp)
/* f001c2c: afb20020 */ sw $s2,0x20($sp)
/* f001c30: afb1001c */ sw $s1,0x1c($sp)
/* f001c34: 0c012144 */ jal func00048510
/* f001c34: 0c012144 */ jal osGetCount
/* f001c38: afb00018 */ sw $s0,0x18($sp)
/* f001c3c: 3c018006 */ lui $at,0x8006
/* f001c40: 0fc008ee */ jal func0f0023b8
@@ -1816,7 +1816,7 @@ glabel func0f001c0c
/* f00211c: 5420fff6 */ bnezl $at,.L0f0020f8
/* f002120: 8e0e0000 */ lw $t6,0x0($s0)
.L0f002124:
/* f002124: 0c012144 */ jal func00048510
/* f002124: 0c012144 */ jal osGetCount
/* f002128: 00000000 */ sll $zero,$zero,0x0
/* f00212c: 8fbf003c */ lw $ra,0x3c($sp)
.L0f002130:
+1 -1
View File
@@ -33,7 +33,7 @@ void func0f011110(void)
var800705a0 = 0;
}
void func0f011124(s32 value)
void func0f011124(bool value)
{
var800705a8 = value;
}
+1 -1
View File
@@ -356,7 +356,7 @@ glabel func0f11668c
/* f1166ec: 0041001b */ divu $zero,$v0,$at
/* f1166f0: 00004010 */ mfhi $t0
/* f1166f4: 25090010 */ addiu $t1,$t0,0x10
/* f1166f8: 0c012144 */ jal func00048510
/* f1166f8: 0c012144 */ jal osGetCount
/* f1166fc: afa90018 */ sw $t1,0x18($sp)
/* f116700: 8faa001c */ lw $t2,0x1c($sp)
/* f116704: 8fab0018 */ lw $t3,0x18($sp)
+19 -19
View File
@@ -2297,7 +2297,7 @@ glabel var7f1b5780
/* f132f2c: 00000000 */ sll $zero,$zero,0x0
/* f132f30: afa00d80 */ sw $zero,0xd80($sp)
.L0f132f34:
/* f132f34: 0c012144 */ jal func00048510
/* f132f34: 0c012144 */ jal osGetCount
/* f132f38: 00000000 */ sll $zero,$zero,0x0
/* f132f3c: 27a30db0 */ addiu $v1,$sp,0xdb0
/* f132f40: 27a20dd8 */ addiu $v0,$sp,0xdd8
@@ -3217,7 +3217,7 @@ glabel var7f1b5780
/* f133c7c: afae0de8 */ sw $t6,0xde8($sp)
/* f133c80: 0c012d20 */ jal osVirtualToPhysical
/* f133c84: ae0b0000 */ sw $t3,0x0($s0)
/* f133c88: 0c012144 */ jal func00048510
/* f133c88: 0c012144 */ jal osGetCount
/* f133c8c: ae020004 */ sw $v0,0x4($s0)
/* f133c90: afa20d84 */ sw $v0,0xd84($sp)
/* f133c94: 00001825 */ or $v1,$zero,$zero
@@ -3230,7 +3230,7 @@ glabel var7f1b5780
/* f133cac: 31990003 */ andi $t9,$t4,0x3
/* f133cb0: 5320023b */ beqzl $t9,.L0f1345a0
/* f133cb4: 8fa30088 */ lw $v1,0x88($sp)
/* f133cb8: 0c012144 */ jal func00048510
/* f133cb8: 0c012144 */ jal osGetCount
/* f133cbc: afa30088 */ sw $v1,0x88($sp)
/* f133cc0: afa20da0 */ sw $v0,0xda0($sp)
/* f133cc4: c6440000 */ lwc1 $f4,0x0($s2)
@@ -3250,7 +3250,7 @@ glabel var7f1b5780
/* f133cfc: e7a60110 */ swc1 $f6,0x110($sp)
/* f133d00: 50400227 */ beqzl $v0,.L0f1345a0
/* f133d04: 8fa30088 */ lw $v1,0x88($sp)
/* f133d08: 0c012144 */ jal func00048510
/* f133d08: 0c012144 */ jal osGetCount
/* f133d0c: 00000000 */ sll $zero,$zero,0x0
/* f133d10: 8fad0dcc */ lw $t5,0xdcc($sp)
/* f133d14: 8faf0da0 */ lw $t7,0xda0($sp)
@@ -3309,9 +3309,9 @@ glabel var7f1b5780
/* f133de0: c6460008 */ lwc1 $f6,0x8($s2)
/* f133de4: 1420fff5 */ bnez $at,.L0f133dbc
/* f133de8: e446fffc */ swc1 $f6,-0x4($v0)
/* f133dec: 0c012144 */ jal func00048510
/* f133dec: 0c012144 */ jal osGetCount
/* f133df0: 00000000 */ sll $zero,$zero,0x0
/* f133df4: 0c012144 */ jal func00048510
/* f133df4: 0c012144 */ jal osGetCount
/* f133df8: afa20d88 */ sw $v0,0xd88($sp)
/* f133dfc: 3c0f8008 */ lui $t7,%hi(var8007f0f4)
/* f133e00: 8deff0f4 */ lw $t7,%lo(var8007f0f4)($t7)
@@ -3410,7 +3410,7 @@ glabel var7f1b5780
/* f133f68: e7ac0cb0 */ swc1 $f12,0xcb0($sp)
/* f133f6c: e7a20ca4 */ swc1 $f2,0xca4($sp)
.L0f133f70:
/* f133f70: 0c012144 */ jal func00048510
/* f133f70: 0c012144 */ jal osGetCount
/* f133f74: 00000000 */ sll $zero,$zero,0x0
/* f133f78: 8fb90708 */ lw $t9,0x708($sp)
/* f133f7c: afa20d90 */ sw $v0,0xd90($sp)
@@ -3482,7 +3482,7 @@ glabel var7f1b5780
/* f134078: 5619ffc5 */ bnel $s0,$t9,.L0f133f90
/* f13407c: 8e2d0000 */ lw $t5,0x0($s1)
.L0f134080:
/* f134080: 0c012144 */ jal func00048510
/* f134080: 0c012144 */ jal osGetCount
/* f134084: 00000000 */ sll $zero,$zero,0x0
/* f134088: 8fad0dbc */ lw $t5,0xdbc($sp)
/* f13408c: 8fb80d90 */ lw $t8,0xd90($sp)
@@ -3490,7 +3490,7 @@ glabel var7f1b5780
/* f134094: 01787823 */ subu $t7,$t3,$t8
/* f134098: afaf0dbc */ sw $t7,0xdbc($sp)
.L0f13409c:
/* f13409c: 0c012144 */ jal func00048510
/* f13409c: 0c012144 */ jal osGetCount
/* f1340a0: 00000000 */ sll $zero,$zero,0x0
/* f1340a4: 8fae0db8 */ lw $t6,0xdb8($sp)
/* f1340a8: 8fb90d8c */ lw $t9,0xd8c($sp)
@@ -3500,7 +3500,7 @@ glabel var7f1b5780
/* f1340b8: 12600138 */ beqz $s3,.L0f13459c
/* f1340bc: afad0db8 */ sw $t5,0xdb8($sp)
/* f1340c0: 8fb8008c */ lw $t8,0x8c($sp)
/* f1340c4: 0c012144 */ jal func00048510
/* f1340c4: 0c012144 */ jal osGetCount
/* f1340c8: 01789821 */ addu $s3,$t3,$t8
/* f1340cc: 3c0f8008 */ lui $t7,%hi(var8007f0f0)
/* f1340d0: 8deff0f0 */ lw $t7,%lo(var8007f0f0)($t7)
@@ -3707,13 +3707,13 @@ glabel var7f1b5780
/* f1343dc: 1614ffba */ bne $s0,$s4,.L0f1342c8
/* f1343e0: 26310004 */ addiu $s1,$s1,0x4
.L0f1343e4:
/* f1343e4: 0c012144 */ jal func00048510
/* f1343e4: 0c012144 */ jal osGetCount
/* f1343e8: 00000000 */ sll $zero,$zero,0x0
/* f1343ec: 8fb90dc0 */ lw $t9,0xdc0($sp)
/* f1343f0: 8fab0d94 */ lw $t3,0xd94($sp)
/* f1343f4: 03226821 */ addu $t5,$t9,$v0
/* f1343f8: 01abc023 */ subu $t8,$t5,$t3
/* f1343fc: 0c012144 */ jal func00048510
/* f1343fc: 0c012144 */ jal osGetCount
/* f134400: afb80dc0 */ sw $t8,0xdc0($sp)
/* f134404: afa20d98 */ sw $v0,0xd98($sp)
/* f134408: 24030100 */ addiu $v1,$zero,0x100
@@ -3724,13 +3724,13 @@ glabel var7f1b5780
/* f13441c: a660002e */ sh $zero,0x2e($s3)
/* f134420: a660002c */ sh $zero,0x2c($s3)
/* f134424: a6600022 */ sh $zero,0x22($s3)
/* f134428: 0c012144 */ jal func00048510
/* f134428: 0c012144 */ jal osGetCount
/* f13442c: a6600008 */ sh $zero,0x8($s3)
/* f134430: 8faf0dc4 */ lw $t7,0xdc4($sp)
/* f134434: 8fac0d98 */ lw $t4,0xd98($sp)
/* f134438: 01e27021 */ addu $t6,$t7,$v0
/* f13443c: 01ccc823 */ subu $t9,$t6,$t4
/* f134440: 0c012144 */ jal func00048510
/* f134440: 0c012144 */ jal osGetCount
/* f134444: afb90dc4 */ sw $t9,0xdc4($sp)
/* f134448: c7a60198 */ lwc1 $f6,0x198($sp)
/* f13444c: afa20d9c */ sw $v0,0xd9c($sp)
@@ -3806,13 +3806,13 @@ glabel var7f1b5780
.L0f134564:
/* f134564: afb90194 */ sw $t9,0x194($sp)
.L0f134568:
/* f134568: 0c012144 */ jal func00048510
/* f134568: 0c012144 */ jal osGetCount
/* f13456c: 00000000 */ sll $zero,$zero,0x0
/* f134570: 8fad0dc8 */ lw $t5,0xdc8($sp)
/* f134574: 8fb80d9c */ lw $t8,0xd9c($sp)
/* f134578: 01a25821 */ addu $t3,$t5,$v0
/* f13457c: 01787823 */ subu $t7,$t3,$t8
/* f134580: 0c012144 */ jal func00048510
/* f134580: 0c012144 */ jal osGetCount
/* f134584: afaf0dc8 */ sw $t7,0xdc8($sp)
/* f134588: 8fae0db4 */ lw $t6,0xdb4($sp)
/* f13458c: 8fb90d88 */ lw $t9,0xd88($sp)
@@ -3875,7 +3875,7 @@ glabel var7f1b5780
/* f134660: af0e0000 */ sw $t6,0x0($t8)
/* f134664: af0c0004 */ sw $t4,0x4($t8)
.L0f134668:
/* f134668: 0c012144 */ jal func00048510
/* f134668: 0c012144 */ jal osGetCount
/* f13466c: 00000000 */ sll $zero,$zero,0x0
/* f134670: 8fbf006c */ lw $ra,0x6c($sp)
/* f134674: 8fa20de8 */ lw $v0,0xde8($sp)
@@ -4680,7 +4680,7 @@ glabel var7f1b5790
/* f135200: 332e0003 */ andi $t6,$t9,0x3
/* f135204: 51c0024b */ beqzl $t6,.L0f135b34
/* f135208: 27de0001 */ addiu $s8,$s8,0x1
/* f13520c: 0c012144 */ jal func00048510
/* f13520c: 0c012144 */ jal osGetCount
/* f135210: 00000000 */ sll $zero,$zero,0x0
/* f135214: afa21354 */ sw $v0,0x1354($sp)
/* f135218: c6040000 */ lwc1 $f4,0x0($s0)
@@ -4700,7 +4700,7 @@ glabel var7f1b5790
/* f135250: e7aa012c */ swc1 $f10,0x12c($sp)
/* f135254: 50400237 */ beqzl $v0,.L0f135b34
/* f135258: 27de0001 */ addiu $s8,$s8,0x1
/* f13525c: 0c012144 */ jal func00048510
/* f13525c: 0c012144 */ jal osGetCount
/* f135260: 00000000 */ sll $zero,$zero,0x0
/* f135264: 8fb8137c */ lw $t8,0x137c($sp)
/* f135268: 8fb91354 */ lw $t9,0x1354($sp)
+1 -1
View File
@@ -2187,7 +2187,7 @@ glabel var7f1b72f0
/* f14b594: e4640050 */ swc1 $f4,0x50($v1)
/* f14b598: e4660020 */ swc1 $f6,0x20($v1)
/* f14b59c: e4680038 */ swc1 $f8,0x38($v1)
/* f14b5a0: 0c012144 */ jal func00048510
/* f14b5a0: 0c012144 */ jal osGetCount
/* f14b5a4: afa3001c */ sw $v1,0x1c($sp)
/* f14b5a8: 44828000 */ mtc1 $v0,$f16
/* f14b5ac: 3c014170 */ lui $at,0x4170
+2 -2
View File
@@ -24,7 +24,7 @@ GLOBAL_ASM(
glabel func0f16ce10
/* f16ce10: 27bdffe8 */ addiu $sp,$sp,-24
/* f16ce14: afbf0014 */ sw $ra,0x14($sp)
/* f16ce18: 0c012144 */ jal func00048510
/* f16ce18: 0c012144 */ jal osGetCount
/* f16ce1c: 00000000 */ sll $zero,$zero,0x0
/* f16ce20: 8fbf0014 */ lw $ra,0x14($sp)
/* f16ce24: 3c03800a */ lui $v1,%hi(g_Vars)
@@ -81,7 +81,7 @@ glabel func0f16ce94
/* f16ced0: 3631ebc2 */ ori $s1,$s1,0xebc2
/* f16ced4: 26109fc0 */ addiu $s0,$s0,%lo(g_Vars)
.L0f16ced8:
/* f16ced8: 0c012144 */ jal func00048510
/* f16ced8: 0c012144 */ jal osGetCount
/* f16cedc: 00000000 */ sll $zero,$zero,0x0
/* f16cee0: 8e0e0018 */ lw $t6,0x18($s0)
/* f16cee4: 8e0f0020 */ lw $t7,0x20($s0)